1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
212 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
213 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
214 #define SWIGTYPE_p_wxPyPanel swig_types[3]
215 #define SWIGTYPE_p_wxMenu swig_types[4]
216 #define SWIGTYPE_p_wxFontData swig_types[5]
217 #define SWIGTYPE_p_wxEvent swig_types[6]
218 #define SWIGTYPE_p_wxPrintData swig_types[7]
219 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
220 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
221 #define SWIGTYPE_p_wxIconBundle swig_types[10]
222 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
223 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
224 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
225 #define SWIGTYPE_p_wxFont swig_types[14]
226 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
227 #define SWIGTYPE_p_wxRegion swig_types[16]
228 #define SWIGTYPE_p_wxFindReplaceData swig_types[17]
229 #define SWIGTYPE_p_int swig_types[18]
230 #define SWIGTYPE_p_wxSize swig_types[19]
231 #define SWIGTYPE_p_wxDC swig_types[20]
232 #define SWIGTYPE_p_wxIcon swig_types[21]
233 #define SWIGTYPE_p_wxVisualAttributes swig_types[22]
234 #define SWIGTYPE_p_wxMDIChildFrame swig_types[23]
235 #define SWIGTYPE_p_wxColourData swig_types[24]
236 #define SWIGTYPE_p_wxNotifyEvent swig_types[25]
237 #define SWIGTYPE_p_wxPyWindow swig_types[26]
238 #define SWIGTYPE_p_wxSplashScreen swig_types[27]
239 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[28]
240 #define SWIGTYPE_p_wxProgressDialog swig_types[29]
241 #define SWIGTYPE_p_wxMessageDialog swig_types[30]
242 #define SWIGTYPE_p_wxTextEntryDialog swig_types[31]
243 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
244 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
245 #define SWIGTYPE_p_wxFileDialog swig_types[34]
246 #define SWIGTYPE_p_wxPrinter swig_types[35]
247 #define SWIGTYPE_p_wxArrayInt swig_types[36]
248 #define SWIGTYPE_p_wxEvtHandler swig_types[37]
249 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[38]
250 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[39]
251 #define SWIGTYPE_p_wxPyVListBox swig_types[40]
252 #define SWIGTYPE_p_wxRect swig_types[41]
253 #define SWIGTYPE_p_char swig_types[42]
254 #define SWIGTYPE_p_wxMiniFrame swig_types[43]
255 #define SWIGTYPE_p_wxFrame swig_types[44]
256 #define SWIGTYPE_p_wxPyPrintout swig_types[45]
257 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[46]
258 #define SWIGTYPE_p_wxScrollWinEvent swig_types[47]
259 #define SWIGTYPE_p_wxStatusBar swig_types[48]
260 #define SWIGTYPE_p_wxMDIParentFrame swig_types[49]
261 #define SWIGTYPE_p_wxPoint swig_types[50]
262 #define SWIGTYPE_p_wxObject swig_types[51]
263 #define SWIGTYPE_p_wxOutputStream swig_types[52]
264 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
265 #define SWIGTYPE_p_wxTipWindow swig_types[54]
266 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
267 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
268 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[57]
269 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
270 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[59]
271 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
272 #define SWIGTYPE_p_wxSashWindow swig_types[61]
273 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
274 #define SWIGTYPE_p_wxWindow swig_types[63]
275 #define SWIGTYPE_p_wxScrolledWindow swig_types[64]
276 #define SWIGTYPE_p_wxMenuBar swig_types[65]
277 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[66]
278 #define SWIGTYPE_p_wxPrintPreview swig_types[67]
279 #define SWIGTYPE_p_wxSashEvent swig_types[68]
280 #define SWIGTYPE_p_wxString swig_types[69]
281 #define SWIGTYPE_p_wxPyPrintPreview swig_types[70]
282 #define SWIGTYPE_p_wxFontDialog swig_types[71]
283 #define SWIGTYPE_p_wxDirDialog swig_types[72]
284 #define SWIGTYPE_p_wxColourDialog swig_types[73]
285 #define SWIGTYPE_p_wxDialog swig_types[74]
286 #define SWIGTYPE_p_wxPanel swig_types[75]
287 #define SWIGTYPE_p_wxPageSetupDialog swig_types[76]
288 #define SWIGTYPE_p_wxPrintDialog swig_types[77]
289 #define SWIGTYPE_p_wxFileSystem swig_types[78]
290 #define SWIGTYPE_p_wxBitmap swig_types[79]
291 #define SWIGTYPE_p_wxCommandEvent swig_types[80]
292 #define SWIGTYPE_p_wxPreviewControlBar swig_types[81]
293 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[82]
294 #define SWIGTYPE_p_wxColour swig_types[83]
295 #define SWIGTYPE_p_wxToolBar swig_types[84]
296 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
297 #define SWIGTYPE_p_wxPrintDialogData swig_types[86]
298 static swig_type_info
*swig_types
[88];
300 /* -------- TYPES TABLE (END) -------- */
303 /*-----------------------------------------------
304 @(target):= _windows_.so
305 ------------------------------------------------*/
306 #define SWIG_init init_windows_
308 #define SWIG_name "_windows_"
310 /* Auxiliar swig macros that appear in the header */
312 #define SWIG_OLDOBJ 1
313 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
314 #define SWIG_PYSTR SWIG_NEWOBJ + 1
317 #define SWIGSTATICINLINE(a) static inline a
318 #define SWIGSTATIC(a) static a
319 #define swig_new_array(size,Type) (new Type[(size)])
320 #define swig_delete(cptr) delete cptr
321 #define swig_delete_array(cptr) delete[] cptr
322 #define swig_const_cast(a,Type) const_cast<Type >(a)
323 #define swig_static_cast(a,Type) static_cast<Type >(a)
324 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
325 #define swig_new_copy(ptr,Type) (new Type(*ptr))
326 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
330 #define SWIGSTATICINLINE(a) static a
331 #define SWIGSTATIC(a) static a
332 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
333 #define swig_delete(cptr) free((char*)cptr)
334 #define swig_delete_array(cptr) free((char*)cptr)
335 #define swig_const_cast(a,Type) (Type)(a)
336 #define swig_static_cast(a,Type) (Type)(a)
337 #define swig_reinterpret_cast(a,Type) (Type)(a)
338 #define swig_numeric_cast(a,Type) (Type)(a)
339 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
341 #endif /* __cplusplus */
344 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
345 #define SWIG_From_signed_SS_char PyInt_FromLong
347 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
348 #define SWIG_From_unsigned_SS_char PyInt_FromLong
350 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
351 #define SWIG_From_short PyInt_FromLong
353 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
354 #define SWIG_From_unsigned_SS_short PyInt_FromLong
356 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
357 #define SWIG_From_int PyInt_FromLong
359 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
360 #define SWIG_From_long PyInt_FromLong
362 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
363 #define SWIG_From_float PyFloat_FromDouble
365 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
366 #define SWIG_From_double PyFloat_FromDouble
370 #include "wx/wxPython/wxPython.h"
371 #include "wx/wxPython/pyclasses.h"
374 static const wxString
wxPyEmptyString(wxEmptyString
);
375 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
382 SWIGSTATICINLINE(int)
383 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
386 if (value
< min_value
) {
388 PyErr_Format(PyExc_OverflowError
,
389 "value %ld is less than '%s' minimum %ld",
390 value
, errmsg
, min_value
);
393 } else if (value
> max_value
) {
395 PyErr_Format(PyExc_OverflowError
,
396 "value %ld is greater than '%s' maximum %ld",
397 value
, errmsg
, max_value
);
405 // See my_fragments.i
406 SWIGSTATICINLINE(int)
407 SWIG_AsVal_long(PyObject
* obj
, long* val
)
409 if (PyNumber_Check(obj
)) {
410 if (val
) *val
= PyInt_AsLong(obj
);
414 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
415 obj
->ob_type
->tp_name
);
416 PyErr_SetObject(PyExc_TypeError
, errmsg
);
423 #if INT_MAX != LONG_MAX
424 SWIGSTATICINLINE(int)
425 SWIG_AsVal_int(PyObject
*obj
, int *val
)
427 const char* errmsg
= val
? "int" : 0;
429 if (SWIG_AsVal_long(obj
, &v
)) {
430 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
431 if (val
) *val
= swig_numeric_cast(v
, int);
440 PyErr_SetString(PyExc_TypeError
, "an int is expected");
445 SWIGSTATICINLINE(int)
446 SWIG_AsVal_int(PyObject
*obj
, int *val
)
448 return SWIG_AsVal_long(obj
,(long*)val
);
453 SWIGSTATICINLINE(int)
454 SWIG_As_int(PyObject
* obj
)
457 if (!SWIG_AsVal_int(obj
, &v
)) {
459 this is needed to make valgrind/purify happier. the other
460 solution is throw an exception, but since this code should work
463 memset((void*)&v
, 0, sizeof(int));
469 SWIGSTATICINLINE(long)
470 SWIG_As_long(PyObject
* obj
)
473 if (!SWIG_AsVal_long(obj
, &v
)) {
475 this is needed to make valgrind/purify happier. the other
476 solution is throw an exception, but since this code should work
479 memset((void*)&v
, 0, sizeof(long));
485 SWIGSTATICINLINE(int)
486 SWIG_Check_int(PyObject
* obj
)
488 return SWIG_AsVal_int(obj
, (int*)0);
492 SWIGSTATICINLINE(int)
493 SWIG_Check_long(PyObject
* obj
)
495 return SWIG_AsVal_long(obj
, (long*)0);
499 SWIGSTATICINLINE(int)
500 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
502 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
503 if (obj
== Py_True
) {
504 if (val
) *val
= true;
507 if (obj
== Py_False
) {
508 if (val
) *val
= false;
512 if (SWIG_AsVal_int(obj
, &res
)) {
513 if (val
) *val
= (bool)res
;
517 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
523 SWIGSTATICINLINE(bool)
524 SWIG_As_bool(PyObject
* obj
)
527 if (!SWIG_AsVal_bool(obj
, &v
)) {
529 this is needed to make valgrind/purify happier. the other
530 solution is throw an exception, but since this code should work
533 memset((void*)&v
, 0, sizeof(bool));
539 SWIGSTATICINLINE(int)
540 SWIG_Check_bool(PyObject
* obj
)
542 return SWIG_AsVal_bool(obj
, (bool*)0);
546 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
552 } else if (target
== Py_None
) {
556 if (!PyTuple_Check(target
)) {
558 target
= PyTuple_New(1);
559 PyTuple_SetItem(target
, 0, o2
);
562 PyTuple_SetItem(o3
, 0, o
);
565 target
= PySequence_Concat(o2
, o3
);
574 // See my_fragments.i
575 SWIGSTATICINLINE(int)
576 SWIG_AsVal_double(PyObject
*obj
, double* val
)
578 if (PyNumber_Check(obj
)) {
579 if (val
) *val
= PyFloat_AsDouble(obj
);
583 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
584 obj
->ob_type
->tp_name
);
585 PyErr_SetObject(PyExc_TypeError
, errmsg
);
592 SWIGSTATICINLINE(double)
593 SWIG_As_double(PyObject
* obj
)
596 if (!SWIG_AsVal_double(obj
, &v
)) {
598 this is needed to make valgrind/purify happier. the other
599 solution is throw an exception, but since this code should work
602 memset((void*)&v
, 0, sizeof(double));
608 SWIGSTATICINLINE(int)
609 SWIG_Check_double(PyObject
* obj
)
611 return SWIG_AsVal_double(obj
, (double*)0);
614 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
615 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
616 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
617 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
618 void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
619 bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
622 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
624 self
->GetFieldRect(i
, r
);
627 static const wxString
wxPySplitterNameStr(wxT("splitter"));
628 static const wxString
wxPySashNameStr(wxT("sashWindow"));
629 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
631 #include <wx/popupwin.h>
634 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
637 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
638 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
639 : wxPopupTransientWindow(parent
, style
) {}
641 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
642 DEC_PYCALLBACK__(OnDismiss
);
643 DEC_PYCALLBACK_BOOL_(CanDismiss
);
648 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
649 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
650 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
653 #include <wx/tipwin.h>
655 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
656 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
659 #include <wx/tipwin.h>
662 #include <wx/vscroll.h>
665 class wxPyVScrolledWindow
: public wxVScrolledWindow
667 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
669 wxPyVScrolledWindow() : wxVScrolledWindow() {}
671 wxPyVScrolledWindow(wxWindow
*parent
,
672 wxWindowID id
= wxID_ANY
,
673 const wxPoint
& pos
= wxDefaultPosition
,
674 const wxSize
& size
= wxDefaultSize
,
676 const wxString
& name
= wxPyPanelNameStr
)
677 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
680 // Overridable virtuals
682 // this function must be overridden in the derived class and it should
683 // return the height of the given line in pixels
684 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
687 // this function doesn't have to be overridden but it may be useful to do
688 // it if calculating the lines heights is a relatively expensive operation
689 // as it gives the user code a possibility to calculate several of them at
692 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
693 // shouldn't rely on the latter being called for all lines in the interval
694 // specified here. It is also possible that OnGetLineHeight() will be
695 // called for the lines outside of this interval, so this is really just a
696 // hint, not a promise.
698 // finally note that lineMin is inclusive, while lineMax is exclusive, as
700 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
703 // when the number of lines changes, we try to estimate the total height
704 // of all lines which is a rather expensive operation in terms of lines
705 // access, so if the user code may estimate the average height
706 // better/faster than we do, it should override this function to implement
709 // this function should return the best guess for the total height it may
711 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
714 // Also expose some other interesting protected methods
717 // find the index of the line we need to show at the top of the window such
718 // that the last (fully or partially) visible line is the given one
719 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
720 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
722 // get the total height of the lines between lineMin (inclusive) and
723 // lineMax (exclusive)
724 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
725 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
731 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
733 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
734 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
735 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
738 // See my_fragments.i
739 SWIGSTATICINLINE(int)
740 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
743 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
744 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
748 *val
= (unsigned long)v
;
753 SWIGSTATICINLINE(unsigned long)
754 SWIG_As_unsigned_SS_long(PyObject
* obj
)
757 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
759 this is needed to make valgrind/purify happier. the other
760 solution is throw an exception, but since this code should work
763 memset((void*)&v
, 0, sizeof(unsigned long));
769 SWIGSTATICINLINE(int)
770 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
772 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
776 SWIGSTATICINLINE(PyObject
* )
777 SWIG_From_unsigned_SS_long(unsigned long value
)
779 return (value
> LONG_MAX
) ?
780 PyLong_FromUnsignedLong(value
)
781 : PyInt_FromLong(swig_numeric_cast(value
,long));
785 #include <wx/vlbox.h>
787 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
789 class wxPyVListBox
: public wxVListBox
791 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
793 wxPyVListBox() : wxVListBox() {}
795 wxPyVListBox(wxWindow
*parent
,
796 wxWindowID id
= wxID_ANY
,
797 const wxPoint
& pos
= wxDefaultPosition
,
798 const wxSize
& size
= wxDefaultSize
,
800 const wxString
& name
= wxPyVListBoxNameStr
)
801 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
804 // Overridable virtuals
806 // the derived class must implement this function to actually draw the item
807 // with the given index on the provided DC
808 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
809 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
812 // the derived class must implement this method to return the height of the
814 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
815 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
818 // this method may be used to draw separators between the lines; note that
819 // the rectangle may be modified, typically to deflate it a bit before
820 // passing to OnDrawItem()
822 // the base class version doesn't do anything
823 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
824 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
827 // this method is used to draw the items background and, maybe, a border
830 // the base class version implements a reasonable default behaviour which
831 // consists in drawing the selected item with the standard background
832 // colour and drawing a border around the item if it is either selected or
834 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
835 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
841 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
843 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
844 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
845 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
846 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
849 PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
850 unsigned long cookie
= 0;
851 int selected
= self
->GetFirstSelected(cookie
);
852 bool blocked
= wxPyBeginBlockThreads();
853 PyObject
* tup
= PyTuple_New(2);
854 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
855 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
856 wxPyEndBlockThreads(blocked
);
859 PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
860 int selected
= self
->GetNextSelected(cookie
);
861 bool blocked
= wxPyBeginBlockThreads();
862 PyObject
* tup
= PyTuple_New(2);
863 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
864 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
865 wxPyEndBlockThreads(blocked
);
869 #include <wx/htmllbox.h>
872 class wxPyHtmlListBox
: public wxHtmlListBox
874 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
876 wxPyHtmlListBox() : wxHtmlListBox() {}
878 wxPyHtmlListBox(wxWindow
*parent
,
879 wxWindowID id
= wxID_ANY
,
880 const wxPoint
& pos
= wxDefaultPosition
,
881 const wxSize
& size
= wxDefaultSize
,
883 const wxString
& name
= wxPyVListBoxNameStr
)
884 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
887 // Overridable virtuals
889 // this method must be implemented in the derived class and should return
890 // the body (i.e. without <html>) of the HTML for the given item
891 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
893 // this function may be overridden to decorate HTML returned by OnGetItem()
894 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
897 // // this method allows to customize the selection appearance: it may be used
898 // // to specify the colour of the text which normally has the given colour
899 // // colFg when it is inside the selection
901 // // by default, the original colour is not used at all and all text has the
902 // // same (default for this system) colour inside selection
903 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
905 // // this is the same as GetSelectedTextColour() but allows to customize the
906 // // background colour -- this is even more rarely used as you can change it
907 // // globally using SetSelectionBackground()
908 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
915 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
917 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
918 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
924 #ifndef wxHAS_TASK_BAR_ICON
925 // implement dummy classes for platforms that don't have it
927 class wxTaskBarIcon
: public wxEvtHandler
930 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
934 class wxTaskBarIconEvent
: public wxEvent
937 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
938 { wxPyRaiseNotImplemented(); }
939 virtual wxEvent
* Clone() const { return NULL
; }
940 bool IsOk() const { return false; }
941 bool IsIconInstalled() const { return false; }
942 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
943 bool RemoveIcon() { return false; }
944 bool PopupMenu(wxMenu
*menu
) { return false; }
948 wxEVT_TASKBAR_MOVE
= 0,
949 wxEVT_TASKBAR_LEFT_DOWN
= 0,
950 wxEVT_TASKBAR_LEFT_UP
= 0,
951 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
952 wxEVT_TASKBAR_RIGHT_UP
= 0,
953 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
954 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
959 // Otherwise make a class that can virtualize CreatePopupMenu
960 class wxPyTaskBarIcon
: public wxTaskBarIcon
962 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
);
964 wxPyTaskBarIcon() : wxTaskBarIcon()
967 wxMenu
* CreatePopupMenu() {
970 bool blocked
= wxPyBeginBlockThreads();
971 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
974 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
976 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
981 wxPyEndBlockThreads(blocked
);
983 rval
= wxTaskBarIcon::CreatePopupMenu();
990 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
994 void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
998 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
999 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
1000 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
1001 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1002 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
1003 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
1004 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
1006 self
->GetFilenames(arr
);
1007 return wxArrayString2PyList_helper(arr
);
1009 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
1011 self
->GetPaths(arr
);
1012 return wxArrayString2PyList_helper(arr
);
1014 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
1015 return wxArrayInt2PyList_helper(self
->GetSelections());
1017 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
1018 return new wxSingleChoiceDialog(parent
, message
, caption
,
1019 choices
, choices_array
, NULL
, style
, pos
);
1024 // C++ version of Python aware wxWindow
1025 class wxPyWindow
: public wxWindow
1027 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
1029 wxPyWindow() : wxWindow() {}
1030 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
1031 const wxPoint
& pos
= wxDefaultPosition
,
1032 const wxSize
& size
= wxDefaultSize
,
1034 const wxString
& name
= wxPyPanelNameStr
)
1035 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
1037 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
1039 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1040 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1041 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1042 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1044 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1045 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1046 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1048 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1049 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1051 DEC_PYCALLBACK__(InitDialog
);
1052 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1053 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1054 DEC_PYCALLBACK_BOOL_(Validate
);
1056 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1057 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1058 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1060 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1061 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1063 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1064 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1065 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1070 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
1072 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
1073 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
1074 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
1075 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
1077 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
1078 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
1079 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
1081 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
1082 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
1084 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
1085 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
1086 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
1087 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
1089 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
1090 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
1091 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
1093 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
1094 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
1096 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
1097 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
1098 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
1101 // C++ version of Python aware wxPanel
1102 class wxPyPanel
: public wxPanel
1104 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
1106 wxPyPanel() : wxPanel() {}
1107 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
1108 const wxPoint
& pos
= wxDefaultPosition
,
1109 const wxSize
& size
= wxDefaultSize
,
1111 const wxString
& name
= wxPyPanelNameStr
)
1112 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
1114 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
1117 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1118 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1119 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1120 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1122 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1123 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1124 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1126 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1127 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1129 DEC_PYCALLBACK__(InitDialog
);
1130 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1131 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1132 DEC_PYCALLBACK_BOOL_(Validate
);
1134 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1135 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1136 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1138 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1139 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1141 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1142 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1143 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1148 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
1150 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
1151 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
1152 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
1153 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
1155 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
1156 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
1157 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
1159 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
1160 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
1162 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
1163 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
1164 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
1165 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
1167 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
1168 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
1169 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
1171 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
1172 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
1174 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
1175 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
1176 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
1179 // C++ version of Python aware wxScrolledWindow
1180 class wxPyScrolledWindow
: public wxScrolledWindow
1182 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1184 wxPyScrolledWindow() : wxScrolledWindow() {}
1185 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1186 const wxPoint
& pos
= wxDefaultPosition
,
1187 const wxSize
& size
= wxDefaultSize
,
1189 const wxString
& name
= wxPyPanelNameStr
)
1190 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1192 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
1194 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1195 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1196 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1197 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1199 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1200 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1201 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1203 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1204 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1206 DEC_PYCALLBACK__(InitDialog
);
1207 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1208 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1209 DEC_PYCALLBACK_BOOL_(Validate
);
1211 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1212 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1213 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1215 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1216 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1218 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1219 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1220 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1225 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1227 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1228 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1229 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1230 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1232 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1233 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1234 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1236 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1237 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1239 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1240 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1241 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1242 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1244 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1245 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1246 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1248 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1249 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1251 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1252 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1253 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
1257 #include "wx/wxPython/printfw.h"
1260 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1261 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1265 // Since this one would be tough and ugly to do with the Macros...
1266 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1267 bool hadErr
= false;
1270 bool blocked
= wxPyBeginBlockThreads();
1271 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1272 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1273 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1276 val
= PyTuple_GetItem(result
, 0);
1277 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1280 val
= PyTuple_GetItem(result
, 1);
1281 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1284 val
= PyTuple_GetItem(result
, 2);
1285 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1288 val
= PyTuple_GetItem(result
, 3);
1289 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1296 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1301 wxPyEndBlockThreads(blocked
);
1303 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1306 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1307 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1311 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1312 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1313 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1314 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1315 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1316 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1317 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1323 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1324 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1325 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1328 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1329 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1332 bool blocked = wxPyBeginBlockThreads(); \
1333 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1334 PyObject* win = wxPyMake_wxObject(a,false); \
1335 PyObject* dc = wxPyMake_wxObject(&b,false); \
1336 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
1340 wxPyEndBlockThreads(blocked); \
1342 rval = PCLASS::CBNAME(a, b); \
1345 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1346 return PCLASS::CBNAME(a, b); \
1352 class wxPyPrintPreview
: public wxPrintPreview
1354 DECLARE_CLASS(wxPyPrintPreview
)
1356 wxPyPrintPreview(wxPyPrintout
* printout
,
1357 wxPyPrintout
* printoutForPrinting
,
1358 wxPrintDialogData
* data
=NULL
)
1359 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1361 wxPyPrintPreview(wxPyPrintout
* printout
,
1362 wxPyPrintout
* printoutForPrinting
,
1363 wxPrintData
* data
=NULL
)
1364 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1367 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1368 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1369 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1370 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1371 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1372 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1373 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1378 // Stupid renamed classes... Fix this in 2.5...
1379 #if defined(__WXMSW__)
1380 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1381 #elif defined(__WXMAC__)
1382 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1384 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1387 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1388 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1389 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1390 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1391 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1392 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1393 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1396 class wxPyPreviewFrame
: public wxPreviewFrame
1398 DECLARE_CLASS(wxPyPreviewFrame
);
1400 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1401 const wxString
& title
,
1402 const wxPoint
& pos
= wxDefaultPosition
,
1403 const wxSize
& size
= wxDefaultSize
,
1404 long style
= wxDEFAULT_FRAME_STYLE
,
1405 const wxString
& name
= wxPyFrameNameStr
)
1406 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1409 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1410 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1412 DEC_PYCALLBACK_VOID_(Initialize
);
1413 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1414 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1419 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1421 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1422 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1423 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1426 class wxPyPreviewControlBar
: public wxPreviewControlBar
1428 DECLARE_CLASS(wxPyPreviewControlBar
);
1430 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1433 const wxPoint
& pos
= wxDefaultPosition
,
1434 const wxSize
& size
= wxDefaultSize
,
1436 const wxString
& name
= wxPyPanelNameStr
)
1437 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1440 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1442 DEC_PYCALLBACK_VOID_(CreateButtons
);
1443 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1448 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1449 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1450 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1455 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1456 PyObject
*resultobj
;
1457 wxWindow
*arg1
= (wxWindow
*) 0 ;
1458 int arg2
= (int) (int)-1 ;
1459 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1460 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1461 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1462 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1463 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1464 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1465 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1469 bool temp6
= false ;
1470 PyObject
* obj0
= 0 ;
1471 PyObject
* obj1
= 0 ;
1472 PyObject
* obj2
= 0 ;
1473 PyObject
* obj3
= 0 ;
1474 PyObject
* obj4
= 0 ;
1475 PyObject
* obj5
= 0 ;
1477 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1484 arg2
= (int)SWIG_As_int(obj1
);
1485 if (PyErr_Occurred()) SWIG_fail
;
1490 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1496 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1500 arg5
= (long)SWIG_As_long(obj4
);
1501 if (PyErr_Occurred()) SWIG_fail
;
1505 arg6
= wxString_in_helper(obj5
);
1506 if (arg6
== NULL
) SWIG_fail
;
1511 if (!wxPyCheckForApp()) SWIG_fail
;
1512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1513 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1515 wxPyEndAllowThreads(__tstate
);
1516 if (PyErr_Occurred()) SWIG_fail
;
1518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1533 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1534 PyObject
*resultobj
;
1540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1542 if (!wxPyCheckForApp()) SWIG_fail
;
1543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1544 result
= (wxPanel
*)new wxPanel();
1546 wxPyEndAllowThreads(__tstate
);
1547 if (PyErr_Occurred()) SWIG_fail
;
1549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1556 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1557 PyObject
*resultobj
;
1558 wxPanel
*arg1
= (wxPanel
*) 0 ;
1559 wxWindow
*arg2
= (wxWindow
*) 0 ;
1560 int arg3
= (int) (int)-1 ;
1561 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1562 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1563 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1564 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1565 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1566 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1567 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1571 bool temp7
= false ;
1572 PyObject
* obj0
= 0 ;
1573 PyObject
* obj1
= 0 ;
1574 PyObject
* obj2
= 0 ;
1575 PyObject
* obj3
= 0 ;
1576 PyObject
* obj4
= 0 ;
1577 PyObject
* obj5
= 0 ;
1578 PyObject
* obj6
= 0 ;
1580 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1589 arg3
= (int)SWIG_As_int(obj2
);
1590 if (PyErr_Occurred()) SWIG_fail
;
1595 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1601 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1605 arg6
= (long)SWIG_As_long(obj5
);
1606 if (PyErr_Occurred()) SWIG_fail
;
1610 arg7
= wxString_in_helper(obj6
);
1611 if (arg7
== NULL
) SWIG_fail
;
1616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1617 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1619 wxPyEndAllowThreads(__tstate
);
1620 if (PyErr_Occurred()) SWIG_fail
;
1623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1639 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1640 PyObject
*resultobj
;
1641 wxPanel
*arg1
= (wxPanel
*) 0 ;
1642 PyObject
* obj0
= 0 ;
1644 (char *) "self", NULL
1647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1652 (arg1
)->InitDialog();
1654 wxPyEndAllowThreads(__tstate
);
1655 if (PyErr_Occurred()) SWIG_fail
;
1657 Py_INCREF(Py_None
); resultobj
= Py_None
;
1664 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1665 PyObject
*resultobj
;
1666 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1667 wxVisualAttributes result
;
1668 PyObject
* obj0
= 0 ;
1670 (char *) "variant", NULL
1673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1675 arg1
= (int)SWIG_As_int(obj0
);
1676 if (PyErr_Occurred()) SWIG_fail
;
1679 if (!wxPyCheckForApp()) SWIG_fail
;
1680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1681 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1683 wxPyEndAllowThreads(__tstate
);
1684 if (PyErr_Occurred()) SWIG_fail
;
1687 wxVisualAttributes
* resultptr
;
1688 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1689 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1697 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
1699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1700 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1702 return Py_BuildValue((char *)"");
1704 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1705 PyObject
*resultobj
;
1706 wxWindow
*arg1
= (wxWindow
*) 0 ;
1707 int arg2
= (int) (int)-1 ;
1708 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1709 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1710 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1711 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1712 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1713 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1714 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1715 wxScrolledWindow
*result
;
1718 bool temp6
= false ;
1719 PyObject
* obj0
= 0 ;
1720 PyObject
* obj1
= 0 ;
1721 PyObject
* obj2
= 0 ;
1722 PyObject
* obj3
= 0 ;
1723 PyObject
* obj4
= 0 ;
1724 PyObject
* obj5
= 0 ;
1726 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1733 arg2
= (int)SWIG_As_int(obj1
);
1734 if (PyErr_Occurred()) SWIG_fail
;
1739 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1745 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1749 arg5
= (long)SWIG_As_long(obj4
);
1750 if (PyErr_Occurred()) SWIG_fail
;
1754 arg6
= wxString_in_helper(obj5
);
1755 if (arg6
== NULL
) SWIG_fail
;
1760 if (!wxPyCheckForApp()) SWIG_fail
;
1761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1762 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1764 wxPyEndAllowThreads(__tstate
);
1765 if (PyErr_Occurred()) SWIG_fail
;
1767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1782 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1783 PyObject
*resultobj
;
1784 wxScrolledWindow
*result
;
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1791 if (!wxPyCheckForApp()) SWIG_fail
;
1792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1793 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1795 wxPyEndAllowThreads(__tstate
);
1796 if (PyErr_Occurred()) SWIG_fail
;
1798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1805 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1806 PyObject
*resultobj
;
1807 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1808 wxWindow
*arg2
= (wxWindow
*) 0 ;
1809 int arg3
= (int) (int)-1 ;
1810 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1811 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1812 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1813 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1814 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1815 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1816 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1820 bool temp7
= false ;
1821 PyObject
* obj0
= 0 ;
1822 PyObject
* obj1
= 0 ;
1823 PyObject
* obj2
= 0 ;
1824 PyObject
* obj3
= 0 ;
1825 PyObject
* obj4
= 0 ;
1826 PyObject
* obj5
= 0 ;
1827 PyObject
* obj6
= 0 ;
1829 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1835 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1838 arg3
= (int)SWIG_As_int(obj2
);
1839 if (PyErr_Occurred()) SWIG_fail
;
1844 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1850 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1854 arg6
= (long)SWIG_As_long(obj5
);
1855 if (PyErr_Occurred()) SWIG_fail
;
1859 arg7
= wxString_in_helper(obj6
);
1860 if (arg7
== NULL
) SWIG_fail
;
1865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1866 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1868 wxPyEndAllowThreads(__tstate
);
1869 if (PyErr_Occurred()) SWIG_fail
;
1872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1888 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1889 PyObject
*resultobj
;
1890 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1895 int arg6
= (int) 0 ;
1896 int arg7
= (int) 0 ;
1897 bool arg8
= (bool) false ;
1898 PyObject
* obj0
= 0 ;
1899 PyObject
* obj1
= 0 ;
1900 PyObject
* obj2
= 0 ;
1901 PyObject
* obj3
= 0 ;
1902 PyObject
* obj4
= 0 ;
1903 PyObject
* obj5
= 0 ;
1904 PyObject
* obj6
= 0 ;
1905 PyObject
* obj7
= 0 ;
1907 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1913 arg2
= (int)SWIG_As_int(obj1
);
1914 if (PyErr_Occurred()) SWIG_fail
;
1915 arg3
= (int)SWIG_As_int(obj2
);
1916 if (PyErr_Occurred()) SWIG_fail
;
1917 arg4
= (int)SWIG_As_int(obj3
);
1918 if (PyErr_Occurred()) SWIG_fail
;
1919 arg5
= (int)SWIG_As_int(obj4
);
1920 if (PyErr_Occurred()) SWIG_fail
;
1922 arg6
= (int)SWIG_As_int(obj5
);
1923 if (PyErr_Occurred()) SWIG_fail
;
1926 arg7
= (int)SWIG_As_int(obj6
);
1927 if (PyErr_Occurred()) SWIG_fail
;
1930 arg8
= (bool)SWIG_As_bool(obj7
);
1931 if (PyErr_Occurred()) SWIG_fail
;
1934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1935 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1937 wxPyEndAllowThreads(__tstate
);
1938 if (PyErr_Occurred()) SWIG_fail
;
1940 Py_INCREF(Py_None
); resultobj
= Py_None
;
1947 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1948 PyObject
*resultobj
;
1949 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1952 PyObject
* obj0
= 0 ;
1953 PyObject
* obj1
= 0 ;
1954 PyObject
* obj2
= 0 ;
1956 (char *) "self",(char *) "x",(char *) "y", NULL
1959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1962 arg2
= (int)SWIG_As_int(obj1
);
1963 if (PyErr_Occurred()) SWIG_fail
;
1964 arg3
= (int)SWIG_As_int(obj2
);
1965 if (PyErr_Occurred()) SWIG_fail
;
1967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1968 (arg1
)->Scroll(arg2
,arg3
);
1970 wxPyEndAllowThreads(__tstate
);
1971 if (PyErr_Occurred()) SWIG_fail
;
1973 Py_INCREF(Py_None
); resultobj
= Py_None
;
1980 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1981 PyObject
*resultobj
;
1982 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1985 PyObject
* obj0
= 0 ;
1986 PyObject
* obj1
= 0 ;
1988 (char *) "self",(char *) "orient", NULL
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1994 arg2
= (int)SWIG_As_int(obj1
);
1995 if (PyErr_Occurred()) SWIG_fail
;
1997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1998 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
2000 wxPyEndAllowThreads(__tstate
);
2001 if (PyErr_Occurred()) SWIG_fail
;
2003 resultobj
= SWIG_From_int((int)result
);
2010 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2011 PyObject
*resultobj
;
2012 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2015 PyObject
* obj0
= 0 ;
2016 PyObject
* obj1
= 0 ;
2017 PyObject
* obj2
= 0 ;
2019 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2025 arg2
= (int)SWIG_As_int(obj1
);
2026 if (PyErr_Occurred()) SWIG_fail
;
2027 arg3
= (int)SWIG_As_int(obj2
);
2028 if (PyErr_Occurred()) SWIG_fail
;
2030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2031 (arg1
)->SetScrollPageSize(arg2
,arg3
);
2033 wxPyEndAllowThreads(__tstate
);
2034 if (PyErr_Occurred()) SWIG_fail
;
2036 Py_INCREF(Py_None
); resultobj
= Py_None
;
2043 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2044 PyObject
*resultobj
;
2045 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2048 PyObject
* obj0
= 0 ;
2049 PyObject
* obj1
= 0 ;
2050 PyObject
* obj2
= 0 ;
2052 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2058 arg2
= (int)SWIG_As_int(obj1
);
2059 if (PyErr_Occurred()) SWIG_fail
;
2060 arg3
= (int)SWIG_As_int(obj2
);
2061 if (PyErr_Occurred()) SWIG_fail
;
2063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2064 (arg1
)->SetScrollRate(arg2
,arg3
);
2066 wxPyEndAllowThreads(__tstate
);
2067 if (PyErr_Occurred()) SWIG_fail
;
2069 Py_INCREF(Py_None
); resultobj
= Py_None
;
2076 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2077 PyObject
*resultobj
;
2078 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2079 int *arg2
= (int *) 0 ;
2080 int *arg3
= (int *) 0 ;
2085 PyObject
* obj0
= 0 ;
2087 (char *) "self", NULL
2090 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2091 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
2093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2097 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
2099 wxPyEndAllowThreads(__tstate
);
2100 if (PyErr_Occurred()) SWIG_fail
;
2102 Py_INCREF(Py_None
); resultobj
= Py_None
;
2103 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2104 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2105 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2106 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2113 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2114 PyObject
*resultobj
;
2115 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2118 PyObject
* obj0
= 0 ;
2119 PyObject
* obj1
= 0 ;
2120 PyObject
* obj2
= 0 ;
2122 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2128 arg2
= (bool)SWIG_As_bool(obj1
);
2129 if (PyErr_Occurred()) SWIG_fail
;
2130 arg3
= (bool)SWIG_As_bool(obj2
);
2131 if (PyErr_Occurred()) SWIG_fail
;
2133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2134 (arg1
)->EnableScrolling(arg2
,arg3
);
2136 wxPyEndAllowThreads(__tstate
);
2137 if (PyErr_Occurred()) SWIG_fail
;
2139 Py_INCREF(Py_None
); resultobj
= Py_None
;
2146 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2147 PyObject
*resultobj
;
2148 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2149 int *arg2
= (int *) 0 ;
2150 int *arg3
= (int *) 0 ;
2155 PyObject
* obj0
= 0 ;
2157 (char *) "self", NULL
2160 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2161 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
2163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2167 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
2169 wxPyEndAllowThreads(__tstate
);
2170 if (PyErr_Occurred()) SWIG_fail
;
2172 Py_INCREF(Py_None
); resultobj
= Py_None
;
2173 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2174 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2175 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2176 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2183 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2184 PyObject
*resultobj
;
2185 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2188 PyObject
* obj0
= 0 ;
2189 PyObject
* obj1
= 0 ;
2190 PyObject
* obj2
= 0 ;
2192 (char *) "self",(char *) "xs",(char *) "ys", NULL
2195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2198 arg2
= (double)SWIG_As_double(obj1
);
2199 if (PyErr_Occurred()) SWIG_fail
;
2200 arg3
= (double)SWIG_As_double(obj2
);
2201 if (PyErr_Occurred()) SWIG_fail
;
2203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2204 (arg1
)->SetScale(arg2
,arg3
);
2206 wxPyEndAllowThreads(__tstate
);
2207 if (PyErr_Occurred()) SWIG_fail
;
2209 Py_INCREF(Py_None
); resultobj
= Py_None
;
2216 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2217 PyObject
*resultobj
;
2218 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2220 PyObject
* obj0
= 0 ;
2222 (char *) "self", NULL
2225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2230 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2232 wxPyEndAllowThreads(__tstate
);
2233 if (PyErr_Occurred()) SWIG_fail
;
2235 resultobj
= SWIG_From_double((double)result
);
2242 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2243 PyObject
*resultobj
;
2244 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2246 PyObject
* obj0
= 0 ;
2248 (char *) "self", NULL
2251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2256 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2258 wxPyEndAllowThreads(__tstate
);
2259 if (PyErr_Occurred()) SWIG_fail
;
2261 resultobj
= SWIG_From_double((double)result
);
2268 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2269 PyObject
*resultobj
;
2270 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2274 PyObject
* obj0
= 0 ;
2275 PyObject
* obj1
= 0 ;
2277 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2282 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2286 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2288 wxPyEndAllowThreads(__tstate
);
2289 if (PyErr_Occurred()) SWIG_fail
;
2292 wxPoint
* resultptr
;
2293 resultptr
= new wxPoint((wxPoint
&) result
);
2294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2302 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2303 PyObject
*resultobj
;
2304 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2307 int *arg4
= (int *) 0 ;
2308 int *arg5
= (int *) 0 ;
2313 PyObject
* obj0
= 0 ;
2314 PyObject
* obj1
= 0 ;
2315 PyObject
* obj2
= 0 ;
2317 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2318 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2319 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2322 arg2
= (int)SWIG_As_int(obj1
);
2323 if (PyErr_Occurred()) SWIG_fail
;
2324 arg3
= (int)SWIG_As_int(obj2
);
2325 if (PyErr_Occurred()) SWIG_fail
;
2327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2328 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2330 wxPyEndAllowThreads(__tstate
);
2331 if (PyErr_Occurred()) SWIG_fail
;
2333 Py_INCREF(Py_None
); resultobj
= Py_None
;
2334 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2335 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
2336 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2337 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
2344 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2349 argc
= PyObject_Length(args
);
2350 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2351 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2357 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2366 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2369 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2377 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2385 _v
= SWIG_Check_int(argv
[1]);
2387 _v
= SWIG_Check_int(argv
[2]);
2389 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2395 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2400 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2401 PyObject
*resultobj
;
2402 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2406 PyObject
* obj0
= 0 ;
2407 PyObject
* obj1
= 0 ;
2409 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2414 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2418 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2420 wxPyEndAllowThreads(__tstate
);
2421 if (PyErr_Occurred()) SWIG_fail
;
2424 wxPoint
* resultptr
;
2425 resultptr
= new wxPoint((wxPoint
&) result
);
2426 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2434 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2435 PyObject
*resultobj
;
2436 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2439 int *arg4
= (int *) 0 ;
2440 int *arg5
= (int *) 0 ;
2445 PyObject
* obj0
= 0 ;
2446 PyObject
* obj1
= 0 ;
2447 PyObject
* obj2
= 0 ;
2449 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2450 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2451 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2454 arg2
= (int)SWIG_As_int(obj1
);
2455 if (PyErr_Occurred()) SWIG_fail
;
2456 arg3
= (int)SWIG_As_int(obj2
);
2457 if (PyErr_Occurred()) SWIG_fail
;
2459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2460 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2462 wxPyEndAllowThreads(__tstate
);
2463 if (PyErr_Occurred()) SWIG_fail
;
2465 Py_INCREF(Py_None
); resultobj
= Py_None
;
2466 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2467 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
2468 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2469 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
2476 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2481 argc
= PyObject_Length(args
);
2482 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2483 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2489 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2498 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2501 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2509 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2517 _v
= SWIG_Check_int(argv
[1]);
2519 _v
= SWIG_Check_int(argv
[2]);
2521 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2527 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2532 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2533 PyObject
*resultobj
;
2534 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2535 PyObject
* obj0
= 0 ;
2537 (char *) "self", NULL
2540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2545 (arg1
)->AdjustScrollbars();
2547 wxPyEndAllowThreads(__tstate
);
2548 if (PyErr_Occurred()) SWIG_fail
;
2550 Py_INCREF(Py_None
); resultobj
= Py_None
;
2557 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
*resultobj
;
2559 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2560 wxScrollWinEvent
*arg2
= 0 ;
2562 PyObject
* obj0
= 0 ;
2563 PyObject
* obj1
= 0 ;
2565 (char *) "self",(char *) "event", NULL
2568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2572 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2575 PyErr_SetString(PyExc_TypeError
,"null reference");
2579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2580 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2582 wxPyEndAllowThreads(__tstate
);
2583 if (PyErr_Occurred()) SWIG_fail
;
2585 resultobj
= SWIG_From_int((int)result
);
2592 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2593 PyObject
*resultobj
;
2594 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2595 wxWindow
*arg2
= (wxWindow
*) 0 ;
2596 PyObject
* obj0
= 0 ;
2597 PyObject
* obj1
= 0 ;
2599 (char *) "self",(char *) "target", NULL
2602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2609 (arg1
)->SetTargetWindow(arg2
);
2611 wxPyEndAllowThreads(__tstate
);
2612 if (PyErr_Occurred()) SWIG_fail
;
2614 Py_INCREF(Py_None
); resultobj
= Py_None
;
2621 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2622 PyObject
*resultobj
;
2623 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2625 PyObject
* obj0
= 0 ;
2627 (char *) "self", NULL
2630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2635 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2637 wxPyEndAllowThreads(__tstate
);
2638 if (PyErr_Occurred()) SWIG_fail
;
2641 resultobj
= wxPyMake_wxObject(result
, 0);
2649 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2650 PyObject
*resultobj
;
2651 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2654 PyObject
* obj0
= 0 ;
2655 PyObject
* obj1
= 0 ;
2657 (char *) "self",(char *) "rect", NULL
2660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2665 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2669 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2671 wxPyEndAllowThreads(__tstate
);
2672 if (PyErr_Occurred()) SWIG_fail
;
2674 Py_INCREF(Py_None
); resultobj
= Py_None
;
2681 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
*resultobj
;
2683 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2685 PyObject
* obj0
= 0 ;
2687 (char *) "self", NULL
2690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2695 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2697 wxPyEndAllowThreads(__tstate
);
2698 if (PyErr_Occurred()) SWIG_fail
;
2702 resultptr
= new wxRect((wxRect
&) result
);
2703 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2711 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2712 PyObject
*resultobj
;
2713 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2715 PyObject
* obj0
= 0 ;
2716 PyObject
* obj1
= 0 ;
2718 (char *) "self",(char *) "dc", NULL
2721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
2722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2725 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2728 PyErr_SetString(PyExc_TypeError
,"null reference");
2732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2733 (arg1
)->DoPrepareDC(*arg2
);
2735 wxPyEndAllowThreads(__tstate
);
2736 if (PyErr_Occurred()) SWIG_fail
;
2738 Py_INCREF(Py_None
); resultobj
= Py_None
;
2745 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2746 PyObject
*resultobj
;
2747 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2748 wxVisualAttributes result
;
2749 PyObject
* obj0
= 0 ;
2751 (char *) "variant", NULL
2754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2756 arg1
= (int)SWIG_As_int(obj0
);
2757 if (PyErr_Occurred()) SWIG_fail
;
2760 if (!wxPyCheckForApp()) SWIG_fail
;
2761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2762 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2764 wxPyEndAllowThreads(__tstate
);
2765 if (PyErr_Occurred()) SWIG_fail
;
2768 wxVisualAttributes
* resultptr
;
2769 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2770 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2778 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
2780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2781 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2783 return Py_BuildValue((char *)"");
2785 static int _wrap_FrameNameStr_set(PyObject
*) {
2786 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2791 static PyObject
*_wrap_FrameNameStr_get() {
2796 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2798 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2805 static int _wrap_DialogNameStr_set(PyObject
*) {
2806 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2811 static PyObject
*_wrap_DialogNameStr_get() {
2816 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2818 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2825 static int _wrap_StatusLineNameStr_set(PyObject
*) {
2826 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2831 static PyObject
*_wrap_StatusLineNameStr_get() {
2836 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2838 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2845 static int _wrap_ToolBarNameStr_set(PyObject
*) {
2846 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2851 static PyObject
*_wrap_ToolBarNameStr_get() {
2856 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2858 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2865 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2866 PyObject
*resultobj
;
2867 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2868 bool arg2
= (bool) true ;
2869 PyObject
* obj0
= 0 ;
2870 PyObject
* obj1
= 0 ;
2872 (char *) "self",(char *) "maximize", NULL
2875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2879 arg2
= (bool)SWIG_As_bool(obj1
);
2880 if (PyErr_Occurred()) SWIG_fail
;
2883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2884 (arg1
)->Maximize(arg2
);
2886 wxPyEndAllowThreads(__tstate
);
2887 if (PyErr_Occurred()) SWIG_fail
;
2889 Py_INCREF(Py_None
); resultobj
= Py_None
;
2896 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2897 PyObject
*resultobj
;
2898 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2899 PyObject
* obj0
= 0 ;
2901 (char *) "self", NULL
2904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2911 wxPyEndAllowThreads(__tstate
);
2912 if (PyErr_Occurred()) SWIG_fail
;
2914 Py_INCREF(Py_None
); resultobj
= Py_None
;
2921 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2922 PyObject
*resultobj
;
2923 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2924 bool arg2
= (bool) true ;
2925 PyObject
* obj0
= 0 ;
2926 PyObject
* obj1
= 0 ;
2928 (char *) "self",(char *) "iconize", NULL
2931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2935 arg2
= (bool)SWIG_As_bool(obj1
);
2936 if (PyErr_Occurred()) SWIG_fail
;
2939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2940 (arg1
)->Iconize(arg2
);
2942 wxPyEndAllowThreads(__tstate
);
2943 if (PyErr_Occurred()) SWIG_fail
;
2945 Py_INCREF(Py_None
); resultobj
= Py_None
;
2952 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2953 PyObject
*resultobj
;
2954 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2956 PyObject
* obj0
= 0 ;
2958 (char *) "self", NULL
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2966 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2968 wxPyEndAllowThreads(__tstate
);
2969 if (PyErr_Occurred()) SWIG_fail
;
2972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2980 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2981 PyObject
*resultobj
;
2982 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2984 PyObject
* obj0
= 0 ;
2986 (char *) "self", NULL
2989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2994 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2996 wxPyEndAllowThreads(__tstate
);
2997 if (PyErr_Occurred()) SWIG_fail
;
3000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3008 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3009 PyObject
*resultobj
;
3010 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3012 PyObject
* obj0
= 0 ;
3014 (char *) "self", NULL
3017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
3018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3022 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
3024 wxPyEndAllowThreads(__tstate
);
3025 if (PyErr_Occurred()) SWIG_fail
;
3029 resultptr
= new wxIcon((wxIcon
&) result
);
3030 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
3038 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3039 PyObject
*resultobj
;
3040 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3042 PyObject
* obj0
= 0 ;
3043 PyObject
* obj1
= 0 ;
3045 (char *) "self",(char *) "icon", NULL
3048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3051 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3052 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3055 PyErr_SetString(PyExc_TypeError
,"null reference");
3059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3060 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
3062 wxPyEndAllowThreads(__tstate
);
3063 if (PyErr_Occurred()) SWIG_fail
;
3065 Py_INCREF(Py_None
); resultobj
= Py_None
;
3072 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3073 PyObject
*resultobj
;
3074 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3075 wxIconBundle
*arg2
= 0 ;
3076 PyObject
* obj0
= 0 ;
3077 PyObject
* obj1
= 0 ;
3079 (char *) "self",(char *) "icons", NULL
3082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
3083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3085 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
3086 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3089 PyErr_SetString(PyExc_TypeError
,"null reference");
3093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3094 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
3096 wxPyEndAllowThreads(__tstate
);
3097 if (PyErr_Occurred()) SWIG_fail
;
3099 Py_INCREF(Py_None
); resultobj
= Py_None
;
3106 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
*resultobj
;
3108 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3110 long arg3
= (long) wxFULLSCREEN_ALL
;
3112 PyObject
* obj0
= 0 ;
3113 PyObject
* obj1
= 0 ;
3114 PyObject
* obj2
= 0 ;
3116 (char *) "self",(char *) "show",(char *) "style", NULL
3119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3122 arg2
= (bool)SWIG_As_bool(obj1
);
3123 if (PyErr_Occurred()) SWIG_fail
;
3125 arg3
= (long)SWIG_As_long(obj2
);
3126 if (PyErr_Occurred()) SWIG_fail
;
3129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3130 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
3132 wxPyEndAllowThreads(__tstate
);
3133 if (PyErr_Occurred()) SWIG_fail
;
3136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3144 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3145 PyObject
*resultobj
;
3146 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3148 PyObject
* obj0
= 0 ;
3150 (char *) "self", NULL
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
3154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3158 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
3160 wxPyEndAllowThreads(__tstate
);
3161 if (PyErr_Occurred()) SWIG_fail
;
3164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3172 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3173 PyObject
*resultobj
;
3174 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3175 wxString
*arg2
= 0 ;
3176 bool temp2
= false ;
3177 PyObject
* obj0
= 0 ;
3178 PyObject
* obj1
= 0 ;
3180 (char *) "self",(char *) "title", NULL
3183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
3184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3187 arg2
= wxString_in_helper(obj1
);
3188 if (arg2
== NULL
) SWIG_fail
;
3192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3193 (arg1
)->SetTitle((wxString
const &)*arg2
);
3195 wxPyEndAllowThreads(__tstate
);
3196 if (PyErr_Occurred()) SWIG_fail
;
3198 Py_INCREF(Py_None
); resultobj
= Py_None
;
3213 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3214 PyObject
*resultobj
;
3215 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3217 PyObject
* obj0
= 0 ;
3219 (char *) "self", NULL
3222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3227 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3229 wxPyEndAllowThreads(__tstate
);
3230 if (PyErr_Occurred()) SWIG_fail
;
3234 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3236 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3245 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3246 PyObject
*resultobj
;
3247 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3248 wxRegion
*arg2
= 0 ;
3250 PyObject
* obj0
= 0 ;
3251 PyObject
* obj1
= 0 ;
3253 (char *) "self",(char *) "region", NULL
3256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3259 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3260 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3263 PyErr_SetString(PyExc_TypeError
,"null reference");
3267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3268 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3270 wxPyEndAllowThreads(__tstate
);
3271 if (PyErr_Occurred()) SWIG_fail
;
3274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3282 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3283 PyObject
*resultobj
;
3284 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3285 int arg2
= (int) wxUSER_ATTENTION_INFO
;
3286 PyObject
* obj0
= 0 ;
3287 PyObject
* obj1
= 0 ;
3289 (char *) "self",(char *) "flags", NULL
3292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
3293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3296 arg2
= (int)SWIG_As_int(obj1
);
3297 if (PyErr_Occurred()) SWIG_fail
;
3300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3301 (arg1
)->RequestUserAttention(arg2
);
3303 wxPyEndAllowThreads(__tstate
);
3304 if (PyErr_Occurred()) SWIG_fail
;
3306 Py_INCREF(Py_None
); resultobj
= Py_None
;
3313 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
*resultobj
;
3315 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3317 PyObject
* obj0
= 0 ;
3319 (char *) "self", NULL
3322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
3323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3327 result
= (bool)(arg1
)->IsActive();
3329 wxPyEndAllowThreads(__tstate
);
3330 if (PyErr_Occurred()) SWIG_fail
;
3333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3341 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3342 PyObject
*resultobj
;
3343 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3345 PyObject
* obj0
= 0 ;
3346 PyObject
* obj1
= 0 ;
3348 (char *) "self",(char *) "on", NULL
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
3352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3354 arg2
= (bool)SWIG_As_bool(obj1
);
3355 if (PyErr_Occurred()) SWIG_fail
;
3357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3358 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
3360 wxPyEndAllowThreads(__tstate
);
3361 if (PyErr_Occurred()) SWIG_fail
;
3363 Py_INCREF(Py_None
); resultobj
= Py_None
;
3370 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
*resultobj
;
3372 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3374 PyObject
* obj0
= 0 ;
3376 (char *) "self", NULL
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
3380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3384 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
3386 wxPyEndAllowThreads(__tstate
);
3387 if (PyErr_Occurred()) SWIG_fail
;
3390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3398 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
3400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3401 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3403 return Py_BuildValue((char *)"");
3405 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
*resultobj
;
3407 wxWindow
*arg1
= (wxWindow
*) 0 ;
3408 int arg2
= (int) (int)-1 ;
3409 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3410 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3411 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3412 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3413 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3414 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3415 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3416 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3417 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3419 bool temp3
= false ;
3422 bool temp7
= false ;
3423 PyObject
* obj0
= 0 ;
3424 PyObject
* obj1
= 0 ;
3425 PyObject
* obj2
= 0 ;
3426 PyObject
* obj3
= 0 ;
3427 PyObject
* obj4
= 0 ;
3428 PyObject
* obj5
= 0 ;
3429 PyObject
* obj6
= 0 ;
3431 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3438 arg2
= (int)SWIG_As_int(obj1
);
3439 if (PyErr_Occurred()) SWIG_fail
;
3443 arg3
= wxString_in_helper(obj2
);
3444 if (arg3
== NULL
) SWIG_fail
;
3451 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3457 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3461 arg6
= (long)SWIG_As_long(obj5
);
3462 if (PyErr_Occurred()) SWIG_fail
;
3466 arg7
= wxString_in_helper(obj6
);
3467 if (arg7
== NULL
) SWIG_fail
;
3472 if (!wxPyCheckForApp()) SWIG_fail
;
3473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3474 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3476 wxPyEndAllowThreads(__tstate
);
3477 if (PyErr_Occurred()) SWIG_fail
;
3479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3502 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3503 PyObject
*resultobj
;
3509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3511 if (!wxPyCheckForApp()) SWIG_fail
;
3512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3513 result
= (wxFrame
*)new wxFrame();
3515 wxPyEndAllowThreads(__tstate
);
3516 if (PyErr_Occurred()) SWIG_fail
;
3518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3525 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3526 PyObject
*resultobj
;
3527 wxFrame
*arg1
= (wxFrame
*) 0 ;
3528 wxWindow
*arg2
= (wxWindow
*) 0 ;
3529 int arg3
= (int) (int)-1 ;
3530 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3531 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3532 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3533 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3534 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3535 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3536 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3537 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3538 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3540 bool temp4
= false ;
3543 bool temp8
= false ;
3544 PyObject
* obj0
= 0 ;
3545 PyObject
* obj1
= 0 ;
3546 PyObject
* obj2
= 0 ;
3547 PyObject
* obj3
= 0 ;
3548 PyObject
* obj4
= 0 ;
3549 PyObject
* obj5
= 0 ;
3550 PyObject
* obj6
= 0 ;
3551 PyObject
* obj7
= 0 ;
3553 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3559 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3562 arg3
= (int)SWIG_As_int(obj2
);
3563 if (PyErr_Occurred()) SWIG_fail
;
3567 arg4
= wxString_in_helper(obj3
);
3568 if (arg4
== NULL
) SWIG_fail
;
3575 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3581 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3585 arg7
= (long)SWIG_As_long(obj6
);
3586 if (PyErr_Occurred()) SWIG_fail
;
3590 arg8
= wxString_in_helper(obj7
);
3591 if (arg8
== NULL
) SWIG_fail
;
3596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3597 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3599 wxPyEndAllowThreads(__tstate
);
3600 if (PyErr_Occurred()) SWIG_fail
;
3603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3627 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
*resultobj
;
3629 wxFrame
*arg1
= (wxFrame
*) 0 ;
3631 PyObject
* obj0
= 0 ;
3633 (char *) "self", NULL
3636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3641 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3643 wxPyEndAllowThreads(__tstate
);
3644 if (PyErr_Occurred()) SWIG_fail
;
3647 wxPoint
* resultptr
;
3648 resultptr
= new wxPoint((wxPoint
&) result
);
3649 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3657 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3658 PyObject
*resultobj
;
3659 wxFrame
*arg1
= (wxFrame
*) 0 ;
3660 PyObject
* obj0
= 0 ;
3662 (char *) "self", NULL
3665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3670 (arg1
)->SendSizeEvent();
3672 wxPyEndAllowThreads(__tstate
);
3673 if (PyErr_Occurred()) SWIG_fail
;
3675 Py_INCREF(Py_None
); resultobj
= Py_None
;
3682 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
*resultobj
;
3684 wxFrame
*arg1
= (wxFrame
*) 0 ;
3685 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3686 PyObject
* obj0
= 0 ;
3687 PyObject
* obj1
= 0 ;
3689 (char *) "self",(char *) "menubar", NULL
3692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3695 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3699 (arg1
)->SetMenuBar(arg2
);
3701 wxPyEndAllowThreads(__tstate
);
3702 if (PyErr_Occurred()) SWIG_fail
;
3704 Py_INCREF(Py_None
); resultobj
= Py_None
;
3711 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3712 PyObject
*resultobj
;
3713 wxFrame
*arg1
= (wxFrame
*) 0 ;
3715 PyObject
* obj0
= 0 ;
3717 (char *) "self", NULL
3720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3725 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3727 wxPyEndAllowThreads(__tstate
);
3728 if (PyErr_Occurred()) SWIG_fail
;
3731 resultobj
= wxPyMake_wxObject(result
, 0);
3739 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3740 PyObject
*resultobj
;
3741 wxFrame
*arg1
= (wxFrame
*) 0 ;
3744 PyObject
* obj0
= 0 ;
3745 PyObject
* obj1
= 0 ;
3747 (char *) "self",(char *) "winid", NULL
3750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3753 arg2
= (int)SWIG_As_int(obj1
);
3754 if (PyErr_Occurred()) SWIG_fail
;
3756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3757 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3759 wxPyEndAllowThreads(__tstate
);
3760 if (PyErr_Occurred()) SWIG_fail
;
3763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3771 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
*resultobj
;
3773 wxFrame
*arg1
= (wxFrame
*) 0 ;
3774 int arg2
= (int) 1 ;
3775 long arg3
= (long) wxST_SIZEGRIP
;
3776 int arg4
= (int) 0 ;
3777 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3778 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3779 wxStatusBar
*result
;
3780 bool temp5
= false ;
3781 PyObject
* obj0
= 0 ;
3782 PyObject
* obj1
= 0 ;
3783 PyObject
* obj2
= 0 ;
3784 PyObject
* obj3
= 0 ;
3785 PyObject
* obj4
= 0 ;
3787 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3794 arg2
= (int)SWIG_As_int(obj1
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3798 arg3
= (long)SWIG_As_long(obj2
);
3799 if (PyErr_Occurred()) SWIG_fail
;
3802 arg4
= (int)SWIG_As_int(obj3
);
3803 if (PyErr_Occurred()) SWIG_fail
;
3807 arg5
= wxString_in_helper(obj4
);
3808 if (arg5
== NULL
) SWIG_fail
;
3813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3814 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3816 wxPyEndAllowThreads(__tstate
);
3817 if (PyErr_Occurred()) SWIG_fail
;
3820 resultobj
= wxPyMake_wxObject(result
, 0);
3836 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
*resultobj
;
3838 wxFrame
*arg1
= (wxFrame
*) 0 ;
3839 wxStatusBar
*result
;
3840 PyObject
* obj0
= 0 ;
3842 (char *) "self", NULL
3845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) SWIG_fail
;
3856 resultobj
= wxPyMake_wxObject(result
, 0);
3864 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
*resultobj
;
3866 wxFrame
*arg1
= (wxFrame
*) 0 ;
3867 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3868 PyObject
* obj0
= 0 ;
3869 PyObject
* obj1
= 0 ;
3871 (char *) "self",(char *) "statBar", NULL
3874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3881 (arg1
)->SetStatusBar(arg2
);
3883 wxPyEndAllowThreads(__tstate
);
3884 if (PyErr_Occurred()) SWIG_fail
;
3886 Py_INCREF(Py_None
); resultobj
= Py_None
;
3893 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3894 PyObject
*resultobj
;
3895 wxFrame
*arg1
= (wxFrame
*) 0 ;
3896 wxString
*arg2
= 0 ;
3897 int arg3
= (int) 0 ;
3898 bool temp2
= false ;
3899 PyObject
* obj0
= 0 ;
3900 PyObject
* obj1
= 0 ;
3901 PyObject
* obj2
= 0 ;
3903 (char *) "self",(char *) "text",(char *) "number", NULL
3906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3910 arg2
= wxString_in_helper(obj1
);
3911 if (arg2
== NULL
) SWIG_fail
;
3915 arg3
= (int)SWIG_As_int(obj2
);
3916 if (PyErr_Occurred()) SWIG_fail
;
3919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3920 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3922 wxPyEndAllowThreads(__tstate
);
3923 if (PyErr_Occurred()) SWIG_fail
;
3925 Py_INCREF(Py_None
); resultobj
= Py_None
;
3940 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
*resultobj
;
3942 wxFrame
*arg1
= (wxFrame
*) 0 ;
3944 int *arg3
= (int *) 0 ;
3945 PyObject
* obj0
= 0 ;
3946 PyObject
* obj1
= 0 ;
3948 (char *) "self",(char *) "widths", NULL
3951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3955 arg2
= PyList_Size(obj1
);
3956 arg3
= int_LIST_helper(obj1
);
3957 if (arg3
== NULL
) SWIG_fail
;
3960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3961 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3963 wxPyEndAllowThreads(__tstate
);
3964 if (PyErr_Occurred()) SWIG_fail
;
3966 Py_INCREF(Py_None
); resultobj
= Py_None
;
3968 if (arg3
) delete [] arg3
;
3973 if (arg3
) delete [] arg3
;
3979 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3980 PyObject
*resultobj
;
3981 wxFrame
*arg1
= (wxFrame
*) 0 ;
3982 wxString
*arg2
= 0 ;
3983 int arg3
= (int) 0 ;
3984 bool temp2
= false ;
3985 PyObject
* obj0
= 0 ;
3986 PyObject
* obj1
= 0 ;
3987 PyObject
* obj2
= 0 ;
3989 (char *) "self",(char *) "text",(char *) "number", NULL
3992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3996 arg2
= wxString_in_helper(obj1
);
3997 if (arg2
== NULL
) SWIG_fail
;
4001 arg3
= (int)SWIG_As_int(obj2
);
4002 if (PyErr_Occurred()) SWIG_fail
;
4005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4006 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
4008 wxPyEndAllowThreads(__tstate
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4011 Py_INCREF(Py_None
); resultobj
= Py_None
;
4026 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4027 PyObject
*resultobj
;
4028 wxFrame
*arg1
= (wxFrame
*) 0 ;
4029 int arg2
= (int) 0 ;
4030 PyObject
* obj0
= 0 ;
4031 PyObject
* obj1
= 0 ;
4033 (char *) "self",(char *) "number", NULL
4036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
4037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4040 arg2
= (int)SWIG_As_int(obj1
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4045 (arg1
)->PopStatusText(arg2
);
4047 wxPyEndAllowThreads(__tstate
);
4048 if (PyErr_Occurred()) SWIG_fail
;
4050 Py_INCREF(Py_None
); resultobj
= Py_None
;
4057 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4058 PyObject
*resultobj
;
4059 wxFrame
*arg1
= (wxFrame
*) 0 ;
4061 PyObject
* obj0
= 0 ;
4062 PyObject
* obj1
= 0 ;
4064 (char *) "self",(char *) "n", NULL
4067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
4068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4070 arg2
= (int)SWIG_As_int(obj1
);
4071 if (PyErr_Occurred()) SWIG_fail
;
4073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4074 (arg1
)->SetStatusBarPane(arg2
);
4076 wxPyEndAllowThreads(__tstate
);
4077 if (PyErr_Occurred()) SWIG_fail
;
4079 Py_INCREF(Py_None
); resultobj
= Py_None
;
4086 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4087 PyObject
*resultobj
;
4088 wxFrame
*arg1
= (wxFrame
*) 0 ;
4090 PyObject
* obj0
= 0 ;
4092 (char *) "self", NULL
4095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
4096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4100 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
4102 wxPyEndAllowThreads(__tstate
);
4103 if (PyErr_Occurred()) SWIG_fail
;
4105 resultobj
= SWIG_From_int((int)result
);
4112 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4113 PyObject
*resultobj
;
4114 wxFrame
*arg1
= (wxFrame
*) 0 ;
4115 long arg2
= (long) -1 ;
4116 int arg3
= (int) -1 ;
4117 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
4118 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4120 bool temp4
= false ;
4121 PyObject
* obj0
= 0 ;
4122 PyObject
* obj1
= 0 ;
4123 PyObject
* obj2
= 0 ;
4124 PyObject
* obj3
= 0 ;
4126 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
4129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4133 arg2
= (long)SWIG_As_long(obj1
);
4134 if (PyErr_Occurred()) SWIG_fail
;
4137 arg3
= (int)SWIG_As_int(obj2
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4142 arg4
= wxString_in_helper(obj3
);
4143 if (arg4
== NULL
) SWIG_fail
;
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) SWIG_fail
;
4155 resultobj
= wxPyMake_wxObject(result
, 0);
4171 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4172 PyObject
*resultobj
;
4173 wxFrame
*arg1
= (wxFrame
*) 0 ;
4175 PyObject
* obj0
= 0 ;
4177 (char *) "self", NULL
4180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
4181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4185 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
4187 wxPyEndAllowThreads(__tstate
);
4188 if (PyErr_Occurred()) SWIG_fail
;
4191 resultobj
= wxPyMake_wxObject(result
, 0);
4199 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
*resultobj
;
4201 wxFrame
*arg1
= (wxFrame
*) 0 ;
4202 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
4203 PyObject
* obj0
= 0 ;
4204 PyObject
* obj1
= 0 ;
4206 (char *) "self",(char *) "toolbar", NULL
4209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
4213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4216 (arg1
)->SetToolBar(arg2
);
4218 wxPyEndAllowThreads(__tstate
);
4219 if (PyErr_Occurred()) SWIG_fail
;
4221 Py_INCREF(Py_None
); resultobj
= Py_None
;
4228 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4229 PyObject
*resultobj
;
4230 wxFrame
*arg1
= (wxFrame
*) 0 ;
4231 wxString
*arg2
= 0 ;
4233 bool temp2
= false ;
4234 PyObject
* obj0
= 0 ;
4235 PyObject
* obj1
= 0 ;
4236 PyObject
* obj2
= 0 ;
4238 (char *) "self",(char *) "text",(char *) "show", NULL
4241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4245 arg2
= wxString_in_helper(obj1
);
4246 if (arg2
== NULL
) SWIG_fail
;
4249 arg3
= (bool)SWIG_As_bool(obj2
);
4250 if (PyErr_Occurred()) SWIG_fail
;
4252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4253 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
4255 wxPyEndAllowThreads(__tstate
);
4256 if (PyErr_Occurred()) SWIG_fail
;
4258 Py_INCREF(Py_None
); resultobj
= Py_None
;
4273 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4274 PyObject
*resultobj
;
4275 wxFrame
*arg1
= (wxFrame
*) 0 ;
4276 wxMenu
*arg2
= (wxMenu
*) NULL
;
4277 PyObject
* obj0
= 0 ;
4278 PyObject
* obj1
= 0 ;
4280 (char *) "self",(char *) "menu", NULL
4283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
4284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
4288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4292 (arg1
)->DoMenuUpdates(arg2
);
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4297 Py_INCREF(Py_None
); resultobj
= Py_None
;
4304 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
*resultobj
;
4306 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4307 wxVisualAttributes result
;
4308 PyObject
* obj0
= 0 ;
4310 (char *) "variant", NULL
4313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4315 arg1
= (int)SWIG_As_int(obj0
);
4316 if (PyErr_Occurred()) SWIG_fail
;
4319 if (!wxPyCheckForApp()) SWIG_fail
;
4320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4323 wxPyEndAllowThreads(__tstate
);
4324 if (PyErr_Occurred()) SWIG_fail
;
4327 wxVisualAttributes
* resultptr
;
4328 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4329 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4337 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
4339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4340 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4342 return Py_BuildValue((char *)"");
4344 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
*resultobj
;
4346 wxWindow
*arg1
= (wxWindow
*) 0 ;
4347 int arg2
= (int) (int)-1 ;
4348 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4349 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4350 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4351 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4352 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4353 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4354 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4355 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4356 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4358 bool temp3
= false ;
4361 bool temp7
= false ;
4362 PyObject
* obj0
= 0 ;
4363 PyObject
* obj1
= 0 ;
4364 PyObject
* obj2
= 0 ;
4365 PyObject
* obj3
= 0 ;
4366 PyObject
* obj4
= 0 ;
4367 PyObject
* obj5
= 0 ;
4368 PyObject
* obj6
= 0 ;
4370 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4377 arg2
= (int)SWIG_As_int(obj1
);
4378 if (PyErr_Occurred()) SWIG_fail
;
4382 arg3
= wxString_in_helper(obj2
);
4383 if (arg3
== NULL
) SWIG_fail
;
4390 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4396 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4400 arg6
= (long)SWIG_As_long(obj5
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4405 arg7
= wxString_in_helper(obj6
);
4406 if (arg7
== NULL
) SWIG_fail
;
4411 if (!wxPyCheckForApp()) SWIG_fail
;
4412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4413 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4415 wxPyEndAllowThreads(__tstate
);
4416 if (PyErr_Occurred()) SWIG_fail
;
4418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4441 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4442 PyObject
*resultobj
;
4448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4450 if (!wxPyCheckForApp()) SWIG_fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 result
= (wxDialog
*)new wxDialog();
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4464 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
*resultobj
;
4466 wxDialog
*arg1
= (wxDialog
*) 0 ;
4467 wxWindow
*arg2
= (wxWindow
*) 0 ;
4468 int arg3
= (int) (int)-1 ;
4469 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4470 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4471 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4472 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4473 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4474 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4475 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4476 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4477 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4479 bool temp4
= false ;
4482 bool temp8
= false ;
4483 PyObject
* obj0
= 0 ;
4484 PyObject
* obj1
= 0 ;
4485 PyObject
* obj2
= 0 ;
4486 PyObject
* obj3
= 0 ;
4487 PyObject
* obj4
= 0 ;
4488 PyObject
* obj5
= 0 ;
4489 PyObject
* obj6
= 0 ;
4490 PyObject
* obj7
= 0 ;
4492 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4498 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4501 arg3
= (int)SWIG_As_int(obj2
);
4502 if (PyErr_Occurred()) SWIG_fail
;
4506 arg4
= wxString_in_helper(obj3
);
4507 if (arg4
== NULL
) SWIG_fail
;
4514 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4520 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4524 arg7
= (long)SWIG_As_long(obj6
);
4525 if (PyErr_Occurred()) SWIG_fail
;
4529 arg8
= wxString_in_helper(obj7
);
4530 if (arg8
== NULL
) SWIG_fail
;
4535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4536 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4538 wxPyEndAllowThreads(__tstate
);
4539 if (PyErr_Occurred()) SWIG_fail
;
4542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4566 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4567 PyObject
*resultobj
;
4568 wxDialog
*arg1
= (wxDialog
*) 0 ;
4570 PyObject
* obj0
= 0 ;
4571 PyObject
* obj1
= 0 ;
4573 (char *) "self",(char *) "returnCode", NULL
4576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4579 arg2
= (int)SWIG_As_int(obj1
);
4580 if (PyErr_Occurred()) SWIG_fail
;
4582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4583 (arg1
)->SetReturnCode(arg2
);
4585 wxPyEndAllowThreads(__tstate
);
4586 if (PyErr_Occurred()) SWIG_fail
;
4588 Py_INCREF(Py_None
); resultobj
= Py_None
;
4595 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4596 PyObject
*resultobj
;
4597 wxDialog
*arg1
= (wxDialog
*) 0 ;
4599 PyObject
* obj0
= 0 ;
4601 (char *) "self", NULL
4604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4609 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4611 wxPyEndAllowThreads(__tstate
);
4612 if (PyErr_Occurred()) SWIG_fail
;
4614 resultobj
= SWIG_From_int((int)result
);
4621 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4622 PyObject
*resultobj
;
4623 wxDialog
*arg1
= (wxDialog
*) 0 ;
4624 wxString
*arg2
= 0 ;
4626 bool temp2
= false ;
4627 PyObject
* obj0
= 0 ;
4628 PyObject
* obj1
= 0 ;
4630 (char *) "self",(char *) "message", NULL
4633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4637 arg2
= wxString_in_helper(obj1
);
4638 if (arg2
== NULL
) SWIG_fail
;
4642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4643 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4645 wxPyEndAllowThreads(__tstate
);
4646 if (PyErr_Occurred()) SWIG_fail
;
4649 resultobj
= wxPyMake_wxSizer(result
, 0);
4665 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
*resultobj
;
4667 wxDialog
*arg1
= (wxDialog
*) 0 ;
4670 PyObject
* obj0
= 0 ;
4671 PyObject
* obj1
= 0 ;
4673 (char *) "self",(char *) "flags", NULL
4676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4679 arg2
= (long)SWIG_As_long(obj1
);
4680 if (PyErr_Occurred()) SWIG_fail
;
4682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4683 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4685 wxPyEndAllowThreads(__tstate
);
4686 if (PyErr_Occurred()) SWIG_fail
;
4689 resultobj
= wxPyMake_wxSizer(result
, 0);
4697 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4698 PyObject
*resultobj
;
4699 wxDialog
*arg1
= (wxDialog
*) 0 ;
4701 PyObject
* obj0
= 0 ;
4703 (char *) "self", NULL
4706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4711 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4713 wxPyEndAllowThreads(__tstate
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4725 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4726 PyObject
*resultobj
;
4727 wxDialog
*arg1
= (wxDialog
*) 0 ;
4729 PyObject
* obj0
= 0 ;
4731 (char *) "self", NULL
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4739 result
= (int)(arg1
)->ShowModal();
4741 wxPyEndAllowThreads(__tstate
);
4742 if (PyErr_Occurred()) SWIG_fail
;
4744 resultobj
= SWIG_From_int((int)result
);
4751 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
*resultobj
;
4753 wxDialog
*arg1
= (wxDialog
*) 0 ;
4755 PyObject
* obj0
= 0 ;
4756 PyObject
* obj1
= 0 ;
4758 (char *) "self",(char *) "retCode", NULL
4761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4764 arg2
= (int)SWIG_As_int(obj1
);
4765 if (PyErr_Occurred()) SWIG_fail
;
4767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4768 (arg1
)->EndModal(arg2
);
4770 wxPyEndAllowThreads(__tstate
);
4771 if (PyErr_Occurred()) SWIG_fail
;
4773 Py_INCREF(Py_None
); resultobj
= Py_None
;
4780 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
*resultobj
;
4782 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4783 wxVisualAttributes result
;
4784 PyObject
* obj0
= 0 ;
4786 (char *) "variant", NULL
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4791 arg1
= (int)SWIG_As_int(obj0
);
4792 if (PyErr_Occurred()) SWIG_fail
;
4795 if (!wxPyCheckForApp()) SWIG_fail
;
4796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4797 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4799 wxPyEndAllowThreads(__tstate
);
4800 if (PyErr_Occurred()) SWIG_fail
;
4803 wxVisualAttributes
* resultptr
;
4804 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4805 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4813 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
4815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4816 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4818 return Py_BuildValue((char *)"");
4820 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4821 PyObject
*resultobj
;
4822 wxWindow
*arg1
= (wxWindow
*) 0 ;
4823 int arg2
= (int) (int)-1 ;
4824 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4825 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4826 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4827 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4828 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4829 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4830 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4831 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4832 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4833 wxMiniFrame
*result
;
4834 bool temp3
= false ;
4837 bool temp7
= false ;
4838 PyObject
* obj0
= 0 ;
4839 PyObject
* obj1
= 0 ;
4840 PyObject
* obj2
= 0 ;
4841 PyObject
* obj3
= 0 ;
4842 PyObject
* obj4
= 0 ;
4843 PyObject
* obj5
= 0 ;
4844 PyObject
* obj6
= 0 ;
4846 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4853 arg2
= (int)SWIG_As_int(obj1
);
4854 if (PyErr_Occurred()) SWIG_fail
;
4858 arg3
= wxString_in_helper(obj2
);
4859 if (arg3
== NULL
) SWIG_fail
;
4866 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4872 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4876 arg6
= (long)SWIG_As_long(obj5
);
4877 if (PyErr_Occurred()) SWIG_fail
;
4881 arg7
= wxString_in_helper(obj6
);
4882 if (arg7
== NULL
) SWIG_fail
;
4887 if (!wxPyCheckForApp()) SWIG_fail
;
4888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4889 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4891 wxPyEndAllowThreads(__tstate
);
4892 if (PyErr_Occurred()) SWIG_fail
;
4894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4917 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4918 PyObject
*resultobj
;
4919 wxMiniFrame
*result
;
4924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4926 if (!wxPyCheckForApp()) SWIG_fail
;
4927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4928 result
= (wxMiniFrame
*)new wxMiniFrame();
4930 wxPyEndAllowThreads(__tstate
);
4931 if (PyErr_Occurred()) SWIG_fail
;
4933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4940 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4941 PyObject
*resultobj
;
4942 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4943 wxWindow
*arg2
= (wxWindow
*) 0 ;
4944 int arg3
= (int) (int)-1 ;
4945 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4946 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4947 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4948 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4949 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4950 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4951 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4952 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4953 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4955 bool temp4
= false ;
4958 bool temp8
= false ;
4959 PyObject
* obj0
= 0 ;
4960 PyObject
* obj1
= 0 ;
4961 PyObject
* obj2
= 0 ;
4962 PyObject
* obj3
= 0 ;
4963 PyObject
* obj4
= 0 ;
4964 PyObject
* obj5
= 0 ;
4965 PyObject
* obj6
= 0 ;
4966 PyObject
* obj7
= 0 ;
4968 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4974 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4977 arg3
= (int)SWIG_As_int(obj2
);
4978 if (PyErr_Occurred()) SWIG_fail
;
4982 arg4
= wxString_in_helper(obj3
);
4983 if (arg4
== NULL
) SWIG_fail
;
4990 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4996 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5000 arg7
= (long)SWIG_As_long(obj6
);
5001 if (PyErr_Occurred()) SWIG_fail
;
5005 arg8
= wxString_in_helper(obj7
);
5006 if (arg8
== NULL
) SWIG_fail
;
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5014 wxPyEndAllowThreads(__tstate
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5042 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
5044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5045 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
5047 return Py_BuildValue((char *)"");
5049 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
*resultobj
;
5051 wxBitmap
*arg1
= 0 ;
5052 wxWindow
*arg2
= (wxWindow
*) 0 ;
5054 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5055 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5056 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5057 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5058 long arg6
= (long) wxNO_BORDER
;
5059 wxSplashScreenWindow
*result
;
5062 PyObject
* obj0
= 0 ;
5063 PyObject
* obj1
= 0 ;
5064 PyObject
* obj2
= 0 ;
5065 PyObject
* obj3
= 0 ;
5066 PyObject
* obj4
= 0 ;
5067 PyObject
* obj5
= 0 ;
5069 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5074 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5077 PyErr_SetString(PyExc_TypeError
,"null reference");
5080 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5082 arg3
= (int)SWIG_As_int(obj2
);
5083 if (PyErr_Occurred()) SWIG_fail
;
5087 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5093 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5097 arg6
= (long)SWIG_As_long(obj5
);
5098 if (PyErr_Occurred()) SWIG_fail
;
5101 if (!wxPyCheckForApp()) SWIG_fail
;
5102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5103 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
5115 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5116 PyObject
*resultobj
;
5117 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
5118 wxBitmap
*arg2
= 0 ;
5119 PyObject
* obj0
= 0 ;
5120 PyObject
* obj1
= 0 ;
5122 (char *) "self",(char *) "bitmap", NULL
5125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5128 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5129 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5132 PyErr_SetString(PyExc_TypeError
,"null reference");
5136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5137 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5139 wxPyEndAllowThreads(__tstate
);
5140 if (PyErr_Occurred()) SWIG_fail
;
5142 Py_INCREF(Py_None
); resultobj
= Py_None
;
5149 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5150 PyObject
*resultobj
;
5151 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
5153 PyObject
* obj0
= 0 ;
5155 (char *) "self", NULL
5158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
5159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5164 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
5165 result
= (wxBitmap
*) &_result_ref
;
5168 wxPyEndAllowThreads(__tstate
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5172 wxBitmap
* resultptr
= new wxBitmap(*result
);
5173 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5181 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
5183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5184 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
5186 return Py_BuildValue((char *)"");
5188 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
*resultobj
;
5190 wxBitmap
*arg1
= 0 ;
5193 wxWindow
*arg4
= (wxWindow
*) 0 ;
5194 int arg5
= (int) -1 ;
5195 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
5196 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
5197 wxSize
const &arg7_defvalue
= wxDefaultSize
;
5198 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
5199 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
5200 wxSplashScreen
*result
;
5203 PyObject
* obj0
= 0 ;
5204 PyObject
* obj1
= 0 ;
5205 PyObject
* obj2
= 0 ;
5206 PyObject
* obj3
= 0 ;
5207 PyObject
* obj4
= 0 ;
5208 PyObject
* obj5
= 0 ;
5209 PyObject
* obj6
= 0 ;
5210 PyObject
* obj7
= 0 ;
5212 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5217 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5220 PyErr_SetString(PyExc_TypeError
,"null reference");
5223 arg2
= (long)SWIG_As_long(obj1
);
5224 if (PyErr_Occurred()) SWIG_fail
;
5225 arg3
= (int)SWIG_As_int(obj2
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5227 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
5228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5230 arg5
= (int)SWIG_As_int(obj4
);
5231 if (PyErr_Occurred()) SWIG_fail
;
5236 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
5242 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
5246 arg8
= (long)SWIG_As_long(obj7
);
5247 if (PyErr_Occurred()) SWIG_fail
;
5250 if (!wxPyCheckForApp()) SWIG_fail
;
5251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5252 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
5254 wxPyEndAllowThreads(__tstate
);
5255 if (PyErr_Occurred()) SWIG_fail
;
5257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
5264 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5265 PyObject
*resultobj
;
5266 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5268 PyObject
* obj0
= 0 ;
5270 (char *) "self", NULL
5273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
5274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5278 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
5280 wxPyEndAllowThreads(__tstate
);
5281 if (PyErr_Occurred()) SWIG_fail
;
5283 resultobj
= SWIG_From_long((long)result
);
5290 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
*resultobj
;
5292 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5293 wxSplashScreenWindow
*result
;
5294 PyObject
* obj0
= 0 ;
5296 (char *) "self", NULL
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
5300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
5306 wxPyEndAllowThreads(__tstate
);
5307 if (PyErr_Occurred()) SWIG_fail
;
5309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
5316 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5317 PyObject
*resultobj
;
5318 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5320 PyObject
* obj0
= 0 ;
5322 (char *) "self", NULL
5325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
5326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5330 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
5332 wxPyEndAllowThreads(__tstate
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5335 resultobj
= SWIG_From_int((int)result
);
5342 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
5344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5345 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
5347 return Py_BuildValue((char *)"");
5349 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
*resultobj
;
5351 wxWindow
*arg1
= (wxWindow
*) 0 ;
5352 int arg2
= (int) -1 ;
5353 long arg3
= (long) wxST_SIZEGRIP
;
5354 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5355 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5356 wxStatusBar
*result
;
5357 bool temp4
= false ;
5358 PyObject
* obj0
= 0 ;
5359 PyObject
* obj1
= 0 ;
5360 PyObject
* obj2
= 0 ;
5361 PyObject
* obj3
= 0 ;
5363 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5370 arg2
= (int)SWIG_As_int(obj1
);
5371 if (PyErr_Occurred()) SWIG_fail
;
5374 arg3
= (long)SWIG_As_long(obj2
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5379 arg4
= wxString_in_helper(obj3
);
5380 if (arg4
== NULL
) SWIG_fail
;
5385 if (!wxPyCheckForApp()) SWIG_fail
;
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5389 wxPyEndAllowThreads(__tstate
);
5390 if (PyErr_Occurred()) SWIG_fail
;
5392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5407 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5408 PyObject
*resultobj
;
5409 wxStatusBar
*result
;
5414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5416 if (!wxPyCheckForApp()) SWIG_fail
;
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 result
= (wxStatusBar
*)new wxStatusBar();
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5430 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5431 PyObject
*resultobj
;
5432 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5433 wxWindow
*arg2
= (wxWindow
*) 0 ;
5434 int arg3
= (int) -1 ;
5435 long arg4
= (long) wxST_SIZEGRIP
;
5436 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5437 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5439 bool temp5
= false ;
5440 PyObject
* obj0
= 0 ;
5441 PyObject
* obj1
= 0 ;
5442 PyObject
* obj2
= 0 ;
5443 PyObject
* obj3
= 0 ;
5444 PyObject
* obj4
= 0 ;
5446 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5452 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5455 arg3
= (int)SWIG_As_int(obj2
);
5456 if (PyErr_Occurred()) SWIG_fail
;
5459 arg4
= (long)SWIG_As_long(obj3
);
5460 if (PyErr_Occurred()) SWIG_fail
;
5464 arg5
= wxString_in_helper(obj4
);
5465 if (arg5
== NULL
) SWIG_fail
;
5470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5471 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5473 wxPyEndAllowThreads(__tstate
);
5474 if (PyErr_Occurred()) SWIG_fail
;
5477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5493 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5494 PyObject
*resultobj
;
5495 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5496 int arg2
= (int) 1 ;
5497 PyObject
* obj0
= 0 ;
5498 PyObject
* obj1
= 0 ;
5500 (char *) "self",(char *) "number", NULL
5503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5507 arg2
= (int)SWIG_As_int(obj1
);
5508 if (PyErr_Occurred()) SWIG_fail
;
5511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5512 (arg1
)->SetFieldsCount(arg2
);
5514 wxPyEndAllowThreads(__tstate
);
5515 if (PyErr_Occurred()) SWIG_fail
;
5517 Py_INCREF(Py_None
); resultobj
= Py_None
;
5524 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5525 PyObject
*resultobj
;
5526 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5528 PyObject
* obj0
= 0 ;
5530 (char *) "self", NULL
5533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5538 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5540 wxPyEndAllowThreads(__tstate
);
5541 if (PyErr_Occurred()) SWIG_fail
;
5543 resultobj
= SWIG_From_int((int)result
);
5550 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5551 PyObject
*resultobj
;
5552 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5553 wxString
*arg2
= 0 ;
5554 int arg3
= (int) 0 ;
5555 bool temp2
= false ;
5556 PyObject
* obj0
= 0 ;
5557 PyObject
* obj1
= 0 ;
5558 PyObject
* obj2
= 0 ;
5560 (char *) "self",(char *) "text",(char *) "number", NULL
5563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5567 arg2
= wxString_in_helper(obj1
);
5568 if (arg2
== NULL
) SWIG_fail
;
5572 arg3
= (int)SWIG_As_int(obj2
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5577 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5579 wxPyEndAllowThreads(__tstate
);
5580 if (PyErr_Occurred()) SWIG_fail
;
5582 Py_INCREF(Py_None
); resultobj
= Py_None
;
5597 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
*resultobj
;
5599 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5600 int arg2
= (int) 0 ;
5602 PyObject
* obj0
= 0 ;
5603 PyObject
* obj1
= 0 ;
5605 (char *) "self",(char *) "number", NULL
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5612 arg2
= (int)SWIG_As_int(obj1
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5617 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5624 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5626 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5635 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
*resultobj
;
5637 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5638 wxString
*arg2
= 0 ;
5639 int arg3
= (int) 0 ;
5640 bool temp2
= false ;
5641 PyObject
* obj0
= 0 ;
5642 PyObject
* obj1
= 0 ;
5643 PyObject
* obj2
= 0 ;
5645 (char *) "self",(char *) "text",(char *) "number", NULL
5648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5652 arg2
= wxString_in_helper(obj1
);
5653 if (arg2
== NULL
) SWIG_fail
;
5657 arg3
= (int)SWIG_As_int(obj2
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5662 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5664 wxPyEndAllowThreads(__tstate
);
5665 if (PyErr_Occurred()) SWIG_fail
;
5667 Py_INCREF(Py_None
); resultobj
= Py_None
;
5682 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5683 PyObject
*resultobj
;
5684 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5685 int arg2
= (int) 0 ;
5686 PyObject
* obj0
= 0 ;
5687 PyObject
* obj1
= 0 ;
5689 (char *) "self",(char *) "number", NULL
5692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5696 arg2
= (int)SWIG_As_int(obj1
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5701 (arg1
)->PopStatusText(arg2
);
5703 wxPyEndAllowThreads(__tstate
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5706 Py_INCREF(Py_None
); resultobj
= Py_None
;
5713 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5714 PyObject
*resultobj
;
5715 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5717 int *arg3
= (int *) 0 ;
5718 PyObject
* obj0
= 0 ;
5719 PyObject
* obj1
= 0 ;
5721 (char *) "self",(char *) "widths", NULL
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5728 arg2
= PyList_Size(obj1
);
5729 arg3
= int_LIST_helper(obj1
);
5730 if (arg3
== NULL
) SWIG_fail
;
5733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5736 wxPyEndAllowThreads(__tstate
);
5737 if (PyErr_Occurred()) SWIG_fail
;
5739 Py_INCREF(Py_None
); resultobj
= Py_None
;
5741 if (arg3
) delete [] arg3
;
5746 if (arg3
) delete [] arg3
;
5752 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5753 PyObject
*resultobj
;
5754 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5756 int *arg3
= (int *) 0 ;
5757 PyObject
* obj0
= 0 ;
5758 PyObject
* obj1
= 0 ;
5760 (char *) "self",(char *) "styles", NULL
5763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
5764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5767 arg2
= PyList_Size(obj1
);
5768 arg3
= int_LIST_helper(obj1
);
5769 if (arg3
== NULL
) SWIG_fail
;
5772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5773 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
5775 wxPyEndAllowThreads(__tstate
);
5776 if (PyErr_Occurred()) SWIG_fail
;
5778 Py_INCREF(Py_None
); resultobj
= Py_None
;
5780 if (arg3
) delete [] arg3
;
5785 if (arg3
) delete [] arg3
;
5791 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5792 PyObject
*resultobj
;
5793 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5796 PyObject
* obj0
= 0 ;
5797 PyObject
* obj1
= 0 ;
5799 (char *) "self",(char *) "i", NULL
5802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5805 arg2
= (int)SWIG_As_int(obj1
);
5806 if (PyErr_Occurred()) SWIG_fail
;
5808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5816 resultptr
= new wxRect((wxRect
&) result
);
5817 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5825 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5826 PyObject
*resultobj
;
5827 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5829 PyObject
* obj0
= 0 ;
5830 PyObject
* obj1
= 0 ;
5832 (char *) "self",(char *) "height", NULL
5835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5838 arg2
= (int)SWIG_As_int(obj1
);
5839 if (PyErr_Occurred()) SWIG_fail
;
5841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5842 (arg1
)->SetMinHeight(arg2
);
5844 wxPyEndAllowThreads(__tstate
);
5845 if (PyErr_Occurred()) SWIG_fail
;
5847 Py_INCREF(Py_None
); resultobj
= Py_None
;
5854 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5855 PyObject
*resultobj
;
5856 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5858 PyObject
* obj0
= 0 ;
5860 (char *) "self", NULL
5863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5868 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5870 wxPyEndAllowThreads(__tstate
);
5871 if (PyErr_Occurred()) SWIG_fail
;
5873 resultobj
= SWIG_From_int((int)result
);
5880 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5881 PyObject
*resultobj
;
5882 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5884 PyObject
* obj0
= 0 ;
5886 (char *) "self", NULL
5889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5894 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5896 wxPyEndAllowThreads(__tstate
);
5897 if (PyErr_Occurred()) SWIG_fail
;
5899 resultobj
= SWIG_From_int((int)result
);
5906 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5907 PyObject
*resultobj
;
5908 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5909 wxVisualAttributes result
;
5910 PyObject
* obj0
= 0 ;
5912 (char *) "variant", NULL
5915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5917 arg1
= (int)SWIG_As_int(obj0
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5921 if (!wxPyCheckForApp()) SWIG_fail
;
5922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5923 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5925 wxPyEndAllowThreads(__tstate
);
5926 if (PyErr_Occurred()) SWIG_fail
;
5929 wxVisualAttributes
* resultptr
;
5930 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5939 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
5941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5942 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5944 return Py_BuildValue((char *)"");
5946 static int _wrap_SplitterNameStr_set(PyObject
*) {
5947 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5952 static PyObject
*_wrap_SplitterNameStr_get() {
5957 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5959 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5966 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5967 PyObject
*resultobj
;
5968 wxWindow
*arg1
= (wxWindow
*) 0 ;
5969 int arg2
= (int) -1 ;
5970 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5971 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5972 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5973 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5974 long arg5
= (long) wxSP_3D
;
5975 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5976 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5977 wxSplitterWindow
*result
;
5980 bool temp6
= false ;
5981 PyObject
* obj0
= 0 ;
5982 PyObject
* obj1
= 0 ;
5983 PyObject
* obj2
= 0 ;
5984 PyObject
* obj3
= 0 ;
5985 PyObject
* obj4
= 0 ;
5986 PyObject
* obj5
= 0 ;
5988 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5995 arg2
= (int)SWIG_As_int(obj1
);
5996 if (PyErr_Occurred()) SWIG_fail
;
6001 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6007 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6011 arg5
= (long)SWIG_As_long(obj4
);
6012 if (PyErr_Occurred()) SWIG_fail
;
6016 arg6
= wxString_in_helper(obj5
);
6017 if (arg6
== NULL
) SWIG_fail
;
6022 if (!wxPyCheckForApp()) SWIG_fail
;
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
6044 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6045 PyObject
*resultobj
;
6046 wxSplitterWindow
*result
;
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
6053 if (!wxPyCheckForApp()) SWIG_fail
;
6054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6055 result
= (wxSplitterWindow
*)new wxSplitterWindow();
6057 wxPyEndAllowThreads(__tstate
);
6058 if (PyErr_Occurred()) SWIG_fail
;
6060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
6067 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6068 PyObject
*resultobj
;
6069 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6070 wxWindow
*arg2
= (wxWindow
*) 0 ;
6071 int arg3
= (int) -1 ;
6072 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6073 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6074 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6075 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6076 long arg6
= (long) wxSP_3D
;
6077 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
6078 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6082 bool temp7
= false ;
6083 PyObject
* obj0
= 0 ;
6084 PyObject
* obj1
= 0 ;
6085 PyObject
* obj2
= 0 ;
6086 PyObject
* obj3
= 0 ;
6087 PyObject
* obj4
= 0 ;
6088 PyObject
* obj5
= 0 ;
6089 PyObject
* obj6
= 0 ;
6091 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6100 arg3
= (int)SWIG_As_int(obj2
);
6101 if (PyErr_Occurred()) SWIG_fail
;
6106 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6112 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6116 arg6
= (long)SWIG_As_long(obj5
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6121 arg7
= wxString_in_helper(obj6
);
6122 if (arg7
== NULL
) SWIG_fail
;
6127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6128 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6130 wxPyEndAllowThreads(__tstate
);
6131 if (PyErr_Occurred()) SWIG_fail
;
6134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6150 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6151 PyObject
*resultobj
;
6152 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6154 PyObject
* obj0
= 0 ;
6156 (char *) "self", NULL
6159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
6160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6164 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
6166 wxPyEndAllowThreads(__tstate
);
6167 if (PyErr_Occurred()) SWIG_fail
;
6170 resultobj
= wxPyMake_wxObject(result
, 0);
6178 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6179 PyObject
*resultobj
;
6180 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6182 PyObject
* obj0
= 0 ;
6184 (char *) "self", NULL
6187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
6188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6192 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
6194 wxPyEndAllowThreads(__tstate
);
6195 if (PyErr_Occurred()) SWIG_fail
;
6198 resultobj
= wxPyMake_wxObject(result
, 0);
6206 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6207 PyObject
*resultobj
;
6208 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6210 PyObject
* obj0
= 0 ;
6211 PyObject
* obj1
= 0 ;
6213 (char *) "self",(char *) "mode", NULL
6216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
6217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6219 arg2
= (int)SWIG_As_int(obj1
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6223 (arg1
)->SetSplitMode(arg2
);
6225 wxPyEndAllowThreads(__tstate
);
6226 if (PyErr_Occurred()) SWIG_fail
;
6228 Py_INCREF(Py_None
); resultobj
= Py_None
;
6235 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6236 PyObject
*resultobj
;
6237 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6239 PyObject
* obj0
= 0 ;
6241 (char *) "self", NULL
6244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
6245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6249 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
6251 wxPyEndAllowThreads(__tstate
);
6252 if (PyErr_Occurred()) SWIG_fail
;
6254 resultobj
= SWIG_From_int((int)result
);
6261 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
*resultobj
;
6263 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6264 wxWindow
*arg2
= (wxWindow
*) 0 ;
6265 PyObject
* obj0
= 0 ;
6266 PyObject
* obj1
= 0 ;
6268 (char *) "self",(char *) "window", NULL
6271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
6272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6274 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6278 (arg1
)->Initialize(arg2
);
6280 wxPyEndAllowThreads(__tstate
);
6281 if (PyErr_Occurred()) SWIG_fail
;
6283 Py_INCREF(Py_None
); resultobj
= Py_None
;
6290 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6291 PyObject
*resultobj
;
6292 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6293 wxWindow
*arg2
= (wxWindow
*) 0 ;
6294 wxWindow
*arg3
= (wxWindow
*) 0 ;
6295 int arg4
= (int) 0 ;
6297 PyObject
* obj0
= 0 ;
6298 PyObject
* obj1
= 0 ;
6299 PyObject
* obj2
= 0 ;
6300 PyObject
* obj3
= 0 ;
6302 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6308 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6310 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6313 arg4
= (int)SWIG_As_int(obj3
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6318 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
6320 wxPyEndAllowThreads(__tstate
);
6321 if (PyErr_Occurred()) SWIG_fail
;
6324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6332 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6333 PyObject
*resultobj
;
6334 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6335 wxWindow
*arg2
= (wxWindow
*) 0 ;
6336 wxWindow
*arg3
= (wxWindow
*) 0 ;
6337 int arg4
= (int) 0 ;
6339 PyObject
* obj0
= 0 ;
6340 PyObject
* obj1
= 0 ;
6341 PyObject
* obj2
= 0 ;
6342 PyObject
* obj3
= 0 ;
6344 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6350 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6352 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6355 arg4
= (int)SWIG_As_int(obj3
);
6356 if (PyErr_Occurred()) SWIG_fail
;
6359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6360 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6362 wxPyEndAllowThreads(__tstate
);
6363 if (PyErr_Occurred()) SWIG_fail
;
6366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6374 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6375 PyObject
*resultobj
;
6376 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6377 wxWindow
*arg2
= (wxWindow
*) NULL
;
6379 PyObject
* obj0
= 0 ;
6380 PyObject
* obj1
= 0 ;
6382 (char *) "self",(char *) "toRemove", NULL
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6394 result
= (bool)(arg1
)->Unsplit(arg2
);
6396 wxPyEndAllowThreads(__tstate
);
6397 if (PyErr_Occurred()) SWIG_fail
;
6400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6408 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6409 PyObject
*resultobj
;
6410 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6411 wxWindow
*arg2
= (wxWindow
*) 0 ;
6412 wxWindow
*arg3
= (wxWindow
*) 0 ;
6414 PyObject
* obj0
= 0 ;
6415 PyObject
* obj1
= 0 ;
6416 PyObject
* obj2
= 0 ;
6418 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6426 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6430 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6432 wxPyEndAllowThreads(__tstate
);
6433 if (PyErr_Occurred()) SWIG_fail
;
6436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6444 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6445 PyObject
*resultobj
;
6446 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6447 PyObject
* obj0
= 0 ;
6449 (char *) "self", NULL
6452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6457 (arg1
)->UpdateSize();
6459 wxPyEndAllowThreads(__tstate
);
6460 if (PyErr_Occurred()) SWIG_fail
;
6462 Py_INCREF(Py_None
); resultobj
= Py_None
;
6469 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6470 PyObject
*resultobj
;
6471 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6473 PyObject
* obj0
= 0 ;
6475 (char *) "self", NULL
6478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6483 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6485 wxPyEndAllowThreads(__tstate
);
6486 if (PyErr_Occurred()) SWIG_fail
;
6489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6497 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6498 PyObject
*resultobj
;
6499 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6501 PyObject
* obj0
= 0 ;
6502 PyObject
* obj1
= 0 ;
6504 (char *) "self",(char *) "width", NULL
6507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6510 arg2
= (int)SWIG_As_int(obj1
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6514 (arg1
)->SetSashSize(arg2
);
6516 wxPyEndAllowThreads(__tstate
);
6517 if (PyErr_Occurred()) SWIG_fail
;
6519 Py_INCREF(Py_None
); resultobj
= Py_None
;
6526 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6527 PyObject
*resultobj
;
6528 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6530 PyObject
* obj0
= 0 ;
6531 PyObject
* obj1
= 0 ;
6533 (char *) "self",(char *) "width", NULL
6536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6539 arg2
= (int)SWIG_As_int(obj1
);
6540 if (PyErr_Occurred()) SWIG_fail
;
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6543 (arg1
)->SetBorderSize(arg2
);
6545 wxPyEndAllowThreads(__tstate
);
6546 if (PyErr_Occurred()) SWIG_fail
;
6548 Py_INCREF(Py_None
); resultobj
= Py_None
;
6555 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6556 PyObject
*resultobj
;
6557 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6559 PyObject
* obj0
= 0 ;
6561 (char *) "self", NULL
6564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6569 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6571 wxPyEndAllowThreads(__tstate
);
6572 if (PyErr_Occurred()) SWIG_fail
;
6574 resultobj
= SWIG_From_int((int)result
);
6581 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6582 PyObject
*resultobj
;
6583 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6585 PyObject
* obj0
= 0 ;
6587 (char *) "self", NULL
6590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6595 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6597 wxPyEndAllowThreads(__tstate
);
6598 if (PyErr_Occurred()) SWIG_fail
;
6600 resultobj
= SWIG_From_int((int)result
);
6607 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6608 PyObject
*resultobj
;
6609 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6611 bool arg3
= (bool) true ;
6612 PyObject
* obj0
= 0 ;
6613 PyObject
* obj1
= 0 ;
6614 PyObject
* obj2
= 0 ;
6616 (char *) "self",(char *) "position",(char *) "redraw", NULL
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6622 arg2
= (int)SWIG_As_int(obj1
);
6623 if (PyErr_Occurred()) SWIG_fail
;
6625 arg3
= (bool)SWIG_As_bool(obj2
);
6626 if (PyErr_Occurred()) SWIG_fail
;
6629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6630 (arg1
)->SetSashPosition(arg2
,arg3
);
6632 wxPyEndAllowThreads(__tstate
);
6633 if (PyErr_Occurred()) SWIG_fail
;
6635 Py_INCREF(Py_None
); resultobj
= Py_None
;
6642 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
*resultobj
;
6644 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6646 PyObject
* obj0
= 0 ;
6648 (char *) "self", NULL
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6656 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6658 wxPyEndAllowThreads(__tstate
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6661 resultobj
= SWIG_From_int((int)result
);
6668 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6669 PyObject
*resultobj
;
6670 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6672 PyObject
* obj0
= 0 ;
6673 PyObject
* obj1
= 0 ;
6675 (char *) "self",(char *) "min", NULL
6678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6681 arg2
= (int)SWIG_As_int(obj1
);
6682 if (PyErr_Occurred()) SWIG_fail
;
6684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6685 (arg1
)->SetMinimumPaneSize(arg2
);
6687 wxPyEndAllowThreads(__tstate
);
6688 if (PyErr_Occurred()) SWIG_fail
;
6690 Py_INCREF(Py_None
); resultobj
= Py_None
;
6697 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
*resultobj
;
6699 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6701 PyObject
* obj0
= 0 ;
6703 (char *) "self", NULL
6706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6711 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6713 wxPyEndAllowThreads(__tstate
);
6714 if (PyErr_Occurred()) SWIG_fail
;
6716 resultobj
= SWIG_From_int((int)result
);
6723 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6724 PyObject
*resultobj
;
6725 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6728 int arg4
= (int) 5 ;
6730 PyObject
* obj0
= 0 ;
6731 PyObject
* obj1
= 0 ;
6732 PyObject
* obj2
= 0 ;
6733 PyObject
* obj3
= 0 ;
6735 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6741 arg2
= (int)SWIG_As_int(obj1
);
6742 if (PyErr_Occurred()) SWIG_fail
;
6743 arg3
= (int)SWIG_As_int(obj2
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6746 arg4
= (int)SWIG_As_int(obj3
);
6747 if (PyErr_Occurred()) SWIG_fail
;
6750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6751 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6753 wxPyEndAllowThreads(__tstate
);
6754 if (PyErr_Occurred()) SWIG_fail
;
6757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6765 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6766 PyObject
*resultobj
;
6767 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6768 PyObject
* obj0
= 0 ;
6770 (char *) "self", NULL
6773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6778 (arg1
)->SizeWindows();
6780 wxPyEndAllowThreads(__tstate
);
6781 if (PyErr_Occurred()) SWIG_fail
;
6783 Py_INCREF(Py_None
); resultobj
= Py_None
;
6790 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6791 PyObject
*resultobj
;
6792 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6794 PyObject
* obj0
= 0 ;
6795 PyObject
* obj1
= 0 ;
6797 (char *) "self",(char *) "needUpdating", NULL
6800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6803 arg2
= (bool)SWIG_As_bool(obj1
);
6804 if (PyErr_Occurred()) SWIG_fail
;
6806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6807 (arg1
)->SetNeedUpdating(arg2
);
6809 wxPyEndAllowThreads(__tstate
);
6810 if (PyErr_Occurred()) SWIG_fail
;
6812 Py_INCREF(Py_None
); resultobj
= Py_None
;
6819 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6820 PyObject
*resultobj
;
6821 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6823 PyObject
* obj0
= 0 ;
6825 (char *) "self", NULL
6828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6833 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6835 wxPyEndAllowThreads(__tstate
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6847 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
*resultobj
;
6849 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6850 wxVisualAttributes result
;
6851 PyObject
* obj0
= 0 ;
6853 (char *) "variant", NULL
6856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6858 arg1
= (int)SWIG_As_int(obj0
);
6859 if (PyErr_Occurred()) SWIG_fail
;
6862 if (!wxPyCheckForApp()) SWIG_fail
;
6863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6864 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6870 wxVisualAttributes
* resultptr
;
6871 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6872 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6880 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
6882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6883 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6885 return Py_BuildValue((char *)"");
6887 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6888 PyObject
*resultobj
;
6889 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6890 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6891 wxSplitterEvent
*result
;
6892 PyObject
* obj0
= 0 ;
6893 PyObject
* obj1
= 0 ;
6895 (char *) "type",(char *) "splitter", NULL
6898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6900 arg1
= (wxEventType
)SWIG_As_int(obj0
);
6901 if (PyErr_Occurred()) SWIG_fail
;
6904 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6909 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6911 wxPyEndAllowThreads(__tstate
);
6912 if (PyErr_Occurred()) SWIG_fail
;
6914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6921 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
*resultobj
;
6923 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6925 PyObject
* obj0
= 0 ;
6926 PyObject
* obj1
= 0 ;
6928 (char *) "self",(char *) "pos", NULL
6931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6934 arg2
= (int)SWIG_As_int(obj1
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6938 (arg1
)->SetSashPosition(arg2
);
6940 wxPyEndAllowThreads(__tstate
);
6941 if (PyErr_Occurred()) SWIG_fail
;
6943 Py_INCREF(Py_None
); resultobj
= Py_None
;
6950 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6951 PyObject
*resultobj
;
6952 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6954 PyObject
* obj0
= 0 ;
6956 (char *) "self", NULL
6959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6964 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6966 wxPyEndAllowThreads(__tstate
);
6967 if (PyErr_Occurred()) SWIG_fail
;
6969 resultobj
= SWIG_From_int((int)result
);
6976 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6977 PyObject
*resultobj
;
6978 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6980 PyObject
* obj0
= 0 ;
6982 (char *) "self", NULL
6985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6990 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6992 wxPyEndAllowThreads(__tstate
);
6993 if (PyErr_Occurred()) SWIG_fail
;
6996 resultobj
= wxPyMake_wxObject(result
, 0);
7004 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7005 PyObject
*resultobj
;
7006 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
7008 PyObject
* obj0
= 0 ;
7010 (char *) "self", NULL
7013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
7014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
7015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7018 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
7020 wxPyEndAllowThreads(__tstate
);
7021 if (PyErr_Occurred()) SWIG_fail
;
7023 resultobj
= SWIG_From_int((int)result
);
7030 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7031 PyObject
*resultobj
;
7032 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
7034 PyObject
* obj0
= 0 ;
7036 (char *) "self", NULL
7039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
7040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
7041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
7046 wxPyEndAllowThreads(__tstate
);
7047 if (PyErr_Occurred()) SWIG_fail
;
7049 resultobj
= SWIG_From_int((int)result
);
7056 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
7058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7059 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
7061 return Py_BuildValue((char *)"");
7063 static int _wrap_SashNameStr_set(PyObject
*) {
7064 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
7069 static PyObject
*_wrap_SashNameStr_get() {
7074 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
7076 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
7083 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
7084 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
7089 static PyObject
*_wrap_SashLayoutNameStr_get() {
7094 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
7096 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
7103 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
*resultobj
;
7105 wxWindow
*arg1
= (wxWindow
*) 0 ;
7106 int arg2
= (int) -1 ;
7107 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7108 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7109 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7110 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7111 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7112 wxString
const &arg6_defvalue
= wxPySashNameStr
;
7113 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7114 wxSashWindow
*result
;
7117 bool temp6
= false ;
7118 PyObject
* obj0
= 0 ;
7119 PyObject
* obj1
= 0 ;
7120 PyObject
* obj2
= 0 ;
7121 PyObject
* obj3
= 0 ;
7122 PyObject
* obj4
= 0 ;
7123 PyObject
* obj5
= 0 ;
7125 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7132 arg2
= (int)SWIG_As_int(obj1
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7138 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7144 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7148 arg5
= (long)SWIG_As_long(obj4
);
7149 if (PyErr_Occurred()) SWIG_fail
;
7153 arg6
= wxString_in_helper(obj5
);
7154 if (arg6
== NULL
) SWIG_fail
;
7159 if (!wxPyCheckForApp()) SWIG_fail
;
7160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7161 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7163 wxPyEndAllowThreads(__tstate
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7181 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7182 PyObject
*resultobj
;
7183 wxSashWindow
*result
;
7188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
7190 if (!wxPyCheckForApp()) SWIG_fail
;
7191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7192 result
= (wxSashWindow
*)new wxSashWindow();
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7204 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
*resultobj
;
7206 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7207 wxWindow
*arg2
= (wxWindow
*) 0 ;
7208 int arg3
= (int) -1 ;
7209 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7210 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7211 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7212 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7213 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7214 wxString
const &arg7_defvalue
= wxPySashNameStr
;
7215 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7219 bool temp7
= false ;
7220 PyObject
* obj0
= 0 ;
7221 PyObject
* obj1
= 0 ;
7222 PyObject
* obj2
= 0 ;
7223 PyObject
* obj3
= 0 ;
7224 PyObject
* obj4
= 0 ;
7225 PyObject
* obj5
= 0 ;
7226 PyObject
* obj6
= 0 ;
7228 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7237 arg3
= (int)SWIG_As_int(obj2
);
7238 if (PyErr_Occurred()) SWIG_fail
;
7243 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7249 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7253 arg6
= (long)SWIG_As_long(obj5
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7258 arg7
= wxString_in_helper(obj6
);
7259 if (arg7
== NULL
) SWIG_fail
;
7264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7265 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7267 wxPyEndAllowThreads(__tstate
);
7268 if (PyErr_Occurred()) SWIG_fail
;
7271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7287 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7288 PyObject
*resultobj
;
7289 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7292 PyObject
* obj0
= 0 ;
7293 PyObject
* obj1
= 0 ;
7294 PyObject
* obj2
= 0 ;
7296 (char *) "self",(char *) "edge",(char *) "sash", NULL
7299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7302 arg2
= (int)SWIG_As_int(obj1
);
7303 if (PyErr_Occurred()) SWIG_fail
;
7304 arg3
= (bool)SWIG_As_bool(obj2
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7308 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
7310 wxPyEndAllowThreads(__tstate
);
7311 if (PyErr_Occurred()) SWIG_fail
;
7313 Py_INCREF(Py_None
); resultobj
= Py_None
;
7320 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7321 PyObject
*resultobj
;
7322 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7325 PyObject
* obj0
= 0 ;
7326 PyObject
* obj1
= 0 ;
7328 (char *) "self",(char *) "edge", NULL
7331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7334 arg2
= (int)SWIG_As_int(obj1
);
7335 if (PyErr_Occurred()) SWIG_fail
;
7337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7338 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
7340 wxPyEndAllowThreads(__tstate
);
7341 if (PyErr_Occurred()) SWIG_fail
;
7344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7352 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7353 PyObject
*resultobj
;
7354 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7357 PyObject
* obj0
= 0 ;
7358 PyObject
* obj1
= 0 ;
7359 PyObject
* obj2
= 0 ;
7361 (char *) "self",(char *) "edge",(char *) "border", NULL
7364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7367 arg2
= (int)SWIG_As_int(obj1
);
7368 if (PyErr_Occurred()) SWIG_fail
;
7369 arg3
= (bool)SWIG_As_bool(obj2
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7373 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7375 wxPyEndAllowThreads(__tstate
);
7376 if (PyErr_Occurred()) SWIG_fail
;
7378 Py_INCREF(Py_None
); resultobj
= Py_None
;
7385 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7386 PyObject
*resultobj
;
7387 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7390 PyObject
* obj0
= 0 ;
7391 PyObject
* obj1
= 0 ;
7393 (char *) "self",(char *) "edge", NULL
7396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7399 arg2
= (int)SWIG_As_int(obj1
);
7400 if (PyErr_Occurred()) SWIG_fail
;
7402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7403 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7405 wxPyEndAllowThreads(__tstate
);
7406 if (PyErr_Occurred()) SWIG_fail
;
7409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7417 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7418 PyObject
*resultobj
;
7419 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7422 PyObject
* obj0
= 0 ;
7423 PyObject
* obj1
= 0 ;
7425 (char *) "self",(char *) "edge", NULL
7428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7431 arg2
= (int)SWIG_As_int(obj1
);
7432 if (PyErr_Occurred()) SWIG_fail
;
7434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7435 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7437 wxPyEndAllowThreads(__tstate
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7440 resultobj
= SWIG_From_int((int)result
);
7447 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
*resultobj
;
7449 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7451 PyObject
* obj0
= 0 ;
7452 PyObject
* obj1
= 0 ;
7454 (char *) "self",(char *) "width", NULL
7457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7460 arg2
= (int)SWIG_As_int(obj1
);
7461 if (PyErr_Occurred()) SWIG_fail
;
7463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7464 (arg1
)->SetDefaultBorderSize(arg2
);
7466 wxPyEndAllowThreads(__tstate
);
7467 if (PyErr_Occurred()) SWIG_fail
;
7469 Py_INCREF(Py_None
); resultobj
= Py_None
;
7476 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7477 PyObject
*resultobj
;
7478 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7480 PyObject
* obj0
= 0 ;
7482 (char *) "self", NULL
7485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7490 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7492 wxPyEndAllowThreads(__tstate
);
7493 if (PyErr_Occurred()) SWIG_fail
;
7495 resultobj
= SWIG_From_int((int)result
);
7502 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7503 PyObject
*resultobj
;
7504 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7506 PyObject
* obj0
= 0 ;
7507 PyObject
* obj1
= 0 ;
7509 (char *) "self",(char *) "width", NULL
7512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7515 arg2
= (int)SWIG_As_int(obj1
);
7516 if (PyErr_Occurred()) SWIG_fail
;
7518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7519 (arg1
)->SetExtraBorderSize(arg2
);
7521 wxPyEndAllowThreads(__tstate
);
7522 if (PyErr_Occurred()) SWIG_fail
;
7524 Py_INCREF(Py_None
); resultobj
= Py_None
;
7531 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7532 PyObject
*resultobj
;
7533 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7535 PyObject
* obj0
= 0 ;
7537 (char *) "self", NULL
7540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7545 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7547 wxPyEndAllowThreads(__tstate
);
7548 if (PyErr_Occurred()) SWIG_fail
;
7550 resultobj
= SWIG_From_int((int)result
);
7557 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7558 PyObject
*resultobj
;
7559 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7561 PyObject
* obj0
= 0 ;
7562 PyObject
* obj1
= 0 ;
7564 (char *) "self",(char *) "min", NULL
7567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7570 arg2
= (int)SWIG_As_int(obj1
);
7571 if (PyErr_Occurred()) SWIG_fail
;
7573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7574 (arg1
)->SetMinimumSizeX(arg2
);
7576 wxPyEndAllowThreads(__tstate
);
7577 if (PyErr_Occurred()) SWIG_fail
;
7579 Py_INCREF(Py_None
); resultobj
= Py_None
;
7586 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7587 PyObject
*resultobj
;
7588 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7590 PyObject
* obj0
= 0 ;
7591 PyObject
* obj1
= 0 ;
7593 (char *) "self",(char *) "min", NULL
7596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7599 arg2
= (int)SWIG_As_int(obj1
);
7600 if (PyErr_Occurred()) SWIG_fail
;
7602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7603 (arg1
)->SetMinimumSizeY(arg2
);
7605 wxPyEndAllowThreads(__tstate
);
7606 if (PyErr_Occurred()) SWIG_fail
;
7608 Py_INCREF(Py_None
); resultobj
= Py_None
;
7615 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7616 PyObject
*resultobj
;
7617 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7619 PyObject
* obj0
= 0 ;
7621 (char *) "self", NULL
7624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7629 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7631 wxPyEndAllowThreads(__tstate
);
7632 if (PyErr_Occurred()) SWIG_fail
;
7634 resultobj
= SWIG_From_int((int)result
);
7641 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
*resultobj
;
7643 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7645 PyObject
* obj0
= 0 ;
7647 (char *) "self", NULL
7650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7655 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7657 wxPyEndAllowThreads(__tstate
);
7658 if (PyErr_Occurred()) SWIG_fail
;
7660 resultobj
= SWIG_From_int((int)result
);
7667 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7668 PyObject
*resultobj
;
7669 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7671 PyObject
* obj0
= 0 ;
7672 PyObject
* obj1
= 0 ;
7674 (char *) "self",(char *) "max", NULL
7677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7680 arg2
= (int)SWIG_As_int(obj1
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7684 (arg1
)->SetMaximumSizeX(arg2
);
7686 wxPyEndAllowThreads(__tstate
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7689 Py_INCREF(Py_None
); resultobj
= Py_None
;
7696 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7697 PyObject
*resultobj
;
7698 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7700 PyObject
* obj0
= 0 ;
7701 PyObject
* obj1
= 0 ;
7703 (char *) "self",(char *) "max", NULL
7706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7709 arg2
= (int)SWIG_As_int(obj1
);
7710 if (PyErr_Occurred()) SWIG_fail
;
7712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7713 (arg1
)->SetMaximumSizeY(arg2
);
7715 wxPyEndAllowThreads(__tstate
);
7716 if (PyErr_Occurred()) SWIG_fail
;
7718 Py_INCREF(Py_None
); resultobj
= Py_None
;
7725 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7726 PyObject
*resultobj
;
7727 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7729 PyObject
* obj0
= 0 ;
7731 (char *) "self", NULL
7734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7739 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7741 wxPyEndAllowThreads(__tstate
);
7742 if (PyErr_Occurred()) SWIG_fail
;
7744 resultobj
= SWIG_From_int((int)result
);
7751 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
*resultobj
;
7753 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7755 PyObject
* obj0
= 0 ;
7757 (char *) "self", NULL
7760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7767 wxPyEndAllowThreads(__tstate
);
7768 if (PyErr_Occurred()) SWIG_fail
;
7770 resultobj
= SWIG_From_int((int)result
);
7777 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7778 PyObject
*resultobj
;
7779 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7782 int arg4
= (int) 2 ;
7784 PyObject
* obj0
= 0 ;
7785 PyObject
* obj1
= 0 ;
7786 PyObject
* obj2
= 0 ;
7787 PyObject
* obj3
= 0 ;
7789 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7795 arg2
= (int)SWIG_As_int(obj1
);
7796 if (PyErr_Occurred()) SWIG_fail
;
7797 arg3
= (int)SWIG_As_int(obj2
);
7798 if (PyErr_Occurred()) SWIG_fail
;
7800 arg4
= (int)SWIG_As_int(obj3
);
7801 if (PyErr_Occurred()) SWIG_fail
;
7804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7805 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7807 wxPyEndAllowThreads(__tstate
);
7808 if (PyErr_Occurred()) SWIG_fail
;
7810 resultobj
= SWIG_From_int((int)result
);
7817 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7818 PyObject
*resultobj
;
7819 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7820 PyObject
* obj0
= 0 ;
7822 (char *) "self", NULL
7825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7830 (arg1
)->SizeWindows();
7832 wxPyEndAllowThreads(__tstate
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7835 Py_INCREF(Py_None
); resultobj
= Py_None
;
7842 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
7844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7845 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7847 return Py_BuildValue((char *)"");
7849 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7850 PyObject
*resultobj
;
7851 int arg1
= (int) 0 ;
7852 int arg2
= (int) wxSASH_NONE
;
7853 wxSashEvent
*result
;
7854 PyObject
* obj0
= 0 ;
7855 PyObject
* obj1
= 0 ;
7857 (char *) "id",(char *) "edge", NULL
7860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7862 arg1
= (int)SWIG_As_int(obj0
);
7863 if (PyErr_Occurred()) SWIG_fail
;
7866 arg2
= (int)SWIG_As_int(obj1
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7871 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7873 wxPyEndAllowThreads(__tstate
);
7874 if (PyErr_Occurred()) SWIG_fail
;
7876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7883 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7884 PyObject
*resultobj
;
7885 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7887 PyObject
* obj0
= 0 ;
7888 PyObject
* obj1
= 0 ;
7890 (char *) "self",(char *) "edge", NULL
7893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7896 arg2
= (int)SWIG_As_int(obj1
);
7897 if (PyErr_Occurred()) SWIG_fail
;
7899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7900 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7902 wxPyEndAllowThreads(__tstate
);
7903 if (PyErr_Occurred()) SWIG_fail
;
7905 Py_INCREF(Py_None
); resultobj
= Py_None
;
7912 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7913 PyObject
*resultobj
;
7914 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7916 PyObject
* obj0
= 0 ;
7918 (char *) "self", NULL
7921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7926 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7928 wxPyEndAllowThreads(__tstate
);
7929 if (PyErr_Occurred()) SWIG_fail
;
7931 resultobj
= SWIG_From_int((int)result
);
7938 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7939 PyObject
*resultobj
;
7940 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7943 PyObject
* obj0
= 0 ;
7944 PyObject
* obj1
= 0 ;
7946 (char *) "self",(char *) "rect", NULL
7949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7954 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7958 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7960 wxPyEndAllowThreads(__tstate
);
7961 if (PyErr_Occurred()) SWIG_fail
;
7963 Py_INCREF(Py_None
); resultobj
= Py_None
;
7970 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
*resultobj
;
7972 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7974 PyObject
* obj0
= 0 ;
7976 (char *) "self", NULL
7979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7984 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7986 wxPyEndAllowThreads(__tstate
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7991 resultptr
= new wxRect((wxRect
&) result
);
7992 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8000 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8001 PyObject
*resultobj
;
8002 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
8004 PyObject
* obj0
= 0 ;
8005 PyObject
* obj1
= 0 ;
8007 (char *) "self",(char *) "status", NULL
8010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
8011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
8012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8013 arg2
= (int)SWIG_As_int(obj1
);
8014 if (PyErr_Occurred()) SWIG_fail
;
8016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8017 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
8019 wxPyEndAllowThreads(__tstate
);
8020 if (PyErr_Occurred()) SWIG_fail
;
8022 Py_INCREF(Py_None
); resultobj
= Py_None
;
8029 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8030 PyObject
*resultobj
;
8031 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
8033 PyObject
* obj0
= 0 ;
8035 (char *) "self", NULL
8038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
8039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
8040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8043 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
8045 wxPyEndAllowThreads(__tstate
);
8046 if (PyErr_Occurred()) SWIG_fail
;
8048 resultobj
= SWIG_From_int((int)result
);
8055 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
8057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8058 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
8060 return Py_BuildValue((char *)"");
8062 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8063 PyObject
*resultobj
;
8064 int arg1
= (int) 0 ;
8065 wxQueryLayoutInfoEvent
*result
;
8066 PyObject
* obj0
= 0 ;
8071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
8073 arg1
= (int)SWIG_As_int(obj0
);
8074 if (PyErr_Occurred()) SWIG_fail
;
8077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8078 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
8080 wxPyEndAllowThreads(__tstate
);
8081 if (PyErr_Occurred()) SWIG_fail
;
8083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
8090 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8091 PyObject
*resultobj
;
8092 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8094 PyObject
* obj0
= 0 ;
8095 PyObject
* obj1
= 0 ;
8097 (char *) "self",(char *) "length", NULL
8100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8103 arg2
= (int)SWIG_As_int(obj1
);
8104 if (PyErr_Occurred()) SWIG_fail
;
8106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8107 (arg1
)->SetRequestedLength(arg2
);
8109 wxPyEndAllowThreads(__tstate
);
8110 if (PyErr_Occurred()) SWIG_fail
;
8112 Py_INCREF(Py_None
); resultobj
= Py_None
;
8119 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8120 PyObject
*resultobj
;
8121 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8123 PyObject
* obj0
= 0 ;
8125 (char *) "self", NULL
8128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
8129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8133 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
8135 wxPyEndAllowThreads(__tstate
);
8136 if (PyErr_Occurred()) SWIG_fail
;
8138 resultobj
= SWIG_From_int((int)result
);
8145 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8146 PyObject
*resultobj
;
8147 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8149 PyObject
* obj0
= 0 ;
8150 PyObject
* obj1
= 0 ;
8152 (char *) "self",(char *) "flags", NULL
8155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8158 arg2
= (int)SWIG_As_int(obj1
);
8159 if (PyErr_Occurred()) SWIG_fail
;
8161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8162 (arg1
)->SetFlags(arg2
);
8164 wxPyEndAllowThreads(__tstate
);
8165 if (PyErr_Occurred()) SWIG_fail
;
8167 Py_INCREF(Py_None
); resultobj
= Py_None
;
8174 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8175 PyObject
*resultobj
;
8176 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8178 PyObject
* obj0
= 0 ;
8180 (char *) "self", NULL
8183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8188 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
8190 wxPyEndAllowThreads(__tstate
);
8191 if (PyErr_Occurred()) SWIG_fail
;
8193 resultobj
= SWIG_From_int((int)result
);
8200 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8201 PyObject
*resultobj
;
8202 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8205 PyObject
* obj0
= 0 ;
8206 PyObject
* obj1
= 0 ;
8208 (char *) "self",(char *) "size", NULL
8211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8216 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8220 (arg1
)->SetSize((wxSize
const &)*arg2
);
8222 wxPyEndAllowThreads(__tstate
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8225 Py_INCREF(Py_None
); resultobj
= Py_None
;
8232 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8233 PyObject
*resultobj
;
8234 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8236 PyObject
* obj0
= 0 ;
8238 (char *) "self", NULL
8241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
8242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8246 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
8248 wxPyEndAllowThreads(__tstate
);
8249 if (PyErr_Occurred()) SWIG_fail
;
8253 resultptr
= new wxSize((wxSize
&) result
);
8254 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8262 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8263 PyObject
*resultobj
;
8264 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8266 PyObject
* obj0
= 0 ;
8267 PyObject
* obj1
= 0 ;
8269 (char *) "self",(char *) "orient", NULL
8272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8275 arg2
= (int)SWIG_As_int(obj1
);
8276 if (PyErr_Occurred()) SWIG_fail
;
8278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8279 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8281 wxPyEndAllowThreads(__tstate
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8284 Py_INCREF(Py_None
); resultobj
= Py_None
;
8291 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8292 PyObject
*resultobj
;
8293 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8295 PyObject
* obj0
= 0 ;
8297 (char *) "self", NULL
8300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
8301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8305 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
8307 wxPyEndAllowThreads(__tstate
);
8308 if (PyErr_Occurred()) SWIG_fail
;
8310 resultobj
= SWIG_From_int((int)result
);
8317 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8318 PyObject
*resultobj
;
8319 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8321 PyObject
* obj0
= 0 ;
8322 PyObject
* obj1
= 0 ;
8324 (char *) "self",(char *) "align", NULL
8327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8330 arg2
= (int)SWIG_As_int(obj1
);
8331 if (PyErr_Occurred()) SWIG_fail
;
8333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8334 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8336 wxPyEndAllowThreads(__tstate
);
8337 if (PyErr_Occurred()) SWIG_fail
;
8339 Py_INCREF(Py_None
); resultobj
= Py_None
;
8346 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8347 PyObject
*resultobj
;
8348 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8350 PyObject
* obj0
= 0 ;
8352 (char *) "self", NULL
8355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
8356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8360 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8362 wxPyEndAllowThreads(__tstate
);
8363 if (PyErr_Occurred()) SWIG_fail
;
8365 resultobj
= SWIG_From_int((int)result
);
8372 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
8374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8375 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8377 return Py_BuildValue((char *)"");
8379 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8380 PyObject
*resultobj
;
8381 int arg1
= (int) 0 ;
8382 wxCalculateLayoutEvent
*result
;
8383 PyObject
* obj0
= 0 ;
8388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8390 arg1
= (int)SWIG_As_int(obj0
);
8391 if (PyErr_Occurred()) SWIG_fail
;
8394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8395 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8397 wxPyEndAllowThreads(__tstate
);
8398 if (PyErr_Occurred()) SWIG_fail
;
8400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8407 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8408 PyObject
*resultobj
;
8409 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8411 PyObject
* obj0
= 0 ;
8412 PyObject
* obj1
= 0 ;
8414 (char *) "self",(char *) "flags", NULL
8417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8420 arg2
= (int)SWIG_As_int(obj1
);
8421 if (PyErr_Occurred()) SWIG_fail
;
8423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8424 (arg1
)->SetFlags(arg2
);
8426 wxPyEndAllowThreads(__tstate
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8429 Py_INCREF(Py_None
); resultobj
= Py_None
;
8436 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8437 PyObject
*resultobj
;
8438 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8440 PyObject
* obj0
= 0 ;
8442 (char *) "self", NULL
8445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8450 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8452 wxPyEndAllowThreads(__tstate
);
8453 if (PyErr_Occurred()) SWIG_fail
;
8455 resultobj
= SWIG_From_int((int)result
);
8462 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8463 PyObject
*resultobj
;
8464 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8467 PyObject
* obj0
= 0 ;
8468 PyObject
* obj1
= 0 ;
8470 (char *) "self",(char *) "rect", NULL
8473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8478 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8482 (arg1
)->SetRect((wxRect
const &)*arg2
);
8484 wxPyEndAllowThreads(__tstate
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8487 Py_INCREF(Py_None
); resultobj
= Py_None
;
8494 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8495 PyObject
*resultobj
;
8496 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8498 PyObject
* obj0
= 0 ;
8500 (char *) "self", NULL
8503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8508 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8510 wxPyEndAllowThreads(__tstate
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8515 resultptr
= new wxRect((wxRect
&) result
);
8516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8524 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
8526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8527 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8529 return Py_BuildValue((char *)"");
8531 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8532 PyObject
*resultobj
;
8533 wxWindow
*arg1
= (wxWindow
*) 0 ;
8534 int arg2
= (int) -1 ;
8535 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8536 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8537 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8538 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8539 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8540 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8541 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8542 wxSashLayoutWindow
*result
;
8545 bool temp6
= false ;
8546 PyObject
* obj0
= 0 ;
8547 PyObject
* obj1
= 0 ;
8548 PyObject
* obj2
= 0 ;
8549 PyObject
* obj3
= 0 ;
8550 PyObject
* obj4
= 0 ;
8551 PyObject
* obj5
= 0 ;
8553 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8560 arg2
= (int)SWIG_As_int(obj1
);
8561 if (PyErr_Occurred()) SWIG_fail
;
8566 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8572 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8576 arg5
= (long)SWIG_As_long(obj4
);
8577 if (PyErr_Occurred()) SWIG_fail
;
8581 arg6
= wxString_in_helper(obj5
);
8582 if (arg6
== NULL
) SWIG_fail
;
8587 if (!wxPyCheckForApp()) SWIG_fail
;
8588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8589 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8591 wxPyEndAllowThreads(__tstate
);
8592 if (PyErr_Occurred()) SWIG_fail
;
8594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8609 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8610 PyObject
*resultobj
;
8611 wxSashLayoutWindow
*result
;
8616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8618 if (!wxPyCheckForApp()) SWIG_fail
;
8619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8620 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8622 wxPyEndAllowThreads(__tstate
);
8623 if (PyErr_Occurred()) SWIG_fail
;
8625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8632 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8633 PyObject
*resultobj
;
8634 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8635 wxWindow
*arg2
= (wxWindow
*) 0 ;
8636 int arg3
= (int) -1 ;
8637 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8638 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8639 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8640 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8641 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8642 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8643 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8647 bool temp7
= false ;
8648 PyObject
* obj0
= 0 ;
8649 PyObject
* obj1
= 0 ;
8650 PyObject
* obj2
= 0 ;
8651 PyObject
* obj3
= 0 ;
8652 PyObject
* obj4
= 0 ;
8653 PyObject
* obj5
= 0 ;
8654 PyObject
* obj6
= 0 ;
8656 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8665 arg3
= (int)SWIG_As_int(obj2
);
8666 if (PyErr_Occurred()) SWIG_fail
;
8671 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8677 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8681 arg6
= (long)SWIG_As_long(obj5
);
8682 if (PyErr_Occurred()) SWIG_fail
;
8686 arg7
= wxString_in_helper(obj6
);
8687 if (arg7
== NULL
) SWIG_fail
;
8692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8693 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8695 wxPyEndAllowThreads(__tstate
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8715 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8716 PyObject
*resultobj
;
8717 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8719 PyObject
* obj0
= 0 ;
8721 (char *) "self", NULL
8724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8729 result
= (int)(arg1
)->GetAlignment();
8731 wxPyEndAllowThreads(__tstate
);
8732 if (PyErr_Occurred()) SWIG_fail
;
8734 resultobj
= SWIG_From_int((int)result
);
8741 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8742 PyObject
*resultobj
;
8743 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8745 PyObject
* obj0
= 0 ;
8747 (char *) "self", NULL
8750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8755 result
= (int)(arg1
)->GetOrientation();
8757 wxPyEndAllowThreads(__tstate
);
8758 if (PyErr_Occurred()) SWIG_fail
;
8760 resultobj
= SWIG_From_int((int)result
);
8767 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8768 PyObject
*resultobj
;
8769 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8771 PyObject
* obj0
= 0 ;
8772 PyObject
* obj1
= 0 ;
8774 (char *) "self",(char *) "alignment", NULL
8777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8780 arg2
= (int)SWIG_As_int(obj1
);
8781 if (PyErr_Occurred()) SWIG_fail
;
8783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8784 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8786 wxPyEndAllowThreads(__tstate
);
8787 if (PyErr_Occurred()) SWIG_fail
;
8789 Py_INCREF(Py_None
); resultobj
= Py_None
;
8796 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8797 PyObject
*resultobj
;
8798 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8801 PyObject
* obj0
= 0 ;
8802 PyObject
* obj1
= 0 ;
8804 (char *) "self",(char *) "size", NULL
8807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8812 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8816 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8818 wxPyEndAllowThreads(__tstate
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8821 Py_INCREF(Py_None
); resultobj
= Py_None
;
8828 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8829 PyObject
*resultobj
;
8830 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8832 PyObject
* obj0
= 0 ;
8833 PyObject
* obj1
= 0 ;
8835 (char *) "self",(char *) "orientation", NULL
8838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8841 arg2
= (int)SWIG_As_int(obj1
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8845 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8847 wxPyEndAllowThreads(__tstate
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8850 Py_INCREF(Py_None
); resultobj
= Py_None
;
8857 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
8859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8860 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8862 return Py_BuildValue((char *)"");
8864 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
*resultobj
;
8866 wxLayoutAlgorithm
*result
;
8871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8874 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8876 wxPyEndAllowThreads(__tstate
);
8877 if (PyErr_Occurred()) SWIG_fail
;
8879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8886 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8887 PyObject
*resultobj
;
8888 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8889 PyObject
* obj0
= 0 ;
8891 (char *) "self", NULL
8894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8901 wxPyEndAllowThreads(__tstate
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8904 Py_INCREF(Py_None
); resultobj
= Py_None
;
8911 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8912 PyObject
*resultobj
;
8913 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8914 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8915 wxRect
*arg3
= (wxRect
*) NULL
;
8917 PyObject
* obj0
= 0 ;
8918 PyObject
* obj1
= 0 ;
8919 PyObject
* obj2
= 0 ;
8921 (char *) "self",(char *) "frame",(char *) "rect", NULL
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8927 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8930 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8949 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8950 PyObject
*resultobj
;
8951 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8952 wxFrame
*arg2
= (wxFrame
*) 0 ;
8953 wxWindow
*arg3
= (wxWindow
*) NULL
;
8955 PyObject
* obj0
= 0 ;
8956 PyObject
* obj1
= 0 ;
8957 PyObject
* obj2
= 0 ;
8959 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8968 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8973 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8975 wxPyEndAllowThreads(__tstate
);
8976 if (PyErr_Occurred()) SWIG_fail
;
8979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8987 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8988 PyObject
*resultobj
;
8989 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8990 wxWindow
*arg2
= (wxWindow
*) 0 ;
8991 wxWindow
*arg3
= (wxWindow
*) NULL
;
8993 PyObject
* obj0
= 0 ;
8994 PyObject
* obj1
= 0 ;
8995 PyObject
* obj2
= 0 ;
8997 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
9000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
9002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9006 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
9007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9011 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
9013 wxPyEndAllowThreads(__tstate
);
9014 if (PyErr_Occurred()) SWIG_fail
;
9017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9025 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
9027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9028 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
9030 return Py_BuildValue((char *)"");
9032 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9033 PyObject
*resultobj
;
9034 wxWindow
*arg1
= (wxWindow
*) 0 ;
9035 int arg2
= (int) wxBORDER_NONE
;
9036 wxPopupWindow
*result
;
9037 PyObject
* obj0
= 0 ;
9038 PyObject
* obj1
= 0 ;
9040 (char *) "parent",(char *) "flags", NULL
9043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
9044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9047 arg2
= (int)SWIG_As_int(obj1
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9051 if (!wxPyCheckForApp()) SWIG_fail
;
9052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9053 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
9055 wxPyEndAllowThreads(__tstate
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
9065 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9066 PyObject
*resultobj
;
9067 wxPopupWindow
*result
;
9072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
9074 if (!wxPyCheckForApp()) SWIG_fail
;
9075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9076 result
= (wxPopupWindow
*)new wxPopupWindow();
9078 wxPyEndAllowThreads(__tstate
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
9088 static PyObject
*_wrap_PopupWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9089 PyObject
*resultobj
;
9090 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
9091 wxWindow
*arg2
= (wxWindow
*) 0 ;
9092 int arg3
= (int) wxBORDER_NONE
;
9094 PyObject
* obj0
= 0 ;
9095 PyObject
* obj1
= 0 ;
9096 PyObject
* obj2
= 0 ;
9098 (char *) "self",(char *) "parent",(char *) "flags", NULL
9101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
9103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9104 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9107 arg3
= (int)SWIG_As_int(obj2
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 result
= (bool)(arg1
)->Create(arg2
,arg3
);
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9126 static PyObject
*_wrap_PopupWindow_Position(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9127 PyObject
*resultobj
;
9128 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
9133 PyObject
* obj0
= 0 ;
9134 PyObject
* obj1
= 0 ;
9135 PyObject
* obj2
= 0 ;
9137 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
9140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
9142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9145 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9149 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9158 Py_INCREF(Py_None
); resultobj
= Py_None
;
9165 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
9167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9168 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
9170 return Py_BuildValue((char *)"");
9172 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9173 PyObject
*resultobj
;
9174 wxWindow
*arg1
= (wxWindow
*) 0 ;
9175 int arg2
= (int) wxBORDER_NONE
;
9176 wxPyPopupTransientWindow
*result
;
9177 PyObject
* obj0
= 0 ;
9178 PyObject
* obj1
= 0 ;
9180 (char *) "parent",(char *) "style", NULL
9183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
9184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9187 arg2
= (int)SWIG_As_int(obj1
);
9188 if (PyErr_Occurred()) SWIG_fail
;
9191 if (!wxPyCheckForApp()) SWIG_fail
;
9192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9193 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
9195 wxPyEndAllowThreads(__tstate
);
9196 if (PyErr_Occurred()) SWIG_fail
;
9198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9205 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9206 PyObject
*resultobj
;
9207 wxPyPopupTransientWindow
*result
;
9212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
9214 if (!wxPyCheckForApp()) SWIG_fail
;
9215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9216 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
9218 wxPyEndAllowThreads(__tstate
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9228 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9229 PyObject
*resultobj
;
9230 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9231 PyObject
*arg2
= (PyObject
*) 0 ;
9232 PyObject
*arg3
= (PyObject
*) 0 ;
9233 PyObject
* obj0
= 0 ;
9234 PyObject
* obj1
= 0 ;
9235 PyObject
* obj2
= 0 ;
9237 (char *) "self",(char *) "self",(char *) "_class", NULL
9240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9247 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9249 wxPyEndAllowThreads(__tstate
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9252 Py_INCREF(Py_None
); resultobj
= Py_None
;
9259 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9260 PyObject
*resultobj
;
9261 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9262 wxWindow
*arg2
= (wxWindow
*) NULL
;
9263 PyObject
* obj0
= 0 ;
9264 PyObject
* obj1
= 0 ;
9266 (char *) "self",(char *) "focus", NULL
9269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
9270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9278 (arg1
)->Popup(arg2
);
9280 wxPyEndAllowThreads(__tstate
);
9281 if (PyErr_Occurred()) SWIG_fail
;
9283 Py_INCREF(Py_None
); resultobj
= Py_None
;
9290 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9291 PyObject
*resultobj
;
9292 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9293 PyObject
* obj0
= 0 ;
9295 (char *) "self", NULL
9298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
9299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9305 wxPyEndAllowThreads(__tstate
);
9306 if (PyErr_Occurred()) SWIG_fail
;
9308 Py_INCREF(Py_None
); resultobj
= Py_None
;
9315 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
9317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9318 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
9320 return Py_BuildValue((char *)"");
9322 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9323 PyObject
*resultobj
;
9324 wxWindow
*arg1
= (wxWindow
*) 0 ;
9325 wxString
*arg2
= 0 ;
9326 int arg3
= (int) 100 ;
9327 wxRect
*arg4
= (wxRect
*) NULL
;
9328 wxTipWindow
*result
;
9329 bool temp2
= false ;
9330 PyObject
* obj0
= 0 ;
9331 PyObject
* obj1
= 0 ;
9332 PyObject
* obj2
= 0 ;
9333 PyObject
* obj3
= 0 ;
9335 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9342 arg2
= wxString_in_helper(obj1
);
9343 if (arg2
== NULL
) SWIG_fail
;
9347 arg3
= (int)SWIG_As_int(obj2
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9351 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
9352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9355 if (!wxPyCheckForApp()) SWIG_fail
;
9356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9357 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9359 wxPyEndAllowThreads(__tstate
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
9377 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
*resultobj
;
9379 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9382 PyObject
* obj0
= 0 ;
9383 PyObject
* obj1
= 0 ;
9385 (char *) "self",(char *) "rectBound", NULL
9388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9393 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9402 Py_INCREF(Py_None
); resultobj
= Py_None
;
9409 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9410 PyObject
*resultobj
;
9411 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9412 PyObject
* obj0
= 0 ;
9414 (char *) "self", NULL
9417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9424 wxPyEndAllowThreads(__tstate
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9427 Py_INCREF(Py_None
); resultobj
= Py_None
;
9434 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
9436 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9437 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9439 return Py_BuildValue((char *)"");
9441 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9442 PyObject
*resultobj
;
9443 wxWindow
*arg1
= (wxWindow
*) 0 ;
9444 int arg2
= (int) wxID_ANY
;
9445 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9446 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9447 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9448 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9449 long arg5
= (long) 0 ;
9450 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9451 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9452 wxPyVScrolledWindow
*result
;
9455 bool temp6
= false ;
9456 PyObject
* obj0
= 0 ;
9457 PyObject
* obj1
= 0 ;
9458 PyObject
* obj2
= 0 ;
9459 PyObject
* obj3
= 0 ;
9460 PyObject
* obj4
= 0 ;
9461 PyObject
* obj5
= 0 ;
9463 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9470 arg2
= (int)SWIG_As_int(obj1
);
9471 if (PyErr_Occurred()) SWIG_fail
;
9476 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9482 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9486 arg5
= (long)SWIG_As_long(obj4
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9491 arg6
= wxString_in_helper(obj5
);
9492 if (arg6
== NULL
) SWIG_fail
;
9497 if (!wxPyCheckForApp()) SWIG_fail
;
9498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9499 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9501 wxPyEndAllowThreads(__tstate
);
9502 if (PyErr_Occurred()) SWIG_fail
;
9504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9519 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9520 PyObject
*resultobj
;
9521 wxPyVScrolledWindow
*result
;
9526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9528 if (!wxPyCheckForApp()) SWIG_fail
;
9529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9530 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9542 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9543 PyObject
*resultobj
;
9544 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9545 PyObject
*arg2
= (PyObject
*) 0 ;
9546 PyObject
*arg3
= (PyObject
*) 0 ;
9547 PyObject
* obj0
= 0 ;
9548 PyObject
* obj1
= 0 ;
9549 PyObject
* obj2
= 0 ;
9551 (char *) "self",(char *) "self",(char *) "_class", NULL
9554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9561 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9563 wxPyEndAllowThreads(__tstate
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9566 Py_INCREF(Py_None
); resultobj
= Py_None
;
9573 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9574 PyObject
*resultobj
;
9575 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9576 wxWindow
*arg2
= (wxWindow
*) 0 ;
9577 int arg3
= (int) wxID_ANY
;
9578 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9579 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9580 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9581 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9582 long arg6
= (long) 0 ;
9583 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9584 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9588 bool temp7
= false ;
9589 PyObject
* obj0
= 0 ;
9590 PyObject
* obj1
= 0 ;
9591 PyObject
* obj2
= 0 ;
9592 PyObject
* obj3
= 0 ;
9593 PyObject
* obj4
= 0 ;
9594 PyObject
* obj5
= 0 ;
9595 PyObject
* obj6
= 0 ;
9597 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9603 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9606 arg3
= (int)SWIG_As_int(obj2
);
9607 if (PyErr_Occurred()) SWIG_fail
;
9612 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9618 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9622 arg6
= (long)SWIG_As_long(obj5
);
9623 if (PyErr_Occurred()) SWIG_fail
;
9627 arg7
= wxString_in_helper(obj6
);
9628 if (arg7
== NULL
) SWIG_fail
;
9633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9634 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9636 wxPyEndAllowThreads(__tstate
);
9637 if (PyErr_Occurred()) SWIG_fail
;
9640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9656 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9657 PyObject
*resultobj
;
9658 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9660 PyObject
* obj0
= 0 ;
9661 PyObject
* obj1
= 0 ;
9663 (char *) "self",(char *) "count", NULL
9666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9669 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9673 (arg1
)->SetLineCount(arg2
);
9675 wxPyEndAllowThreads(__tstate
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9678 Py_INCREF(Py_None
); resultobj
= Py_None
;
9685 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
*resultobj
;
9687 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9690 PyObject
* obj0
= 0 ;
9691 PyObject
* obj1
= 0 ;
9693 (char *) "self",(char *) "line", NULL
9696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9699 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9700 if (PyErr_Occurred()) SWIG_fail
;
9702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9703 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9705 wxPyEndAllowThreads(__tstate
);
9706 if (PyErr_Occurred()) SWIG_fail
;
9709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9717 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9718 PyObject
*resultobj
;
9719 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9722 PyObject
* obj0
= 0 ;
9723 PyObject
* obj1
= 0 ;
9725 (char *) "self",(char *) "lines", NULL
9728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9731 arg2
= (int)SWIG_As_int(obj1
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 result
= (bool)(arg1
)->ScrollLines(arg2
);
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9749 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9750 PyObject
*resultobj
;
9751 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9754 PyObject
* obj0
= 0 ;
9755 PyObject
* obj1
= 0 ;
9757 (char *) "self",(char *) "pages", NULL
9760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9763 arg2
= (int)SWIG_As_int(obj1
);
9764 if (PyErr_Occurred()) SWIG_fail
;
9766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9767 result
= (bool)(arg1
)->ScrollPages(arg2
);
9769 wxPyEndAllowThreads(__tstate
);
9770 if (PyErr_Occurred()) SWIG_fail
;
9773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9781 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
*resultobj
;
9783 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9785 PyObject
* obj0
= 0 ;
9786 PyObject
* obj1
= 0 ;
9788 (char *) "self",(char *) "line", NULL
9791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9794 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9795 if (PyErr_Occurred()) SWIG_fail
;
9797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9798 (arg1
)->RefreshLine(arg2
);
9800 wxPyEndAllowThreads(__tstate
);
9801 if (PyErr_Occurred()) SWIG_fail
;
9803 Py_INCREF(Py_None
); resultobj
= Py_None
;
9810 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9811 PyObject
*resultobj
;
9812 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9815 PyObject
* obj0
= 0 ;
9816 PyObject
* obj1
= 0 ;
9817 PyObject
* obj2
= 0 ;
9819 (char *) "self",(char *) "from",(char *) "to", NULL
9822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9825 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9827 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
9828 if (PyErr_Occurred()) SWIG_fail
;
9830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9831 (arg1
)->RefreshLines(arg2
,arg3
);
9833 wxPyEndAllowThreads(__tstate
);
9834 if (PyErr_Occurred()) SWIG_fail
;
9836 Py_INCREF(Py_None
); resultobj
= Py_None
;
9843 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9844 PyObject
*resultobj
;
9845 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9849 PyObject
* obj0
= 0 ;
9850 PyObject
* obj1
= 0 ;
9851 PyObject
* obj2
= 0 ;
9853 (char *) "self",(char *) "x",(char *) "y", NULL
9856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9859 arg2
= (int)SWIG_As_int(obj1
);
9860 if (PyErr_Occurred()) SWIG_fail
;
9861 arg3
= (int)SWIG_As_int(obj2
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9865 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9867 wxPyEndAllowThreads(__tstate
);
9868 if (PyErr_Occurred()) SWIG_fail
;
9870 resultobj
= SWIG_From_int((int)result
);
9877 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9878 PyObject
*resultobj
;
9879 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9883 PyObject
* obj0
= 0 ;
9884 PyObject
* obj1
= 0 ;
9886 (char *) "self",(char *) "pt", NULL
9889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9894 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9900 wxPyEndAllowThreads(__tstate
);
9901 if (PyErr_Occurred()) SWIG_fail
;
9903 resultobj
= SWIG_From_int((int)result
);
9910 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9911 PyObject
*resultobj
;
9912 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9913 PyObject
* obj0
= 0 ;
9915 (char *) "self", NULL
9918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 (arg1
)->RefreshAll();
9925 wxPyEndAllowThreads(__tstate
);
9926 if (PyErr_Occurred()) SWIG_fail
;
9928 Py_INCREF(Py_None
); resultobj
= Py_None
;
9935 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9936 PyObject
*resultobj
;
9937 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9939 PyObject
* obj0
= 0 ;
9941 (char *) "self", NULL
9944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9949 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9951 wxPyEndAllowThreads(__tstate
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9954 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9961 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9962 PyObject
*resultobj
;
9963 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9965 PyObject
* obj0
= 0 ;
9967 (char *) "self", NULL
9970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9975 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9977 wxPyEndAllowThreads(__tstate
);
9978 if (PyErr_Occurred()) SWIG_fail
;
9980 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9987 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9988 PyObject
*resultobj
;
9989 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9991 PyObject
* obj0
= 0 ;
9993 (char *) "self", NULL
9996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10001 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
10003 wxPyEndAllowThreads(__tstate
);
10004 if (PyErr_Occurred()) SWIG_fail
;
10006 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10013 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10014 PyObject
*resultobj
;
10015 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
10018 PyObject
* obj0
= 0 ;
10019 PyObject
* obj1
= 0 ;
10020 char *kwnames
[] = {
10021 (char *) "self",(char *) "line", NULL
10024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
10025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
10026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10027 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10028 if (PyErr_Occurred()) SWIG_fail
;
10030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10031 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
10033 wxPyEndAllowThreads(__tstate
);
10034 if (PyErr_Occurred()) SWIG_fail
;
10037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10045 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
10047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10048 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
10050 return Py_BuildValue((char *)"");
10052 static int _wrap_VListBoxNameStr_set(PyObject
*) {
10053 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
10058 static PyObject
*_wrap_VListBoxNameStr_get() {
10063 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
10065 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
10072 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10073 PyObject
*resultobj
;
10074 wxWindow
*arg1
= (wxWindow
*) 0 ;
10075 int arg2
= (int) wxID_ANY
;
10076 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10077 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10078 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10079 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10080 long arg5
= (long) 0 ;
10081 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10082 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10083 wxPyVListBox
*result
;
10086 bool temp6
= false ;
10087 PyObject
* obj0
= 0 ;
10088 PyObject
* obj1
= 0 ;
10089 PyObject
* obj2
= 0 ;
10090 PyObject
* obj3
= 0 ;
10091 PyObject
* obj4
= 0 ;
10092 PyObject
* obj5
= 0 ;
10093 char *kwnames
[] = {
10094 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10101 arg2
= (int)SWIG_As_int(obj1
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10107 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10113 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10117 arg5
= (long)SWIG_As_long(obj4
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10122 arg6
= wxString_in_helper(obj5
);
10123 if (arg6
== NULL
) SWIG_fail
;
10128 if (!wxPyCheckForApp()) SWIG_fail
;
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
10150 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10151 PyObject
*resultobj
;
10152 wxPyVListBox
*result
;
10153 char *kwnames
[] = {
10157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
10159 if (!wxPyCheckForApp()) SWIG_fail
;
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10161 result
= (wxPyVListBox
*)new wxPyVListBox();
10163 wxPyEndAllowThreads(__tstate
);
10164 if (PyErr_Occurred()) SWIG_fail
;
10166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
10173 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10174 PyObject
*resultobj
;
10175 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10176 PyObject
*arg2
= (PyObject
*) 0 ;
10177 PyObject
*arg3
= (PyObject
*) 0 ;
10178 PyObject
* obj0
= 0 ;
10179 PyObject
* obj1
= 0 ;
10180 PyObject
* obj2
= 0 ;
10181 char *kwnames
[] = {
10182 (char *) "self",(char *) "self",(char *) "_class", NULL
10185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10194 wxPyEndAllowThreads(__tstate
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10197 Py_INCREF(Py_None
); resultobj
= Py_None
;
10204 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10205 PyObject
*resultobj
;
10206 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10207 wxWindow
*arg2
= (wxWindow
*) 0 ;
10208 int arg3
= (int) wxID_ANY
;
10209 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10210 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10211 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10212 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10213 long arg6
= (long) 0 ;
10214 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10215 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10219 bool temp7
= false ;
10220 PyObject
* obj0
= 0 ;
10221 PyObject
* obj1
= 0 ;
10222 PyObject
* obj2
= 0 ;
10223 PyObject
* obj3
= 0 ;
10224 PyObject
* obj4
= 0 ;
10225 PyObject
* obj5
= 0 ;
10226 PyObject
* obj6
= 0 ;
10227 char *kwnames
[] = {
10228 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10237 arg3
= (int)SWIG_As_int(obj2
);
10238 if (PyErr_Occurred()) SWIG_fail
;
10243 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10249 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10253 arg6
= (long)SWIG_As_long(obj5
);
10254 if (PyErr_Occurred()) SWIG_fail
;
10258 arg7
= wxString_in_helper(obj6
);
10259 if (arg7
== NULL
) SWIG_fail
;
10264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10265 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10267 wxPyEndAllowThreads(__tstate
);
10268 if (PyErr_Occurred()) SWIG_fail
;
10271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10287 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10288 PyObject
*resultobj
;
10289 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10291 PyObject
* obj0
= 0 ;
10292 char *kwnames
[] = {
10293 (char *) "self", NULL
10296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
10297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10301 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10306 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10313 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10314 PyObject
*resultobj
;
10315 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10317 PyObject
* obj0
= 0 ;
10318 char *kwnames
[] = {
10319 (char *) "self", NULL
10322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
10323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10327 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
10329 wxPyEndAllowThreads(__tstate
);
10330 if (PyErr_Occurred()) SWIG_fail
;
10333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10341 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10342 PyObject
*resultobj
;
10343 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10345 PyObject
* obj0
= 0 ;
10346 char *kwnames
[] = {
10347 (char *) "self", NULL
10350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
10351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10355 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
10357 wxPyEndAllowThreads(__tstate
);
10358 if (PyErr_Occurred()) SWIG_fail
;
10360 resultobj
= SWIG_From_int((int)result
);
10367 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10368 PyObject
*resultobj
;
10369 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10372 PyObject
* obj0
= 0 ;
10373 PyObject
* obj1
= 0 ;
10374 char *kwnames
[] = {
10375 (char *) "self",(char *) "item", NULL
10378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
10379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10381 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10382 if (PyErr_Occurred()) SWIG_fail
;
10384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10385 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
10387 wxPyEndAllowThreads(__tstate
);
10388 if (PyErr_Occurred()) SWIG_fail
;
10391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10399 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10400 PyObject
*resultobj
;
10401 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10404 PyObject
* obj0
= 0 ;
10405 PyObject
* obj1
= 0 ;
10406 char *kwnames
[] = {
10407 (char *) "self",(char *) "item", NULL
10410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10413 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10417 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10419 wxPyEndAllowThreads(__tstate
);
10420 if (PyErr_Occurred()) SWIG_fail
;
10423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10431 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10432 PyObject
*resultobj
;
10433 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10435 PyObject
* obj0
= 0 ;
10436 char *kwnames
[] = {
10437 (char *) "self", NULL
10440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10445 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10447 wxPyEndAllowThreads(__tstate
);
10448 if (PyErr_Occurred()) SWIG_fail
;
10450 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10457 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10458 PyObject
*resultobj
;
10459 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10461 PyObject
* obj0
= 0 ;
10462 char *kwnames
[] = {
10463 (char *) "self", NULL
10466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
10467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10471 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10476 resultobj
= result
;
10483 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10484 PyObject
*resultobj
;
10485 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10486 unsigned long arg2
;
10488 PyObject
* obj0
= 0 ;
10489 PyObject
* obj1
= 0 ;
10490 char *kwnames
[] = {
10491 (char *) "self",(char *) "cookie", NULL
10494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10497 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
10498 if (PyErr_Occurred()) SWIG_fail
;
10500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10501 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
10503 wxPyEndAllowThreads(__tstate
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10506 resultobj
= result
;
10513 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10514 PyObject
*resultobj
;
10515 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10517 PyObject
* obj0
= 0 ;
10518 char *kwnames
[] = {
10519 (char *) "self", NULL
10522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10527 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10529 wxPyEndAllowThreads(__tstate
);
10530 if (PyErr_Occurred()) SWIG_fail
;
10533 wxPoint
* resultptr
;
10534 resultptr
= new wxPoint((wxPoint
&) result
);
10535 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10543 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10544 PyObject
*resultobj
;
10545 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10547 PyObject
* obj0
= 0 ;
10548 char *kwnames
[] = {
10549 (char *) "self", NULL
10552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10558 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10559 result
= (wxColour
*) &_result_ref
;
10562 wxPyEndAllowThreads(__tstate
);
10563 if (PyErr_Occurred()) SWIG_fail
;
10565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10572 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10573 PyObject
*resultobj
;
10574 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10576 PyObject
* obj0
= 0 ;
10577 PyObject
* obj1
= 0 ;
10578 char *kwnames
[] = {
10579 (char *) "self",(char *) "count", NULL
10582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10585 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10589 (arg1
)->SetItemCount(arg2
);
10591 wxPyEndAllowThreads(__tstate
);
10592 if (PyErr_Occurred()) SWIG_fail
;
10594 Py_INCREF(Py_None
); resultobj
= Py_None
;
10601 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10602 PyObject
*resultobj
;
10603 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10604 PyObject
* obj0
= 0 ;
10605 char *kwnames
[] = {
10606 (char *) "self", NULL
10609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10616 wxPyEndAllowThreads(__tstate
);
10617 if (PyErr_Occurred()) SWIG_fail
;
10619 Py_INCREF(Py_None
); resultobj
= Py_None
;
10626 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10627 PyObject
*resultobj
;
10628 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10630 PyObject
* obj0
= 0 ;
10631 PyObject
* obj1
= 0 ;
10632 char *kwnames
[] = {
10633 (char *) "self",(char *) "selection", NULL
10636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10639 arg2
= (int)SWIG_As_int(obj1
);
10640 if (PyErr_Occurred()) SWIG_fail
;
10642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10643 (arg1
)->SetSelection(arg2
);
10645 wxPyEndAllowThreads(__tstate
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10648 Py_INCREF(Py_None
); resultobj
= Py_None
;
10655 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10656 PyObject
*resultobj
;
10657 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10659 bool arg3
= (bool) true ;
10661 PyObject
* obj0
= 0 ;
10662 PyObject
* obj1
= 0 ;
10663 PyObject
* obj2
= 0 ;
10664 char *kwnames
[] = {
10665 (char *) "self",(char *) "item",(char *) "select", NULL
10668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10671 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10674 arg3
= (bool)SWIG_As_bool(obj2
);
10675 if (PyErr_Occurred()) SWIG_fail
;
10678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10679 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10681 wxPyEndAllowThreads(__tstate
);
10682 if (PyErr_Occurred()) SWIG_fail
;
10685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10693 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10694 PyObject
*resultobj
;
10695 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10699 PyObject
* obj0
= 0 ;
10700 PyObject
* obj1
= 0 ;
10701 PyObject
* obj2
= 0 ;
10702 char *kwnames
[] = {
10703 (char *) "self",(char *) "from",(char *) "to", NULL
10706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10709 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10711 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
10712 if (PyErr_Occurred()) SWIG_fail
;
10714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10715 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10717 wxPyEndAllowThreads(__tstate
);
10718 if (PyErr_Occurred()) SWIG_fail
;
10721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10729 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10730 PyObject
*resultobj
;
10731 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10733 PyObject
* obj0
= 0 ;
10734 PyObject
* obj1
= 0 ;
10735 char *kwnames
[] = {
10736 (char *) "self",(char *) "item", NULL
10739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10742 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10743 if (PyErr_Occurred()) SWIG_fail
;
10745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10746 (arg1
)->Toggle(arg2
);
10748 wxPyEndAllowThreads(__tstate
);
10749 if (PyErr_Occurred()) SWIG_fail
;
10751 Py_INCREF(Py_None
); resultobj
= Py_None
;
10758 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10759 PyObject
*resultobj
;
10760 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10762 PyObject
* obj0
= 0 ;
10763 char *kwnames
[] = {
10764 (char *) "self", NULL
10767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10772 result
= (bool)(arg1
)->SelectAll();
10774 wxPyEndAllowThreads(__tstate
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10786 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10787 PyObject
*resultobj
;
10788 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10790 PyObject
* obj0
= 0 ;
10791 char *kwnames
[] = {
10792 (char *) "self", NULL
10795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10800 result
= (bool)(arg1
)->DeselectAll();
10802 wxPyEndAllowThreads(__tstate
);
10803 if (PyErr_Occurred()) SWIG_fail
;
10806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10814 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10815 PyObject
*resultobj
;
10816 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10817 wxPoint
*arg2
= 0 ;
10819 PyObject
* obj0
= 0 ;
10820 PyObject
* obj1
= 0 ;
10821 char *kwnames
[] = {
10822 (char *) "self",(char *) "pt", NULL
10825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10830 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10834 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10836 wxPyEndAllowThreads(__tstate
);
10837 if (PyErr_Occurred()) SWIG_fail
;
10839 Py_INCREF(Py_None
); resultobj
= Py_None
;
10846 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10847 PyObject
*resultobj
;
10848 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10851 PyObject
* obj0
= 0 ;
10852 PyObject
* obj1
= 0 ;
10853 PyObject
* obj2
= 0 ;
10854 char *kwnames
[] = {
10855 (char *) "self",(char *) "x",(char *) "y", NULL
10858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10861 arg2
= (int)SWIG_As_int(obj1
);
10862 if (PyErr_Occurred()) SWIG_fail
;
10863 arg3
= (int)SWIG_As_int(obj2
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10867 (arg1
)->SetMargins(arg2
,arg3
);
10869 wxPyEndAllowThreads(__tstate
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10872 Py_INCREF(Py_None
); resultobj
= Py_None
;
10879 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10880 PyObject
*resultobj
;
10881 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10882 wxColour
*arg2
= 0 ;
10884 PyObject
* obj0
= 0 ;
10885 PyObject
* obj1
= 0 ;
10886 char *kwnames
[] = {
10887 (char *) "self",(char *) "col", NULL
10890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10895 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10899 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10901 wxPyEndAllowThreads(__tstate
);
10902 if (PyErr_Occurred()) SWIG_fail
;
10904 Py_INCREF(Py_None
); resultobj
= Py_None
;
10911 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
10913 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10914 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10916 return Py_BuildValue((char *)"");
10918 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10919 PyObject
*resultobj
;
10920 wxWindow
*arg1
= (wxWindow
*) 0 ;
10921 int arg2
= (int) wxID_ANY
;
10922 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10923 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10924 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10925 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10926 long arg5
= (long) 0 ;
10927 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10928 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10929 wxPyHtmlListBox
*result
;
10932 bool temp6
= false ;
10933 PyObject
* obj0
= 0 ;
10934 PyObject
* obj1
= 0 ;
10935 PyObject
* obj2
= 0 ;
10936 PyObject
* obj3
= 0 ;
10937 PyObject
* obj4
= 0 ;
10938 PyObject
* obj5
= 0 ;
10939 char *kwnames
[] = {
10940 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10947 arg2
= (int)SWIG_As_int(obj1
);
10948 if (PyErr_Occurred()) SWIG_fail
;
10953 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10959 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10963 arg5
= (long)SWIG_As_long(obj4
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10968 arg6
= wxString_in_helper(obj5
);
10969 if (arg6
== NULL
) SWIG_fail
;
10974 if (!wxPyCheckForApp()) SWIG_fail
;
10975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10976 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10978 wxPyEndAllowThreads(__tstate
);
10979 if (PyErr_Occurred()) SWIG_fail
;
10981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10996 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10997 PyObject
*resultobj
;
10998 wxPyHtmlListBox
*result
;
10999 char *kwnames
[] = {
11003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
11005 if (!wxPyCheckForApp()) SWIG_fail
;
11006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11007 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
11009 wxPyEndAllowThreads(__tstate
);
11010 if (PyErr_Occurred()) SWIG_fail
;
11012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
11019 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11020 PyObject
*resultobj
;
11021 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11022 PyObject
*arg2
= (PyObject
*) 0 ;
11023 PyObject
*arg3
= (PyObject
*) 0 ;
11024 PyObject
* obj0
= 0 ;
11025 PyObject
* obj1
= 0 ;
11026 PyObject
* obj2
= 0 ;
11027 char *kwnames
[] = {
11028 (char *) "self",(char *) "self",(char *) "_class", NULL
11031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11038 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11040 wxPyEndAllowThreads(__tstate
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11043 Py_INCREF(Py_None
); resultobj
= Py_None
;
11050 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11051 PyObject
*resultobj
;
11052 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11053 wxWindow
*arg2
= (wxWindow
*) 0 ;
11054 int arg3
= (int) wxID_ANY
;
11055 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11056 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11057 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11058 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11059 long arg6
= (long) 0 ;
11060 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
11061 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11065 bool temp7
= false ;
11066 PyObject
* obj0
= 0 ;
11067 PyObject
* obj1
= 0 ;
11068 PyObject
* obj2
= 0 ;
11069 PyObject
* obj3
= 0 ;
11070 PyObject
* obj4
= 0 ;
11071 PyObject
* obj5
= 0 ;
11072 PyObject
* obj6
= 0 ;
11073 char *kwnames
[] = {
11074 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11080 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11083 arg3
= (int)SWIG_As_int(obj2
);
11084 if (PyErr_Occurred()) SWIG_fail
;
11089 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11095 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11099 arg6
= (long)SWIG_As_long(obj5
);
11100 if (PyErr_Occurred()) SWIG_fail
;
11104 arg7
= wxString_in_helper(obj6
);
11105 if (arg7
== NULL
) SWIG_fail
;
11110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11111 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11113 wxPyEndAllowThreads(__tstate
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11133 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11134 PyObject
*resultobj
;
11135 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11136 PyObject
* obj0
= 0 ;
11137 char *kwnames
[] = {
11138 (char *) "self", NULL
11141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
11142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11146 (arg1
)->RefreshAll();
11148 wxPyEndAllowThreads(__tstate
);
11149 if (PyErr_Occurred()) SWIG_fail
;
11151 Py_INCREF(Py_None
); resultobj
= Py_None
;
11158 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11159 PyObject
*resultobj
;
11160 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11162 PyObject
* obj0
= 0 ;
11163 PyObject
* obj1
= 0 ;
11164 char *kwnames
[] = {
11165 (char *) "self",(char *) "count", NULL
11168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11171 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
11172 if (PyErr_Occurred()) SWIG_fail
;
11174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11175 (arg1
)->SetItemCount(arg2
);
11177 wxPyEndAllowThreads(__tstate
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11180 Py_INCREF(Py_None
); resultobj
= Py_None
;
11187 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11188 PyObject
*resultobj
;
11189 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11190 wxFileSystem
*result
;
11191 PyObject
* obj0
= 0 ;
11192 char *kwnames
[] = {
11193 (char *) "self", NULL
11196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
11197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11202 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
11203 result
= (wxFileSystem
*) &_result_ref
;
11206 wxPyEndAllowThreads(__tstate
);
11207 if (PyErr_Occurred()) SWIG_fail
;
11209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
11216 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
11218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11219 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
11221 return Py_BuildValue((char *)"");
11223 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11224 PyObject
*resultobj
;
11225 wxPyTaskBarIcon
*result
;
11226 char *kwnames
[] = {
11230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
11232 if (!wxPyCheckForApp()) SWIG_fail
;
11233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11234 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
11236 wxPyEndAllowThreads(__tstate
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
11246 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11247 PyObject
*resultobj
;
11248 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11249 PyObject
*arg2
= (PyObject
*) 0 ;
11250 PyObject
*arg3
= (PyObject
*) 0 ;
11252 PyObject
* obj0
= 0 ;
11253 PyObject
* obj1
= 0 ;
11254 PyObject
* obj2
= 0 ;
11255 PyObject
* obj3
= 0 ;
11256 char *kwnames
[] = {
11257 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11265 arg4
= (int)SWIG_As_int(obj3
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11269 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
11271 wxPyEndAllowThreads(__tstate
);
11272 if (PyErr_Occurred()) SWIG_fail
;
11274 Py_INCREF(Py_None
); resultobj
= Py_None
;
11281 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11282 PyObject
*resultobj
;
11283 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11284 PyObject
* obj0
= 0 ;
11285 char *kwnames
[] = {
11286 (char *) "self", NULL
11289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
11290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11294 wxPyTaskBarIcon_Destroy(arg1
);
11296 wxPyEndAllowThreads(__tstate
);
11297 if (PyErr_Occurred()) SWIG_fail
;
11299 Py_INCREF(Py_None
); resultobj
= Py_None
;
11306 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11307 PyObject
*resultobj
;
11308 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11310 PyObject
* obj0
= 0 ;
11311 char *kwnames
[] = {
11312 (char *) "self", NULL
11315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
11316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11320 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
11322 wxPyEndAllowThreads(__tstate
);
11323 if (PyErr_Occurred()) SWIG_fail
;
11326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11334 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11335 PyObject
*resultobj
;
11336 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11338 PyObject
* obj0
= 0 ;
11339 char *kwnames
[] = {
11340 (char *) "self", NULL
11343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
11344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
11350 wxPyEndAllowThreads(__tstate
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11362 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11363 PyObject
*resultobj
;
11364 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11366 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11367 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11369 bool temp3
= false ;
11370 PyObject
* obj0
= 0 ;
11371 PyObject
* obj1
= 0 ;
11372 PyObject
* obj2
= 0 ;
11373 char *kwnames
[] = {
11374 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11380 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11381 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11383 if (arg2
== NULL
) {
11384 PyErr_SetString(PyExc_TypeError
,"null reference");
11389 arg3
= wxString_in_helper(obj2
);
11390 if (arg3
== NULL
) SWIG_fail
;
11395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11396 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
11398 wxPyEndAllowThreads(__tstate
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11418 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11419 PyObject
*resultobj
;
11420 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11422 PyObject
* obj0
= 0 ;
11423 char *kwnames
[] = {
11424 (char *) "self", NULL
11427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
11428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11432 result
= (bool)(arg1
)->RemoveIcon();
11434 wxPyEndAllowThreads(__tstate
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11446 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11447 PyObject
*resultobj
;
11448 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11449 wxMenu
*arg2
= (wxMenu
*) 0 ;
11451 PyObject
* obj0
= 0 ;
11452 PyObject
* obj1
= 0 ;
11453 char *kwnames
[] = {
11454 (char *) "self",(char *) "menu", NULL
11457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
11458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
11461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11464 result
= (bool)(arg1
)->PopupMenu(arg2
);
11466 wxPyEndAllowThreads(__tstate
);
11467 if (PyErr_Occurred()) SWIG_fail
;
11470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11478 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
11480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11481 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
11483 return Py_BuildValue((char *)"");
11485 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11486 PyObject
*resultobj
;
11488 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
11489 wxTaskBarIconEvent
*result
;
11490 PyObject
* obj0
= 0 ;
11491 PyObject
* obj1
= 0 ;
11492 char *kwnames
[] = {
11493 (char *) "evtType",(char *) "tbIcon", NULL
11496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11497 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11498 if (PyErr_Occurred()) SWIG_fail
;
11499 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
11500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11503 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
11505 wxPyEndAllowThreads(__tstate
);
11506 if (PyErr_Occurred()) SWIG_fail
;
11508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
11515 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
11517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11518 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
11520 return Py_BuildValue((char *)"");
11522 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
11523 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
11528 static PyObject
*_wrap_FileSelectorPromptStr_get() {
11533 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11535 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11542 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
11543 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
11548 static PyObject
*_wrap_DirSelectorPromptStr_get() {
11553 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11555 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11562 static int _wrap_DirDialogNameStr_set(PyObject
*) {
11563 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11568 static PyObject
*_wrap_DirDialogNameStr_get() {
11573 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11575 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11582 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
11583 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11588 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11593 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11595 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11602 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
11603 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11608 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11613 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11615 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11622 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
11623 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11628 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11633 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11635 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11642 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11643 PyObject
*resultobj
;
11644 wxColourData
*result
;
11645 char *kwnames
[] = {
11649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11652 result
= (wxColourData
*)new wxColourData();
11654 wxPyEndAllowThreads(__tstate
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11664 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11665 PyObject
*resultobj
;
11666 wxColourData
*arg1
= (wxColourData
*) 0 ;
11667 PyObject
* obj0
= 0 ;
11668 char *kwnames
[] = {
11669 (char *) "self", NULL
11672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11679 wxPyEndAllowThreads(__tstate
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11682 Py_INCREF(Py_None
); resultobj
= Py_None
;
11689 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11690 PyObject
*resultobj
;
11691 wxColourData
*arg1
= (wxColourData
*) 0 ;
11693 PyObject
* obj0
= 0 ;
11694 char *kwnames
[] = {
11695 (char *) "self", NULL
11698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11703 result
= (bool)(arg1
)->GetChooseFull();
11705 wxPyEndAllowThreads(__tstate
);
11706 if (PyErr_Occurred()) SWIG_fail
;
11709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11717 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11718 PyObject
*resultobj
;
11719 wxColourData
*arg1
= (wxColourData
*) 0 ;
11721 PyObject
* obj0
= 0 ;
11722 char *kwnames
[] = {
11723 (char *) "self", NULL
11726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 result
= (arg1
)->GetColour();
11733 wxPyEndAllowThreads(__tstate
);
11734 if (PyErr_Occurred()) SWIG_fail
;
11737 wxColour
* resultptr
;
11738 resultptr
= new wxColour((wxColour
&) result
);
11739 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11747 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11748 PyObject
*resultobj
;
11749 wxColourData
*arg1
= (wxColourData
*) 0 ;
11752 PyObject
* obj0
= 0 ;
11753 PyObject
* obj1
= 0 ;
11754 char *kwnames
[] = {
11755 (char *) "self",(char *) "i", NULL
11758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11761 arg2
= (int)SWIG_As_int(obj1
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11765 result
= (arg1
)->GetCustomColour(arg2
);
11767 wxPyEndAllowThreads(__tstate
);
11768 if (PyErr_Occurred()) SWIG_fail
;
11771 wxColour
* resultptr
;
11772 resultptr
= new wxColour((wxColour
&) result
);
11773 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11781 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11782 PyObject
*resultobj
;
11783 wxColourData
*arg1
= (wxColourData
*) 0 ;
11785 PyObject
* obj0
= 0 ;
11786 PyObject
* obj1
= 0 ;
11787 char *kwnames
[] = {
11788 (char *) "self",(char *) "flag", NULL
11791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11794 arg2
= (int)SWIG_As_int(obj1
);
11795 if (PyErr_Occurred()) SWIG_fail
;
11797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11798 (arg1
)->SetChooseFull(arg2
);
11800 wxPyEndAllowThreads(__tstate
);
11801 if (PyErr_Occurred()) SWIG_fail
;
11803 Py_INCREF(Py_None
); resultobj
= Py_None
;
11810 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11811 PyObject
*resultobj
;
11812 wxColourData
*arg1
= (wxColourData
*) 0 ;
11813 wxColour
*arg2
= 0 ;
11815 PyObject
* obj0
= 0 ;
11816 PyObject
* obj1
= 0 ;
11817 char *kwnames
[] = {
11818 (char *) "self",(char *) "colour", NULL
11821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11826 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11830 (arg1
)->SetColour((wxColour
const &)*arg2
);
11832 wxPyEndAllowThreads(__tstate
);
11833 if (PyErr_Occurred()) SWIG_fail
;
11835 Py_INCREF(Py_None
); resultobj
= Py_None
;
11842 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11843 PyObject
*resultobj
;
11844 wxColourData
*arg1
= (wxColourData
*) 0 ;
11846 wxColour
*arg3
= 0 ;
11848 PyObject
* obj0
= 0 ;
11849 PyObject
* obj1
= 0 ;
11850 PyObject
* obj2
= 0 ;
11851 char *kwnames
[] = {
11852 (char *) "self",(char *) "i",(char *) "colour", NULL
11855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11858 arg2
= (int)SWIG_As_int(obj1
);
11859 if (PyErr_Occurred()) SWIG_fail
;
11862 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11866 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11868 wxPyEndAllowThreads(__tstate
);
11869 if (PyErr_Occurred()) SWIG_fail
;
11871 Py_INCREF(Py_None
); resultobj
= Py_None
;
11878 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
11880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11881 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11883 return Py_BuildValue((char *)"");
11885 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11886 PyObject
*resultobj
;
11887 wxWindow
*arg1
= (wxWindow
*) 0 ;
11888 wxColourData
*arg2
= (wxColourData
*) NULL
;
11889 wxColourDialog
*result
;
11890 PyObject
* obj0
= 0 ;
11891 PyObject
* obj1
= 0 ;
11892 char *kwnames
[] = {
11893 (char *) "parent",(char *) "data", NULL
11896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11900 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11904 if (!wxPyCheckForApp()) SWIG_fail
;
11905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11906 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11908 wxPyEndAllowThreads(__tstate
);
11909 if (PyErr_Occurred()) SWIG_fail
;
11911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11918 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11919 PyObject
*resultobj
;
11920 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11921 wxColourData
*result
;
11922 PyObject
* obj0
= 0 ;
11923 char *kwnames
[] = {
11924 (char *) "self", NULL
11927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11933 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11934 result
= (wxColourData
*) &_result_ref
;
11937 wxPyEndAllowThreads(__tstate
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11947 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
11949 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11950 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11952 return Py_BuildValue((char *)"");
11954 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11955 PyObject
*resultobj
;
11956 wxWindow
*arg1
= (wxWindow
*) 0 ;
11957 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11958 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11959 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11960 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11961 long arg4
= (long) 0 ;
11962 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11963 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11964 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11965 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11966 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11967 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11968 wxDirDialog
*result
;
11969 bool temp2
= false ;
11970 bool temp3
= false ;
11973 bool temp7
= false ;
11974 PyObject
* obj0
= 0 ;
11975 PyObject
* obj1
= 0 ;
11976 PyObject
* obj2
= 0 ;
11977 PyObject
* obj3
= 0 ;
11978 PyObject
* obj4
= 0 ;
11979 PyObject
* obj5
= 0 ;
11980 PyObject
* obj6
= 0 ;
11981 char *kwnames
[] = {
11982 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11990 arg2
= wxString_in_helper(obj1
);
11991 if (arg2
== NULL
) SWIG_fail
;
11997 arg3
= wxString_in_helper(obj2
);
11998 if (arg3
== NULL
) SWIG_fail
;
12003 arg4
= (long)SWIG_As_long(obj3
);
12004 if (PyErr_Occurred()) SWIG_fail
;
12009 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12015 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12020 arg7
= wxString_in_helper(obj6
);
12021 if (arg7
== NULL
) SWIG_fail
;
12026 if (!wxPyCheckForApp()) SWIG_fail
;
12027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12028 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
12030 wxPyEndAllowThreads(__tstate
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
12064 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12065 PyObject
*resultobj
;
12066 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12068 PyObject
* obj0
= 0 ;
12069 char *kwnames
[] = {
12070 (char *) "self", NULL
12073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 result
= (arg1
)->GetPath();
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12085 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12087 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12096 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12097 PyObject
*resultobj
;
12098 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12100 PyObject
* obj0
= 0 ;
12101 char *kwnames
[] = {
12102 (char *) "self", NULL
12105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12110 result
= (arg1
)->GetMessage();
12112 wxPyEndAllowThreads(__tstate
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12117 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12119 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12128 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12129 PyObject
*resultobj
;
12130 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12132 PyObject
* obj0
= 0 ;
12133 char *kwnames
[] = {
12134 (char *) "self", NULL
12137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12142 result
= (long)(arg1
)->GetStyle();
12144 wxPyEndAllowThreads(__tstate
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12147 resultobj
= SWIG_From_long((long)result
);
12154 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12155 PyObject
*resultobj
;
12156 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12157 wxString
*arg2
= 0 ;
12158 bool temp2
= false ;
12159 PyObject
* obj0
= 0 ;
12160 PyObject
* obj1
= 0 ;
12161 char *kwnames
[] = {
12162 (char *) "self",(char *) "message", NULL
12165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12169 arg2
= wxString_in_helper(obj1
);
12170 if (arg2
== NULL
) SWIG_fail
;
12174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12175 (arg1
)->SetMessage((wxString
const &)*arg2
);
12177 wxPyEndAllowThreads(__tstate
);
12178 if (PyErr_Occurred()) SWIG_fail
;
12180 Py_INCREF(Py_None
); resultobj
= Py_None
;
12195 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12196 PyObject
*resultobj
;
12197 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12198 wxString
*arg2
= 0 ;
12199 bool temp2
= false ;
12200 PyObject
* obj0
= 0 ;
12201 PyObject
* obj1
= 0 ;
12202 char *kwnames
[] = {
12203 (char *) "self",(char *) "path", NULL
12206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12210 arg2
= wxString_in_helper(obj1
);
12211 if (arg2
== NULL
) SWIG_fail
;
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 (arg1
)->SetPath((wxString
const &)*arg2
);
12218 wxPyEndAllowThreads(__tstate
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12221 Py_INCREF(Py_None
); resultobj
= Py_None
;
12236 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
12238 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12239 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
12241 return Py_BuildValue((char *)"");
12243 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12244 PyObject
*resultobj
;
12245 wxWindow
*arg1
= (wxWindow
*) 0 ;
12246 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
12247 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12248 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12249 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12250 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12251 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12252 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
12253 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
12254 long arg6
= (long) 0 ;
12255 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12256 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12257 wxFileDialog
*result
;
12258 bool temp2
= false ;
12259 bool temp3
= false ;
12260 bool temp4
= false ;
12261 bool temp5
= false ;
12263 PyObject
* obj0
= 0 ;
12264 PyObject
* obj1
= 0 ;
12265 PyObject
* obj2
= 0 ;
12266 PyObject
* obj3
= 0 ;
12267 PyObject
* obj4
= 0 ;
12268 PyObject
* obj5
= 0 ;
12269 PyObject
* obj6
= 0 ;
12270 char *kwnames
[] = {
12271 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12279 arg2
= wxString_in_helper(obj1
);
12280 if (arg2
== NULL
) SWIG_fail
;
12286 arg3
= wxString_in_helper(obj2
);
12287 if (arg3
== NULL
) SWIG_fail
;
12293 arg4
= wxString_in_helper(obj3
);
12294 if (arg4
== NULL
) SWIG_fail
;
12300 arg5
= wxString_in_helper(obj4
);
12301 if (arg5
== NULL
) SWIG_fail
;
12306 arg6
= (long)SWIG_As_long(obj5
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12312 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12316 if (!wxPyCheckForApp()) SWIG_fail
;
12317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12318 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
12320 wxPyEndAllowThreads(__tstate
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
12362 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12363 PyObject
*resultobj
;
12364 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12365 wxString
*arg2
= 0 ;
12366 bool temp2
= false ;
12367 PyObject
* obj0
= 0 ;
12368 PyObject
* obj1
= 0 ;
12369 char *kwnames
[] = {
12370 (char *) "self",(char *) "message", NULL
12373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12377 arg2
= wxString_in_helper(obj1
);
12378 if (arg2
== NULL
) SWIG_fail
;
12382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12383 (arg1
)->SetMessage((wxString
const &)*arg2
);
12385 wxPyEndAllowThreads(__tstate
);
12386 if (PyErr_Occurred()) SWIG_fail
;
12388 Py_INCREF(Py_None
); resultobj
= Py_None
;
12403 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12404 PyObject
*resultobj
;
12405 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12406 wxString
*arg2
= 0 ;
12407 bool temp2
= false ;
12408 PyObject
* obj0
= 0 ;
12409 PyObject
* obj1
= 0 ;
12410 char *kwnames
[] = {
12411 (char *) "self",(char *) "path", NULL
12414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12418 arg2
= wxString_in_helper(obj1
);
12419 if (arg2
== NULL
) SWIG_fail
;
12423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 (arg1
)->SetPath((wxString
const &)*arg2
);
12426 wxPyEndAllowThreads(__tstate
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12429 Py_INCREF(Py_None
); resultobj
= Py_None
;
12444 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12445 PyObject
*resultobj
;
12446 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12447 wxString
*arg2
= 0 ;
12448 bool temp2
= false ;
12449 PyObject
* obj0
= 0 ;
12450 PyObject
* obj1
= 0 ;
12451 char *kwnames
[] = {
12452 (char *) "self",(char *) "dir", NULL
12455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
12456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12459 arg2
= wxString_in_helper(obj1
);
12460 if (arg2
== NULL
) SWIG_fail
;
12464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12465 (arg1
)->SetDirectory((wxString
const &)*arg2
);
12467 wxPyEndAllowThreads(__tstate
);
12468 if (PyErr_Occurred()) SWIG_fail
;
12470 Py_INCREF(Py_None
); resultobj
= Py_None
;
12485 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12486 PyObject
*resultobj
;
12487 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12488 wxString
*arg2
= 0 ;
12489 bool temp2
= false ;
12490 PyObject
* obj0
= 0 ;
12491 PyObject
* obj1
= 0 ;
12492 char *kwnames
[] = {
12493 (char *) "self",(char *) "name", NULL
12496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
12497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12500 arg2
= wxString_in_helper(obj1
);
12501 if (arg2
== NULL
) SWIG_fail
;
12505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12506 (arg1
)->SetFilename((wxString
const &)*arg2
);
12508 wxPyEndAllowThreads(__tstate
);
12509 if (PyErr_Occurred()) SWIG_fail
;
12511 Py_INCREF(Py_None
); resultobj
= Py_None
;
12526 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12527 PyObject
*resultobj
;
12528 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12529 wxString
*arg2
= 0 ;
12530 bool temp2
= false ;
12531 PyObject
* obj0
= 0 ;
12532 PyObject
* obj1
= 0 ;
12533 char *kwnames
[] = {
12534 (char *) "self",(char *) "wildCard", NULL
12537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
12538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12541 arg2
= wxString_in_helper(obj1
);
12542 if (arg2
== NULL
) SWIG_fail
;
12546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12547 (arg1
)->SetWildcard((wxString
const &)*arg2
);
12549 wxPyEndAllowThreads(__tstate
);
12550 if (PyErr_Occurred()) SWIG_fail
;
12552 Py_INCREF(Py_None
); resultobj
= Py_None
;
12567 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12568 PyObject
*resultobj
;
12569 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12571 PyObject
* obj0
= 0 ;
12572 PyObject
* obj1
= 0 ;
12573 char *kwnames
[] = {
12574 (char *) "self",(char *) "style", NULL
12577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12580 arg2
= (long)SWIG_As_long(obj1
);
12581 if (PyErr_Occurred()) SWIG_fail
;
12583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12584 (arg1
)->SetStyle(arg2
);
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12589 Py_INCREF(Py_None
); resultobj
= Py_None
;
12596 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12597 PyObject
*resultobj
;
12598 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12600 PyObject
* obj0
= 0 ;
12601 PyObject
* obj1
= 0 ;
12602 char *kwnames
[] = {
12603 (char *) "self",(char *) "filterIndex", NULL
12606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12609 arg2
= (int)SWIG_As_int(obj1
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12613 (arg1
)->SetFilterIndex(arg2
);
12615 wxPyEndAllowThreads(__tstate
);
12616 if (PyErr_Occurred()) SWIG_fail
;
12618 Py_INCREF(Py_None
); resultobj
= Py_None
;
12625 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12626 PyObject
*resultobj
;
12627 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12629 PyObject
* obj0
= 0 ;
12630 char *kwnames
[] = {
12631 (char *) "self", NULL
12634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12639 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12641 wxPyEndAllowThreads(__tstate
);
12642 if (PyErr_Occurred()) SWIG_fail
;
12646 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12648 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12657 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12658 PyObject
*resultobj
;
12659 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12661 PyObject
* obj0
= 0 ;
12662 char *kwnames
[] = {
12663 (char *) "self", NULL
12666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12671 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12673 wxPyEndAllowThreads(__tstate
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12678 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12680 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12689 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12690 PyObject
*resultobj
;
12691 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12693 PyObject
* obj0
= 0 ;
12694 char *kwnames
[] = {
12695 (char *) "self", NULL
12698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12703 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12705 wxPyEndAllowThreads(__tstate
);
12706 if (PyErr_Occurred()) SWIG_fail
;
12710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12721 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12722 PyObject
*resultobj
;
12723 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12725 PyObject
* obj0
= 0 ;
12726 char *kwnames
[] = {
12727 (char *) "self", NULL
12730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12735 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12737 wxPyEndAllowThreads(__tstate
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12742 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12744 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12753 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12754 PyObject
*resultobj
;
12755 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12757 PyObject
* obj0
= 0 ;
12758 char *kwnames
[] = {
12759 (char *) "self", NULL
12762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12767 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12769 wxPyEndAllowThreads(__tstate
);
12770 if (PyErr_Occurred()) SWIG_fail
;
12774 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12776 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12785 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12786 PyObject
*resultobj
;
12787 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12789 PyObject
* obj0
= 0 ;
12790 char *kwnames
[] = {
12791 (char *) "self", NULL
12794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12799 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12801 wxPyEndAllowThreads(__tstate
);
12802 if (PyErr_Occurred()) SWIG_fail
;
12804 resultobj
= SWIG_From_long((long)result
);
12811 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12812 PyObject
*resultobj
;
12813 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12815 PyObject
* obj0
= 0 ;
12816 char *kwnames
[] = {
12817 (char *) "self", NULL
12820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12825 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12827 wxPyEndAllowThreads(__tstate
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12830 resultobj
= SWIG_From_int((int)result
);
12837 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12838 PyObject
*resultobj
;
12839 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12841 PyObject
* obj0
= 0 ;
12842 char *kwnames
[] = {
12843 (char *) "self", NULL
12846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12851 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12853 wxPyEndAllowThreads(__tstate
);
12854 if (PyErr_Occurred()) SWIG_fail
;
12856 resultobj
= result
;
12863 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12864 PyObject
*resultobj
;
12865 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12867 PyObject
* obj0
= 0 ;
12868 char *kwnames
[] = {
12869 (char *) "self", NULL
12872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12877 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12879 wxPyEndAllowThreads(__tstate
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12882 resultobj
= result
;
12889 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
12891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12892 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12894 return Py_BuildValue((char *)"");
12896 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12897 PyObject
*resultobj
;
12898 wxWindow
*arg1
= (wxWindow
*) 0 ;
12899 wxString
*arg2
= 0 ;
12900 wxString
*arg3
= 0 ;
12901 int arg4
= (int) 0 ;
12902 wxString
*arg5
= (wxString
*) NULL
;
12903 long arg6
= (long) wxCHOICEDLG_STYLE
;
12904 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12905 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12906 wxMultiChoiceDialog
*result
;
12907 bool temp2
= false ;
12908 bool temp3
= false ;
12910 PyObject
* obj0
= 0 ;
12911 PyObject
* obj1
= 0 ;
12912 PyObject
* obj2
= 0 ;
12913 PyObject
* obj3
= 0 ;
12914 PyObject
* obj4
= 0 ;
12915 PyObject
* obj5
= 0 ;
12916 char *kwnames
[] = {
12917 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12924 arg2
= wxString_in_helper(obj1
);
12925 if (arg2
== NULL
) SWIG_fail
;
12929 arg3
= wxString_in_helper(obj2
);
12930 if (arg3
== NULL
) SWIG_fail
;
12935 arg4
= PyList_Size(obj3
);
12936 arg5
= wxString_LIST_helper(obj3
);
12937 if (arg5
== NULL
) SWIG_fail
;
12941 arg6
= (long)SWIG_As_long(obj4
);
12942 if (PyErr_Occurred()) SWIG_fail
;
12947 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12951 if (!wxPyCheckForApp()) SWIG_fail
;
12952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12953 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12955 wxPyEndAllowThreads(__tstate
);
12956 if (PyErr_Occurred()) SWIG_fail
;
12958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12968 if (arg5
) delete [] arg5
;
12981 if (arg5
) delete [] arg5
;
12987 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12988 PyObject
*resultobj
;
12989 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12990 wxArrayInt
*arg2
= 0 ;
12991 bool temp2
= false ;
12992 PyObject
* obj0
= 0 ;
12993 PyObject
* obj1
= 0 ;
12994 char *kwnames
[] = {
12995 (char *) "self",(char *) "selections", NULL
12998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
13000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13002 if (! PySequence_Check(obj1
)) {
13003 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
13006 arg2
= new wxArrayInt
;
13008 int i
, len
=PySequence_Length(obj1
);
13009 for (i
=0; i
<len
; i
++) {
13010 PyObject
* item
= PySequence_GetItem(obj1
, i
);
13011 PyObject
* number
= PyNumber_Int(item
);
13012 arg2
->Add(PyInt_AS_LONG(number
));
13018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13019 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
13021 wxPyEndAllowThreads(__tstate
);
13022 if (PyErr_Occurred()) SWIG_fail
;
13024 Py_INCREF(Py_None
); resultobj
= Py_None
;
13026 if (temp2
) delete arg2
;
13031 if (temp2
) delete arg2
;
13037 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13038 PyObject
*resultobj
;
13039 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
13041 PyObject
* obj0
= 0 ;
13042 char *kwnames
[] = {
13043 (char *) "self", NULL
13046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
13047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
13048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13051 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
13053 wxPyEndAllowThreads(__tstate
);
13054 if (PyErr_Occurred()) SWIG_fail
;
13056 resultobj
= result
;
13063 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
13065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13066 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
13068 return Py_BuildValue((char *)"");
13070 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13071 PyObject
*resultobj
;
13072 wxWindow
*arg1
= (wxWindow
*) 0 ;
13073 wxString
*arg2
= 0 ;
13074 wxString
*arg3
= 0 ;
13076 wxString
*arg5
= (wxString
*) 0 ;
13077 long arg6
= (long) wxCHOICEDLG_STYLE
;
13078 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13079 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13080 wxSingleChoiceDialog
*result
;
13081 bool temp2
= false ;
13082 bool temp3
= false ;
13084 PyObject
* obj0
= 0 ;
13085 PyObject
* obj1
= 0 ;
13086 PyObject
* obj2
= 0 ;
13087 PyObject
* obj3
= 0 ;
13088 PyObject
* obj4
= 0 ;
13089 PyObject
* obj5
= 0 ;
13090 char *kwnames
[] = {
13091 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
13094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13098 arg2
= wxString_in_helper(obj1
);
13099 if (arg2
== NULL
) SWIG_fail
;
13103 arg3
= wxString_in_helper(obj2
);
13104 if (arg3
== NULL
) SWIG_fail
;
13108 arg4
= PyList_Size(obj3
);
13109 arg5
= wxString_LIST_helper(obj3
);
13110 if (arg5
== NULL
) SWIG_fail
;
13113 arg6
= (long)SWIG_As_long(obj4
);
13114 if (PyErr_Occurred()) SWIG_fail
;
13119 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
13123 if (!wxPyCheckForApp()) SWIG_fail
;
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
13127 wxPyEndAllowThreads(__tstate
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
13140 if (arg5
) delete [] arg5
;
13153 if (arg5
) delete [] arg5
;
13159 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13160 PyObject
*resultobj
;
13161 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13163 PyObject
* obj0
= 0 ;
13164 char *kwnames
[] = {
13165 (char *) "self", NULL
13168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
13169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13173 result
= (int)(arg1
)->GetSelection();
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13178 resultobj
= SWIG_From_int((int)result
);
13185 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13186 PyObject
*resultobj
;
13187 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13189 PyObject
* obj0
= 0 ;
13190 char *kwnames
[] = {
13191 (char *) "self", NULL
13194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 result
= (arg1
)->GetStringSelection();
13201 wxPyEndAllowThreads(__tstate
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13206 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13208 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13217 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13218 PyObject
*resultobj
;
13219 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13221 PyObject
* obj0
= 0 ;
13222 PyObject
* obj1
= 0 ;
13223 char *kwnames
[] = {
13224 (char *) "self",(char *) "sel", NULL
13227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13230 arg2
= (int)SWIG_As_int(obj1
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13234 (arg1
)->SetSelection(arg2
);
13236 wxPyEndAllowThreads(__tstate
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13239 Py_INCREF(Py_None
); resultobj
= Py_None
;
13246 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
13248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13249 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
13251 return Py_BuildValue((char *)"");
13253 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13254 PyObject
*resultobj
;
13255 wxWindow
*arg1
= (wxWindow
*) 0 ;
13256 wxString
*arg2
= 0 ;
13257 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
13258 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13259 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13260 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13261 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13262 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
13263 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
13264 wxTextEntryDialog
*result
;
13265 bool temp2
= false ;
13266 bool temp3
= false ;
13267 bool temp4
= false ;
13269 PyObject
* obj0
= 0 ;
13270 PyObject
* obj1
= 0 ;
13271 PyObject
* obj2
= 0 ;
13272 PyObject
* obj3
= 0 ;
13273 PyObject
* obj4
= 0 ;
13274 PyObject
* obj5
= 0 ;
13275 char *kwnames
[] = {
13276 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13283 arg2
= wxString_in_helper(obj1
);
13284 if (arg2
== NULL
) SWIG_fail
;
13289 arg3
= wxString_in_helper(obj2
);
13290 if (arg3
== NULL
) SWIG_fail
;
13296 arg4
= wxString_in_helper(obj3
);
13297 if (arg4
== NULL
) SWIG_fail
;
13302 arg5
= (long)SWIG_As_long(obj4
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13308 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13312 if (!wxPyCheckForApp()) SWIG_fail
;
13313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13314 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
13316 wxPyEndAllowThreads(__tstate
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13319 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
13350 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13351 PyObject
*resultobj
;
13352 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13354 PyObject
* obj0
= 0 ;
13355 char *kwnames
[] = {
13356 (char *) "self", NULL
13359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
13360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 result
= (arg1
)->GetValue();
13366 wxPyEndAllowThreads(__tstate
);
13367 if (PyErr_Occurred()) SWIG_fail
;
13371 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13373 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13382 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13383 PyObject
*resultobj
;
13384 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13385 wxString
*arg2
= 0 ;
13386 bool temp2
= false ;
13387 PyObject
* obj0
= 0 ;
13388 PyObject
* obj1
= 0 ;
13389 char *kwnames
[] = {
13390 (char *) "self",(char *) "value", NULL
13393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13397 arg2
= wxString_in_helper(obj1
);
13398 if (arg2
== NULL
) SWIG_fail
;
13402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13403 (arg1
)->SetValue((wxString
const &)*arg2
);
13405 wxPyEndAllowThreads(__tstate
);
13406 if (PyErr_Occurred()) SWIG_fail
;
13408 Py_INCREF(Py_None
); resultobj
= Py_None
;
13423 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
13425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13426 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
13428 return Py_BuildValue((char *)"");
13430 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13431 PyObject
*resultobj
;
13432 wxFontData
*result
;
13433 char *kwnames
[] = {
13437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13440 result
= (wxFontData
*)new wxFontData();
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
13452 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13453 PyObject
*resultobj
;
13454 wxFontData
*arg1
= (wxFontData
*) 0 ;
13455 PyObject
* obj0
= 0 ;
13456 char *kwnames
[] = {
13457 (char *) "self", NULL
13460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
13461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13467 wxPyEndAllowThreads(__tstate
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13470 Py_INCREF(Py_None
); resultobj
= Py_None
;
13477 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13478 PyObject
*resultobj
;
13479 wxFontData
*arg1
= (wxFontData
*) 0 ;
13481 PyObject
* obj0
= 0 ;
13482 PyObject
* obj1
= 0 ;
13483 char *kwnames
[] = {
13484 (char *) "self",(char *) "enable", NULL
13487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
13488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13490 arg2
= (bool)SWIG_As_bool(obj1
);
13491 if (PyErr_Occurred()) SWIG_fail
;
13493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13494 (arg1
)->EnableEffects(arg2
);
13496 wxPyEndAllowThreads(__tstate
);
13497 if (PyErr_Occurred()) SWIG_fail
;
13499 Py_INCREF(Py_None
); resultobj
= Py_None
;
13506 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13507 PyObject
*resultobj
;
13508 wxFontData
*arg1
= (wxFontData
*) 0 ;
13510 PyObject
* obj0
= 0 ;
13511 char *kwnames
[] = {
13512 (char *) "self", NULL
13515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
13516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13520 result
= (bool)(arg1
)->GetAllowSymbols();
13522 wxPyEndAllowThreads(__tstate
);
13523 if (PyErr_Occurred()) SWIG_fail
;
13526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13534 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13535 PyObject
*resultobj
;
13536 wxFontData
*arg1
= (wxFontData
*) 0 ;
13538 PyObject
* obj0
= 0 ;
13539 char *kwnames
[] = {
13540 (char *) "self", NULL
13543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
13544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13548 result
= (arg1
)->GetColour();
13550 wxPyEndAllowThreads(__tstate
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13554 wxColour
* resultptr
;
13555 resultptr
= new wxColour((wxColour
&) result
);
13556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13564 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13565 PyObject
*resultobj
;
13566 wxFontData
*arg1
= (wxFontData
*) 0 ;
13568 PyObject
* obj0
= 0 ;
13569 char *kwnames
[] = {
13570 (char *) "self", NULL
13573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13578 result
= (arg1
)->GetChosenFont();
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13584 wxFont
* resultptr
;
13585 resultptr
= new wxFont((wxFont
&) result
);
13586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13594 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13595 PyObject
*resultobj
;
13596 wxFontData
*arg1
= (wxFontData
*) 0 ;
13598 PyObject
* obj0
= 0 ;
13599 char *kwnames
[] = {
13600 (char *) "self", NULL
13603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13608 result
= (bool)(arg1
)->GetEnableEffects();
13610 wxPyEndAllowThreads(__tstate
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13622 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13623 PyObject
*resultobj
;
13624 wxFontData
*arg1
= (wxFontData
*) 0 ;
13626 PyObject
* obj0
= 0 ;
13627 char *kwnames
[] = {
13628 (char *) "self", NULL
13631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 result
= (arg1
)->GetInitialFont();
13638 wxPyEndAllowThreads(__tstate
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13642 wxFont
* resultptr
;
13643 resultptr
= new wxFont((wxFont
&) result
);
13644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13652 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13653 PyObject
*resultobj
;
13654 wxFontData
*arg1
= (wxFontData
*) 0 ;
13656 PyObject
* obj0
= 0 ;
13657 char *kwnames
[] = {
13658 (char *) "self", NULL
13661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13666 result
= (bool)(arg1
)->GetShowHelp();
13668 wxPyEndAllowThreads(__tstate
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13680 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13681 PyObject
*resultobj
;
13682 wxFontData
*arg1
= (wxFontData
*) 0 ;
13684 PyObject
* obj0
= 0 ;
13685 PyObject
* obj1
= 0 ;
13686 char *kwnames
[] = {
13687 (char *) "self",(char *) "allowSymbols", NULL
13690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13693 arg2
= (bool)SWIG_As_bool(obj1
);
13694 if (PyErr_Occurred()) SWIG_fail
;
13696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13697 (arg1
)->SetAllowSymbols(arg2
);
13699 wxPyEndAllowThreads(__tstate
);
13700 if (PyErr_Occurred()) SWIG_fail
;
13702 Py_INCREF(Py_None
); resultobj
= Py_None
;
13709 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13710 PyObject
*resultobj
;
13711 wxFontData
*arg1
= (wxFontData
*) 0 ;
13713 PyObject
* obj0
= 0 ;
13714 PyObject
* obj1
= 0 ;
13715 char *kwnames
[] = {
13716 (char *) "self",(char *) "font", NULL
13719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13723 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13725 if (arg2
== NULL
) {
13726 PyErr_SetString(PyExc_TypeError
,"null reference");
13730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13731 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13733 wxPyEndAllowThreads(__tstate
);
13734 if (PyErr_Occurred()) SWIG_fail
;
13736 Py_INCREF(Py_None
); resultobj
= Py_None
;
13743 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13744 PyObject
*resultobj
;
13745 wxFontData
*arg1
= (wxFontData
*) 0 ;
13746 wxColour
*arg2
= 0 ;
13748 PyObject
* obj0
= 0 ;
13749 PyObject
* obj1
= 0 ;
13750 char *kwnames
[] = {
13751 (char *) "self",(char *) "colour", NULL
13754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13759 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13763 (arg1
)->SetColour((wxColour
const &)*arg2
);
13765 wxPyEndAllowThreads(__tstate
);
13766 if (PyErr_Occurred()) SWIG_fail
;
13768 Py_INCREF(Py_None
); resultobj
= Py_None
;
13775 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13776 PyObject
*resultobj
;
13777 wxFontData
*arg1
= (wxFontData
*) 0 ;
13779 PyObject
* obj0
= 0 ;
13780 PyObject
* obj1
= 0 ;
13781 char *kwnames
[] = {
13782 (char *) "self",(char *) "font", NULL
13785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13788 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13789 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13791 if (arg2
== NULL
) {
13792 PyErr_SetString(PyExc_TypeError
,"null reference");
13796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13797 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13799 wxPyEndAllowThreads(__tstate
);
13800 if (PyErr_Occurred()) SWIG_fail
;
13802 Py_INCREF(Py_None
); resultobj
= Py_None
;
13809 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13810 PyObject
*resultobj
;
13811 wxFontData
*arg1
= (wxFontData
*) 0 ;
13814 PyObject
* obj0
= 0 ;
13815 PyObject
* obj1
= 0 ;
13816 PyObject
* obj2
= 0 ;
13817 char *kwnames
[] = {
13818 (char *) "self",(char *) "min",(char *) "max", NULL
13821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13824 arg2
= (int)SWIG_As_int(obj1
);
13825 if (PyErr_Occurred()) SWIG_fail
;
13826 arg3
= (int)SWIG_As_int(obj2
);
13827 if (PyErr_Occurred()) SWIG_fail
;
13829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13830 (arg1
)->SetRange(arg2
,arg3
);
13832 wxPyEndAllowThreads(__tstate
);
13833 if (PyErr_Occurred()) SWIG_fail
;
13835 Py_INCREF(Py_None
); resultobj
= Py_None
;
13842 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13843 PyObject
*resultobj
;
13844 wxFontData
*arg1
= (wxFontData
*) 0 ;
13846 PyObject
* obj0
= 0 ;
13847 PyObject
* obj1
= 0 ;
13848 char *kwnames
[] = {
13849 (char *) "self",(char *) "showHelp", NULL
13852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13855 arg2
= (bool)SWIG_As_bool(obj1
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13859 (arg1
)->SetShowHelp(arg2
);
13861 wxPyEndAllowThreads(__tstate
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13864 Py_INCREF(Py_None
); resultobj
= Py_None
;
13871 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
13873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13874 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13876 return Py_BuildValue((char *)"");
13878 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13879 PyObject
*resultobj
;
13880 wxWindow
*arg1
= (wxWindow
*) 0 ;
13881 wxFontData
*arg2
= 0 ;
13882 wxFontDialog
*result
;
13883 PyObject
* obj0
= 0 ;
13884 PyObject
* obj1
= 0 ;
13885 char *kwnames
[] = {
13886 (char *) "parent",(char *) "data", NULL
13889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13893 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13895 if (arg2
== NULL
) {
13896 PyErr_SetString(PyExc_TypeError
,"null reference");
13900 if (!wxPyCheckForApp()) SWIG_fail
;
13901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13902 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13904 wxPyEndAllowThreads(__tstate
);
13905 if (PyErr_Occurred()) SWIG_fail
;
13907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13914 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13915 PyObject
*resultobj
;
13916 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13917 wxFontData
*result
;
13918 PyObject
* obj0
= 0 ;
13919 char *kwnames
[] = {
13920 (char *) "self", NULL
13923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13929 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13930 result
= (wxFontData
*) &_result_ref
;
13933 wxPyEndAllowThreads(__tstate
);
13934 if (PyErr_Occurred()) SWIG_fail
;
13936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13943 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
13945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13946 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13948 return Py_BuildValue((char *)"");
13950 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13951 PyObject
*resultobj
;
13952 wxWindow
*arg1
= (wxWindow
*) 0 ;
13953 wxString
*arg2
= 0 ;
13954 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13955 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13956 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13957 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13958 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13959 wxMessageDialog
*result
;
13960 bool temp2
= false ;
13961 bool temp3
= false ;
13963 PyObject
* obj0
= 0 ;
13964 PyObject
* obj1
= 0 ;
13965 PyObject
* obj2
= 0 ;
13966 PyObject
* obj3
= 0 ;
13967 PyObject
* obj4
= 0 ;
13968 char *kwnames
[] = {
13969 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13976 arg2
= wxString_in_helper(obj1
);
13977 if (arg2
== NULL
) SWIG_fail
;
13982 arg3
= wxString_in_helper(obj2
);
13983 if (arg3
== NULL
) SWIG_fail
;
13988 arg4
= (long)SWIG_As_long(obj3
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13994 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13998 if (!wxPyCheckForApp()) SWIG_fail
;
13999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14000 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
14002 wxPyEndAllowThreads(__tstate
);
14003 if (PyErr_Occurred()) SWIG_fail
;
14005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
14028 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
14030 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14031 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
14033 return Py_BuildValue((char *)"");
14035 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14036 PyObject
*resultobj
;
14037 wxString
*arg1
= 0 ;
14038 wxString
*arg2
= 0 ;
14039 int arg3
= (int) 100 ;
14040 wxWindow
*arg4
= (wxWindow
*) NULL
;
14041 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
14042 wxProgressDialog
*result
;
14043 bool temp1
= false ;
14044 bool temp2
= false ;
14045 PyObject
* obj0
= 0 ;
14046 PyObject
* obj1
= 0 ;
14047 PyObject
* obj2
= 0 ;
14048 PyObject
* obj3
= 0 ;
14049 PyObject
* obj4
= 0 ;
14050 char *kwnames
[] = {
14051 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
14054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14056 arg1
= wxString_in_helper(obj0
);
14057 if (arg1
== NULL
) SWIG_fail
;
14061 arg2
= wxString_in_helper(obj1
);
14062 if (arg2
== NULL
) SWIG_fail
;
14066 arg3
= (int)SWIG_As_int(obj2
);
14067 if (PyErr_Occurred()) SWIG_fail
;
14070 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
14071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14074 arg5
= (int)SWIG_As_int(obj4
);
14075 if (PyErr_Occurred()) SWIG_fail
;
14078 if (!wxPyCheckForApp()) SWIG_fail
;
14079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14080 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
14082 wxPyEndAllowThreads(__tstate
);
14083 if (PyErr_Occurred()) SWIG_fail
;
14085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
14108 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14109 PyObject
*resultobj
;
14110 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
14112 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14113 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14115 bool temp3
= false ;
14116 PyObject
* obj0
= 0 ;
14117 PyObject
* obj1
= 0 ;
14118 PyObject
* obj2
= 0 ;
14119 char *kwnames
[] = {
14120 (char *) "self",(char *) "value",(char *) "newmsg", NULL
14123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
14125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14126 arg2
= (int)SWIG_As_int(obj1
);
14127 if (PyErr_Occurred()) SWIG_fail
;
14130 arg3
= wxString_in_helper(obj2
);
14131 if (arg3
== NULL
) SWIG_fail
;
14136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14137 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
14139 wxPyEndAllowThreads(__tstate
);
14140 if (PyErr_Occurred()) SWIG_fail
;
14143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14159 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14160 PyObject
*resultobj
;
14161 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
14162 PyObject
* obj0
= 0 ;
14163 char *kwnames
[] = {
14164 (char *) "self", NULL
14167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
14168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
14169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14174 wxPyEndAllowThreads(__tstate
);
14175 if (PyErr_Occurred()) SWIG_fail
;
14177 Py_INCREF(Py_None
); resultobj
= Py_None
;
14184 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
14186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14187 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
14189 return Py_BuildValue((char *)"");
14191 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14192 PyObject
*resultobj
;
14193 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14194 int arg2
= (int) 0 ;
14195 wxFindDialogEvent
*result
;
14196 PyObject
* obj0
= 0 ;
14197 PyObject
* obj1
= 0 ;
14198 char *kwnames
[] = {
14199 (char *) "commandType",(char *) "id", NULL
14202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14204 arg1
= (wxEventType
)SWIG_As_int(obj0
);
14205 if (PyErr_Occurred()) SWIG_fail
;
14208 arg2
= (int)SWIG_As_int(obj1
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14213 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
14215 wxPyEndAllowThreads(__tstate
);
14216 if (PyErr_Occurred()) SWIG_fail
;
14218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
14225 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14226 PyObject
*resultobj
;
14227 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14229 PyObject
* obj0
= 0 ;
14230 char *kwnames
[] = {
14231 (char *) "self", NULL
14234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
14235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14239 result
= (int)(arg1
)->GetFlags();
14241 wxPyEndAllowThreads(__tstate
);
14242 if (PyErr_Occurred()) SWIG_fail
;
14244 resultobj
= SWIG_From_int((int)result
);
14251 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14252 PyObject
*resultobj
;
14253 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14255 PyObject
* obj0
= 0 ;
14256 char *kwnames
[] = {
14257 (char *) "self", NULL
14260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
14261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14266 wxString
const &_result_ref
= (arg1
)->GetFindString();
14267 result
= (wxString
*) &_result_ref
;
14270 wxPyEndAllowThreads(__tstate
);
14271 if (PyErr_Occurred()) SWIG_fail
;
14275 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14277 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14286 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14287 PyObject
*resultobj
;
14288 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14290 PyObject
* obj0
= 0 ;
14291 char *kwnames
[] = {
14292 (char *) "self", NULL
14295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14301 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14302 result
= (wxString
*) &_result_ref
;
14305 wxPyEndAllowThreads(__tstate
);
14306 if (PyErr_Occurred()) SWIG_fail
;
14310 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14312 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14321 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14322 PyObject
*resultobj
;
14323 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14324 wxFindReplaceDialog
*result
;
14325 PyObject
* obj0
= 0 ;
14326 char *kwnames
[] = {
14327 (char *) "self", NULL
14330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
14331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14335 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
14337 wxPyEndAllowThreads(__tstate
);
14338 if (PyErr_Occurred()) SWIG_fail
;
14340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
14347 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14348 PyObject
*resultobj
;
14349 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14351 PyObject
* obj0
= 0 ;
14352 PyObject
* obj1
= 0 ;
14353 char *kwnames
[] = {
14354 (char *) "self",(char *) "flags", NULL
14357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14360 arg2
= (int)SWIG_As_int(obj1
);
14361 if (PyErr_Occurred()) SWIG_fail
;
14363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14364 (arg1
)->SetFlags(arg2
);
14366 wxPyEndAllowThreads(__tstate
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14369 Py_INCREF(Py_None
); resultobj
= Py_None
;
14376 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14377 PyObject
*resultobj
;
14378 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14379 wxString
*arg2
= 0 ;
14380 bool temp2
= false ;
14381 PyObject
* obj0
= 0 ;
14382 PyObject
* obj1
= 0 ;
14383 char *kwnames
[] = {
14384 (char *) "self",(char *) "str", NULL
14387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14391 arg2
= wxString_in_helper(obj1
);
14392 if (arg2
== NULL
) SWIG_fail
;
14396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14397 (arg1
)->SetFindString((wxString
const &)*arg2
);
14399 wxPyEndAllowThreads(__tstate
);
14400 if (PyErr_Occurred()) SWIG_fail
;
14402 Py_INCREF(Py_None
); resultobj
= Py_None
;
14417 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14418 PyObject
*resultobj
;
14419 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14420 wxString
*arg2
= 0 ;
14421 bool temp2
= false ;
14422 PyObject
* obj0
= 0 ;
14423 PyObject
* obj1
= 0 ;
14424 char *kwnames
[] = {
14425 (char *) "self",(char *) "str", NULL
14428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14432 arg2
= wxString_in_helper(obj1
);
14433 if (arg2
== NULL
) SWIG_fail
;
14437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14438 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14440 wxPyEndAllowThreads(__tstate
);
14441 if (PyErr_Occurred()) SWIG_fail
;
14443 Py_INCREF(Py_None
); resultobj
= Py_None
;
14458 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
14460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14461 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
14463 return Py_BuildValue((char *)"");
14465 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14466 PyObject
*resultobj
;
14467 int arg1
= (int) 0 ;
14468 wxFindReplaceData
*result
;
14469 PyObject
* obj0
= 0 ;
14470 char *kwnames
[] = {
14471 (char *) "flags", NULL
14474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14476 arg1
= (int)SWIG_As_int(obj0
);
14477 if (PyErr_Occurred()) SWIG_fail
;
14480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14481 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
14483 wxPyEndAllowThreads(__tstate
);
14484 if (PyErr_Occurred()) SWIG_fail
;
14486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
14493 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14494 PyObject
*resultobj
;
14495 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14496 PyObject
* obj0
= 0 ;
14497 char *kwnames
[] = {
14498 (char *) "self", NULL
14501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14508 wxPyEndAllowThreads(__tstate
);
14509 if (PyErr_Occurred()) SWIG_fail
;
14511 Py_INCREF(Py_None
); resultobj
= Py_None
;
14518 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14519 PyObject
*resultobj
;
14520 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14522 PyObject
* obj0
= 0 ;
14523 char *kwnames
[] = {
14524 (char *) "self", NULL
14527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
14528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14533 wxString
const &_result_ref
= (arg1
)->GetFindString();
14534 result
= (wxString
*) &_result_ref
;
14537 wxPyEndAllowThreads(__tstate
);
14538 if (PyErr_Occurred()) SWIG_fail
;
14542 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14544 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14553 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14554 PyObject
*resultobj
;
14555 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14557 PyObject
* obj0
= 0 ;
14558 char *kwnames
[] = {
14559 (char *) "self", NULL
14562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14568 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14569 result
= (wxString
*) &_result_ref
;
14572 wxPyEndAllowThreads(__tstate
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14577 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14579 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14588 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14589 PyObject
*resultobj
;
14590 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14592 PyObject
* obj0
= 0 ;
14593 char *kwnames
[] = {
14594 (char *) "self", NULL
14597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14602 result
= (int)(arg1
)->GetFlags();
14604 wxPyEndAllowThreads(__tstate
);
14605 if (PyErr_Occurred()) SWIG_fail
;
14607 resultobj
= SWIG_From_int((int)result
);
14614 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14615 PyObject
*resultobj
;
14616 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14618 PyObject
* obj0
= 0 ;
14619 PyObject
* obj1
= 0 ;
14620 char *kwnames
[] = {
14621 (char *) "self",(char *) "flags", NULL
14624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14627 arg2
= (int)SWIG_As_int(obj1
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14631 (arg1
)->SetFlags(arg2
);
14633 wxPyEndAllowThreads(__tstate
);
14634 if (PyErr_Occurred()) SWIG_fail
;
14636 Py_INCREF(Py_None
); resultobj
= Py_None
;
14643 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14644 PyObject
*resultobj
;
14645 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14646 wxString
*arg2
= 0 ;
14647 bool temp2
= false ;
14648 PyObject
* obj0
= 0 ;
14649 PyObject
* obj1
= 0 ;
14650 char *kwnames
[] = {
14651 (char *) "self",(char *) "str", NULL
14654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14658 arg2
= wxString_in_helper(obj1
);
14659 if (arg2
== NULL
) SWIG_fail
;
14663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14664 (arg1
)->SetFindString((wxString
const &)*arg2
);
14666 wxPyEndAllowThreads(__tstate
);
14667 if (PyErr_Occurred()) SWIG_fail
;
14669 Py_INCREF(Py_None
); resultobj
= Py_None
;
14684 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14685 PyObject
*resultobj
;
14686 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14687 wxString
*arg2
= 0 ;
14688 bool temp2
= false ;
14689 PyObject
* obj0
= 0 ;
14690 PyObject
* obj1
= 0 ;
14691 char *kwnames
[] = {
14692 (char *) "self",(char *) "str", NULL
14695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14699 arg2
= wxString_in_helper(obj1
);
14700 if (arg2
== NULL
) SWIG_fail
;
14704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14705 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14707 wxPyEndAllowThreads(__tstate
);
14708 if (PyErr_Occurred()) SWIG_fail
;
14710 Py_INCREF(Py_None
); resultobj
= Py_None
;
14725 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
14727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14728 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14730 return Py_BuildValue((char *)"");
14732 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14733 PyObject
*resultobj
;
14734 wxWindow
*arg1
= (wxWindow
*) 0 ;
14735 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14736 wxString
*arg3
= 0 ;
14737 int arg4
= (int) 0 ;
14738 wxFindReplaceDialog
*result
;
14739 bool temp3
= false ;
14740 PyObject
* obj0
= 0 ;
14741 PyObject
* obj1
= 0 ;
14742 PyObject
* obj2
= 0 ;
14743 PyObject
* obj3
= 0 ;
14744 char *kwnames
[] = {
14745 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14751 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14754 arg3
= wxString_in_helper(obj2
);
14755 if (arg3
== NULL
) SWIG_fail
;
14759 arg4
= (int)SWIG_As_int(obj3
);
14760 if (PyErr_Occurred()) SWIG_fail
;
14763 if (!wxPyCheckForApp()) SWIG_fail
;
14764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14765 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14767 wxPyEndAllowThreads(__tstate
);
14768 if (PyErr_Occurred()) SWIG_fail
;
14770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14785 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14786 PyObject
*resultobj
;
14787 wxFindReplaceDialog
*result
;
14788 char *kwnames
[] = {
14792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14794 if (!wxPyCheckForApp()) SWIG_fail
;
14795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14796 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14798 wxPyEndAllowThreads(__tstate
);
14799 if (PyErr_Occurred()) SWIG_fail
;
14801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14808 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14809 PyObject
*resultobj
;
14810 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14811 wxWindow
*arg2
= (wxWindow
*) 0 ;
14812 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14813 wxString
*arg4
= 0 ;
14814 int arg5
= (int) 0 ;
14816 bool temp4
= false ;
14817 PyObject
* obj0
= 0 ;
14818 PyObject
* obj1
= 0 ;
14819 PyObject
* obj2
= 0 ;
14820 PyObject
* obj3
= 0 ;
14821 PyObject
* obj4
= 0 ;
14822 char *kwnames
[] = {
14823 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14829 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14831 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14834 arg4
= wxString_in_helper(obj3
);
14835 if (arg4
== NULL
) SWIG_fail
;
14839 arg5
= (int)SWIG_As_int(obj4
);
14840 if (PyErr_Occurred()) SWIG_fail
;
14843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14844 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14846 wxPyEndAllowThreads(__tstate
);
14847 if (PyErr_Occurred()) SWIG_fail
;
14850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14866 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14867 PyObject
*resultobj
;
14868 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14869 wxFindReplaceData
*result
;
14870 PyObject
* obj0
= 0 ;
14871 char *kwnames
[] = {
14872 (char *) "self", NULL
14875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14880 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14882 wxPyEndAllowThreads(__tstate
);
14883 if (PyErr_Occurred()) SWIG_fail
;
14885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14892 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14893 PyObject
*resultobj
;
14894 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14895 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14896 PyObject
* obj0
= 0 ;
14897 PyObject
* obj1
= 0 ;
14898 char *kwnames
[] = {
14899 (char *) "self",(char *) "data", NULL
14902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14905 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14909 (arg1
)->SetData(arg2
);
14911 wxPyEndAllowThreads(__tstate
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14914 Py_INCREF(Py_None
); resultobj
= Py_None
;
14921 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
14923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14924 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14926 return Py_BuildValue((char *)"");
14928 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14929 PyObject
*resultobj
;
14930 wxWindow
*arg1
= (wxWindow
*) 0 ;
14931 int arg2
= (int) (int)-1 ;
14932 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14933 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14934 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14935 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14936 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14937 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14938 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14939 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14940 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14941 wxMDIParentFrame
*result
;
14942 bool temp3
= false ;
14945 bool temp7
= false ;
14946 PyObject
* obj0
= 0 ;
14947 PyObject
* obj1
= 0 ;
14948 PyObject
* obj2
= 0 ;
14949 PyObject
* obj3
= 0 ;
14950 PyObject
* obj4
= 0 ;
14951 PyObject
* obj5
= 0 ;
14952 PyObject
* obj6
= 0 ;
14953 char *kwnames
[] = {
14954 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14961 arg2
= (int)SWIG_As_int(obj1
);
14962 if (PyErr_Occurred()) SWIG_fail
;
14966 arg3
= wxString_in_helper(obj2
);
14967 if (arg3
== NULL
) SWIG_fail
;
14974 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14980 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14984 arg6
= (long)SWIG_As_long(obj5
);
14985 if (PyErr_Occurred()) SWIG_fail
;
14989 arg7
= wxString_in_helper(obj6
);
14990 if (arg7
== NULL
) SWIG_fail
;
14995 if (!wxPyCheckForApp()) SWIG_fail
;
14996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14997 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14999 wxPyEndAllowThreads(__tstate
);
15000 if (PyErr_Occurred()) SWIG_fail
;
15002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
15025 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15026 PyObject
*resultobj
;
15027 wxMDIParentFrame
*result
;
15028 char *kwnames
[] = {
15032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
15034 if (!wxPyCheckForApp()) SWIG_fail
;
15035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15036 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
15038 wxPyEndAllowThreads(__tstate
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
15048 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15049 PyObject
*resultobj
;
15050 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15051 wxWindow
*arg2
= (wxWindow
*) 0 ;
15052 int arg3
= (int) (int)-1 ;
15053 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15054 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15055 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15056 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15057 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15058 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15059 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
15060 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15061 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15063 bool temp4
= false ;
15066 bool temp8
= false ;
15067 PyObject
* obj0
= 0 ;
15068 PyObject
* obj1
= 0 ;
15069 PyObject
* obj2
= 0 ;
15070 PyObject
* obj3
= 0 ;
15071 PyObject
* obj4
= 0 ;
15072 PyObject
* obj5
= 0 ;
15073 PyObject
* obj6
= 0 ;
15074 PyObject
* obj7
= 0 ;
15075 char *kwnames
[] = {
15076 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15085 arg3
= (int)SWIG_As_int(obj2
);
15086 if (PyErr_Occurred()) SWIG_fail
;
15090 arg4
= wxString_in_helper(obj3
);
15091 if (arg4
== NULL
) SWIG_fail
;
15098 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15104 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15108 arg7
= (long)SWIG_As_long(obj6
);
15109 if (PyErr_Occurred()) SWIG_fail
;
15113 arg8
= wxString_in_helper(obj7
);
15114 if (arg8
== NULL
) SWIG_fail
;
15119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15120 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15122 wxPyEndAllowThreads(__tstate
);
15123 if (PyErr_Occurred()) SWIG_fail
;
15126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15150 static PyObject
*_wrap_MDIParentFrame_ActivateNext(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_ActivateNext",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
)->ActivateNext();
15165 wxPyEndAllowThreads(__tstate
);
15166 if (PyErr_Occurred()) SWIG_fail
;
15168 Py_INCREF(Py_None
); resultobj
= Py_None
;
15175 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(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_ActivatePrevious",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();
15188 (arg1
)->ActivatePrevious();
15190 wxPyEndAllowThreads(__tstate
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15193 Py_INCREF(Py_None
); resultobj
= Py_None
;
15200 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15201 PyObject
*resultobj
;
15202 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15203 PyObject
* obj0
= 0 ;
15204 char *kwnames
[] = {
15205 (char *) "self", NULL
15208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
15209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15213 (arg1
)->ArrangeIcons();
15215 wxPyEndAllowThreads(__tstate
);
15216 if (PyErr_Occurred()) SWIG_fail
;
15218 Py_INCREF(Py_None
); resultobj
= Py_None
;
15225 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15226 PyObject
*resultobj
;
15227 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15228 PyObject
* obj0
= 0 ;
15229 char *kwnames
[] = {
15230 (char *) "self", NULL
15233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
15234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15240 wxPyEndAllowThreads(__tstate
);
15241 if (PyErr_Occurred()) SWIG_fail
;
15243 Py_INCREF(Py_None
); resultobj
= Py_None
;
15250 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15251 PyObject
*resultobj
;
15252 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15253 wxMDIChildFrame
*result
;
15254 PyObject
* obj0
= 0 ;
15255 char *kwnames
[] = {
15256 (char *) "self", NULL
15259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
15260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
15266 wxPyEndAllowThreads(__tstate
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15270 resultobj
= wxPyMake_wxObject(result
, 0);
15278 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15279 PyObject
*resultobj
;
15280 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15281 wxMDIClientWindow
*result
;
15282 PyObject
* obj0
= 0 ;
15283 char *kwnames
[] = {
15284 (char *) "self", NULL
15287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
15288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15292 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
15294 wxPyEndAllowThreads(__tstate
);
15295 if (PyErr_Occurred()) SWIG_fail
;
15298 resultobj
= wxPyMake_wxObject(result
, 0);
15306 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15307 PyObject
*resultobj
;
15308 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15310 PyObject
* obj0
= 0 ;
15311 char *kwnames
[] = {
15312 (char *) "self", NULL
15315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
15316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15320 result
= (wxWindow
*)(arg1
)->GetToolBar();
15322 wxPyEndAllowThreads(__tstate
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15326 resultobj
= wxPyMake_wxObject(result
, 0);
15334 static PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15335 PyObject
*resultobj
;
15336 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15338 PyObject
* obj0
= 0 ;
15339 char *kwnames
[] = {
15340 (char *) "self", NULL
15343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames
,&obj0
)) goto fail
;
15344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15348 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
15350 wxPyEndAllowThreads(__tstate
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15354 resultobj
= wxPyMake_wxObject(result
, 0);
15362 static PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15363 PyObject
*resultobj
;
15364 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15365 wxMenu
*arg2
= (wxMenu
*) 0 ;
15366 PyObject
* obj0
= 0 ;
15367 PyObject
* obj1
= 0 ;
15368 char *kwnames
[] = {
15369 (char *) "self",(char *) "menu", NULL
15372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
15373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15375 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
15376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15379 (arg1
)->SetWindowMenu(arg2
);
15381 wxPyEndAllowThreads(__tstate
);
15382 if (PyErr_Occurred()) SWIG_fail
;
15384 Py_INCREF(Py_None
); resultobj
= Py_None
;
15391 static PyObject
*_wrap_MDIParentFrame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15392 PyObject
*resultobj
;
15393 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15394 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
15395 PyObject
* obj0
= 0 ;
15396 PyObject
* obj1
= 0 ;
15397 char *kwnames
[] = {
15398 (char *) "self",(char *) "toolbar", NULL
15401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
15402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
15405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15408 (arg1
)->SetToolBar(arg2
);
15410 wxPyEndAllowThreads(__tstate
);
15411 if (PyErr_Occurred()) SWIG_fail
;
15413 Py_INCREF(Py_None
); resultobj
= Py_None
;
15420 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15421 PyObject
*resultobj
;
15422 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15423 PyObject
* obj0
= 0 ;
15424 char *kwnames
[] = {
15425 (char *) "self", NULL
15428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
15429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15435 wxPyEndAllowThreads(__tstate
);
15436 if (PyErr_Occurred()) SWIG_fail
;
15438 Py_INCREF(Py_None
); resultobj
= Py_None
;
15445 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
15447 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15448 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
15450 return Py_BuildValue((char *)"");
15452 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15453 PyObject
*resultobj
;
15454 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15455 int arg2
= (int) (int)-1 ;
15456 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15457 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15458 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15459 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15460 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15461 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15462 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
15463 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
15464 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15465 wxMDIChildFrame
*result
;
15466 bool temp3
= false ;
15469 bool temp7
= false ;
15470 PyObject
* obj0
= 0 ;
15471 PyObject
* obj1
= 0 ;
15472 PyObject
* obj2
= 0 ;
15473 PyObject
* obj3
= 0 ;
15474 PyObject
* obj4
= 0 ;
15475 PyObject
* obj5
= 0 ;
15476 PyObject
* obj6
= 0 ;
15477 char *kwnames
[] = {
15478 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15485 arg2
= (int)SWIG_As_int(obj1
);
15486 if (PyErr_Occurred()) SWIG_fail
;
15490 arg3
= wxString_in_helper(obj2
);
15491 if (arg3
== NULL
) SWIG_fail
;
15498 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15504 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15508 arg6
= (long)SWIG_As_long(obj5
);
15509 if (PyErr_Occurred()) SWIG_fail
;
15513 arg7
= wxString_in_helper(obj6
);
15514 if (arg7
== NULL
) SWIG_fail
;
15519 if (!wxPyCheckForApp()) SWIG_fail
;
15520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15521 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15523 wxPyEndAllowThreads(__tstate
);
15524 if (PyErr_Occurred()) SWIG_fail
;
15526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15549 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15550 PyObject
*resultobj
;
15551 wxMDIChildFrame
*result
;
15552 char *kwnames
[] = {
15556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
15558 if (!wxPyCheckForApp()) SWIG_fail
;
15559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15560 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
15562 wxPyEndAllowThreads(__tstate
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15572 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15573 PyObject
*resultobj
;
15574 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15575 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15576 int arg3
= (int) (int)-1 ;
15577 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15578 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15579 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15580 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15581 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15582 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15583 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
15584 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15585 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15587 bool temp4
= false ;
15590 bool temp8
= false ;
15591 PyObject
* obj0
= 0 ;
15592 PyObject
* obj1
= 0 ;
15593 PyObject
* obj2
= 0 ;
15594 PyObject
* obj3
= 0 ;
15595 PyObject
* obj4
= 0 ;
15596 PyObject
* obj5
= 0 ;
15597 PyObject
* obj6
= 0 ;
15598 PyObject
* obj7
= 0 ;
15599 char *kwnames
[] = {
15600 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15609 arg3
= (int)SWIG_As_int(obj2
);
15610 if (PyErr_Occurred()) SWIG_fail
;
15614 arg4
= wxString_in_helper(obj3
);
15615 if (arg4
== NULL
) SWIG_fail
;
15622 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15628 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15632 arg7
= (long)SWIG_As_long(obj6
);
15633 if (PyErr_Occurred()) SWIG_fail
;
15637 arg8
= wxString_in_helper(obj7
);
15638 if (arg8
== NULL
) SWIG_fail
;
15643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15644 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15646 wxPyEndAllowThreads(__tstate
);
15647 if (PyErr_Occurred()) SWIG_fail
;
15650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15674 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15675 PyObject
*resultobj
;
15676 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15677 PyObject
* obj0
= 0 ;
15678 char *kwnames
[] = {
15679 (char *) "self", NULL
15682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15687 (arg1
)->Activate();
15689 wxPyEndAllowThreads(__tstate
);
15690 if (PyErr_Occurred()) SWIG_fail
;
15692 Py_INCREF(Py_None
); resultobj
= Py_None
;
15699 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15700 PyObject
*resultobj
;
15701 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15703 PyObject
* obj0
= 0 ;
15704 PyObject
* obj1
= 0 ;
15705 char *kwnames
[] = {
15706 (char *) "self",(char *) "maximize", NULL
15709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15712 arg2
= (bool)SWIG_As_bool(obj1
);
15713 if (PyErr_Occurred()) SWIG_fail
;
15715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15716 (arg1
)->Maximize(arg2
);
15718 wxPyEndAllowThreads(__tstate
);
15719 if (PyErr_Occurred()) SWIG_fail
;
15721 Py_INCREF(Py_None
); resultobj
= Py_None
;
15728 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15729 PyObject
*resultobj
;
15730 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15731 PyObject
* obj0
= 0 ;
15732 char *kwnames
[] = {
15733 (char *) "self", NULL
15736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15743 wxPyEndAllowThreads(__tstate
);
15744 if (PyErr_Occurred()) SWIG_fail
;
15746 Py_INCREF(Py_None
); resultobj
= Py_None
;
15753 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
15755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15756 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15758 return Py_BuildValue((char *)"");
15760 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15761 PyObject
*resultobj
;
15762 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15763 long arg2
= (long) 0 ;
15764 wxMDIClientWindow
*result
;
15765 PyObject
* obj0
= 0 ;
15766 PyObject
* obj1
= 0 ;
15767 char *kwnames
[] = {
15768 (char *) "parent",(char *) "style", NULL
15771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15775 arg2
= (long)SWIG_As_long(obj1
);
15776 if (PyErr_Occurred()) SWIG_fail
;
15779 if (!wxPyCheckForApp()) SWIG_fail
;
15780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15781 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15783 wxPyEndAllowThreads(__tstate
);
15784 if (PyErr_Occurred()) SWIG_fail
;
15786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15793 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15794 PyObject
*resultobj
;
15795 wxMDIClientWindow
*result
;
15796 char *kwnames
[] = {
15800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15802 if (!wxPyCheckForApp()) SWIG_fail
;
15803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15804 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15806 wxPyEndAllowThreads(__tstate
);
15807 if (PyErr_Occurred()) SWIG_fail
;
15809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15816 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15817 PyObject
*resultobj
;
15818 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15819 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15820 long arg3
= (long) 0 ;
15822 PyObject
* obj0
= 0 ;
15823 PyObject
* obj1
= 0 ;
15824 PyObject
* obj2
= 0 ;
15825 char *kwnames
[] = {
15826 (char *) "self",(char *) "parent",(char *) "style", NULL
15829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15832 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15835 arg3
= (long)SWIG_As_long(obj2
);
15836 if (PyErr_Occurred()) SWIG_fail
;
15839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15840 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15842 wxPyEndAllowThreads(__tstate
);
15843 if (PyErr_Occurred()) SWIG_fail
;
15846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15854 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
15856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15857 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15859 return Py_BuildValue((char *)"");
15861 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15862 PyObject
*resultobj
;
15863 wxWindow
*arg1
= (wxWindow
*) 0 ;
15864 int arg2
= (int) (int)-1 ;
15865 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15866 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15867 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15868 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15869 long arg5
= (long) 0 ;
15870 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15871 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15872 wxPyWindow
*result
;
15875 bool temp6
= false ;
15876 PyObject
* obj0
= 0 ;
15877 PyObject
* obj1
= 0 ;
15878 PyObject
* obj2
= 0 ;
15879 PyObject
* obj3
= 0 ;
15880 PyObject
* obj4
= 0 ;
15881 PyObject
* obj5
= 0 ;
15882 char *kwnames
[] = {
15883 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15890 arg2
= (int)SWIG_As_int(obj1
);
15891 if (PyErr_Occurred()) SWIG_fail
;
15896 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15902 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15906 arg5
= (long)SWIG_As_long(obj4
);
15907 if (PyErr_Occurred()) SWIG_fail
;
15911 arg6
= wxString_in_helper(obj5
);
15912 if (arg6
== NULL
) SWIG_fail
;
15917 if (!wxPyCheckForApp()) SWIG_fail
;
15918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15919 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15921 wxPyEndAllowThreads(__tstate
);
15922 if (PyErr_Occurred()) SWIG_fail
;
15924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15939 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15940 PyObject
*resultobj
;
15941 wxPyWindow
*result
;
15942 char *kwnames
[] = {
15946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15948 if (!wxPyCheckForApp()) SWIG_fail
;
15949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15950 result
= (wxPyWindow
*)new wxPyWindow();
15952 wxPyEndAllowThreads(__tstate
);
15953 if (PyErr_Occurred()) SWIG_fail
;
15955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15962 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15963 PyObject
*resultobj
;
15964 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15965 PyObject
*arg2
= (PyObject
*) 0 ;
15966 PyObject
*arg3
= (PyObject
*) 0 ;
15967 PyObject
* obj0
= 0 ;
15968 PyObject
* obj1
= 0 ;
15969 PyObject
* obj2
= 0 ;
15970 char *kwnames
[] = {
15971 (char *) "self",(char *) "self",(char *) "_class", NULL
15974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15981 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15983 wxPyEndAllowThreads(__tstate
);
15984 if (PyErr_Occurred()) SWIG_fail
;
15986 Py_INCREF(Py_None
); resultobj
= Py_None
;
15993 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15994 PyObject
*resultobj
;
15995 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15998 PyObject
* obj0
= 0 ;
15999 PyObject
* obj1
= 0 ;
16000 char *kwnames
[] = {
16001 (char *) "self",(char *) "size", NULL
16004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16009 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16013 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16015 wxPyEndAllowThreads(__tstate
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16018 Py_INCREF(Py_None
); resultobj
= Py_None
;
16025 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16026 PyObject
*resultobj
;
16027 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16032 PyObject
* obj0
= 0 ;
16033 PyObject
* obj1
= 0 ;
16034 PyObject
* obj2
= 0 ;
16035 PyObject
* obj3
= 0 ;
16036 PyObject
* obj4
= 0 ;
16037 char *kwnames
[] = {
16038 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16044 arg2
= (int)SWIG_As_int(obj1
);
16045 if (PyErr_Occurred()) SWIG_fail
;
16046 arg3
= (int)SWIG_As_int(obj2
);
16047 if (PyErr_Occurred()) SWIG_fail
;
16048 arg4
= (int)SWIG_As_int(obj3
);
16049 if (PyErr_Occurred()) SWIG_fail
;
16050 arg5
= (int)SWIG_As_int(obj4
);
16051 if (PyErr_Occurred()) SWIG_fail
;
16053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16054 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16056 wxPyEndAllowThreads(__tstate
);
16057 if (PyErr_Occurred()) SWIG_fail
;
16059 Py_INCREF(Py_None
); resultobj
= Py_None
;
16066 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16067 PyObject
*resultobj
;
16068 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16073 int arg6
= (int) wxSIZE_AUTO
;
16074 PyObject
* obj0
= 0 ;
16075 PyObject
* obj1
= 0 ;
16076 PyObject
* obj2
= 0 ;
16077 PyObject
* obj3
= 0 ;
16078 PyObject
* obj4
= 0 ;
16079 PyObject
* obj5
= 0 ;
16080 char *kwnames
[] = {
16081 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16087 arg2
= (int)SWIG_As_int(obj1
);
16088 if (PyErr_Occurred()) SWIG_fail
;
16089 arg3
= (int)SWIG_As_int(obj2
);
16090 if (PyErr_Occurred()) SWIG_fail
;
16091 arg4
= (int)SWIG_As_int(obj3
);
16092 if (PyErr_Occurred()) SWIG_fail
;
16093 arg5
= (int)SWIG_As_int(obj4
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16096 arg6
= (int)SWIG_As_int(obj5
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16101 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16103 wxPyEndAllowThreads(__tstate
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16106 Py_INCREF(Py_None
); resultobj
= Py_None
;
16113 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16114 PyObject
*resultobj
;
16115 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16118 PyObject
* obj0
= 0 ;
16119 PyObject
* obj1
= 0 ;
16120 PyObject
* obj2
= 0 ;
16121 char *kwnames
[] = {
16122 (char *) "self",(char *) "width",(char *) "height", NULL
16125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16128 arg2
= (int)SWIG_As_int(obj1
);
16129 if (PyErr_Occurred()) SWIG_fail
;
16130 arg3
= (int)SWIG_As_int(obj2
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16134 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16136 wxPyEndAllowThreads(__tstate
);
16137 if (PyErr_Occurred()) SWIG_fail
;
16139 Py_INCREF(Py_None
); resultobj
= Py_None
;
16146 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16147 PyObject
*resultobj
;
16148 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16151 PyObject
* obj0
= 0 ;
16152 PyObject
* obj1
= 0 ;
16153 PyObject
* obj2
= 0 ;
16154 char *kwnames
[] = {
16155 (char *) "self",(char *) "x",(char *) "y", NULL
16158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16161 arg2
= (int)SWIG_As_int(obj1
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16163 arg3
= (int)SWIG_As_int(obj2
);
16164 if (PyErr_Occurred()) SWIG_fail
;
16166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16167 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16169 wxPyEndAllowThreads(__tstate
);
16170 if (PyErr_Occurred()) SWIG_fail
;
16172 Py_INCREF(Py_None
); resultobj
= Py_None
;
16179 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16180 PyObject
*resultobj
;
16181 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16182 int *arg2
= (int *) 0 ;
16183 int *arg3
= (int *) 0 ;
16188 PyObject
* obj0
= 0 ;
16189 char *kwnames
[] = {
16190 (char *) "self", NULL
16193 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16194 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16200 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16202 wxPyEndAllowThreads(__tstate
);
16203 if (PyErr_Occurred()) SWIG_fail
;
16205 Py_INCREF(Py_None
); resultobj
= Py_None
;
16206 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16207 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16208 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16209 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16216 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16217 PyObject
*resultobj
;
16218 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16219 int *arg2
= (int *) 0 ;
16220 int *arg3
= (int *) 0 ;
16225 PyObject
* obj0
= 0 ;
16226 char *kwnames
[] = {
16227 (char *) "self", NULL
16230 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16231 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16237 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16239 wxPyEndAllowThreads(__tstate
);
16240 if (PyErr_Occurred()) SWIG_fail
;
16242 Py_INCREF(Py_None
); resultobj
= Py_None
;
16243 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16244 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16245 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16246 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16253 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16254 PyObject
*resultobj
;
16255 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16256 int *arg2
= (int *) 0 ;
16257 int *arg3
= (int *) 0 ;
16262 PyObject
* obj0
= 0 ;
16263 char *kwnames
[] = {
16264 (char *) "self", NULL
16267 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16268 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16274 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16276 wxPyEndAllowThreads(__tstate
);
16277 if (PyErr_Occurred()) SWIG_fail
;
16279 Py_INCREF(Py_None
); resultobj
= Py_None
;
16280 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16281 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16282 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16283 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16290 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16291 PyObject
*resultobj
;
16292 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16294 PyObject
* obj0
= 0 ;
16295 char *kwnames
[] = {
16296 (char *) "self", NULL
16299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16304 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
16306 wxPyEndAllowThreads(__tstate
);
16307 if (PyErr_Occurred()) SWIG_fail
;
16310 wxSize
* resultptr
;
16311 resultptr
= new wxSize((wxSize
&) result
);
16312 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16320 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16321 PyObject
*resultobj
;
16322 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16324 PyObject
* obj0
= 0 ;
16325 char *kwnames
[] = {
16326 (char *) "self", NULL
16329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16334 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
16336 wxPyEndAllowThreads(__tstate
);
16337 if (PyErr_Occurred()) SWIG_fail
;
16340 wxSize
* resultptr
;
16341 resultptr
= new wxSize((wxSize
&) result
);
16342 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16350 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16351 PyObject
*resultobj
;
16352 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16353 PyObject
* obj0
= 0 ;
16354 char *kwnames
[] = {
16355 (char *) "self", NULL
16358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16363 (arg1
)->base_InitDialog();
16365 wxPyEndAllowThreads(__tstate
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16368 Py_INCREF(Py_None
); resultobj
= Py_None
;
16375 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16376 PyObject
*resultobj
;
16377 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16379 PyObject
* obj0
= 0 ;
16380 char *kwnames
[] = {
16381 (char *) "self", NULL
16384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16389 result
= (bool)(arg1
)->base_TransferDataToWindow();
16391 wxPyEndAllowThreads(__tstate
);
16392 if (PyErr_Occurred()) SWIG_fail
;
16395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16403 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16404 PyObject
*resultobj
;
16405 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16407 PyObject
* obj0
= 0 ;
16408 char *kwnames
[] = {
16409 (char *) "self", NULL
16412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16417 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16419 wxPyEndAllowThreads(__tstate
);
16420 if (PyErr_Occurred()) SWIG_fail
;
16423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16431 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16432 PyObject
*resultobj
;
16433 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16435 PyObject
* obj0
= 0 ;
16436 char *kwnames
[] = {
16437 (char *) "self", NULL
16440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
16441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16445 result
= (bool)(arg1
)->base_Validate();
16447 wxPyEndAllowThreads(__tstate
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16459 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16460 PyObject
*resultobj
;
16461 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16463 PyObject
* obj0
= 0 ;
16464 char *kwnames
[] = {
16465 (char *) "self", NULL
16468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16473 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
16475 wxPyEndAllowThreads(__tstate
);
16476 if (PyErr_Occurred()) SWIG_fail
;
16479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16487 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16488 PyObject
*resultobj
;
16489 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16491 PyObject
* obj0
= 0 ;
16492 char *kwnames
[] = {
16493 (char *) "self", NULL
16496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16501 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16503 wxPyEndAllowThreads(__tstate
);
16504 if (PyErr_Occurred()) SWIG_fail
;
16507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16515 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16516 PyObject
*resultobj
;
16517 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16519 PyObject
* obj0
= 0 ;
16520 char *kwnames
[] = {
16521 (char *) "self", NULL
16524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16529 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
16531 wxPyEndAllowThreads(__tstate
);
16532 if (PyErr_Occurred()) SWIG_fail
;
16535 wxSize
* resultptr
;
16536 resultptr
= new wxSize((wxSize
&) result
);
16537 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16545 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16546 PyObject
*resultobj
;
16547 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16548 wxWindow
*arg2
= (wxWindow
*) 0 ;
16549 PyObject
* obj0
= 0 ;
16550 PyObject
* obj1
= 0 ;
16551 char *kwnames
[] = {
16552 (char *) "self",(char *) "child", NULL
16555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16562 (arg1
)->base_AddChild(arg2
);
16564 wxPyEndAllowThreads(__tstate
);
16565 if (PyErr_Occurred()) SWIG_fail
;
16567 Py_INCREF(Py_None
); resultobj
= Py_None
;
16574 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16575 PyObject
*resultobj
;
16576 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16577 wxWindow
*arg2
= (wxWindow
*) 0 ;
16578 PyObject
* obj0
= 0 ;
16579 PyObject
* obj1
= 0 ;
16580 char *kwnames
[] = {
16581 (char *) "self",(char *) "child", NULL
16584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16591 (arg1
)->base_RemoveChild(arg2
);
16593 wxPyEndAllowThreads(__tstate
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16596 Py_INCREF(Py_None
); resultobj
= Py_None
;
16603 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16607 PyObject
* obj0
= 0 ;
16608 char *kwnames
[] = {
16609 (char *) "self", NULL
16612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16617 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
16619 wxPyEndAllowThreads(__tstate
);
16620 if (PyErr_Occurred()) SWIG_fail
;
16623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16631 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16632 PyObject
*resultobj
;
16633 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16634 wxColour
*arg2
= 0 ;
16636 PyObject
* obj0
= 0 ;
16637 PyObject
* obj1
= 0 ;
16638 char *kwnames
[] = {
16639 (char *) "self",(char *) "c", NULL
16642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16647 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16651 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16653 wxPyEndAllowThreads(__tstate
);
16654 if (PyErr_Occurred()) SWIG_fail
;
16656 Py_INCREF(Py_None
); resultobj
= Py_None
;
16663 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16664 PyObject
*resultobj
;
16665 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16666 wxVisualAttributes result
;
16667 PyObject
* obj0
= 0 ;
16668 char *kwnames
[] = {
16669 (char *) "self", NULL
16672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16677 result
= (arg1
)->base_GetDefaultAttributes();
16679 wxPyEndAllowThreads(__tstate
);
16680 if (PyErr_Occurred()) SWIG_fail
;
16683 wxVisualAttributes
* resultptr
;
16684 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16685 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16693 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
16695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16696 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16698 return Py_BuildValue((char *)"");
16700 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16701 PyObject
*resultobj
;
16702 wxWindow
*arg1
= (wxWindow
*) 0 ;
16703 int arg2
= (int) (int)-1 ;
16704 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16705 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16706 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16707 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16708 long arg5
= (long) 0 ;
16709 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16710 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16714 bool temp6
= false ;
16715 PyObject
* obj0
= 0 ;
16716 PyObject
* obj1
= 0 ;
16717 PyObject
* obj2
= 0 ;
16718 PyObject
* obj3
= 0 ;
16719 PyObject
* obj4
= 0 ;
16720 PyObject
* obj5
= 0 ;
16721 char *kwnames
[] = {
16722 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16729 arg2
= (int)SWIG_As_int(obj1
);
16730 if (PyErr_Occurred()) SWIG_fail
;
16735 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16741 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16745 arg5
= (long)SWIG_As_long(obj4
);
16746 if (PyErr_Occurred()) SWIG_fail
;
16750 arg6
= wxString_in_helper(obj5
);
16751 if (arg6
== NULL
) SWIG_fail
;
16756 if (!wxPyCheckForApp()) SWIG_fail
;
16757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16758 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16760 wxPyEndAllowThreads(__tstate
);
16761 if (PyErr_Occurred()) SWIG_fail
;
16763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16778 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16779 PyObject
*resultobj
;
16781 char *kwnames
[] = {
16785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16787 if (!wxPyCheckForApp()) SWIG_fail
;
16788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16789 result
= (wxPyPanel
*)new wxPyPanel();
16791 wxPyEndAllowThreads(__tstate
);
16792 if (PyErr_Occurred()) SWIG_fail
;
16794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16801 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16802 PyObject
*resultobj
;
16803 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16804 PyObject
*arg2
= (PyObject
*) 0 ;
16805 PyObject
*arg3
= (PyObject
*) 0 ;
16806 PyObject
* obj0
= 0 ;
16807 PyObject
* obj1
= 0 ;
16808 PyObject
* obj2
= 0 ;
16809 char *kwnames
[] = {
16810 (char *) "self",(char *) "self",(char *) "_class", NULL
16813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16820 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16822 wxPyEndAllowThreads(__tstate
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16825 Py_INCREF(Py_None
); resultobj
= Py_None
;
16832 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16833 PyObject
*resultobj
;
16834 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16837 PyObject
* obj0
= 0 ;
16838 PyObject
* obj1
= 0 ;
16839 char *kwnames
[] = {
16840 (char *) "self",(char *) "size", NULL
16843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16848 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16852 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16854 wxPyEndAllowThreads(__tstate
);
16855 if (PyErr_Occurred()) SWIG_fail
;
16857 Py_INCREF(Py_None
); resultobj
= Py_None
;
16864 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16865 PyObject
*resultobj
;
16866 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16871 PyObject
* obj0
= 0 ;
16872 PyObject
* obj1
= 0 ;
16873 PyObject
* obj2
= 0 ;
16874 PyObject
* obj3
= 0 ;
16875 PyObject
* obj4
= 0 ;
16876 char *kwnames
[] = {
16877 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16883 arg2
= (int)SWIG_As_int(obj1
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16885 arg3
= (int)SWIG_As_int(obj2
);
16886 if (PyErr_Occurred()) SWIG_fail
;
16887 arg4
= (int)SWIG_As_int(obj3
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16889 arg5
= (int)SWIG_As_int(obj4
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16893 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16895 wxPyEndAllowThreads(__tstate
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16898 Py_INCREF(Py_None
); resultobj
= Py_None
;
16905 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16906 PyObject
*resultobj
;
16907 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16912 int arg6
= (int) wxSIZE_AUTO
;
16913 PyObject
* obj0
= 0 ;
16914 PyObject
* obj1
= 0 ;
16915 PyObject
* obj2
= 0 ;
16916 PyObject
* obj3
= 0 ;
16917 PyObject
* obj4
= 0 ;
16918 PyObject
* obj5
= 0 ;
16919 char *kwnames
[] = {
16920 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16926 arg2
= (int)SWIG_As_int(obj1
);
16927 if (PyErr_Occurred()) SWIG_fail
;
16928 arg3
= (int)SWIG_As_int(obj2
);
16929 if (PyErr_Occurred()) SWIG_fail
;
16930 arg4
= (int)SWIG_As_int(obj3
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16932 arg5
= (int)SWIG_As_int(obj4
);
16933 if (PyErr_Occurred()) SWIG_fail
;
16935 arg6
= (int)SWIG_As_int(obj5
);
16936 if (PyErr_Occurred()) SWIG_fail
;
16939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16940 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16942 wxPyEndAllowThreads(__tstate
);
16943 if (PyErr_Occurred()) SWIG_fail
;
16945 Py_INCREF(Py_None
); resultobj
= Py_None
;
16952 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16953 PyObject
*resultobj
;
16954 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16957 PyObject
* obj0
= 0 ;
16958 PyObject
* obj1
= 0 ;
16959 PyObject
* obj2
= 0 ;
16960 char *kwnames
[] = {
16961 (char *) "self",(char *) "width",(char *) "height", NULL
16964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16967 arg2
= (int)SWIG_As_int(obj1
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16969 arg3
= (int)SWIG_As_int(obj2
);
16970 if (PyErr_Occurred()) SWIG_fail
;
16972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16973 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16975 wxPyEndAllowThreads(__tstate
);
16976 if (PyErr_Occurred()) SWIG_fail
;
16978 Py_INCREF(Py_None
); resultobj
= Py_None
;
16985 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16986 PyObject
*resultobj
;
16987 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16990 PyObject
* obj0
= 0 ;
16991 PyObject
* obj1
= 0 ;
16992 PyObject
* obj2
= 0 ;
16993 char *kwnames
[] = {
16994 (char *) "self",(char *) "x",(char *) "y", NULL
16997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17000 arg2
= (int)SWIG_As_int(obj1
);
17001 if (PyErr_Occurred()) SWIG_fail
;
17002 arg3
= (int)SWIG_As_int(obj2
);
17003 if (PyErr_Occurred()) SWIG_fail
;
17005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17006 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17008 wxPyEndAllowThreads(__tstate
);
17009 if (PyErr_Occurred()) SWIG_fail
;
17011 Py_INCREF(Py_None
); resultobj
= Py_None
;
17018 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17019 PyObject
*resultobj
;
17020 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17021 int *arg2
= (int *) 0 ;
17022 int *arg3
= (int *) 0 ;
17027 PyObject
* obj0
= 0 ;
17028 char *kwnames
[] = {
17029 (char *) "self", NULL
17032 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17033 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17039 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17041 wxPyEndAllowThreads(__tstate
);
17042 if (PyErr_Occurred()) SWIG_fail
;
17044 Py_INCREF(Py_None
); resultobj
= Py_None
;
17045 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17046 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17047 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17048 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17055 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17056 PyObject
*resultobj
;
17057 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17058 int *arg2
= (int *) 0 ;
17059 int *arg3
= (int *) 0 ;
17064 PyObject
* obj0
= 0 ;
17065 char *kwnames
[] = {
17066 (char *) "self", NULL
17069 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17070 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17076 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17078 wxPyEndAllowThreads(__tstate
);
17079 if (PyErr_Occurred()) SWIG_fail
;
17081 Py_INCREF(Py_None
); resultobj
= Py_None
;
17082 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17083 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17084 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17085 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17092 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17093 PyObject
*resultobj
;
17094 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17095 int *arg2
= (int *) 0 ;
17096 int *arg3
= (int *) 0 ;
17101 PyObject
* obj0
= 0 ;
17102 char *kwnames
[] = {
17103 (char *) "self", NULL
17106 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17107 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17113 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17115 wxPyEndAllowThreads(__tstate
);
17116 if (PyErr_Occurred()) SWIG_fail
;
17118 Py_INCREF(Py_None
); resultobj
= Py_None
;
17119 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17120 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17121 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17122 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17129 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17130 PyObject
*resultobj
;
17131 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17133 PyObject
* obj0
= 0 ;
17134 char *kwnames
[] = {
17135 (char *) "self", NULL
17138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17143 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
17145 wxPyEndAllowThreads(__tstate
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17149 wxSize
* resultptr
;
17150 resultptr
= new wxSize((wxSize
&) result
);
17151 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17159 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17160 PyObject
*resultobj
;
17161 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17163 PyObject
* obj0
= 0 ;
17164 char *kwnames
[] = {
17165 (char *) "self", NULL
17168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17173 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
17175 wxPyEndAllowThreads(__tstate
);
17176 if (PyErr_Occurred()) SWIG_fail
;
17179 wxSize
* resultptr
;
17180 resultptr
= new wxSize((wxSize
&) result
);
17181 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17189 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17190 PyObject
*resultobj
;
17191 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17192 PyObject
* obj0
= 0 ;
17193 char *kwnames
[] = {
17194 (char *) "self", NULL
17197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17202 (arg1
)->base_InitDialog();
17204 wxPyEndAllowThreads(__tstate
);
17205 if (PyErr_Occurred()) SWIG_fail
;
17207 Py_INCREF(Py_None
); resultobj
= Py_None
;
17214 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17215 PyObject
*resultobj
;
17216 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17218 PyObject
* obj0
= 0 ;
17219 char *kwnames
[] = {
17220 (char *) "self", NULL
17223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17228 result
= (bool)(arg1
)->base_TransferDataToWindow();
17230 wxPyEndAllowThreads(__tstate
);
17231 if (PyErr_Occurred()) SWIG_fail
;
17234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17242 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17243 PyObject
*resultobj
;
17244 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17246 PyObject
* obj0
= 0 ;
17247 char *kwnames
[] = {
17248 (char *) "self", NULL
17251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17256 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17258 wxPyEndAllowThreads(__tstate
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17270 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17271 PyObject
*resultobj
;
17272 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17274 PyObject
* obj0
= 0 ;
17275 char *kwnames
[] = {
17276 (char *) "self", NULL
17279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
17280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17284 result
= (bool)(arg1
)->base_Validate();
17286 wxPyEndAllowThreads(__tstate
);
17287 if (PyErr_Occurred()) SWIG_fail
;
17290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17298 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17299 PyObject
*resultobj
;
17300 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17302 PyObject
* obj0
= 0 ;
17303 char *kwnames
[] = {
17304 (char *) "self", NULL
17307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17312 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
17314 wxPyEndAllowThreads(__tstate
);
17315 if (PyErr_Occurred()) SWIG_fail
;
17318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17326 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17327 PyObject
*resultobj
;
17328 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17330 PyObject
* obj0
= 0 ;
17331 char *kwnames
[] = {
17332 (char *) "self", NULL
17335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17340 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17342 wxPyEndAllowThreads(__tstate
);
17343 if (PyErr_Occurred()) SWIG_fail
;
17346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17354 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
;
17356 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17358 PyObject
* obj0
= 0 ;
17359 char *kwnames
[] = {
17360 (char *) "self", NULL
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17374 wxSize
* resultptr
;
17375 resultptr
= new wxSize((wxSize
&) result
);
17376 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17384 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17385 PyObject
*resultobj
;
17386 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17387 wxWindow
*arg2
= (wxWindow
*) 0 ;
17388 PyObject
* obj0
= 0 ;
17389 PyObject
* obj1
= 0 ;
17390 char *kwnames
[] = {
17391 (char *) "self",(char *) "child", NULL
17394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17397 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17401 (arg1
)->base_AddChild(arg2
);
17403 wxPyEndAllowThreads(__tstate
);
17404 if (PyErr_Occurred()) SWIG_fail
;
17406 Py_INCREF(Py_None
); resultobj
= Py_None
;
17413 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17414 PyObject
*resultobj
;
17415 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17416 wxWindow
*arg2
= (wxWindow
*) 0 ;
17417 PyObject
* obj0
= 0 ;
17418 PyObject
* obj1
= 0 ;
17419 char *kwnames
[] = {
17420 (char *) "self",(char *) "child", NULL
17423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17426 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17430 (arg1
)->base_RemoveChild(arg2
);
17432 wxPyEndAllowThreads(__tstate
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17435 Py_INCREF(Py_None
); resultobj
= Py_None
;
17442 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17443 PyObject
*resultobj
;
17444 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17446 PyObject
* obj0
= 0 ;
17447 char *kwnames
[] = {
17448 (char *) "self", NULL
17451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17456 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
17458 wxPyEndAllowThreads(__tstate
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17470 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17471 PyObject
*resultobj
;
17472 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17473 wxColour
*arg2
= 0 ;
17475 PyObject
* obj0
= 0 ;
17476 PyObject
* obj1
= 0 ;
17477 char *kwnames
[] = {
17478 (char *) "self",(char *) "c", NULL
17481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17486 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17490 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17492 wxPyEndAllowThreads(__tstate
);
17493 if (PyErr_Occurred()) SWIG_fail
;
17495 Py_INCREF(Py_None
); resultobj
= Py_None
;
17502 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17503 PyObject
*resultobj
;
17504 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17505 wxVisualAttributes result
;
17506 PyObject
* obj0
= 0 ;
17507 char *kwnames
[] = {
17508 (char *) "self", NULL
17511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17516 result
= (arg1
)->base_GetDefaultAttributes();
17518 wxPyEndAllowThreads(__tstate
);
17519 if (PyErr_Occurred()) SWIG_fail
;
17522 wxVisualAttributes
* resultptr
;
17523 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17532 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
17534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17535 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
17537 return Py_BuildValue((char *)"");
17539 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17540 PyObject
*resultobj
;
17541 wxWindow
*arg1
= (wxWindow
*) 0 ;
17542 int arg2
= (int) (int)-1 ;
17543 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17544 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17545 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17546 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17547 long arg5
= (long) 0 ;
17548 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17549 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17550 wxPyScrolledWindow
*result
;
17553 bool temp6
= false ;
17554 PyObject
* obj0
= 0 ;
17555 PyObject
* obj1
= 0 ;
17556 PyObject
* obj2
= 0 ;
17557 PyObject
* obj3
= 0 ;
17558 PyObject
* obj4
= 0 ;
17559 PyObject
* obj5
= 0 ;
17560 char *kwnames
[] = {
17561 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17568 arg2
= (int)SWIG_As_int(obj1
);
17569 if (PyErr_Occurred()) SWIG_fail
;
17574 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17580 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17584 arg5
= (long)SWIG_As_long(obj4
);
17585 if (PyErr_Occurred()) SWIG_fail
;
17589 arg6
= wxString_in_helper(obj5
);
17590 if (arg6
== NULL
) SWIG_fail
;
17595 if (!wxPyCheckForApp()) SWIG_fail
;
17596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17597 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17599 wxPyEndAllowThreads(__tstate
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17617 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17618 PyObject
*resultobj
;
17619 wxPyScrolledWindow
*result
;
17620 char *kwnames
[] = {
17624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
17626 if (!wxPyCheckForApp()) SWIG_fail
;
17627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17628 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
17630 wxPyEndAllowThreads(__tstate
);
17631 if (PyErr_Occurred()) SWIG_fail
;
17633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17640 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17641 PyObject
*resultobj
;
17642 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17643 PyObject
*arg2
= (PyObject
*) 0 ;
17644 PyObject
*arg3
= (PyObject
*) 0 ;
17645 PyObject
* obj0
= 0 ;
17646 PyObject
* obj1
= 0 ;
17647 PyObject
* obj2
= 0 ;
17648 char *kwnames
[] = {
17649 (char *) "self",(char *) "self",(char *) "_class", NULL
17652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17659 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17661 wxPyEndAllowThreads(__tstate
);
17662 if (PyErr_Occurred()) SWIG_fail
;
17664 Py_INCREF(Py_None
); resultobj
= Py_None
;
17671 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17672 PyObject
*resultobj
;
17673 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17676 PyObject
* obj0
= 0 ;
17677 PyObject
* obj1
= 0 ;
17678 char *kwnames
[] = {
17679 (char *) "self",(char *) "size", NULL
17682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17687 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17691 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17693 wxPyEndAllowThreads(__tstate
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17696 Py_INCREF(Py_None
); resultobj
= Py_None
;
17703 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17704 PyObject
*resultobj
;
17705 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17710 PyObject
* obj0
= 0 ;
17711 PyObject
* obj1
= 0 ;
17712 PyObject
* obj2
= 0 ;
17713 PyObject
* obj3
= 0 ;
17714 PyObject
* obj4
= 0 ;
17715 char *kwnames
[] = {
17716 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17722 arg2
= (int)SWIG_As_int(obj1
);
17723 if (PyErr_Occurred()) SWIG_fail
;
17724 arg3
= (int)SWIG_As_int(obj2
);
17725 if (PyErr_Occurred()) SWIG_fail
;
17726 arg4
= (int)SWIG_As_int(obj3
);
17727 if (PyErr_Occurred()) SWIG_fail
;
17728 arg5
= (int)SWIG_As_int(obj4
);
17729 if (PyErr_Occurred()) SWIG_fail
;
17731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17732 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17734 wxPyEndAllowThreads(__tstate
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17737 Py_INCREF(Py_None
); resultobj
= Py_None
;
17744 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17745 PyObject
*resultobj
;
17746 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17751 int arg6
= (int) wxSIZE_AUTO
;
17752 PyObject
* obj0
= 0 ;
17753 PyObject
* obj1
= 0 ;
17754 PyObject
* obj2
= 0 ;
17755 PyObject
* obj3
= 0 ;
17756 PyObject
* obj4
= 0 ;
17757 PyObject
* obj5
= 0 ;
17758 char *kwnames
[] = {
17759 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17765 arg2
= (int)SWIG_As_int(obj1
);
17766 if (PyErr_Occurred()) SWIG_fail
;
17767 arg3
= (int)SWIG_As_int(obj2
);
17768 if (PyErr_Occurred()) SWIG_fail
;
17769 arg4
= (int)SWIG_As_int(obj3
);
17770 if (PyErr_Occurred()) SWIG_fail
;
17771 arg5
= (int)SWIG_As_int(obj4
);
17772 if (PyErr_Occurred()) SWIG_fail
;
17774 arg6
= (int)SWIG_As_int(obj5
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17779 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17781 wxPyEndAllowThreads(__tstate
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17784 Py_INCREF(Py_None
); resultobj
= Py_None
;
17791 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17792 PyObject
*resultobj
;
17793 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17796 PyObject
* obj0
= 0 ;
17797 PyObject
* obj1
= 0 ;
17798 PyObject
* obj2
= 0 ;
17799 char *kwnames
[] = {
17800 (char *) "self",(char *) "width",(char *) "height", NULL
17803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17806 arg2
= (int)SWIG_As_int(obj1
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17808 arg3
= (int)SWIG_As_int(obj2
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17812 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17814 wxPyEndAllowThreads(__tstate
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17817 Py_INCREF(Py_None
); resultobj
= Py_None
;
17824 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17825 PyObject
*resultobj
;
17826 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17829 PyObject
* obj0
= 0 ;
17830 PyObject
* obj1
= 0 ;
17831 PyObject
* obj2
= 0 ;
17832 char *kwnames
[] = {
17833 (char *) "self",(char *) "x",(char *) "y", NULL
17836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17839 arg2
= (int)SWIG_As_int(obj1
);
17840 if (PyErr_Occurred()) SWIG_fail
;
17841 arg3
= (int)SWIG_As_int(obj2
);
17842 if (PyErr_Occurred()) SWIG_fail
;
17844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17845 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17847 wxPyEndAllowThreads(__tstate
);
17848 if (PyErr_Occurred()) SWIG_fail
;
17850 Py_INCREF(Py_None
); resultobj
= Py_None
;
17857 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17858 PyObject
*resultobj
;
17859 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17860 int *arg2
= (int *) 0 ;
17861 int *arg3
= (int *) 0 ;
17866 PyObject
* obj0
= 0 ;
17867 char *kwnames
[] = {
17868 (char *) "self", NULL
17871 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17872 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17878 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17880 wxPyEndAllowThreads(__tstate
);
17881 if (PyErr_Occurred()) SWIG_fail
;
17883 Py_INCREF(Py_None
); resultobj
= Py_None
;
17884 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17885 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17886 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17887 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17894 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17895 PyObject
*resultobj
;
17896 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17897 int *arg2
= (int *) 0 ;
17898 int *arg3
= (int *) 0 ;
17903 PyObject
* obj0
= 0 ;
17904 char *kwnames
[] = {
17905 (char *) "self", NULL
17908 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17909 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17915 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17917 wxPyEndAllowThreads(__tstate
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17920 Py_INCREF(Py_None
); resultobj
= Py_None
;
17921 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17922 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17923 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17924 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17931 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17932 PyObject
*resultobj
;
17933 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17934 int *arg2
= (int *) 0 ;
17935 int *arg3
= (int *) 0 ;
17940 PyObject
* obj0
= 0 ;
17941 char *kwnames
[] = {
17942 (char *) "self", NULL
17945 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17946 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17952 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17954 wxPyEndAllowThreads(__tstate
);
17955 if (PyErr_Occurred()) SWIG_fail
;
17957 Py_INCREF(Py_None
); resultobj
= Py_None
;
17958 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17959 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17960 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17961 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17968 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17969 PyObject
*resultobj
;
17970 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17972 PyObject
* obj0
= 0 ;
17973 char *kwnames
[] = {
17974 (char *) "self", NULL
17977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17982 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17984 wxPyEndAllowThreads(__tstate
);
17985 if (PyErr_Occurred()) SWIG_fail
;
17988 wxSize
* resultptr
;
17989 resultptr
= new wxSize((wxSize
&) result
);
17990 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17998 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17999 PyObject
*resultobj
;
18000 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18002 PyObject
* obj0
= 0 ;
18003 char *kwnames
[] = {
18004 (char *) "self", NULL
18007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18012 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
18014 wxPyEndAllowThreads(__tstate
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18018 wxSize
* resultptr
;
18019 resultptr
= new wxSize((wxSize
&) result
);
18020 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18028 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18029 PyObject
*resultobj
;
18030 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18031 PyObject
* obj0
= 0 ;
18032 char *kwnames
[] = {
18033 (char *) "self", NULL
18036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18041 (arg1
)->base_InitDialog();
18043 wxPyEndAllowThreads(__tstate
);
18044 if (PyErr_Occurred()) SWIG_fail
;
18046 Py_INCREF(Py_None
); resultobj
= Py_None
;
18053 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18054 PyObject
*resultobj
;
18055 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18057 PyObject
* obj0
= 0 ;
18058 char *kwnames
[] = {
18059 (char *) "self", NULL
18062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18067 result
= (bool)(arg1
)->base_TransferDataToWindow();
18069 wxPyEndAllowThreads(__tstate
);
18070 if (PyErr_Occurred()) SWIG_fail
;
18073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18081 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18082 PyObject
*resultobj
;
18083 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18085 PyObject
* obj0
= 0 ;
18086 char *kwnames
[] = {
18087 (char *) "self", NULL
18090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18095 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18097 wxPyEndAllowThreads(__tstate
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18109 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18110 PyObject
*resultobj
;
18111 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18113 PyObject
* obj0
= 0 ;
18114 char *kwnames
[] = {
18115 (char *) "self", NULL
18118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
18119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18123 result
= (bool)(arg1
)->base_Validate();
18125 wxPyEndAllowThreads(__tstate
);
18126 if (PyErr_Occurred()) SWIG_fail
;
18129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18137 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18138 PyObject
*resultobj
;
18139 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18141 PyObject
* obj0
= 0 ;
18142 char *kwnames
[] = {
18143 (char *) "self", NULL
18146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18151 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
18153 wxPyEndAllowThreads(__tstate
);
18154 if (PyErr_Occurred()) SWIG_fail
;
18157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18165 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18166 PyObject
*resultobj
;
18167 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18169 PyObject
* obj0
= 0 ;
18170 char *kwnames
[] = {
18171 (char *) "self", NULL
18174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18179 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18181 wxPyEndAllowThreads(__tstate
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18193 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18194 PyObject
*resultobj
;
18195 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18197 PyObject
* obj0
= 0 ;
18198 char *kwnames
[] = {
18199 (char *) "self", NULL
18202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18207 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
18209 wxPyEndAllowThreads(__tstate
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18213 wxSize
* resultptr
;
18214 resultptr
= new wxSize((wxSize
&) result
);
18215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18223 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18224 PyObject
*resultobj
;
18225 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18226 wxWindow
*arg2
= (wxWindow
*) 0 ;
18227 PyObject
* obj0
= 0 ;
18228 PyObject
* obj1
= 0 ;
18229 char *kwnames
[] = {
18230 (char *) "self",(char *) "child", NULL
18233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18236 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18240 (arg1
)->base_AddChild(arg2
);
18242 wxPyEndAllowThreads(__tstate
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18245 Py_INCREF(Py_None
); resultobj
= Py_None
;
18252 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18253 PyObject
*resultobj
;
18254 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18255 wxWindow
*arg2
= (wxWindow
*) 0 ;
18256 PyObject
* obj0
= 0 ;
18257 PyObject
* obj1
= 0 ;
18258 char *kwnames
[] = {
18259 (char *) "self",(char *) "child", NULL
18262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18265 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18269 (arg1
)->base_RemoveChild(arg2
);
18271 wxPyEndAllowThreads(__tstate
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18274 Py_INCREF(Py_None
); resultobj
= Py_None
;
18281 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18282 PyObject
*resultobj
;
18283 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18285 PyObject
* obj0
= 0 ;
18286 char *kwnames
[] = {
18287 (char *) "self", NULL
18290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18295 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
18297 wxPyEndAllowThreads(__tstate
);
18298 if (PyErr_Occurred()) SWIG_fail
;
18301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18309 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18310 PyObject
*resultobj
;
18311 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18312 wxColour
*arg2
= 0 ;
18314 PyObject
* obj0
= 0 ;
18315 PyObject
* obj1
= 0 ;
18316 char *kwnames
[] = {
18317 (char *) "self",(char *) "c", NULL
18320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18325 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18329 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
18331 wxPyEndAllowThreads(__tstate
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18334 Py_INCREF(Py_None
); resultobj
= Py_None
;
18341 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18342 PyObject
*resultobj
;
18343 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18344 wxVisualAttributes result
;
18345 PyObject
* obj0
= 0 ;
18346 char *kwnames
[] = {
18347 (char *) "self", NULL
18350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18355 result
= (arg1
)->base_GetDefaultAttributes();
18357 wxPyEndAllowThreads(__tstate
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18361 wxVisualAttributes
* resultptr
;
18362 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18363 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18371 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
18373 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18374 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
18376 return Py_BuildValue((char *)"");
18378 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
18379 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
18384 static PyObject
*_wrap_PrintoutTitleStr_get() {
18389 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18391 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18398 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
18399 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
18404 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
18409 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18411 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18418 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
18419 PyObject
*resultobj
;
18420 wxPrintData
*result
;
18422 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
18424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18425 result
= (wxPrintData
*)new wxPrintData();
18427 wxPyEndAllowThreads(__tstate
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18437 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
18438 PyObject
*resultobj
;
18439 wxPrintData
*arg1
= 0 ;
18440 wxPrintData
*result
;
18441 PyObject
* obj0
= 0 ;
18443 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
18444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18445 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18447 if (arg1
== NULL
) {
18448 PyErr_SetString(PyExc_TypeError
,"null reference");
18452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18453 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
18455 wxPyEndAllowThreads(__tstate
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18465 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
18470 argc
= PyObject_Length(args
);
18471 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
18472 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18475 return _wrap_new_PrintData__SWIG_0(self
,args
);
18481 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
18489 return _wrap_new_PrintData__SWIG_1(self
,args
);
18493 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintData'");
18498 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18499 PyObject
*resultobj
;
18500 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18501 PyObject
* obj0
= 0 ;
18502 char *kwnames
[] = {
18503 (char *) "self", NULL
18506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
18507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18513 wxPyEndAllowThreads(__tstate
);
18514 if (PyErr_Occurred()) SWIG_fail
;
18516 Py_INCREF(Py_None
); resultobj
= Py_None
;
18523 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18524 PyObject
*resultobj
;
18525 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18527 PyObject
* obj0
= 0 ;
18528 char *kwnames
[] = {
18529 (char *) "self", NULL
18532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18537 result
= (int)(arg1
)->GetNoCopies();
18539 wxPyEndAllowThreads(__tstate
);
18540 if (PyErr_Occurred()) SWIG_fail
;
18542 resultobj
= SWIG_From_int((int)result
);
18549 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18550 PyObject
*resultobj
;
18551 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18553 PyObject
* obj0
= 0 ;
18554 char *kwnames
[] = {
18555 (char *) "self", NULL
18558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
18559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18563 result
= (bool)(arg1
)->GetCollate();
18565 wxPyEndAllowThreads(__tstate
);
18566 if (PyErr_Occurred()) SWIG_fail
;
18569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18577 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18578 PyObject
*resultobj
;
18579 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18581 PyObject
* obj0
= 0 ;
18582 char *kwnames
[] = {
18583 (char *) "self", NULL
18586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
18587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18591 result
= (int)(arg1
)->GetOrientation();
18593 wxPyEndAllowThreads(__tstate
);
18594 if (PyErr_Occurred()) SWIG_fail
;
18596 resultobj
= SWIG_From_int((int)result
);
18603 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18604 PyObject
*resultobj
;
18605 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18607 PyObject
* obj0
= 0 ;
18608 char *kwnames
[] = {
18609 (char *) "self", NULL
18612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
18613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18617 result
= (bool)(arg1
)->Ok();
18619 wxPyEndAllowThreads(__tstate
);
18620 if (PyErr_Occurred()) SWIG_fail
;
18623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18631 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18632 PyObject
*resultobj
;
18633 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18635 PyObject
* obj0
= 0 ;
18636 char *kwnames
[] = {
18637 (char *) "self", NULL
18640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18646 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18647 result
= (wxString
*) &_result_ref
;
18650 wxPyEndAllowThreads(__tstate
);
18651 if (PyErr_Occurred()) SWIG_fail
;
18655 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18657 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18666 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18667 PyObject
*resultobj
;
18668 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18670 PyObject
* obj0
= 0 ;
18671 char *kwnames
[] = {
18672 (char *) "self", NULL
18675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18680 result
= (bool)(arg1
)->GetColour();
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18694 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18695 PyObject
*resultobj
;
18696 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18698 PyObject
* obj0
= 0 ;
18699 char *kwnames
[] = {
18700 (char *) "self", NULL
18703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18708 result
= (int)(arg1
)->GetDuplex();
18710 wxPyEndAllowThreads(__tstate
);
18711 if (PyErr_Occurred()) SWIG_fail
;
18713 resultobj
= SWIG_From_int((int)result
);
18720 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18721 PyObject
*resultobj
;
18722 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18724 PyObject
* obj0
= 0 ;
18725 char *kwnames
[] = {
18726 (char *) "self", NULL
18729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18734 result
= (int)(arg1
)->GetPaperId();
18736 wxPyEndAllowThreads(__tstate
);
18737 if (PyErr_Occurred()) SWIG_fail
;
18739 resultobj
= SWIG_From_int((int)result
);
18746 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18747 PyObject
*resultobj
;
18748 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18750 PyObject
* obj0
= 0 ;
18751 char *kwnames
[] = {
18752 (char *) "self", NULL
18755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18761 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18762 result
= (wxSize
*) &_result_ref
;
18765 wxPyEndAllowThreads(__tstate
);
18766 if (PyErr_Occurred()) SWIG_fail
;
18768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18775 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18776 PyObject
*resultobj
;
18777 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18779 PyObject
* obj0
= 0 ;
18780 char *kwnames
[] = {
18781 (char *) "self", NULL
18784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18789 result
= (int)(arg1
)->GetQuality();
18791 wxPyEndAllowThreads(__tstate
);
18792 if (PyErr_Occurred()) SWIG_fail
;
18794 resultobj
= SWIG_From_int((int)result
);
18801 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18802 PyObject
*resultobj
;
18803 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18805 PyObject
* obj0
= 0 ;
18806 char *kwnames
[] = {
18807 (char *) "self", NULL
18810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
18811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18815 result
= (int)(arg1
)->GetBin();
18817 wxPyEndAllowThreads(__tstate
);
18818 if (PyErr_Occurred()) SWIG_fail
;
18820 resultobj
= SWIG_From_int((int)result
);
18827 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18828 PyObject
*resultobj
;
18829 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18831 PyObject
* obj0
= 0 ;
18832 PyObject
* obj1
= 0 ;
18833 char *kwnames
[] = {
18834 (char *) "self",(char *) "v", NULL
18837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18840 arg2
= (int)SWIG_As_int(obj1
);
18841 if (PyErr_Occurred()) SWIG_fail
;
18843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18844 (arg1
)->SetNoCopies(arg2
);
18846 wxPyEndAllowThreads(__tstate
);
18847 if (PyErr_Occurred()) SWIG_fail
;
18849 Py_INCREF(Py_None
); resultobj
= Py_None
;
18856 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18857 PyObject
*resultobj
;
18858 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18860 PyObject
* obj0
= 0 ;
18861 PyObject
* obj1
= 0 ;
18862 char *kwnames
[] = {
18863 (char *) "self",(char *) "flag", NULL
18866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18869 arg2
= (bool)SWIG_As_bool(obj1
);
18870 if (PyErr_Occurred()) SWIG_fail
;
18872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18873 (arg1
)->SetCollate(arg2
);
18875 wxPyEndAllowThreads(__tstate
);
18876 if (PyErr_Occurred()) SWIG_fail
;
18878 Py_INCREF(Py_None
); resultobj
= Py_None
;
18885 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18886 PyObject
*resultobj
;
18887 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18889 PyObject
* obj0
= 0 ;
18890 PyObject
* obj1
= 0 ;
18891 char *kwnames
[] = {
18892 (char *) "self",(char *) "orient", NULL
18895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18898 arg2
= (int)SWIG_As_int(obj1
);
18899 if (PyErr_Occurred()) SWIG_fail
;
18901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18902 (arg1
)->SetOrientation(arg2
);
18904 wxPyEndAllowThreads(__tstate
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18907 Py_INCREF(Py_None
); resultobj
= Py_None
;
18914 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18915 PyObject
*resultobj
;
18916 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18917 wxString
*arg2
= 0 ;
18918 bool temp2
= false ;
18919 PyObject
* obj0
= 0 ;
18920 PyObject
* obj1
= 0 ;
18921 char *kwnames
[] = {
18922 (char *) "self",(char *) "name", NULL
18925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18929 arg2
= wxString_in_helper(obj1
);
18930 if (arg2
== NULL
) SWIG_fail
;
18934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18935 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18937 wxPyEndAllowThreads(__tstate
);
18938 if (PyErr_Occurred()) SWIG_fail
;
18940 Py_INCREF(Py_None
); resultobj
= Py_None
;
18955 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18956 PyObject
*resultobj
;
18957 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18959 PyObject
* obj0
= 0 ;
18960 PyObject
* obj1
= 0 ;
18961 char *kwnames
[] = {
18962 (char *) "self",(char *) "colour", NULL
18965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18968 arg2
= (bool)SWIG_As_bool(obj1
);
18969 if (PyErr_Occurred()) SWIG_fail
;
18971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18972 (arg1
)->SetColour(arg2
);
18974 wxPyEndAllowThreads(__tstate
);
18975 if (PyErr_Occurred()) SWIG_fail
;
18977 Py_INCREF(Py_None
); resultobj
= Py_None
;
18984 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18985 PyObject
*resultobj
;
18986 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18988 PyObject
* obj0
= 0 ;
18989 PyObject
* obj1
= 0 ;
18990 char *kwnames
[] = {
18991 (char *) "self",(char *) "duplex", NULL
18994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18997 arg2
= (int)SWIG_As_int(obj1
);
18998 if (PyErr_Occurred()) SWIG_fail
;
19000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19001 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
19003 wxPyEndAllowThreads(__tstate
);
19004 if (PyErr_Occurred()) SWIG_fail
;
19006 Py_INCREF(Py_None
); resultobj
= Py_None
;
19013 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19014 PyObject
*resultobj
;
19015 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19017 PyObject
* obj0
= 0 ;
19018 PyObject
* obj1
= 0 ;
19019 char *kwnames
[] = {
19020 (char *) "self",(char *) "sizeId", NULL
19023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
19024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19026 arg2
= (int)SWIG_As_int(obj1
);
19027 if (PyErr_Occurred()) SWIG_fail
;
19029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19030 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
19032 wxPyEndAllowThreads(__tstate
);
19033 if (PyErr_Occurred()) SWIG_fail
;
19035 Py_INCREF(Py_None
); resultobj
= Py_None
;
19042 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19043 PyObject
*resultobj
;
19044 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19047 PyObject
* obj0
= 0 ;
19048 PyObject
* obj1
= 0 ;
19049 char *kwnames
[] = {
19050 (char *) "self",(char *) "sz", NULL
19053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19058 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19062 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
19064 wxPyEndAllowThreads(__tstate
);
19065 if (PyErr_Occurred()) SWIG_fail
;
19067 Py_INCREF(Py_None
); resultobj
= Py_None
;
19074 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19075 PyObject
*resultobj
;
19076 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19078 PyObject
* obj0
= 0 ;
19079 PyObject
* obj1
= 0 ;
19080 char *kwnames
[] = {
19081 (char *) "self",(char *) "quality", NULL
19084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
19085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19087 arg2
= (int)SWIG_As_int(obj1
);
19088 if (PyErr_Occurred()) SWIG_fail
;
19090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19091 (arg1
)->SetQuality(arg2
);
19093 wxPyEndAllowThreads(__tstate
);
19094 if (PyErr_Occurred()) SWIG_fail
;
19096 Py_INCREF(Py_None
); resultobj
= Py_None
;
19103 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19104 PyObject
*resultobj
;
19105 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19107 PyObject
* obj0
= 0 ;
19108 PyObject
* obj1
= 0 ;
19109 char *kwnames
[] = {
19110 (char *) "self",(char *) "bin", NULL
19113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
19114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19116 arg2
= (int)SWIG_As_int(obj1
);
19117 if (PyErr_Occurred()) SWIG_fail
;
19119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19120 (arg1
)->SetBin((wxPrintBin
)arg2
);
19122 wxPyEndAllowThreads(__tstate
);
19123 if (PyErr_Occurred()) SWIG_fail
;
19125 Py_INCREF(Py_None
); resultobj
= Py_None
;
19132 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19133 PyObject
*resultobj
;
19134 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19136 PyObject
* obj0
= 0 ;
19137 char *kwnames
[] = {
19138 (char *) "self", NULL
19141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
19142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19147 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
19148 result
= (wxString
*) &_result_ref
;
19151 wxPyEndAllowThreads(__tstate
);
19152 if (PyErr_Occurred()) SWIG_fail
;
19156 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19158 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19167 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19168 PyObject
*resultobj
;
19169 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19171 PyObject
* obj0
= 0 ;
19172 char *kwnames
[] = {
19173 (char *) "self", NULL
19176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
19177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19182 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
19183 result
= (wxString
*) &_result_ref
;
19186 wxPyEndAllowThreads(__tstate
);
19187 if (PyErr_Occurred()) SWIG_fail
;
19191 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19193 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19202 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19203 PyObject
*resultobj
;
19204 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19206 PyObject
* obj0
= 0 ;
19207 char *kwnames
[] = {
19208 (char *) "self", NULL
19211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
19212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19217 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
19218 result
= (wxString
*) &_result_ref
;
19221 wxPyEndAllowThreads(__tstate
);
19222 if (PyErr_Occurred()) SWIG_fail
;
19226 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19228 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19237 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19238 PyObject
*resultobj
;
19239 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19241 PyObject
* obj0
= 0 ;
19242 char *kwnames
[] = {
19243 (char *) "self", NULL
19246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
19247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19252 wxString
const &_result_ref
= (arg1
)->GetFilename();
19253 result
= (wxString
*) &_result_ref
;
19256 wxPyEndAllowThreads(__tstate
);
19257 if (PyErr_Occurred()) SWIG_fail
;
19261 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19263 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19272 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19273 PyObject
*resultobj
;
19274 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19276 PyObject
* obj0
= 0 ;
19277 char *kwnames
[] = {
19278 (char *) "self", NULL
19281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
19282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19287 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
19288 result
= (wxString
*) &_result_ref
;
19291 wxPyEndAllowThreads(__tstate
);
19292 if (PyErr_Occurred()) SWIG_fail
;
19296 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19298 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19307 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19308 PyObject
*resultobj
;
19309 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19311 PyObject
* obj0
= 0 ;
19312 char *kwnames
[] = {
19313 (char *) "self", NULL
19316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
19317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19321 result
= (double)(arg1
)->GetPrinterScaleX();
19323 wxPyEndAllowThreads(__tstate
);
19324 if (PyErr_Occurred()) SWIG_fail
;
19326 resultobj
= SWIG_From_double((double)result
);
19333 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19334 PyObject
*resultobj
;
19335 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19337 PyObject
* obj0
= 0 ;
19338 char *kwnames
[] = {
19339 (char *) "self", NULL
19342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
19343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19347 result
= (double)(arg1
)->GetPrinterScaleY();
19349 wxPyEndAllowThreads(__tstate
);
19350 if (PyErr_Occurred()) SWIG_fail
;
19352 resultobj
= SWIG_From_double((double)result
);
19359 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19360 PyObject
*resultobj
;
19361 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19363 PyObject
* obj0
= 0 ;
19364 char *kwnames
[] = {
19365 (char *) "self", NULL
19368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
19369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19373 result
= (long)(arg1
)->GetPrinterTranslateX();
19375 wxPyEndAllowThreads(__tstate
);
19376 if (PyErr_Occurred()) SWIG_fail
;
19378 resultobj
= SWIG_From_long((long)result
);
19385 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19386 PyObject
*resultobj
;
19387 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19389 PyObject
* obj0
= 0 ;
19390 char *kwnames
[] = {
19391 (char *) "self", NULL
19394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
19395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19399 result
= (long)(arg1
)->GetPrinterTranslateY();
19401 wxPyEndAllowThreads(__tstate
);
19402 if (PyErr_Occurred()) SWIG_fail
;
19404 resultobj
= SWIG_From_long((long)result
);
19411 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19412 PyObject
*resultobj
;
19413 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19415 PyObject
* obj0
= 0 ;
19416 char *kwnames
[] = {
19417 (char *) "self", NULL
19420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
19421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19425 result
= (int)(arg1
)->GetPrintMode();
19427 wxPyEndAllowThreads(__tstate
);
19428 if (PyErr_Occurred()) SWIG_fail
;
19430 resultobj
= SWIG_From_int((int)result
);
19437 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19438 PyObject
*resultobj
;
19439 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19440 wxString
*arg2
= 0 ;
19441 bool temp2
= false ;
19442 PyObject
* obj0
= 0 ;
19443 PyObject
* obj1
= 0 ;
19444 char *kwnames
[] = {
19445 (char *) "self",(char *) "command", NULL
19448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19452 arg2
= wxString_in_helper(obj1
);
19453 if (arg2
== NULL
) SWIG_fail
;
19457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19458 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
19460 wxPyEndAllowThreads(__tstate
);
19461 if (PyErr_Occurred()) SWIG_fail
;
19463 Py_INCREF(Py_None
); resultobj
= Py_None
;
19478 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19479 PyObject
*resultobj
;
19480 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19481 wxString
*arg2
= 0 ;
19482 bool temp2
= false ;
19483 PyObject
* obj0
= 0 ;
19484 PyObject
* obj1
= 0 ;
19485 char *kwnames
[] = {
19486 (char *) "self",(char *) "options", NULL
19489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
19490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19493 arg2
= wxString_in_helper(obj1
);
19494 if (arg2
== NULL
) SWIG_fail
;
19498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19499 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
19501 wxPyEndAllowThreads(__tstate
);
19502 if (PyErr_Occurred()) SWIG_fail
;
19504 Py_INCREF(Py_None
); resultobj
= Py_None
;
19519 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19520 PyObject
*resultobj
;
19521 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19522 wxString
*arg2
= 0 ;
19523 bool temp2
= false ;
19524 PyObject
* obj0
= 0 ;
19525 PyObject
* obj1
= 0 ;
19526 char *kwnames
[] = {
19527 (char *) "self",(char *) "command", NULL
19530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19534 arg2
= wxString_in_helper(obj1
);
19535 if (arg2
== NULL
) SWIG_fail
;
19539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19540 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
19542 wxPyEndAllowThreads(__tstate
);
19543 if (PyErr_Occurred()) SWIG_fail
;
19545 Py_INCREF(Py_None
); resultobj
= Py_None
;
19560 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19561 PyObject
*resultobj
;
19562 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19563 wxString
*arg2
= 0 ;
19564 bool temp2
= false ;
19565 PyObject
* obj0
= 0 ;
19566 PyObject
* obj1
= 0 ;
19567 char *kwnames
[] = {
19568 (char *) "self",(char *) "filename", NULL
19571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
19572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19575 arg2
= wxString_in_helper(obj1
);
19576 if (arg2
== NULL
) SWIG_fail
;
19580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19581 (arg1
)->SetFilename((wxString
const &)*arg2
);
19583 wxPyEndAllowThreads(__tstate
);
19584 if (PyErr_Occurred()) SWIG_fail
;
19586 Py_INCREF(Py_None
); resultobj
= Py_None
;
19601 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19602 PyObject
*resultobj
;
19603 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19604 wxString
*arg2
= 0 ;
19605 bool temp2
= false ;
19606 PyObject
* obj0
= 0 ;
19607 PyObject
* obj1
= 0 ;
19608 char *kwnames
[] = {
19609 (char *) "self",(char *) "path", NULL
19612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
19613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19616 arg2
= wxString_in_helper(obj1
);
19617 if (arg2
== NULL
) SWIG_fail
;
19621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19622 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
19624 wxPyEndAllowThreads(__tstate
);
19625 if (PyErr_Occurred()) SWIG_fail
;
19627 Py_INCREF(Py_None
); resultobj
= Py_None
;
19642 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19643 PyObject
*resultobj
;
19644 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19646 PyObject
* obj0
= 0 ;
19647 PyObject
* obj1
= 0 ;
19648 char *kwnames
[] = {
19649 (char *) "self",(char *) "x", NULL
19652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
19653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19655 arg2
= (double)SWIG_As_double(obj1
);
19656 if (PyErr_Occurred()) SWIG_fail
;
19658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19659 (arg1
)->SetPrinterScaleX(arg2
);
19661 wxPyEndAllowThreads(__tstate
);
19662 if (PyErr_Occurred()) SWIG_fail
;
19664 Py_INCREF(Py_None
); resultobj
= Py_None
;
19671 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19672 PyObject
*resultobj
;
19673 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19675 PyObject
* obj0
= 0 ;
19676 PyObject
* obj1
= 0 ;
19677 char *kwnames
[] = {
19678 (char *) "self",(char *) "y", NULL
19681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
19682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19684 arg2
= (double)SWIG_As_double(obj1
);
19685 if (PyErr_Occurred()) SWIG_fail
;
19687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19688 (arg1
)->SetPrinterScaleY(arg2
);
19690 wxPyEndAllowThreads(__tstate
);
19691 if (PyErr_Occurred()) SWIG_fail
;
19693 Py_INCREF(Py_None
); resultobj
= Py_None
;
19700 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19701 PyObject
*resultobj
;
19702 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19705 PyObject
* obj0
= 0 ;
19706 PyObject
* obj1
= 0 ;
19707 PyObject
* obj2
= 0 ;
19708 char *kwnames
[] = {
19709 (char *) "self",(char *) "x",(char *) "y", NULL
19712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19715 arg2
= (double)SWIG_As_double(obj1
);
19716 if (PyErr_Occurred()) SWIG_fail
;
19717 arg3
= (double)SWIG_As_double(obj2
);
19718 if (PyErr_Occurred()) SWIG_fail
;
19720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19721 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19723 wxPyEndAllowThreads(__tstate
);
19724 if (PyErr_Occurred()) SWIG_fail
;
19726 Py_INCREF(Py_None
); resultobj
= Py_None
;
19733 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19734 PyObject
*resultobj
;
19735 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19737 PyObject
* obj0
= 0 ;
19738 PyObject
* obj1
= 0 ;
19739 char *kwnames
[] = {
19740 (char *) "self",(char *) "x", NULL
19743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19746 arg2
= (long)SWIG_As_long(obj1
);
19747 if (PyErr_Occurred()) SWIG_fail
;
19749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19750 (arg1
)->SetPrinterTranslateX(arg2
);
19752 wxPyEndAllowThreads(__tstate
);
19753 if (PyErr_Occurred()) SWIG_fail
;
19755 Py_INCREF(Py_None
); resultobj
= Py_None
;
19762 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19763 PyObject
*resultobj
;
19764 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19766 PyObject
* obj0
= 0 ;
19767 PyObject
* obj1
= 0 ;
19768 char *kwnames
[] = {
19769 (char *) "self",(char *) "y", NULL
19772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19775 arg2
= (long)SWIG_As_long(obj1
);
19776 if (PyErr_Occurred()) SWIG_fail
;
19778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19779 (arg1
)->SetPrinterTranslateY(arg2
);
19781 wxPyEndAllowThreads(__tstate
);
19782 if (PyErr_Occurred()) SWIG_fail
;
19784 Py_INCREF(Py_None
); resultobj
= Py_None
;
19791 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19792 PyObject
*resultobj
;
19793 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19796 PyObject
* obj0
= 0 ;
19797 PyObject
* obj1
= 0 ;
19798 PyObject
* obj2
= 0 ;
19799 char *kwnames
[] = {
19800 (char *) "self",(char *) "x",(char *) "y", NULL
19803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19806 arg2
= (long)SWIG_As_long(obj1
);
19807 if (PyErr_Occurred()) SWIG_fail
;
19808 arg3
= (long)SWIG_As_long(obj2
);
19809 if (PyErr_Occurred()) SWIG_fail
;
19811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19812 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19814 wxPyEndAllowThreads(__tstate
);
19815 if (PyErr_Occurred()) SWIG_fail
;
19817 Py_INCREF(Py_None
); resultobj
= Py_None
;
19824 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19825 PyObject
*resultobj
;
19826 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19828 PyObject
* obj0
= 0 ;
19829 PyObject
* obj1
= 0 ;
19830 char *kwnames
[] = {
19831 (char *) "self",(char *) "printMode", NULL
19834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19837 arg2
= (int)SWIG_As_int(obj1
);
19838 if (PyErr_Occurred()) SWIG_fail
;
19840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19841 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19843 wxPyEndAllowThreads(__tstate
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19846 Py_INCREF(Py_None
); resultobj
= Py_None
;
19853 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19854 PyObject
*resultobj
;
19855 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19856 wxOutputStream
*result
;
19857 PyObject
* obj0
= 0 ;
19858 char *kwnames
[] = {
19859 (char *) "self", NULL
19862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
19863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19867 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
19869 wxPyEndAllowThreads(__tstate
);
19870 if (PyErr_Occurred()) SWIG_fail
;
19872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
19879 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19880 PyObject
*resultobj
;
19881 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19882 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
19883 PyObject
* obj0
= 0 ;
19884 PyObject
* obj1
= 0 ;
19885 char *kwnames
[] = {
19886 (char *) "self",(char *) "outputstream", NULL
19889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
19890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19896 (arg1
)->SetOutputStream(arg2
);
19898 wxPyEndAllowThreads(__tstate
);
19899 if (PyErr_Occurred()) SWIG_fail
;
19901 Py_INCREF(Py_None
); resultobj
= Py_None
;
19908 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
19910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19911 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19913 return Py_BuildValue((char *)"");
19915 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
19916 PyObject
*resultobj
;
19917 wxPageSetupDialogData
*result
;
19919 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
19921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19922 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19924 wxPyEndAllowThreads(__tstate
);
19925 if (PyErr_Occurred()) SWIG_fail
;
19927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19934 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
19935 PyObject
*resultobj
;
19936 wxPageSetupDialogData
*arg1
= 0 ;
19937 wxPageSetupDialogData
*result
;
19938 PyObject
* obj0
= 0 ;
19940 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
19941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19942 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19944 if (arg1
== NULL
) {
19945 PyErr_SetString(PyExc_TypeError
,"null reference");
19949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19950 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
19952 wxPyEndAllowThreads(__tstate
);
19953 if (PyErr_Occurred()) SWIG_fail
;
19955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19962 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
19967 argc
= PyObject_Length(args
);
19968 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19969 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19972 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
19978 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
19986 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
19990 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PageSetupDialogData'");
19995 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19996 PyObject
*resultobj
;
19997 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19998 PyObject
* obj0
= 0 ;
19999 char *kwnames
[] = {
20000 (char *) "self", NULL
20003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
20004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20010 wxPyEndAllowThreads(__tstate
);
20011 if (PyErr_Occurred()) SWIG_fail
;
20013 Py_INCREF(Py_None
); resultobj
= Py_None
;
20020 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20021 PyObject
*resultobj
;
20022 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20024 PyObject
* obj0
= 0 ;
20025 PyObject
* obj1
= 0 ;
20026 char *kwnames
[] = {
20027 (char *) "self",(char *) "flag", NULL
20030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20033 arg2
= (bool)SWIG_As_bool(obj1
);
20034 if (PyErr_Occurred()) SWIG_fail
;
20036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20037 (arg1
)->EnableHelp(arg2
);
20039 wxPyEndAllowThreads(__tstate
);
20040 if (PyErr_Occurred()) SWIG_fail
;
20042 Py_INCREF(Py_None
); resultobj
= Py_None
;
20049 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20050 PyObject
*resultobj
;
20051 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20053 PyObject
* obj0
= 0 ;
20054 PyObject
* obj1
= 0 ;
20055 char *kwnames
[] = {
20056 (char *) "self",(char *) "flag", NULL
20059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20062 arg2
= (bool)SWIG_As_bool(obj1
);
20063 if (PyErr_Occurred()) SWIG_fail
;
20065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20066 (arg1
)->EnableMargins(arg2
);
20068 wxPyEndAllowThreads(__tstate
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20071 Py_INCREF(Py_None
); resultobj
= Py_None
;
20078 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20079 PyObject
*resultobj
;
20080 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20082 PyObject
* obj0
= 0 ;
20083 PyObject
* obj1
= 0 ;
20084 char *kwnames
[] = {
20085 (char *) "self",(char *) "flag", NULL
20088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
20089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20091 arg2
= (bool)SWIG_As_bool(obj1
);
20092 if (PyErr_Occurred()) SWIG_fail
;
20094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20095 (arg1
)->EnableOrientation(arg2
);
20097 wxPyEndAllowThreads(__tstate
);
20098 if (PyErr_Occurred()) SWIG_fail
;
20100 Py_INCREF(Py_None
); resultobj
= Py_None
;
20107 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20108 PyObject
*resultobj
;
20109 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20111 PyObject
* obj0
= 0 ;
20112 PyObject
* obj1
= 0 ;
20113 char *kwnames
[] = {
20114 (char *) "self",(char *) "flag", NULL
20117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
20118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20120 arg2
= (bool)SWIG_As_bool(obj1
);
20121 if (PyErr_Occurred()) SWIG_fail
;
20123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20124 (arg1
)->EnablePaper(arg2
);
20126 wxPyEndAllowThreads(__tstate
);
20127 if (PyErr_Occurred()) SWIG_fail
;
20129 Py_INCREF(Py_None
); resultobj
= Py_None
;
20136 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20137 PyObject
*resultobj
;
20138 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20140 PyObject
* obj0
= 0 ;
20141 PyObject
* obj1
= 0 ;
20142 char *kwnames
[] = {
20143 (char *) "self",(char *) "flag", NULL
20146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
20147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20149 arg2
= (bool)SWIG_As_bool(obj1
);
20150 if (PyErr_Occurred()) SWIG_fail
;
20152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20153 (arg1
)->EnablePrinter(arg2
);
20155 wxPyEndAllowThreads(__tstate
);
20156 if (PyErr_Occurred()) SWIG_fail
;
20158 Py_INCREF(Py_None
); resultobj
= Py_None
;
20165 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20166 PyObject
*resultobj
;
20167 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20169 PyObject
* obj0
= 0 ;
20170 char *kwnames
[] = {
20171 (char *) "self", NULL
20174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
20175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20179 result
= (bool)(arg1
)->GetDefaultMinMargins();
20181 wxPyEndAllowThreads(__tstate
);
20182 if (PyErr_Occurred()) SWIG_fail
;
20185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20193 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20194 PyObject
*resultobj
;
20195 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20197 PyObject
* obj0
= 0 ;
20198 char *kwnames
[] = {
20199 (char *) "self", NULL
20202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
20203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20207 result
= (bool)(arg1
)->GetEnableMargins();
20209 wxPyEndAllowThreads(__tstate
);
20210 if (PyErr_Occurred()) SWIG_fail
;
20213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20221 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20222 PyObject
*resultobj
;
20223 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20225 PyObject
* obj0
= 0 ;
20226 char *kwnames
[] = {
20227 (char *) "self", NULL
20230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
20231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20235 result
= (bool)(arg1
)->GetEnableOrientation();
20237 wxPyEndAllowThreads(__tstate
);
20238 if (PyErr_Occurred()) SWIG_fail
;
20241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20249 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20250 PyObject
*resultobj
;
20251 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20253 PyObject
* obj0
= 0 ;
20254 char *kwnames
[] = {
20255 (char *) "self", NULL
20258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
20259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20263 result
= (bool)(arg1
)->GetEnablePaper();
20265 wxPyEndAllowThreads(__tstate
);
20266 if (PyErr_Occurred()) SWIG_fail
;
20269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20277 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20278 PyObject
*resultobj
;
20279 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20281 PyObject
* obj0
= 0 ;
20282 char *kwnames
[] = {
20283 (char *) "self", NULL
20286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
20287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20291 result
= (bool)(arg1
)->GetEnablePrinter();
20293 wxPyEndAllowThreads(__tstate
);
20294 if (PyErr_Occurred()) SWIG_fail
;
20297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20305 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20306 PyObject
*resultobj
;
20307 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20309 PyObject
* obj0
= 0 ;
20310 char *kwnames
[] = {
20311 (char *) "self", NULL
20314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20319 result
= (bool)(arg1
)->GetEnableHelp();
20321 wxPyEndAllowThreads(__tstate
);
20322 if (PyErr_Occurred()) SWIG_fail
;
20325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20333 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20334 PyObject
*resultobj
;
20335 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20337 PyObject
* obj0
= 0 ;
20338 char *kwnames
[] = {
20339 (char *) "self", NULL
20342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
20343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20347 result
= (bool)(arg1
)->GetDefaultInfo();
20349 wxPyEndAllowThreads(__tstate
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20361 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20362 PyObject
*resultobj
;
20363 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20365 PyObject
* obj0
= 0 ;
20366 char *kwnames
[] = {
20367 (char *) "self", NULL
20370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20375 result
= (arg1
)->GetMarginTopLeft();
20377 wxPyEndAllowThreads(__tstate
);
20378 if (PyErr_Occurred()) SWIG_fail
;
20381 wxPoint
* resultptr
;
20382 resultptr
= new wxPoint((wxPoint
&) result
);
20383 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20391 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20392 PyObject
*resultobj
;
20393 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20395 PyObject
* obj0
= 0 ;
20396 char *kwnames
[] = {
20397 (char *) "self", NULL
20400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20405 result
= (arg1
)->GetMarginBottomRight();
20407 wxPyEndAllowThreads(__tstate
);
20408 if (PyErr_Occurred()) SWIG_fail
;
20411 wxPoint
* resultptr
;
20412 resultptr
= new wxPoint((wxPoint
&) result
);
20413 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20421 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20422 PyObject
*resultobj
;
20423 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20425 PyObject
* obj0
= 0 ;
20426 char *kwnames
[] = {
20427 (char *) "self", NULL
20430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20435 result
= (arg1
)->GetMinMarginTopLeft();
20437 wxPyEndAllowThreads(__tstate
);
20438 if (PyErr_Occurred()) SWIG_fail
;
20441 wxPoint
* resultptr
;
20442 resultptr
= new wxPoint((wxPoint
&) result
);
20443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20451 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20452 PyObject
*resultobj
;
20453 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20455 PyObject
* obj0
= 0 ;
20456 char *kwnames
[] = {
20457 (char *) "self", NULL
20460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20465 result
= (arg1
)->GetMinMarginBottomRight();
20467 wxPyEndAllowThreads(__tstate
);
20468 if (PyErr_Occurred()) SWIG_fail
;
20471 wxPoint
* resultptr
;
20472 resultptr
= new wxPoint((wxPoint
&) result
);
20473 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20481 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20482 PyObject
*resultobj
;
20483 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20485 PyObject
* obj0
= 0 ;
20486 char *kwnames
[] = {
20487 (char *) "self", NULL
20490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20495 result
= (int)(arg1
)->GetPaperId();
20497 wxPyEndAllowThreads(__tstate
);
20498 if (PyErr_Occurred()) SWIG_fail
;
20500 resultobj
= SWIG_From_int((int)result
);
20507 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20508 PyObject
*resultobj
;
20509 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20511 PyObject
* obj0
= 0 ;
20512 char *kwnames
[] = {
20513 (char *) "self", NULL
20516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20521 result
= (arg1
)->GetPaperSize();
20523 wxPyEndAllowThreads(__tstate
);
20524 if (PyErr_Occurred()) SWIG_fail
;
20527 wxSize
* resultptr
;
20528 resultptr
= new wxSize((wxSize
&) result
);
20529 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20537 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20538 PyObject
*resultobj
;
20539 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20540 wxPrintData
*result
;
20541 PyObject
* obj0
= 0 ;
20542 char *kwnames
[] = {
20543 (char *) "self", NULL
20546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20552 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20553 result
= (wxPrintData
*) &_result_ref
;
20556 wxPyEndAllowThreads(__tstate
);
20557 if (PyErr_Occurred()) SWIG_fail
;
20559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20566 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20567 PyObject
*resultobj
;
20568 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20570 PyObject
* obj0
= 0 ;
20571 char *kwnames
[] = {
20572 (char *) "self", NULL
20575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20580 result
= (bool)(arg1
)->Ok();
20582 wxPyEndAllowThreads(__tstate
);
20583 if (PyErr_Occurred()) SWIG_fail
;
20586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20594 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20595 PyObject
*resultobj
;
20596 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20598 PyObject
* obj0
= 0 ;
20599 PyObject
* obj1
= 0 ;
20600 char *kwnames
[] = {
20601 (char *) "self",(char *) "flag", NULL
20604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
20605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20607 arg2
= (bool)SWIG_As_bool(obj1
);
20608 if (PyErr_Occurred()) SWIG_fail
;
20610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20611 (arg1
)->SetDefaultInfo(arg2
);
20613 wxPyEndAllowThreads(__tstate
);
20614 if (PyErr_Occurred()) SWIG_fail
;
20616 Py_INCREF(Py_None
); resultobj
= Py_None
;
20623 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20624 PyObject
*resultobj
;
20625 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20627 PyObject
* obj0
= 0 ;
20628 PyObject
* obj1
= 0 ;
20629 char *kwnames
[] = {
20630 (char *) "self",(char *) "flag", NULL
20633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20636 arg2
= (bool)SWIG_As_bool(obj1
);
20637 if (PyErr_Occurred()) SWIG_fail
;
20639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20640 (arg1
)->SetDefaultMinMargins(arg2
);
20642 wxPyEndAllowThreads(__tstate
);
20643 if (PyErr_Occurred()) SWIG_fail
;
20645 Py_INCREF(Py_None
); resultobj
= Py_None
;
20652 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20653 PyObject
*resultobj
;
20654 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20655 wxPoint
*arg2
= 0 ;
20657 PyObject
* obj0
= 0 ;
20658 PyObject
* obj1
= 0 ;
20659 char *kwnames
[] = {
20660 (char *) "self",(char *) "pt", NULL
20663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20668 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20672 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
20674 wxPyEndAllowThreads(__tstate
);
20675 if (PyErr_Occurred()) SWIG_fail
;
20677 Py_INCREF(Py_None
); resultobj
= Py_None
;
20684 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20685 PyObject
*resultobj
;
20686 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20687 wxPoint
*arg2
= 0 ;
20689 PyObject
* obj0
= 0 ;
20690 PyObject
* obj1
= 0 ;
20691 char *kwnames
[] = {
20692 (char *) "self",(char *) "pt", NULL
20695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20700 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20704 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20706 wxPyEndAllowThreads(__tstate
);
20707 if (PyErr_Occurred()) SWIG_fail
;
20709 Py_INCREF(Py_None
); resultobj
= Py_None
;
20716 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20717 PyObject
*resultobj
;
20718 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20719 wxPoint
*arg2
= 0 ;
20721 PyObject
* obj0
= 0 ;
20722 PyObject
* obj1
= 0 ;
20723 char *kwnames
[] = {
20724 (char *) "self",(char *) "pt", NULL
20727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20732 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20736 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20738 wxPyEndAllowThreads(__tstate
);
20739 if (PyErr_Occurred()) SWIG_fail
;
20741 Py_INCREF(Py_None
); resultobj
= Py_None
;
20748 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20749 PyObject
*resultobj
;
20750 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20751 wxPoint
*arg2
= 0 ;
20753 PyObject
* obj0
= 0 ;
20754 PyObject
* obj1
= 0 ;
20755 char *kwnames
[] = {
20756 (char *) "self",(char *) "pt", NULL
20759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20764 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20768 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20770 wxPyEndAllowThreads(__tstate
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20773 Py_INCREF(Py_None
); resultobj
= Py_None
;
20780 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20781 PyObject
*resultobj
;
20782 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20784 PyObject
* obj0
= 0 ;
20785 PyObject
* obj1
= 0 ;
20786 char *kwnames
[] = {
20787 (char *) "self",(char *) "id", NULL
20790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20793 arg2
= (int)SWIG_As_int(obj1
);
20794 if (PyErr_Occurred()) SWIG_fail
;
20796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20797 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20799 wxPyEndAllowThreads(__tstate
);
20800 if (PyErr_Occurred()) SWIG_fail
;
20802 Py_INCREF(Py_None
); resultobj
= Py_None
;
20809 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20810 PyObject
*resultobj
;
20811 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20814 PyObject
* obj0
= 0 ;
20815 PyObject
* obj1
= 0 ;
20816 char *kwnames
[] = {
20817 (char *) "self",(char *) "size", NULL
20820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20825 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20829 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20831 wxPyEndAllowThreads(__tstate
);
20832 if (PyErr_Occurred()) SWIG_fail
;
20834 Py_INCREF(Py_None
); resultobj
= Py_None
;
20841 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20842 PyObject
*resultobj
;
20843 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20844 wxPrintData
*arg2
= 0 ;
20845 PyObject
* obj0
= 0 ;
20846 PyObject
* obj1
= 0 ;
20847 char *kwnames
[] = {
20848 (char *) "self",(char *) "printData", NULL
20851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20855 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20857 if (arg2
== NULL
) {
20858 PyErr_SetString(PyExc_TypeError
,"null reference");
20862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20863 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20865 wxPyEndAllowThreads(__tstate
);
20866 if (PyErr_Occurred()) SWIG_fail
;
20868 Py_INCREF(Py_None
); resultobj
= Py_None
;
20875 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
20877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20878 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20880 return Py_BuildValue((char *)"");
20882 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20883 PyObject
*resultobj
;
20884 wxWindow
*arg1
= (wxWindow
*) 0 ;
20885 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20886 wxPageSetupDialog
*result
;
20887 PyObject
* obj0
= 0 ;
20888 PyObject
* obj1
= 0 ;
20889 char *kwnames
[] = {
20890 (char *) "parent",(char *) "data", NULL
20893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20897 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20901 if (!wxPyCheckForApp()) SWIG_fail
;
20902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20903 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20905 wxPyEndAllowThreads(__tstate
);
20906 if (PyErr_Occurred()) SWIG_fail
;
20908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20915 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20916 PyObject
*resultobj
;
20917 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20918 wxPageSetupDialogData
*result
;
20919 PyObject
* obj0
= 0 ;
20920 char *kwnames
[] = {
20921 (char *) "self", NULL
20924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20930 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20931 result
= (wxPageSetupDialogData
*) &_result_ref
;
20934 wxPyEndAllowThreads(__tstate
);
20935 if (PyErr_Occurred()) SWIG_fail
;
20937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20944 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20945 PyObject
*resultobj
;
20946 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20948 PyObject
* obj0
= 0 ;
20949 char *kwnames
[] = {
20950 (char *) "self", NULL
20953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20958 result
= (int)(arg1
)->ShowModal();
20960 wxPyEndAllowThreads(__tstate
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20963 resultobj
= SWIG_From_int((int)result
);
20970 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
20972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20973 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20975 return Py_BuildValue((char *)"");
20977 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
20978 PyObject
*resultobj
;
20979 wxPrintDialogData
*result
;
20981 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20984 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20986 wxPyEndAllowThreads(__tstate
);
20987 if (PyErr_Occurred()) SWIG_fail
;
20989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20996 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
20997 PyObject
*resultobj
;
20998 wxPrintData
*arg1
= 0 ;
20999 wxPrintDialogData
*result
;
21000 PyObject
* obj0
= 0 ;
21002 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
21003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
21004 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21006 if (arg1
== NULL
) {
21007 PyErr_SetString(PyExc_TypeError
,"null reference");
21011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21012 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
21014 wxPyEndAllowThreads(__tstate
);
21015 if (PyErr_Occurred()) SWIG_fail
;
21017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
21024 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
21029 argc
= PyObject_Length(args
);
21030 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
21031 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21034 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
21040 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
21048 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
21052 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
21057 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21058 PyObject
*resultobj
;
21059 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21060 PyObject
* obj0
= 0 ;
21061 char *kwnames
[] = {
21062 (char *) "self", NULL
21065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
21066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21072 wxPyEndAllowThreads(__tstate
);
21073 if (PyErr_Occurred()) SWIG_fail
;
21075 Py_INCREF(Py_None
); resultobj
= Py_None
;
21082 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21083 PyObject
*resultobj
;
21084 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21086 PyObject
* obj0
= 0 ;
21087 char *kwnames
[] = {
21088 (char *) "self", NULL
21091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
21092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21096 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
21098 wxPyEndAllowThreads(__tstate
);
21099 if (PyErr_Occurred()) SWIG_fail
;
21101 resultobj
= SWIG_From_int((int)result
);
21108 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21109 PyObject
*resultobj
;
21110 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21112 PyObject
* obj0
= 0 ;
21113 char *kwnames
[] = {
21114 (char *) "self", NULL
21117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
21118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21122 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
21124 wxPyEndAllowThreads(__tstate
);
21125 if (PyErr_Occurred()) SWIG_fail
;
21127 resultobj
= SWIG_From_int((int)result
);
21134 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21135 PyObject
*resultobj
;
21136 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21138 PyObject
* obj0
= 0 ;
21139 char *kwnames
[] = {
21140 (char *) "self", NULL
21143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
21144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21148 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
21150 wxPyEndAllowThreads(__tstate
);
21151 if (PyErr_Occurred()) SWIG_fail
;
21153 resultobj
= SWIG_From_int((int)result
);
21160 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21161 PyObject
*resultobj
;
21162 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21164 PyObject
* obj0
= 0 ;
21165 char *kwnames
[] = {
21166 (char *) "self", NULL
21169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
21170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21174 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
21176 wxPyEndAllowThreads(__tstate
);
21177 if (PyErr_Occurred()) SWIG_fail
;
21179 resultobj
= SWIG_From_int((int)result
);
21186 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21187 PyObject
*resultobj
;
21188 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21190 PyObject
* obj0
= 0 ;
21191 char *kwnames
[] = {
21192 (char *) "self", NULL
21195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
21196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21200 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
21202 wxPyEndAllowThreads(__tstate
);
21203 if (PyErr_Occurred()) SWIG_fail
;
21205 resultobj
= SWIG_From_int((int)result
);
21212 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21213 PyObject
*resultobj
;
21214 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21216 PyObject
* obj0
= 0 ;
21217 char *kwnames
[] = {
21218 (char *) "self", NULL
21221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
21222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21226 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
21228 wxPyEndAllowThreads(__tstate
);
21229 if (PyErr_Occurred()) SWIG_fail
;
21232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21240 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21241 PyObject
*resultobj
;
21242 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21244 PyObject
* obj0
= 0 ;
21245 char *kwnames
[] = {
21246 (char *) "self", NULL
21249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
21250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21254 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
21256 wxPyEndAllowThreads(__tstate
);
21257 if (PyErr_Occurred()) SWIG_fail
;
21260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21268 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21269 PyObject
*resultobj
;
21270 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21272 PyObject
* obj0
= 0 ;
21273 char *kwnames
[] = {
21274 (char *) "self", NULL
21277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
21278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21282 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
21284 wxPyEndAllowThreads(__tstate
);
21285 if (PyErr_Occurred()) SWIG_fail
;
21288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21296 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21297 PyObject
*resultobj
;
21298 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21300 PyObject
* obj0
= 0 ;
21301 char *kwnames
[] = {
21302 (char *) "self", NULL
21305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
21306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21310 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
21312 wxPyEndAllowThreads(__tstate
);
21313 if (PyErr_Occurred()) SWIG_fail
;
21316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21324 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21325 PyObject
*resultobj
;
21326 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21328 PyObject
* obj0
= 0 ;
21329 char *kwnames
[] = {
21330 (char *) "self", NULL
21333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
21334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21338 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
21340 wxPyEndAllowThreads(__tstate
);
21341 if (PyErr_Occurred()) SWIG_fail
;
21344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21352 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21353 PyObject
*resultobj
;
21354 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21356 PyObject
* obj0
= 0 ;
21357 PyObject
* obj1
= 0 ;
21358 char *kwnames
[] = {
21359 (char *) "self",(char *) "v", NULL
21362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21365 arg2
= (int)SWIG_As_int(obj1
);
21366 if (PyErr_Occurred()) SWIG_fail
;
21368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21369 (arg1
)->SetFromPage(arg2
);
21371 wxPyEndAllowThreads(__tstate
);
21372 if (PyErr_Occurred()) SWIG_fail
;
21374 Py_INCREF(Py_None
); resultobj
= Py_None
;
21381 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21382 PyObject
*resultobj
;
21383 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21385 PyObject
* obj0
= 0 ;
21386 PyObject
* obj1
= 0 ;
21387 char *kwnames
[] = {
21388 (char *) "self",(char *) "v", NULL
21391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21394 arg2
= (int)SWIG_As_int(obj1
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21398 (arg1
)->SetToPage(arg2
);
21400 wxPyEndAllowThreads(__tstate
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21403 Py_INCREF(Py_None
); resultobj
= Py_None
;
21410 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21411 PyObject
*resultobj
;
21412 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21414 PyObject
* obj0
= 0 ;
21415 PyObject
* obj1
= 0 ;
21416 char *kwnames
[] = {
21417 (char *) "self",(char *) "v", NULL
21420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21423 arg2
= (int)SWIG_As_int(obj1
);
21424 if (PyErr_Occurred()) SWIG_fail
;
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 (arg1
)->SetMinPage(arg2
);
21429 wxPyEndAllowThreads(__tstate
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21432 Py_INCREF(Py_None
); resultobj
= Py_None
;
21439 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21440 PyObject
*resultobj
;
21441 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21443 PyObject
* obj0
= 0 ;
21444 PyObject
* obj1
= 0 ;
21445 char *kwnames
[] = {
21446 (char *) "self",(char *) "v", NULL
21449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21452 arg2
= (int)SWIG_As_int(obj1
);
21453 if (PyErr_Occurred()) SWIG_fail
;
21455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21456 (arg1
)->SetMaxPage(arg2
);
21458 wxPyEndAllowThreads(__tstate
);
21459 if (PyErr_Occurred()) SWIG_fail
;
21461 Py_INCREF(Py_None
); resultobj
= Py_None
;
21468 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21469 PyObject
*resultobj
;
21470 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21472 PyObject
* obj0
= 0 ;
21473 PyObject
* obj1
= 0 ;
21474 char *kwnames
[] = {
21475 (char *) "self",(char *) "v", NULL
21478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21481 arg2
= (int)SWIG_As_int(obj1
);
21482 if (PyErr_Occurred()) SWIG_fail
;
21484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21485 (arg1
)->SetNoCopies(arg2
);
21487 wxPyEndAllowThreads(__tstate
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21490 Py_INCREF(Py_None
); resultobj
= Py_None
;
21497 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21498 PyObject
*resultobj
;
21499 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21501 PyObject
* obj0
= 0 ;
21502 PyObject
* obj1
= 0 ;
21503 char *kwnames
[] = {
21504 (char *) "self",(char *) "flag", NULL
21507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
21508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21510 arg2
= (bool)SWIG_As_bool(obj1
);
21511 if (PyErr_Occurred()) SWIG_fail
;
21513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21514 (arg1
)->SetAllPages(arg2
);
21516 wxPyEndAllowThreads(__tstate
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21519 Py_INCREF(Py_None
); resultobj
= Py_None
;
21526 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21527 PyObject
*resultobj
;
21528 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21530 PyObject
* obj0
= 0 ;
21531 PyObject
* obj1
= 0 ;
21532 char *kwnames
[] = {
21533 (char *) "self",(char *) "flag", NULL
21536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21539 arg2
= (bool)SWIG_As_bool(obj1
);
21540 if (PyErr_Occurred()) SWIG_fail
;
21542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21543 (arg1
)->SetSelection(arg2
);
21545 wxPyEndAllowThreads(__tstate
);
21546 if (PyErr_Occurred()) SWIG_fail
;
21548 Py_INCREF(Py_None
); resultobj
= Py_None
;
21555 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21556 PyObject
*resultobj
;
21557 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21559 PyObject
* obj0
= 0 ;
21560 PyObject
* obj1
= 0 ;
21561 char *kwnames
[] = {
21562 (char *) "self",(char *) "flag", NULL
21565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21568 arg2
= (bool)SWIG_As_bool(obj1
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21572 (arg1
)->SetCollate(arg2
);
21574 wxPyEndAllowThreads(__tstate
);
21575 if (PyErr_Occurred()) SWIG_fail
;
21577 Py_INCREF(Py_None
); resultobj
= Py_None
;
21584 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21585 PyObject
*resultobj
;
21586 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21588 PyObject
* obj0
= 0 ;
21589 PyObject
* obj1
= 0 ;
21590 char *kwnames
[] = {
21591 (char *) "self",(char *) "flag", NULL
21594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21597 arg2
= (bool)SWIG_As_bool(obj1
);
21598 if (PyErr_Occurred()) SWIG_fail
;
21600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21601 (arg1
)->SetPrintToFile(arg2
);
21603 wxPyEndAllowThreads(__tstate
);
21604 if (PyErr_Occurred()) SWIG_fail
;
21606 Py_INCREF(Py_None
); resultobj
= Py_None
;
21613 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21614 PyObject
*resultobj
;
21615 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21617 PyObject
* obj0
= 0 ;
21618 PyObject
* obj1
= 0 ;
21619 char *kwnames
[] = {
21620 (char *) "self",(char *) "flag", NULL
21623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21626 arg2
= (bool)SWIG_As_bool(obj1
);
21627 if (PyErr_Occurred()) SWIG_fail
;
21629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21630 (arg1
)->SetSetupDialog(arg2
);
21632 wxPyEndAllowThreads(__tstate
);
21633 if (PyErr_Occurred()) SWIG_fail
;
21635 Py_INCREF(Py_None
); resultobj
= Py_None
;
21642 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21643 PyObject
*resultobj
;
21644 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21646 PyObject
* obj0
= 0 ;
21647 PyObject
* obj1
= 0 ;
21648 char *kwnames
[] = {
21649 (char *) "self",(char *) "flag", NULL
21652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21655 arg2
= (bool)SWIG_As_bool(obj1
);
21656 if (PyErr_Occurred()) SWIG_fail
;
21658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21659 (arg1
)->EnablePrintToFile(arg2
);
21661 wxPyEndAllowThreads(__tstate
);
21662 if (PyErr_Occurred()) SWIG_fail
;
21664 Py_INCREF(Py_None
); resultobj
= Py_None
;
21671 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21672 PyObject
*resultobj
;
21673 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21675 PyObject
* obj0
= 0 ;
21676 PyObject
* obj1
= 0 ;
21677 char *kwnames
[] = {
21678 (char *) "self",(char *) "flag", NULL
21681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21684 arg2
= (bool)SWIG_As_bool(obj1
);
21685 if (PyErr_Occurred()) SWIG_fail
;
21687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21688 (arg1
)->EnableSelection(arg2
);
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21693 Py_INCREF(Py_None
); resultobj
= Py_None
;
21700 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21701 PyObject
*resultobj
;
21702 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21704 PyObject
* obj0
= 0 ;
21705 PyObject
* obj1
= 0 ;
21706 char *kwnames
[] = {
21707 (char *) "self",(char *) "flag", NULL
21710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21713 arg2
= (bool)SWIG_As_bool(obj1
);
21714 if (PyErr_Occurred()) SWIG_fail
;
21716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21717 (arg1
)->EnablePageNumbers(arg2
);
21719 wxPyEndAllowThreads(__tstate
);
21720 if (PyErr_Occurred()) SWIG_fail
;
21722 Py_INCREF(Py_None
); resultobj
= Py_None
;
21729 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21730 PyObject
*resultobj
;
21731 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21733 PyObject
* obj0
= 0 ;
21734 PyObject
* obj1
= 0 ;
21735 char *kwnames
[] = {
21736 (char *) "self",(char *) "flag", NULL
21739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21742 arg2
= (bool)SWIG_As_bool(obj1
);
21743 if (PyErr_Occurred()) SWIG_fail
;
21745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21746 (arg1
)->EnableHelp(arg2
);
21748 wxPyEndAllowThreads(__tstate
);
21749 if (PyErr_Occurred()) SWIG_fail
;
21751 Py_INCREF(Py_None
); resultobj
= Py_None
;
21758 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21759 PyObject
*resultobj
;
21760 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21762 PyObject
* obj0
= 0 ;
21763 char *kwnames
[] = {
21764 (char *) "self", NULL
21767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21772 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21774 wxPyEndAllowThreads(__tstate
);
21775 if (PyErr_Occurred()) SWIG_fail
;
21778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21786 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21787 PyObject
*resultobj
;
21788 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21790 PyObject
* obj0
= 0 ;
21791 char *kwnames
[] = {
21792 (char *) "self", NULL
21795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21800 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21802 wxPyEndAllowThreads(__tstate
);
21803 if (PyErr_Occurred()) SWIG_fail
;
21806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21814 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21815 PyObject
*resultobj
;
21816 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21818 PyObject
* obj0
= 0 ;
21819 char *kwnames
[] = {
21820 (char *) "self", NULL
21823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21828 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21830 wxPyEndAllowThreads(__tstate
);
21831 if (PyErr_Occurred()) SWIG_fail
;
21834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21842 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21843 PyObject
*resultobj
;
21844 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21846 PyObject
* obj0
= 0 ;
21847 char *kwnames
[] = {
21848 (char *) "self", NULL
21851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21856 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21858 wxPyEndAllowThreads(__tstate
);
21859 if (PyErr_Occurred()) SWIG_fail
;
21862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21870 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21871 PyObject
*resultobj
;
21872 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21874 PyObject
* obj0
= 0 ;
21875 char *kwnames
[] = {
21876 (char *) "self", NULL
21879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21884 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21886 wxPyEndAllowThreads(__tstate
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21898 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21899 PyObject
*resultobj
;
21900 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21901 wxPrintData
*result
;
21902 PyObject
* obj0
= 0 ;
21903 char *kwnames
[] = {
21904 (char *) "self", NULL
21907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21913 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21914 result
= (wxPrintData
*) &_result_ref
;
21917 wxPyEndAllowThreads(__tstate
);
21918 if (PyErr_Occurred()) SWIG_fail
;
21920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21927 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21928 PyObject
*resultobj
;
21929 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21930 wxPrintData
*arg2
= 0 ;
21931 PyObject
* obj0
= 0 ;
21932 PyObject
* obj1
= 0 ;
21933 char *kwnames
[] = {
21934 (char *) "self",(char *) "printData", NULL
21937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21940 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21941 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21943 if (arg2
== NULL
) {
21944 PyErr_SetString(PyExc_TypeError
,"null reference");
21948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21949 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21951 wxPyEndAllowThreads(__tstate
);
21952 if (PyErr_Occurred()) SWIG_fail
;
21954 Py_INCREF(Py_None
); resultobj
= Py_None
;
21961 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
21963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21964 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21966 return Py_BuildValue((char *)"");
21968 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21969 PyObject
*resultobj
;
21970 wxWindow
*arg1
= (wxWindow
*) 0 ;
21971 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21972 wxPrintDialog
*result
;
21973 PyObject
* obj0
= 0 ;
21974 PyObject
* obj1
= 0 ;
21975 char *kwnames
[] = {
21976 (char *) "parent",(char *) "data", NULL
21979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21987 if (!wxPyCheckForApp()) SWIG_fail
;
21988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21989 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21991 wxPyEndAllowThreads(__tstate
);
21992 if (PyErr_Occurred()) SWIG_fail
;
21994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
22001 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22002 PyObject
*resultobj
;
22003 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
22004 wxPrintDialogData
*result
;
22005 PyObject
* obj0
= 0 ;
22006 char *kwnames
[] = {
22007 (char *) "self", NULL
22010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
22011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
22012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22016 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
22017 result
= (wxPrintDialogData
*) &_result_ref
;
22020 wxPyEndAllowThreads(__tstate
);
22021 if (PyErr_Occurred()) SWIG_fail
;
22023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
22030 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22031 PyObject
*resultobj
;
22032 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
22034 PyObject
* obj0
= 0 ;
22035 char *kwnames
[] = {
22036 (char *) "self", NULL
22039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
22040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
22041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22044 result
= (wxDC
*)(arg1
)->GetPrintDC();
22046 wxPyEndAllowThreads(__tstate
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22050 resultobj
= wxPyMake_wxObject(result
, 1);
22058 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22059 PyObject
*resultobj
;
22060 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
22062 PyObject
* obj0
= 0 ;
22063 char *kwnames
[] = {
22064 (char *) "self", NULL
22067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
22068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
22069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22072 result
= (int)(arg1
)->ShowModal();
22074 wxPyEndAllowThreads(__tstate
);
22075 if (PyErr_Occurred()) SWIG_fail
;
22077 resultobj
= SWIG_From_int((int)result
);
22084 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
22086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22087 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
22089 return Py_BuildValue((char *)"");
22091 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22092 PyObject
*resultobj
;
22093 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
22095 PyObject
* obj0
= 0 ;
22096 char *kwnames
[] = {
22097 (char *) "data", NULL
22100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
22102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
22103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22106 if (!wxPyCheckForApp()) SWIG_fail
;
22107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22108 result
= (wxPrinter
*)new wxPrinter(arg1
);
22110 wxPyEndAllowThreads(__tstate
);
22111 if (PyErr_Occurred()) SWIG_fail
;
22113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
22120 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22121 PyObject
*resultobj
;
22122 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22123 PyObject
* obj0
= 0 ;
22124 char *kwnames
[] = {
22125 (char *) "self", NULL
22128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
22129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22135 wxPyEndAllowThreads(__tstate
);
22136 if (PyErr_Occurred()) SWIG_fail
;
22138 Py_INCREF(Py_None
); resultobj
= Py_None
;
22145 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22146 PyObject
*resultobj
;
22147 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22148 wxWindow
*arg2
= (wxWindow
*) 0 ;
22149 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22150 PyObject
* obj0
= 0 ;
22151 PyObject
* obj1
= 0 ;
22152 PyObject
* obj2
= 0 ;
22153 char *kwnames
[] = {
22154 (char *) "self",(char *) "parent",(char *) "printout", NULL
22157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22160 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22162 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22166 (arg1
)->CreateAbortWindow(arg2
,arg3
);
22168 wxPyEndAllowThreads(__tstate
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22171 Py_INCREF(Py_None
); resultobj
= Py_None
;
22178 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22179 PyObject
*resultobj
;
22180 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22181 wxPrintDialogData
*result
;
22182 PyObject
* obj0
= 0 ;
22183 char *kwnames
[] = {
22184 (char *) "self", NULL
22187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
22188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22193 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
22194 result
= (wxPrintDialogData
*) &_result_ref
;
22197 wxPyEndAllowThreads(__tstate
);
22198 if (PyErr_Occurred()) SWIG_fail
;
22200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
22207 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22208 PyObject
*resultobj
;
22209 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22210 wxWindow
*arg2
= (wxWindow
*) 0 ;
22211 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22212 int arg4
= (int) true ;
22214 PyObject
* obj0
= 0 ;
22215 PyObject
* obj1
= 0 ;
22216 PyObject
* obj2
= 0 ;
22217 PyObject
* obj3
= 0 ;
22218 char *kwnames
[] = {
22219 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
22222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22225 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22227 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22230 arg4
= (int)SWIG_As_int(obj3
);
22231 if (PyErr_Occurred()) SWIG_fail
;
22234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22235 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
22237 wxPyEndAllowThreads(__tstate
);
22238 if (PyErr_Occurred()) SWIG_fail
;
22241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22249 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22250 PyObject
*resultobj
;
22251 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22252 wxWindow
*arg2
= (wxWindow
*) 0 ;
22254 PyObject
* obj0
= 0 ;
22255 PyObject
* obj1
= 0 ;
22256 char *kwnames
[] = {
22257 (char *) "self",(char *) "parent", NULL
22260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22263 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22267 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
22269 wxPyEndAllowThreads(__tstate
);
22270 if (PyErr_Occurred()) SWIG_fail
;
22273 resultobj
= wxPyMake_wxObject(result
, 0);
22281 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22282 PyObject
*resultobj
;
22283 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22284 wxWindow
*arg2
= (wxWindow
*) 0 ;
22285 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22286 wxString
*arg4
= 0 ;
22287 bool temp4
= false ;
22288 PyObject
* obj0
= 0 ;
22289 PyObject
* obj1
= 0 ;
22290 PyObject
* obj2
= 0 ;
22291 PyObject
* obj3
= 0 ;
22292 char *kwnames
[] = {
22293 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
22296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22299 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22301 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22304 arg4
= wxString_in_helper(obj3
);
22305 if (arg4
== NULL
) SWIG_fail
;
22309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22310 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
22312 wxPyEndAllowThreads(__tstate
);
22313 if (PyErr_Occurred()) SWIG_fail
;
22315 Py_INCREF(Py_None
); resultobj
= Py_None
;
22330 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22331 PyObject
*resultobj
;
22332 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22333 wxWindow
*arg2
= (wxWindow
*) 0 ;
22335 PyObject
* obj0
= 0 ;
22336 PyObject
* obj1
= 0 ;
22337 char *kwnames
[] = {
22338 (char *) "self",(char *) "parent", NULL
22341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
22342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22344 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22348 result
= (bool)(arg1
)->Setup(arg2
);
22350 wxPyEndAllowThreads(__tstate
);
22351 if (PyErr_Occurred()) SWIG_fail
;
22354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22362 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22363 PyObject
*resultobj
;
22364 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22366 PyObject
* obj0
= 0 ;
22367 char *kwnames
[] = {
22368 (char *) "self", NULL
22371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
22372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22376 result
= (bool)(arg1
)->GetAbort();
22378 wxPyEndAllowThreads(__tstate
);
22379 if (PyErr_Occurred()) SWIG_fail
;
22382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22390 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22391 PyObject
*resultobj
;
22393 char *kwnames
[] = {
22397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
22399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22400 result
= (int)wxPrinter::GetLastError();
22402 wxPyEndAllowThreads(__tstate
);
22403 if (PyErr_Occurred()) SWIG_fail
;
22405 resultobj
= SWIG_From_int((int)result
);
22412 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
22414 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22415 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
22417 return Py_BuildValue((char *)"");
22419 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22420 PyObject
*resultobj
;
22421 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
22422 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22423 wxPyPrintout
*result
;
22424 bool temp1
= false ;
22425 PyObject
* obj0
= 0 ;
22426 char *kwnames
[] = {
22427 (char *) "title", NULL
22430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
22433 arg1
= wxString_in_helper(obj0
);
22434 if (arg1
== NULL
) SWIG_fail
;
22439 if (!wxPyCheckForApp()) SWIG_fail
;
22440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22441 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
22443 wxPyEndAllowThreads(__tstate
);
22444 if (PyErr_Occurred()) SWIG_fail
;
22447 resultobj
= wxPyMake_wxObject(result
, 1);
22463 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22464 PyObject
*resultobj
;
22465 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22466 PyObject
*arg2
= (PyObject
*) 0 ;
22467 PyObject
*arg3
= (PyObject
*) 0 ;
22468 PyObject
* obj0
= 0 ;
22469 PyObject
* obj1
= 0 ;
22470 PyObject
* obj2
= 0 ;
22471 char *kwnames
[] = {
22472 (char *) "self",(char *) "self",(char *) "_class", NULL
22475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22482 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22484 wxPyEndAllowThreads(__tstate
);
22485 if (PyErr_Occurred()) SWIG_fail
;
22487 Py_INCREF(Py_None
); resultobj
= Py_None
;
22494 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22495 PyObject
*resultobj
;
22496 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22498 PyObject
* obj0
= 0 ;
22499 char *kwnames
[] = {
22500 (char *) "self", NULL
22503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
22504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22508 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
22510 wxPyEndAllowThreads(__tstate
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22515 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22517 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22526 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22527 PyObject
*resultobj
;
22528 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22530 PyObject
* obj0
= 0 ;
22531 char *kwnames
[] = {
22532 (char *) "self", NULL
22535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
22536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22540 result
= (wxDC
*)(arg1
)->GetDC();
22542 wxPyEndAllowThreads(__tstate
);
22543 if (PyErr_Occurred()) SWIG_fail
;
22546 resultobj
= wxPyMake_wxObject(result
, 0);
22554 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22555 PyObject
*resultobj
;
22556 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22557 wxDC
*arg2
= (wxDC
*) 0 ;
22558 PyObject
* obj0
= 0 ;
22559 PyObject
* obj1
= 0 ;
22560 char *kwnames
[] = {
22561 (char *) "self",(char *) "dc", NULL
22564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22567 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22571 (arg1
)->SetDC(arg2
);
22573 wxPyEndAllowThreads(__tstate
);
22574 if (PyErr_Occurred()) SWIG_fail
;
22576 Py_INCREF(Py_None
); resultobj
= Py_None
;
22583 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22584 PyObject
*resultobj
;
22585 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22588 PyObject
* obj0
= 0 ;
22589 PyObject
* obj1
= 0 ;
22590 PyObject
* obj2
= 0 ;
22591 char *kwnames
[] = {
22592 (char *) "self",(char *) "w",(char *) "h", NULL
22595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22598 arg2
= (int)SWIG_As_int(obj1
);
22599 if (PyErr_Occurred()) SWIG_fail
;
22600 arg3
= (int)SWIG_As_int(obj2
);
22601 if (PyErr_Occurred()) SWIG_fail
;
22603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22604 (arg1
)->SetPageSizePixels(arg2
,arg3
);
22606 wxPyEndAllowThreads(__tstate
);
22607 if (PyErr_Occurred()) SWIG_fail
;
22609 Py_INCREF(Py_None
); resultobj
= Py_None
;
22616 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22617 PyObject
*resultobj
;
22618 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22619 int *arg2
= (int *) 0 ;
22620 int *arg3
= (int *) 0 ;
22625 PyObject
* obj0
= 0 ;
22626 char *kwnames
[] = {
22627 (char *) "self", NULL
22630 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22631 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
22633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22637 (arg1
)->GetPageSizePixels(arg2
,arg3
);
22639 wxPyEndAllowThreads(__tstate
);
22640 if (PyErr_Occurred()) SWIG_fail
;
22642 Py_INCREF(Py_None
); resultobj
= Py_None
;
22643 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22644 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22645 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22646 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22653 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22654 PyObject
*resultobj
;
22655 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22658 PyObject
* obj0
= 0 ;
22659 PyObject
* obj1
= 0 ;
22660 PyObject
* obj2
= 0 ;
22661 char *kwnames
[] = {
22662 (char *) "self",(char *) "w",(char *) "h", NULL
22665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22668 arg2
= (int)SWIG_As_int(obj1
);
22669 if (PyErr_Occurred()) SWIG_fail
;
22670 arg3
= (int)SWIG_As_int(obj2
);
22671 if (PyErr_Occurred()) SWIG_fail
;
22673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22674 (arg1
)->SetPageSizeMM(arg2
,arg3
);
22676 wxPyEndAllowThreads(__tstate
);
22677 if (PyErr_Occurred()) SWIG_fail
;
22679 Py_INCREF(Py_None
); resultobj
= Py_None
;
22686 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22687 PyObject
*resultobj
;
22688 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22689 int *arg2
= (int *) 0 ;
22690 int *arg3
= (int *) 0 ;
22695 PyObject
* obj0
= 0 ;
22696 char *kwnames
[] = {
22697 (char *) "self", NULL
22700 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22701 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22707 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22709 wxPyEndAllowThreads(__tstate
);
22710 if (PyErr_Occurred()) SWIG_fail
;
22712 Py_INCREF(Py_None
); resultobj
= Py_None
;
22713 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22714 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22715 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22716 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22723 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22724 PyObject
*resultobj
;
22725 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22728 PyObject
* obj0
= 0 ;
22729 PyObject
* obj1
= 0 ;
22730 PyObject
* obj2
= 0 ;
22731 char *kwnames
[] = {
22732 (char *) "self",(char *) "x",(char *) "y", NULL
22735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22738 arg2
= (int)SWIG_As_int(obj1
);
22739 if (PyErr_Occurred()) SWIG_fail
;
22740 arg3
= (int)SWIG_As_int(obj2
);
22741 if (PyErr_Occurred()) SWIG_fail
;
22743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22744 (arg1
)->SetPPIScreen(arg2
,arg3
);
22746 wxPyEndAllowThreads(__tstate
);
22747 if (PyErr_Occurred()) SWIG_fail
;
22749 Py_INCREF(Py_None
); resultobj
= Py_None
;
22756 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22757 PyObject
*resultobj
;
22758 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22759 int *arg2
= (int *) 0 ;
22760 int *arg3
= (int *) 0 ;
22765 PyObject
* obj0
= 0 ;
22766 char *kwnames
[] = {
22767 (char *) "self", NULL
22770 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22771 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22777 (arg1
)->GetPPIScreen(arg2
,arg3
);
22779 wxPyEndAllowThreads(__tstate
);
22780 if (PyErr_Occurred()) SWIG_fail
;
22782 Py_INCREF(Py_None
); resultobj
= Py_None
;
22783 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22784 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22785 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22786 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22793 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22794 PyObject
*resultobj
;
22795 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22798 PyObject
* obj0
= 0 ;
22799 PyObject
* obj1
= 0 ;
22800 PyObject
* obj2
= 0 ;
22801 char *kwnames
[] = {
22802 (char *) "self",(char *) "x",(char *) "y", NULL
22805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22808 arg2
= (int)SWIG_As_int(obj1
);
22809 if (PyErr_Occurred()) SWIG_fail
;
22810 arg3
= (int)SWIG_As_int(obj2
);
22811 if (PyErr_Occurred()) SWIG_fail
;
22813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22814 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22816 wxPyEndAllowThreads(__tstate
);
22817 if (PyErr_Occurred()) SWIG_fail
;
22819 Py_INCREF(Py_None
); resultobj
= Py_None
;
22826 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22827 PyObject
*resultobj
;
22828 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22829 int *arg2
= (int *) 0 ;
22830 int *arg3
= (int *) 0 ;
22835 PyObject
* obj0
= 0 ;
22836 char *kwnames
[] = {
22837 (char *) "self", NULL
22840 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22841 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22847 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22849 wxPyEndAllowThreads(__tstate
);
22850 if (PyErr_Occurred()) SWIG_fail
;
22852 Py_INCREF(Py_None
); resultobj
= Py_None
;
22853 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22854 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22855 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22856 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22863 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22864 PyObject
*resultobj
;
22865 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22867 PyObject
* obj0
= 0 ;
22868 char *kwnames
[] = {
22869 (char *) "self", NULL
22872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22877 result
= (bool)(arg1
)->IsPreview();
22879 wxPyEndAllowThreads(__tstate
);
22880 if (PyErr_Occurred()) SWIG_fail
;
22883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22891 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22892 PyObject
*resultobj
;
22893 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22895 PyObject
* obj0
= 0 ;
22896 PyObject
* obj1
= 0 ;
22897 char *kwnames
[] = {
22898 (char *) "self",(char *) "p", NULL
22901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22904 arg2
= (bool)SWIG_As_bool(obj1
);
22905 if (PyErr_Occurred()) SWIG_fail
;
22907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22908 (arg1
)->SetIsPreview(arg2
);
22910 wxPyEndAllowThreads(__tstate
);
22911 if (PyErr_Occurred()) SWIG_fail
;
22913 Py_INCREF(Py_None
); resultobj
= Py_None
;
22920 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22921 PyObject
*resultobj
;
22922 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22926 PyObject
* obj0
= 0 ;
22927 PyObject
* obj1
= 0 ;
22928 PyObject
* obj2
= 0 ;
22929 char *kwnames
[] = {
22930 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22936 arg2
= (int)SWIG_As_int(obj1
);
22937 if (PyErr_Occurred()) SWIG_fail
;
22938 arg3
= (int)SWIG_As_int(obj2
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22942 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22944 wxPyEndAllowThreads(__tstate
);
22945 if (PyErr_Occurred()) SWIG_fail
;
22948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22956 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22957 PyObject
*resultobj
;
22958 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22959 PyObject
* obj0
= 0 ;
22960 char *kwnames
[] = {
22961 (char *) "self", NULL
22964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22969 (arg1
)->base_OnEndDocument();
22971 wxPyEndAllowThreads(__tstate
);
22972 if (PyErr_Occurred()) SWIG_fail
;
22974 Py_INCREF(Py_None
); resultobj
= Py_None
;
22981 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22982 PyObject
*resultobj
;
22983 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22984 PyObject
* obj0
= 0 ;
22985 char *kwnames
[] = {
22986 (char *) "self", NULL
22989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22994 (arg1
)->base_OnBeginPrinting();
22996 wxPyEndAllowThreads(__tstate
);
22997 if (PyErr_Occurred()) SWIG_fail
;
22999 Py_INCREF(Py_None
); resultobj
= Py_None
;
23006 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23007 PyObject
*resultobj
;
23008 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23009 PyObject
* obj0
= 0 ;
23010 char *kwnames
[] = {
23011 (char *) "self", NULL
23014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
23015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23019 (arg1
)->base_OnEndPrinting();
23021 wxPyEndAllowThreads(__tstate
);
23022 if (PyErr_Occurred()) SWIG_fail
;
23024 Py_INCREF(Py_None
); resultobj
= Py_None
;
23031 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23032 PyObject
*resultobj
;
23033 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23034 PyObject
* obj0
= 0 ;
23035 char *kwnames
[] = {
23036 (char *) "self", NULL
23039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
23040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23044 (arg1
)->base_OnPreparePrinting();
23046 wxPyEndAllowThreads(__tstate
);
23047 if (PyErr_Occurred()) SWIG_fail
;
23049 Py_INCREF(Py_None
); resultobj
= Py_None
;
23056 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23057 PyObject
*resultobj
;
23058 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23061 PyObject
* obj0
= 0 ;
23062 PyObject
* obj1
= 0 ;
23063 char *kwnames
[] = {
23064 (char *) "self",(char *) "page", NULL
23067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23070 arg2
= (int)SWIG_As_int(obj1
);
23071 if (PyErr_Occurred()) SWIG_fail
;
23073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23074 result
= (bool)(arg1
)->base_HasPage(arg2
);
23076 wxPyEndAllowThreads(__tstate
);
23077 if (PyErr_Occurred()) SWIG_fail
;
23080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23088 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23089 PyObject
*resultobj
;
23090 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23091 int *arg2
= (int *) 0 ;
23092 int *arg3
= (int *) 0 ;
23093 int *arg4
= (int *) 0 ;
23094 int *arg5
= (int *) 0 ;
23103 PyObject
* obj0
= 0 ;
23104 char *kwnames
[] = {
23105 (char *) "self", NULL
23108 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23109 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23110 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
23111 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
23112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
23113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23117 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
23119 wxPyEndAllowThreads(__tstate
);
23120 if (PyErr_Occurred()) SWIG_fail
;
23122 Py_INCREF(Py_None
); resultobj
= Py_None
;
23123 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23124 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23125 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23126 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23127 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
23128 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
23129 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
23130 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
23137 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
23139 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23140 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
23142 return Py_BuildValue((char *)"");
23144 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23145 PyObject
*resultobj
;
23146 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23147 wxWindow
*arg2
= (wxWindow
*) 0 ;
23148 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23149 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23150 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23151 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23152 long arg5
= (long) 0 ;
23153 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
23154 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
23155 wxPreviewCanvas
*result
;
23158 bool temp6
= false ;
23159 PyObject
* obj0
= 0 ;
23160 PyObject
* obj1
= 0 ;
23161 PyObject
* obj2
= 0 ;
23162 PyObject
* obj3
= 0 ;
23163 PyObject
* obj4
= 0 ;
23164 PyObject
* obj5
= 0 ;
23165 char *kwnames
[] = {
23166 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23177 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23183 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23187 arg5
= (long)SWIG_As_long(obj4
);
23188 if (PyErr_Occurred()) SWIG_fail
;
23192 arg6
= wxString_in_helper(obj5
);
23193 if (arg6
== NULL
) SWIG_fail
;
23198 if (!wxPyCheckForApp()) SWIG_fail
;
23199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23200 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
23202 wxPyEndAllowThreads(__tstate
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
23220 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
23222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23223 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
23225 return Py_BuildValue((char *)"");
23227 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23228 PyObject
*resultobj
;
23229 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23230 wxFrame
*arg2
= (wxFrame
*) 0 ;
23231 wxString
*arg3
= 0 ;
23232 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23233 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23234 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23235 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23236 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
23237 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23238 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23239 wxPreviewFrame
*result
;
23240 bool temp3
= false ;
23243 bool temp7
= false ;
23244 PyObject
* obj0
= 0 ;
23245 PyObject
* obj1
= 0 ;
23246 PyObject
* obj2
= 0 ;
23247 PyObject
* obj3
= 0 ;
23248 PyObject
* obj4
= 0 ;
23249 PyObject
* obj5
= 0 ;
23250 PyObject
* obj6
= 0 ;
23251 char *kwnames
[] = {
23252 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23258 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23261 arg3
= wxString_in_helper(obj2
);
23262 if (arg3
== NULL
) SWIG_fail
;
23268 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23274 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23278 arg6
= (long)SWIG_As_long(obj5
);
23279 if (PyErr_Occurred()) SWIG_fail
;
23283 arg7
= wxString_in_helper(obj6
);
23284 if (arg7
== NULL
) SWIG_fail
;
23289 if (!wxPyCheckForApp()) SWIG_fail
;
23290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23291 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23293 wxPyEndAllowThreads(__tstate
);
23294 if (PyErr_Occurred()) SWIG_fail
;
23296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
23319 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23320 PyObject
*resultobj
;
23321 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23322 PyObject
* obj0
= 0 ;
23323 char *kwnames
[] = {
23324 (char *) "self", NULL
23327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
23328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23332 (arg1
)->Initialize();
23334 wxPyEndAllowThreads(__tstate
);
23335 if (PyErr_Occurred()) SWIG_fail
;
23337 Py_INCREF(Py_None
); resultobj
= Py_None
;
23344 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23345 PyObject
*resultobj
;
23346 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23347 PyObject
* obj0
= 0 ;
23348 char *kwnames
[] = {
23349 (char *) "self", NULL
23352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
23353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23357 (arg1
)->CreateControlBar();
23359 wxPyEndAllowThreads(__tstate
);
23360 if (PyErr_Occurred()) SWIG_fail
;
23362 Py_INCREF(Py_None
); resultobj
= Py_None
;
23369 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23370 PyObject
*resultobj
;
23371 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23372 PyObject
* obj0
= 0 ;
23373 char *kwnames
[] = {
23374 (char *) "self", NULL
23377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
23378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23382 (arg1
)->CreateCanvas();
23384 wxPyEndAllowThreads(__tstate
);
23385 if (PyErr_Occurred()) SWIG_fail
;
23387 Py_INCREF(Py_None
); resultobj
= Py_None
;
23394 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23395 PyObject
*resultobj
;
23396 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23397 wxPreviewControlBar
*result
;
23398 PyObject
* obj0
= 0 ;
23399 char *kwnames
[] = {
23400 (char *) "self", NULL
23403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
23404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23408 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
23410 wxPyEndAllowThreads(__tstate
);
23411 if (PyErr_Occurred()) SWIG_fail
;
23413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
23420 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
23422 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23423 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
23425 return Py_BuildValue((char *)"");
23427 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23428 PyObject
*resultobj
;
23429 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23431 wxWindow
*arg3
= (wxWindow
*) 0 ;
23432 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23433 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23434 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23435 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23436 long arg6
= (long) wxTAB_TRAVERSAL
;
23437 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
23438 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23439 wxPreviewControlBar
*result
;
23442 bool temp7
= false ;
23443 PyObject
* obj0
= 0 ;
23444 PyObject
* obj1
= 0 ;
23445 PyObject
* obj2
= 0 ;
23446 PyObject
* obj3
= 0 ;
23447 PyObject
* obj4
= 0 ;
23448 PyObject
* obj5
= 0 ;
23449 PyObject
* obj6
= 0 ;
23450 char *kwnames
[] = {
23451 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23457 arg2
= (long)SWIG_As_long(obj1
);
23458 if (PyErr_Occurred()) SWIG_fail
;
23459 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
23460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23464 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23470 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23474 arg6
= (long)SWIG_As_long(obj5
);
23475 if (PyErr_Occurred()) SWIG_fail
;
23479 arg7
= wxString_in_helper(obj6
);
23480 if (arg7
== NULL
) SWIG_fail
;
23485 if (!wxPyCheckForApp()) SWIG_fail
;
23486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23487 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23489 wxPyEndAllowThreads(__tstate
);
23490 if (PyErr_Occurred()) SWIG_fail
;
23492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
23507 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23508 PyObject
*resultobj
;
23509 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23511 PyObject
* obj0
= 0 ;
23512 char *kwnames
[] = {
23513 (char *) "self", NULL
23516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
23517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23521 result
= (int)(arg1
)->GetZoomControl();
23523 wxPyEndAllowThreads(__tstate
);
23524 if (PyErr_Occurred()) SWIG_fail
;
23526 resultobj
= SWIG_From_int((int)result
);
23533 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23534 PyObject
*resultobj
;
23535 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23537 PyObject
* obj0
= 0 ;
23538 PyObject
* obj1
= 0 ;
23539 char *kwnames
[] = {
23540 (char *) "self",(char *) "zoom", NULL
23543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
23544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23546 arg2
= (int)SWIG_As_int(obj1
);
23547 if (PyErr_Occurred()) SWIG_fail
;
23549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23550 (arg1
)->SetZoomControl(arg2
);
23552 wxPyEndAllowThreads(__tstate
);
23553 if (PyErr_Occurred()) SWIG_fail
;
23555 Py_INCREF(Py_None
); resultobj
= Py_None
;
23562 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23563 PyObject
*resultobj
;
23564 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23565 wxPrintPreview
*result
;
23566 PyObject
* obj0
= 0 ;
23567 char *kwnames
[] = {
23568 (char *) "self", NULL
23571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
23572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23576 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
23578 wxPyEndAllowThreads(__tstate
);
23579 if (PyErr_Occurred()) SWIG_fail
;
23581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
23588 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23589 PyObject
*resultobj
;
23590 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23591 PyObject
* obj0
= 0 ;
23592 char *kwnames
[] = {
23593 (char *) "self", NULL
23596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
23597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23603 wxPyEndAllowThreads(__tstate
);
23604 if (PyErr_Occurred()) SWIG_fail
;
23606 Py_INCREF(Py_None
); resultobj
= Py_None
;
23613 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23614 PyObject
*resultobj
;
23615 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23616 PyObject
* obj0
= 0 ;
23617 char *kwnames
[] = {
23618 (char *) "self", NULL
23621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
23622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23626 (arg1
)->OnPrevious();
23628 wxPyEndAllowThreads(__tstate
);
23629 if (PyErr_Occurred()) SWIG_fail
;
23631 Py_INCREF(Py_None
); resultobj
= Py_None
;
23638 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23639 PyObject
*resultobj
;
23640 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23641 PyObject
* obj0
= 0 ;
23642 char *kwnames
[] = {
23643 (char *) "self", NULL
23646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
23647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23653 wxPyEndAllowThreads(__tstate
);
23654 if (PyErr_Occurred()) SWIG_fail
;
23656 Py_INCREF(Py_None
); resultobj
= Py_None
;
23663 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23664 PyObject
*resultobj
;
23665 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23666 PyObject
* obj0
= 0 ;
23667 char *kwnames
[] = {
23668 (char *) "self", NULL
23671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
23672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23678 wxPyEndAllowThreads(__tstate
);
23679 if (PyErr_Occurred()) SWIG_fail
;
23681 Py_INCREF(Py_None
); resultobj
= Py_None
;
23688 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23689 PyObject
*resultobj
;
23690 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23691 PyObject
* obj0
= 0 ;
23692 char *kwnames
[] = {
23693 (char *) "self", NULL
23696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 wxPyEndAllowThreads(__tstate
);
23704 if (PyErr_Occurred()) SWIG_fail
;
23706 Py_INCREF(Py_None
); resultobj
= Py_None
;
23713 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
23715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23716 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23718 return Py_BuildValue((char *)"");
23720 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
23721 PyObject
*resultobj
;
23722 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23723 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23724 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23725 wxPrintPreview
*result
;
23726 PyObject
* obj0
= 0 ;
23727 PyObject
* obj1
= 0 ;
23728 PyObject
* obj2
= 0 ;
23730 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23733 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23736 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23740 if (!wxPyCheckForApp()) SWIG_fail
;
23741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23742 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23744 wxPyEndAllowThreads(__tstate
);
23745 if (PyErr_Occurred()) SWIG_fail
;
23747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23754 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
23755 PyObject
*resultobj
;
23756 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23757 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23758 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23759 wxPrintPreview
*result
;
23760 PyObject
* obj0
= 0 ;
23761 PyObject
* obj1
= 0 ;
23762 PyObject
* obj2
= 0 ;
23764 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23769 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23772 if (!wxPyCheckForApp()) SWIG_fail
;
23773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23774 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23776 wxPyEndAllowThreads(__tstate
);
23777 if (PyErr_Occurred()) SWIG_fail
;
23779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23786 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23791 argc
= PyObject_Length(args
);
23792 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23793 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23795 if ((argc
>= 2) && (argc
<= 3)) {
23799 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23809 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23818 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23822 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23830 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23839 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23849 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23859 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23867 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23873 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23878 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23879 PyObject
*resultobj
;
23880 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23883 PyObject
* obj0
= 0 ;
23884 PyObject
* obj1
= 0 ;
23885 char *kwnames
[] = {
23886 (char *) "self",(char *) "pageNum", NULL
23889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23892 arg2
= (int)SWIG_As_int(obj1
);
23893 if (PyErr_Occurred()) SWIG_fail
;
23895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23896 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23898 wxPyEndAllowThreads(__tstate
);
23899 if (PyErr_Occurred()) SWIG_fail
;
23902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23910 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23911 PyObject
*resultobj
;
23912 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23914 PyObject
* obj0
= 0 ;
23915 char *kwnames
[] = {
23916 (char *) "self", NULL
23919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23924 result
= (int)(arg1
)->GetCurrentPage();
23926 wxPyEndAllowThreads(__tstate
);
23927 if (PyErr_Occurred()) SWIG_fail
;
23929 resultobj
= SWIG_From_int((int)result
);
23936 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23937 PyObject
*resultobj
;
23938 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23939 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23940 PyObject
* obj0
= 0 ;
23941 PyObject
* obj1
= 0 ;
23942 char *kwnames
[] = {
23943 (char *) "self",(char *) "printout", NULL
23946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23953 (arg1
)->SetPrintout(arg2
);
23955 wxPyEndAllowThreads(__tstate
);
23956 if (PyErr_Occurred()) SWIG_fail
;
23958 Py_INCREF(Py_None
); resultobj
= Py_None
;
23965 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23966 PyObject
*resultobj
;
23967 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23968 wxPyPrintout
*result
;
23969 PyObject
* obj0
= 0 ;
23970 char *kwnames
[] = {
23971 (char *) "self", NULL
23974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23979 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23981 wxPyEndAllowThreads(__tstate
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23985 resultobj
= wxPyMake_wxObject(result
, 0);
23993 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23994 PyObject
*resultobj
;
23995 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23996 wxPyPrintout
*result
;
23997 PyObject
* obj0
= 0 ;
23998 char *kwnames
[] = {
23999 (char *) "self", NULL
24002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
24003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24007 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
24009 wxPyEndAllowThreads(__tstate
);
24010 if (PyErr_Occurred()) SWIG_fail
;
24013 resultobj
= wxPyMake_wxObject(result
, 0);
24021 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24022 PyObject
*resultobj
;
24023 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24024 wxFrame
*arg2
= (wxFrame
*) 0 ;
24025 PyObject
* obj0
= 0 ;
24026 PyObject
* obj1
= 0 ;
24027 char *kwnames
[] = {
24028 (char *) "self",(char *) "frame", NULL
24031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
24032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24034 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24038 (arg1
)->SetFrame(arg2
);
24040 wxPyEndAllowThreads(__tstate
);
24041 if (PyErr_Occurred()) SWIG_fail
;
24043 Py_INCREF(Py_None
); resultobj
= Py_None
;
24050 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24051 PyObject
*resultobj
;
24052 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24053 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24054 PyObject
* obj0
= 0 ;
24055 PyObject
* obj1
= 0 ;
24056 char *kwnames
[] = {
24057 (char *) "self",(char *) "canvas", NULL
24060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24063 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24067 (arg1
)->SetCanvas(arg2
);
24069 wxPyEndAllowThreads(__tstate
);
24070 if (PyErr_Occurred()) SWIG_fail
;
24072 Py_INCREF(Py_None
); resultobj
= Py_None
;
24079 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24080 PyObject
*resultobj
;
24081 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24083 PyObject
* obj0
= 0 ;
24084 char *kwnames
[] = {
24085 (char *) "self", NULL
24088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
24089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24093 result
= (wxFrame
*)(arg1
)->GetFrame();
24095 wxPyEndAllowThreads(__tstate
);
24096 if (PyErr_Occurred()) SWIG_fail
;
24099 resultobj
= wxPyMake_wxObject(result
, 0);
24107 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24108 PyObject
*resultobj
;
24109 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24110 wxPreviewCanvas
*result
;
24111 PyObject
* obj0
= 0 ;
24112 char *kwnames
[] = {
24113 (char *) "self", NULL
24116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
24117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24121 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
24123 wxPyEndAllowThreads(__tstate
);
24124 if (PyErr_Occurred()) SWIG_fail
;
24126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
24133 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24134 PyObject
*resultobj
;
24135 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24136 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24139 PyObject
* obj0
= 0 ;
24140 PyObject
* obj1
= 0 ;
24141 PyObject
* obj2
= 0 ;
24142 char *kwnames
[] = {
24143 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24149 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24151 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24152 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24154 if (arg3
== NULL
) {
24155 PyErr_SetString(PyExc_TypeError
,"null reference");
24159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24160 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
24162 wxPyEndAllowThreads(__tstate
);
24163 if (PyErr_Occurred()) SWIG_fail
;
24166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24174 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24175 PyObject
*resultobj
;
24176 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24177 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24180 PyObject
* obj0
= 0 ;
24181 PyObject
* obj1
= 0 ;
24182 PyObject
* obj2
= 0 ;
24183 char *kwnames
[] = {
24184 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24192 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24193 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24195 if (arg3
== NULL
) {
24196 PyErr_SetString(PyExc_TypeError
,"null reference");
24200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24201 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
24203 wxPyEndAllowThreads(__tstate
);
24204 if (PyErr_Occurred()) SWIG_fail
;
24207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24215 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
;
24217 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24220 PyObject
* obj0
= 0 ;
24221 PyObject
* obj1
= 0 ;
24222 char *kwnames
[] = {
24223 (char *) "self",(char *) "pageNum", NULL
24226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24229 arg2
= (int)SWIG_As_int(obj1
);
24230 if (PyErr_Occurred()) SWIG_fail
;
24232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24233 result
= (bool)(arg1
)->RenderPage(arg2
);
24235 wxPyEndAllowThreads(__tstate
);
24236 if (PyErr_Occurred()) SWIG_fail
;
24239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24247 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24248 PyObject
*resultobj
;
24249 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24250 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24251 PyObject
* obj0
= 0 ;
24252 PyObject
* obj1
= 0 ;
24253 char *kwnames
[] = {
24254 (char *) "self",(char *) "canvas", NULL
24257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
24258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24260 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24264 (arg1
)->AdjustScrollbars(arg2
);
24266 wxPyEndAllowThreads(__tstate
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24269 Py_INCREF(Py_None
); resultobj
= Py_None
;
24276 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24277 PyObject
*resultobj
;
24278 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24279 wxPrintDialogData
*result
;
24280 PyObject
* obj0
= 0 ;
24281 char *kwnames
[] = {
24282 (char *) "self", NULL
24285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24291 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24292 result
= (wxPrintDialogData
*) &_result_ref
;
24295 wxPyEndAllowThreads(__tstate
);
24296 if (PyErr_Occurred()) SWIG_fail
;
24298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24305 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24306 PyObject
*resultobj
;
24307 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24309 PyObject
* obj0
= 0 ;
24310 PyObject
* obj1
= 0 ;
24311 char *kwnames
[] = {
24312 (char *) "self",(char *) "percent", NULL
24315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24318 arg2
= (int)SWIG_As_int(obj1
);
24319 if (PyErr_Occurred()) SWIG_fail
;
24321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24322 (arg1
)->SetZoom(arg2
);
24324 wxPyEndAllowThreads(__tstate
);
24325 if (PyErr_Occurred()) SWIG_fail
;
24327 Py_INCREF(Py_None
); resultobj
= Py_None
;
24334 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24335 PyObject
*resultobj
;
24336 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24338 PyObject
* obj0
= 0 ;
24339 char *kwnames
[] = {
24340 (char *) "self", NULL
24343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
24344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24348 result
= (int)(arg1
)->GetZoom();
24350 wxPyEndAllowThreads(__tstate
);
24351 if (PyErr_Occurred()) SWIG_fail
;
24353 resultobj
= SWIG_From_int((int)result
);
24360 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24361 PyObject
*resultobj
;
24362 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24364 PyObject
* obj0
= 0 ;
24365 char *kwnames
[] = {
24366 (char *) "self", NULL
24369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
24370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24374 result
= (int)(arg1
)->GetMaxPage();
24376 wxPyEndAllowThreads(__tstate
);
24377 if (PyErr_Occurred()) SWIG_fail
;
24379 resultobj
= SWIG_From_int((int)result
);
24386 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24387 PyObject
*resultobj
;
24388 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24390 PyObject
* obj0
= 0 ;
24391 char *kwnames
[] = {
24392 (char *) "self", NULL
24395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
24396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24400 result
= (int)(arg1
)->GetMinPage();
24402 wxPyEndAllowThreads(__tstate
);
24403 if (PyErr_Occurred()) SWIG_fail
;
24405 resultobj
= SWIG_From_int((int)result
);
24412 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24413 PyObject
*resultobj
;
24414 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24416 PyObject
* obj0
= 0 ;
24417 char *kwnames
[] = {
24418 (char *) "self", NULL
24421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
24422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24426 result
= (bool)(arg1
)->Ok();
24428 wxPyEndAllowThreads(__tstate
);
24429 if (PyErr_Occurred()) SWIG_fail
;
24432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24440 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24441 PyObject
*resultobj
;
24442 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24444 PyObject
* obj0
= 0 ;
24445 PyObject
* obj1
= 0 ;
24446 char *kwnames
[] = {
24447 (char *) "self",(char *) "ok", NULL
24450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
24451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24453 arg2
= (bool)SWIG_As_bool(obj1
);
24454 if (PyErr_Occurred()) SWIG_fail
;
24456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24457 (arg1
)->SetOk(arg2
);
24459 wxPyEndAllowThreads(__tstate
);
24460 if (PyErr_Occurred()) SWIG_fail
;
24462 Py_INCREF(Py_None
); resultobj
= Py_None
;
24469 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24470 PyObject
*resultobj
;
24471 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24474 PyObject
* obj0
= 0 ;
24475 PyObject
* obj1
= 0 ;
24476 char *kwnames
[] = {
24477 (char *) "self",(char *) "interactive", NULL
24480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24483 arg2
= (bool)SWIG_As_bool(obj1
);
24484 if (PyErr_Occurred()) SWIG_fail
;
24486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24487 result
= (bool)(arg1
)->Print(arg2
);
24489 wxPyEndAllowThreads(__tstate
);
24490 if (PyErr_Occurred()) SWIG_fail
;
24493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24501 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24502 PyObject
*resultobj
;
24503 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24504 PyObject
* obj0
= 0 ;
24505 char *kwnames
[] = {
24506 (char *) "self", NULL
24509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24514 (arg1
)->DetermineScaling();
24516 wxPyEndAllowThreads(__tstate
);
24517 if (PyErr_Occurred()) SWIG_fail
;
24519 Py_INCREF(Py_None
); resultobj
= Py_None
;
24526 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24529 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
24531 return Py_BuildValue((char *)"");
24533 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
24534 PyObject
*resultobj
;
24535 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24536 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24537 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
24538 wxPyPrintPreview
*result
;
24539 PyObject
* obj0
= 0 ;
24540 PyObject
* obj1
= 0 ;
24541 PyObject
* obj2
= 0 ;
24543 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24549 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
24550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24553 if (!wxPyCheckForApp()) SWIG_fail
;
24554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24555 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24557 wxPyEndAllowThreads(__tstate
);
24558 if (PyErr_Occurred()) SWIG_fail
;
24560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24567 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
24568 PyObject
*resultobj
;
24569 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24570 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24571 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
24572 wxPyPrintPreview
*result
;
24573 PyObject
* obj0
= 0 ;
24574 PyObject
* obj1
= 0 ;
24575 PyObject
* obj2
= 0 ;
24577 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24580 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24582 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
24583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24585 if (!wxPyCheckForApp()) SWIG_fail
;
24586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24587 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24589 wxPyEndAllowThreads(__tstate
);
24590 if (PyErr_Occurred()) SWIG_fail
;
24592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24599 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
24604 argc
= PyObject_Length(args
);
24605 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
24606 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24608 if ((argc
>= 2) && (argc
<= 3)) {
24612 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24622 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24631 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24635 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
24643 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24652 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24662 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24672 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24680 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24686 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24691 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24692 PyObject
*resultobj
;
24693 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24694 PyObject
*arg2
= (PyObject
*) 0 ;
24695 PyObject
*arg3
= (PyObject
*) 0 ;
24696 PyObject
* obj0
= 0 ;
24697 PyObject
* obj1
= 0 ;
24698 PyObject
* obj2
= 0 ;
24699 char *kwnames
[] = {
24700 (char *) "self",(char *) "self",(char *) "_class", NULL
24703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24710 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24712 wxPyEndAllowThreads(__tstate
);
24713 if (PyErr_Occurred()) SWIG_fail
;
24715 Py_INCREF(Py_None
); resultobj
= Py_None
;
24722 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24723 PyObject
*resultobj
;
24724 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24727 PyObject
* obj0
= 0 ;
24728 PyObject
* obj1
= 0 ;
24729 char *kwnames
[] = {
24730 (char *) "self",(char *) "pageNum", NULL
24733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24736 arg2
= (int)SWIG_As_int(obj1
);
24737 if (PyErr_Occurred()) SWIG_fail
;
24739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24740 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24742 wxPyEndAllowThreads(__tstate
);
24743 if (PyErr_Occurred()) SWIG_fail
;
24746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24754 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24755 PyObject
*resultobj
;
24756 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24757 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24760 PyObject
* obj0
= 0 ;
24761 PyObject
* obj1
= 0 ;
24762 PyObject
* obj2
= 0 ;
24763 char *kwnames
[] = {
24764 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24770 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24772 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24775 if (arg3
== NULL
) {
24776 PyErr_SetString(PyExc_TypeError
,"null reference");
24780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24781 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24783 wxPyEndAllowThreads(__tstate
);
24784 if (PyErr_Occurred()) SWIG_fail
;
24787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24795 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24796 PyObject
*resultobj
;
24797 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24798 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24801 PyObject
* obj0
= 0 ;
24802 PyObject
* obj1
= 0 ;
24803 PyObject
* obj2
= 0 ;
24804 char *kwnames
[] = {
24805 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24811 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24813 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24814 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24816 if (arg3
== NULL
) {
24817 PyErr_SetString(PyExc_TypeError
,"null reference");
24821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24822 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24824 wxPyEndAllowThreads(__tstate
);
24825 if (PyErr_Occurred()) SWIG_fail
;
24828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24836 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24837 PyObject
*resultobj
;
24838 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24841 PyObject
* obj0
= 0 ;
24842 PyObject
* obj1
= 0 ;
24843 char *kwnames
[] = {
24844 (char *) "self",(char *) "pageNum", NULL
24847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24850 arg2
= (int)SWIG_As_int(obj1
);
24851 if (PyErr_Occurred()) SWIG_fail
;
24853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24854 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24856 wxPyEndAllowThreads(__tstate
);
24857 if (PyErr_Occurred()) SWIG_fail
;
24860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24868 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24869 PyObject
*resultobj
;
24870 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24872 PyObject
* obj0
= 0 ;
24873 PyObject
* obj1
= 0 ;
24874 char *kwnames
[] = {
24875 (char *) "self",(char *) "percent", NULL
24878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24881 arg2
= (int)SWIG_As_int(obj1
);
24882 if (PyErr_Occurred()) SWIG_fail
;
24884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24885 (arg1
)->base_SetZoom(arg2
);
24887 wxPyEndAllowThreads(__tstate
);
24888 if (PyErr_Occurred()) SWIG_fail
;
24890 Py_INCREF(Py_None
); resultobj
= Py_None
;
24897 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24898 PyObject
*resultobj
;
24899 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24902 PyObject
* obj0
= 0 ;
24903 PyObject
* obj1
= 0 ;
24904 char *kwnames
[] = {
24905 (char *) "self",(char *) "interactive", NULL
24908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24911 arg2
= (bool)SWIG_As_bool(obj1
);
24912 if (PyErr_Occurred()) SWIG_fail
;
24914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24915 result
= (bool)(arg1
)->base_Print(arg2
);
24917 wxPyEndAllowThreads(__tstate
);
24918 if (PyErr_Occurred()) SWIG_fail
;
24921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24929 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24930 PyObject
*resultobj
;
24931 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24932 PyObject
* obj0
= 0 ;
24933 char *kwnames
[] = {
24934 (char *) "self", NULL
24937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24942 (arg1
)->base_DetermineScaling();
24944 wxPyEndAllowThreads(__tstate
);
24945 if (PyErr_Occurred()) SWIG_fail
;
24947 Py_INCREF(Py_None
); resultobj
= Py_None
;
24954 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24957 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24959 return Py_BuildValue((char *)"");
24961 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24962 PyObject
*resultobj
;
24963 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24964 wxFrame
*arg2
= (wxFrame
*) 0 ;
24965 wxString
*arg3
= 0 ;
24966 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24967 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24968 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24969 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24970 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24971 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24972 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24973 wxPyPreviewFrame
*result
;
24974 bool temp3
= false ;
24977 bool temp7
= false ;
24978 PyObject
* obj0
= 0 ;
24979 PyObject
* obj1
= 0 ;
24980 PyObject
* obj2
= 0 ;
24981 PyObject
* obj3
= 0 ;
24982 PyObject
* obj4
= 0 ;
24983 PyObject
* obj5
= 0 ;
24984 PyObject
* obj6
= 0 ;
24985 char *kwnames
[] = {
24986 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24992 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24995 arg3
= wxString_in_helper(obj2
);
24996 if (arg3
== NULL
) SWIG_fail
;
25002 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25008 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25012 arg6
= (long)SWIG_As_long(obj5
);
25013 if (PyErr_Occurred()) SWIG_fail
;
25017 arg7
= wxString_in_helper(obj6
);
25018 if (arg7
== NULL
) SWIG_fail
;
25023 if (!wxPyCheckForApp()) SWIG_fail
;
25024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25025 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25027 wxPyEndAllowThreads(__tstate
);
25028 if (PyErr_Occurred()) SWIG_fail
;
25030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
25053 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25054 PyObject
*resultobj
;
25055 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25056 PyObject
*arg2
= (PyObject
*) 0 ;
25057 PyObject
*arg3
= (PyObject
*) 0 ;
25058 PyObject
* obj0
= 0 ;
25059 PyObject
* obj1
= 0 ;
25060 PyObject
* obj2
= 0 ;
25061 char *kwnames
[] = {
25062 (char *) "self",(char *) "self",(char *) "_class", NULL
25065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25072 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25074 wxPyEndAllowThreads(__tstate
);
25075 if (PyErr_Occurred()) SWIG_fail
;
25077 Py_INCREF(Py_None
); resultobj
= Py_None
;
25084 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25085 PyObject
*resultobj
;
25086 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25087 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
25088 PyObject
* obj0
= 0 ;
25089 PyObject
* obj1
= 0 ;
25090 char *kwnames
[] = {
25091 (char *) "self",(char *) "canvas", NULL
25094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
25095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
25098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25101 (arg1
)->SetPreviewCanvas(arg2
);
25103 wxPyEndAllowThreads(__tstate
);
25104 if (PyErr_Occurred()) SWIG_fail
;
25106 Py_INCREF(Py_None
); resultobj
= Py_None
;
25113 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25114 PyObject
*resultobj
;
25115 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25116 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
25117 PyObject
* obj0
= 0 ;
25118 PyObject
* obj1
= 0 ;
25119 char *kwnames
[] = {
25120 (char *) "self",(char *) "bar", NULL
25123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
25124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
25127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25130 (arg1
)->SetControlBar(arg2
);
25132 wxPyEndAllowThreads(__tstate
);
25133 if (PyErr_Occurred()) SWIG_fail
;
25135 Py_INCREF(Py_None
); resultobj
= Py_None
;
25142 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25143 PyObject
*resultobj
;
25144 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25145 PyObject
* obj0
= 0 ;
25146 char *kwnames
[] = {
25147 (char *) "self", NULL
25150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
25151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25155 (arg1
)->base_Initialize();
25157 wxPyEndAllowThreads(__tstate
);
25158 if (PyErr_Occurred()) SWIG_fail
;
25160 Py_INCREF(Py_None
); resultobj
= Py_None
;
25167 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25168 PyObject
*resultobj
;
25169 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25170 PyObject
* obj0
= 0 ;
25171 char *kwnames
[] = {
25172 (char *) "self", NULL
25175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25180 (arg1
)->base_CreateCanvas();
25182 wxPyEndAllowThreads(__tstate
);
25183 if (PyErr_Occurred()) SWIG_fail
;
25185 Py_INCREF(Py_None
); resultobj
= Py_None
;
25192 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25193 PyObject
*resultobj
;
25194 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25195 PyObject
* obj0
= 0 ;
25196 char *kwnames
[] = {
25197 (char *) "self", NULL
25200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25205 (arg1
)->base_CreateControlBar();
25207 wxPyEndAllowThreads(__tstate
);
25208 if (PyErr_Occurred()) SWIG_fail
;
25210 Py_INCREF(Py_None
); resultobj
= Py_None
;
25217 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25220 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
25222 return Py_BuildValue((char *)"");
25224 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25225 PyObject
*resultobj
;
25226 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25228 wxWindow
*arg3
= (wxWindow
*) 0 ;
25229 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25230 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25231 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25232 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25233 long arg6
= (long) 0 ;
25234 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25235 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25236 wxPyPreviewControlBar
*result
;
25239 bool temp7
= false ;
25240 PyObject
* obj0
= 0 ;
25241 PyObject
* obj1
= 0 ;
25242 PyObject
* obj2
= 0 ;
25243 PyObject
* obj3
= 0 ;
25244 PyObject
* obj4
= 0 ;
25245 PyObject
* obj5
= 0 ;
25246 PyObject
* obj6
= 0 ;
25247 char *kwnames
[] = {
25248 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
25253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25254 arg2
= (long)SWIG_As_long(obj1
);
25255 if (PyErr_Occurred()) SWIG_fail
;
25256 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
25257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25261 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25267 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25271 arg6
= (long)SWIG_As_long(obj5
);
25272 if (PyErr_Occurred()) SWIG_fail
;
25276 arg7
= wxString_in_helper(obj6
);
25277 if (arg7
== NULL
) SWIG_fail
;
25282 if (!wxPyCheckForApp()) SWIG_fail
;
25283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25284 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25286 wxPyEndAllowThreads(__tstate
);
25287 if (PyErr_Occurred()) SWIG_fail
;
25289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
25304 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25305 PyObject
*resultobj
;
25306 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25307 PyObject
*arg2
= (PyObject
*) 0 ;
25308 PyObject
*arg3
= (PyObject
*) 0 ;
25309 PyObject
* obj0
= 0 ;
25310 PyObject
* obj1
= 0 ;
25311 PyObject
* obj2
= 0 ;
25312 char *kwnames
[] = {
25313 (char *) "self",(char *) "self",(char *) "_class", NULL
25316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25323 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25325 wxPyEndAllowThreads(__tstate
);
25326 if (PyErr_Occurred()) SWIG_fail
;
25328 Py_INCREF(Py_None
); resultobj
= Py_None
;
25335 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25336 PyObject
*resultobj
;
25337 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25338 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
25339 PyObject
* obj0
= 0 ;
25340 PyObject
* obj1
= 0 ;
25341 char *kwnames
[] = {
25342 (char *) "self",(char *) "preview", NULL
25345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
25346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
25349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25352 (arg1
)->SetPrintPreview(arg2
);
25354 wxPyEndAllowThreads(__tstate
);
25355 if (PyErr_Occurred()) SWIG_fail
;
25357 Py_INCREF(Py_None
); resultobj
= Py_None
;
25364 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25365 PyObject
*resultobj
;
25366 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25367 PyObject
* obj0
= 0 ;
25368 char *kwnames
[] = {
25369 (char *) "self", NULL
25372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
25373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25377 (arg1
)->base_CreateButtons();
25379 wxPyEndAllowThreads(__tstate
);
25380 if (PyErr_Occurred()) SWIG_fail
;
25382 Py_INCREF(Py_None
); resultobj
= Py_None
;
25389 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25390 PyObject
*resultobj
;
25391 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25393 PyObject
* obj0
= 0 ;
25394 PyObject
* obj1
= 0 ;
25395 char *kwnames
[] = {
25396 (char *) "self",(char *) "zoom", NULL
25399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25402 arg2
= (int)SWIG_As_int(obj1
);
25403 if (PyErr_Occurred()) SWIG_fail
;
25405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25406 (arg1
)->base_SetZoomControl(arg2
);
25408 wxPyEndAllowThreads(__tstate
);
25409 if (PyErr_Occurred()) SWIG_fail
;
25411 Py_INCREF(Py_None
); resultobj
= Py_None
;
25418 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25421 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
25423 return Py_BuildValue((char *)"");
25425 static PyMethodDef SwigMethods
[] = {
25426 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25427 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25428 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25429 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25430 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25431 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
25432 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25433 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25434 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25435 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25436 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25437 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25438 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25439 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25440 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25441 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25442 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25443 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25444 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25445 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25446 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
25447 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
25448 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25449 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25450 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25451 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25452 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25453 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25454 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25455 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25456 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25457 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25458 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25459 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25460 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25461 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25462 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25463 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25464 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25465 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25466 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25467 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25468 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25469 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25470 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25471 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25472 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25473 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25474 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
25475 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25476 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25477 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25478 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25479 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25480 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25481 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25482 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25483 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25484 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25485 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25486 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25487 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25488 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25489 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25490 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25491 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25492 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25493 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25494 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25495 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25496 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25497 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25498 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
25499 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25500 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25501 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25502 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25503 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25504 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25505 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25506 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25507 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25508 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25509 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25510 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
25511 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25512 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25513 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25514 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
25515 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25516 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25517 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25518 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
25519 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25520 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25521 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25522 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25523 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
25524 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25525 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25526 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25527 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25528 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25529 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25530 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25531 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25532 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25533 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25534 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25535 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25536 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25537 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25538 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25539 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25540 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
25541 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25542 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25543 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25544 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25545 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25546 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25547 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25548 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25549 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25550 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25551 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25552 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25553 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25554 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25555 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25556 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25557 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25558 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25559 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25560 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25561 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25562 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25563 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25564 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25565 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25566 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25567 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25568 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
25569 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25570 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25571 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25572 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25573 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25574 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25575 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
25576 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25577 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25578 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25579 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25580 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25581 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25582 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25583 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25584 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25585 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25586 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25587 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25588 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25589 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25590 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25591 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25592 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25593 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25594 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25595 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25596 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25597 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25598 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
25599 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25600 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25601 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25602 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25603 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25604 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25605 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25606 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
25607 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25608 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25609 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25610 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25611 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25612 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25613 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25614 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25615 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25616 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25617 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25618 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
25619 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25620 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25621 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25622 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25623 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25624 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
25625 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25626 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25627 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25628 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25629 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25630 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25631 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25632 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25633 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
25634 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25635 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25636 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25637 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25638 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25639 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
25640 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25641 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25642 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25643 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25644 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
25645 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25646 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25647 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25648 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25649 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25650 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
25651 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25652 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25653 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25654 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
25655 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25656 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25657 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25658 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25659 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25660 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25661 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25662 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25663 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25664 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25665 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25666 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25667 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25668 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25669 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25670 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25671 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25672 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25673 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25674 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25675 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25676 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25677 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25678 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25679 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25680 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25681 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25682 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25683 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25684 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25685 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25686 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25687 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25688 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25689 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25690 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25691 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25692 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25693 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25694 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25695 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25696 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25697 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25698 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
25699 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25700 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25701 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25702 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25703 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25704 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25705 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25706 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
25707 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25708 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25709 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25710 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25711 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25712 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25713 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25714 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25715 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
25716 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25717 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
25718 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25719 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25720 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25721 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25722 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25723 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25724 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25725 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25726 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
25727 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25728 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25729 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
25730 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25731 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25732 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25733 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25734 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25735 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25736 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
25737 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25738 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25739 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25740 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25741 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25742 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25743 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25744 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25745 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25746 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25747 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25748 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25749 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25750 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25751 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25752 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25753 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25754 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
25755 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25756 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25757 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25758 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25759 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25760 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25761 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25762 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25763 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25764 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25765 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25766 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25767 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
25768 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25769 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25770 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25771 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25772 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25773 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25774 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25775 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25776 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25777 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25778 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25779 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25780 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25781 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25782 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25783 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
25784 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25785 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25786 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
25787 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25788 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
25789 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25790 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25791 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25792 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
25793 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25794 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25795 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25796 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25797 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25798 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25799 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25800 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25801 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
25802 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25803 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25804 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25805 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25806 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25807 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25808 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25809 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25810 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
25811 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25812 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25813 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25814 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25815 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25816 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
25817 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25818 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25819 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25820 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25821 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25822 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25823 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25824 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25825 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25826 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25827 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25828 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25829 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction
) _wrap_MDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25830 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25831 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
25832 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25833 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25834 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25835 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25836 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25837 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25838 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
25839 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25840 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25841 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25842 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
25843 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25844 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25845 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25846 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25847 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25848 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25849 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25850 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25851 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25852 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25853 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25854 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25855 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25856 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25857 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25858 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25859 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25860 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25861 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25862 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25863 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25864 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25865 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25866 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25867 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25868 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
25869 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25870 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25871 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25872 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25873 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25874 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25875 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25876 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25877 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25878 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25879 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25880 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25881 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25882 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25883 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25884 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25885 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25886 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25887 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25888 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25889 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25890 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25891 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25892 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25893 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25894 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
25895 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25896 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25897 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25898 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25899 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25900 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25901 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25902 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25903 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25904 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25905 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25906 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25907 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25908 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25909 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25910 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25911 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25912 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25913 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25914 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25915 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25916 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25917 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25918 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25919 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25920 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25921 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
25922 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25923 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25924 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25925 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25926 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25927 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25928 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25929 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25930 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25931 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25932 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25933 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25934 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25935 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25936 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25937 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25938 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25939 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25940 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25941 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25942 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25943 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25944 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25945 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25946 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25947 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25948 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25949 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25950 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25951 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25952 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25953 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25954 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25955 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25956 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25957 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25958 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25959 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25960 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25961 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25962 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25963 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25964 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25965 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25966 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25967 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25968 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
25969 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
25970 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25971 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25972 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25973 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25974 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25975 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25976 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25977 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25978 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25979 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25980 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25981 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25982 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25983 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25984 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25985 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25986 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25987 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25988 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25989 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25990 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25991 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25992 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25993 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25994 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25995 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25996 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25997 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25998 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25999 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26000 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
26001 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26002 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26003 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26004 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
26005 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
26006 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26007 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26008 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26009 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26010 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26011 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26012 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26013 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26014 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26015 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26016 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26017 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26018 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26019 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26020 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26021 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26022 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26023 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26024 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26025 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26026 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26027 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26028 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26029 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26030 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26031 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26032 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26033 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26034 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26035 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26036 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26037 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26038 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
26039 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26040 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26041 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26042 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26043 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
26044 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26045 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26046 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26047 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26048 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26049 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26050 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26051 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26052 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26053 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26054 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
26055 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26056 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26057 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26058 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26059 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26060 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26061 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26062 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26063 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26064 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26065 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26066 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26067 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26068 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26069 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26070 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26071 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26072 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26073 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26074 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26075 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26076 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26077 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
26078 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26079 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
26080 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26081 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26082 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26083 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26084 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26085 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
26086 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26087 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26088 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26089 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26090 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26091 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26092 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26093 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26094 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26095 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
26096 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
26097 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26098 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26099 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26100 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26101 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26102 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26103 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26104 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26105 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26106 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26107 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26108 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26109 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26110 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26111 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26112 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26113 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26114 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26115 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26116 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26117 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26118 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26119 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
26120 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
26121 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26122 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26123 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26124 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26125 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26126 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26127 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26128 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26129 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
26130 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26131 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26132 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26133 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26134 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26135 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26136 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26137 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
26138 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26139 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26140 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26141 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26142 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26143 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
26144 { NULL
, NULL
, 0, NULL
}
26148 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26150 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
26151 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26153 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
26154 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26156 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
26157 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
26159 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
26160 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
26162 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
26163 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
26165 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
26166 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
26168 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
26169 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
26171 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
26172 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26174 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
26175 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
26177 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
26178 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
26180 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
26181 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26183 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
26184 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
26186 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
26187 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26189 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
26190 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26192 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
26193 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
26195 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
26196 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26198 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
26199 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26201 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
26202 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
26204 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
26205 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
26207 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
26208 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
26210 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
26211 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
26213 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
26214 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
26216 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
26217 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
26219 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
26220 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
26222 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
26223 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26225 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
26226 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26228 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
26229 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26231 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
26232 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26234 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
26235 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26237 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
26238 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
26240 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
26241 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
26243 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
26244 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26246 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
26247 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
26249 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
26250 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26252 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
26253 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
26255 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
26256 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
26258 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
26259 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26261 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
26262 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26264 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
26265 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26267 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
26268 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
26270 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
26271 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
26273 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
26274 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26276 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
26277 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26279 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
26280 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26282 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
26283 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26285 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
26286 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26288 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
26289 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
26291 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
26292 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
26294 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
26295 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
26297 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
26298 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
26300 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
26301 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26303 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
26304 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26306 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
26307 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26309 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
26310 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26312 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
26313 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26315 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
26316 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26318 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
26319 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26321 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
26322 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
26324 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
26325 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
26327 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
26328 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26330 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
26331 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26333 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
26334 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26336 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
26337 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
26339 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
26340 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26342 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
26343 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
26345 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
26346 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
26348 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
26349 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
26351 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
26352 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
26354 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
26355 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26357 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
26358 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
26360 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
26361 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
26363 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
26364 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26366 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
26367 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
26369 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
26370 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26372 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
26373 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26375 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
26376 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26378 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
26379 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
26381 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
26382 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26384 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
26385 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
26387 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
26388 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26390 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
26391 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26393 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
26394 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26396 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26397 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26399 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26400 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26402 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
26403 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
26405 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
26406 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26408 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
26409 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26411 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
26412 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26414 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
26415 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26417 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
26418 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26420 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
26421 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26423 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
26424 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26426 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
26427 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26429 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
26430 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26432 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
26433 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
26435 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
26436 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
26438 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
26439 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
26441 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
26442 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26444 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
26445 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
26447 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
26448 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
26450 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
26451 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
26453 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
26454 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
26456 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
26457 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26459 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
26460 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26462 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
26463 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26465 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
26466 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
26468 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26469 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26471 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26472 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26474 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26475 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26477 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26478 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26480 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26481 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26483 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26484 return (void *)((wxObject
*) ((wxSizer
*) x
));
26486 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26487 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26489 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26490 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26492 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
26493 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26495 static void *_p_wxEventTo_p_wxObject(void *x
) {
26496 return (void *)((wxObject
*) ((wxEvent
*) x
));
26498 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
26499 return (void *)((wxObject
*) ((wxFontData
*) x
));
26501 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
26502 return (void *)((wxObject
*) ((wxPrintData
*) x
));
26504 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26505 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26507 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26508 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26510 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26511 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26513 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
26514 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
26516 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
26517 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
26519 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
26520 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26522 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26523 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26525 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26526 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26528 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26529 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26531 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26532 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26534 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26535 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26537 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26538 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26540 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
26541 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26543 static void *_p_wxControlTo_p_wxObject(void *x
) {
26544 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26546 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26547 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26549 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
26550 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26552 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26553 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26555 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
26556 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
26558 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26559 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26561 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
26562 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26564 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
26565 return (void *)((wxObject
*) ((wxColourData
*) x
));
26567 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26568 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26570 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26571 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26573 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
26574 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
26576 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
26577 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26579 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
26580 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26582 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
26583 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26585 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
26586 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26588 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
26589 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26591 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
26592 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26594 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
26595 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26597 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
26598 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26600 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26601 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26603 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
26604 return (void *)((wxObject
*) ((wxPrinter
*) x
));
26606 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26607 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26609 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26610 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26612 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26613 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26615 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26616 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26618 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26619 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26621 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26622 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26624 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26625 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26627 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26628 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26630 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26631 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26633 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26634 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26636 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26637 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26639 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26640 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26642 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26643 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26645 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26646 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26648 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26649 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26651 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26652 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26654 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26655 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26657 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26658 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26660 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26661 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26663 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26664 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26666 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26667 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26669 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26670 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26672 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
26673 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26675 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
26676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26678 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
26679 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26681 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26682 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26684 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
26685 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26687 static void *_p_wxImageTo_p_wxObject(void *x
) {
26688 return (void *)((wxObject
*) ((wxImage
*) x
));
26690 static void *_p_wxFrameTo_p_wxObject(void *x
) {
26691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26693 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26694 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26696 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26697 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26699 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26700 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26702 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26703 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26705 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26706 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26708 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26709 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26711 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26712 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26714 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26715 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26717 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26718 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26720 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26721 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26723 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26724 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26726 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26729 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26732 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26733 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26735 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26736 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26738 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26741 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26742 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26744 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26745 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26747 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26748 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26750 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26753 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26754 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26756 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26757 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26759 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26760 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26762 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26763 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26765 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26766 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26768 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26769 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26771 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26772 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26774 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26775 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26777 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26778 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26780 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26781 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26783 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26784 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26786 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26787 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26789 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26790 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26792 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26793 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26795 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26796 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26798 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26799 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26801 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26802 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26804 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26805 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26807 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26808 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26810 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26811 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26813 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26814 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26816 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26817 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26819 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26820 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26822 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26823 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26825 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26826 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26828 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26829 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26831 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26832 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26834 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26835 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26837 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26838 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26840 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26841 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26843 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26844 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26846 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26847 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26849 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26850 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26852 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26853 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26855 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
26856 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26858 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26859 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26861 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
26862 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26864 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26865 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26867 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26868 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26870 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26871 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26873 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26874 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26876 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26877 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26879 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26880 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26882 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26883 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26885 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
26886 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
26888 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
26889 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
26891 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26892 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26894 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26895 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26897 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26898 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26900 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26901 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26903 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26904 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26906 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26907 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26909 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26910 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26912 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26913 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26915 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26916 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26918 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26919 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26921 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26922 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26924 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26925 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26927 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26928 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26930 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26931 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26933 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26934 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26936 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26937 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26939 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26940 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26942 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26943 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26945 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26946 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26948 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26949 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26951 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26952 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26954 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26955 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26957 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26958 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26960 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26961 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26963 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26964 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26966 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26967 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26969 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26970 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26972 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26973 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26975 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26976 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26978 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26979 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26981 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26982 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26984 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26985 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26987 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26988 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26990 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26991 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26993 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26994 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26996 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26997 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26999 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
27000 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
27002 static void *_p_wxControlTo_p_wxWindow(void *x
) {
27003 return (void *)((wxWindow
*) ((wxControl
*) x
));
27005 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
27006 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
27008 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
27009 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
27011 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
27012 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
27014 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
27015 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
27017 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
27018 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
27020 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
27021 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
27023 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
27024 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
27026 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
27027 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
27029 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
27030 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
27032 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
27033 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27035 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
27036 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
27038 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
27039 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
27041 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
27042 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
27044 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
27045 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
27047 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
27048 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
27050 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
27051 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
27053 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
27054 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
27056 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
27057 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
27059 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
27060 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
27062 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
27063 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
27065 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
27066 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
27068 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
27069 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
27071 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
27072 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
27074 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
27075 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
27077 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
27078 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
27080 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
27081 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
27083 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
27084 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
27086 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
27087 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
27089 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
27090 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
27092 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
27093 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
27095 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
27096 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
27098 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
27099 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
27101 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
27102 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
27104 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
27105 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
27107 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
27108 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
27110 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
27111 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
27113 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
27114 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
27116 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
27117 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
27119 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
27120 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
27122 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
27123 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
27125 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
27126 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27128 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
27129 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27131 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
27132 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
27134 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
27135 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27137 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
27138 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27140 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
27141 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
27143 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
27144 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27146 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
27147 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27149 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
27150 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
27152 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
27153 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27155 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
27156 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27158 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
27159 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
27161 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
27162 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27164 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}};
27165 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}};
27166 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}};
27167 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}};
27168 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}};
27169 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}};
27170 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}};
27171 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}};
27172 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}};
27173 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}};
27174 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}};
27175 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}};
27176 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}};
27177 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}};
27178 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}};
27179 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}};
27180 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}};
27181 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}};
27182 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}};
27183 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}};
27184 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}};
27185 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}};
27186 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}};
27187 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}};
27188 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}};
27189 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}};
27190 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}};
27191 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}};
27192 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}};
27193 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}};
27194 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}};
27195 static swig_type_info _swigt__p_wxTextEntryDialog
[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27196 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}};
27197 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}};
27198 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}};
27199 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}};
27200 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}};
27201 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27202 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}};
27203 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}};
27204 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}};
27205 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}};
27206 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}};
27207 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}};
27208 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27209 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}};
27210 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}};
27211 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}};
27212 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}};
27213 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}};
27214 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}};
27215 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27216 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27217 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}};
27218 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}};
27219 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}};
27220 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}};
27221 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}};
27222 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}};
27223 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27224 static swig_type_info _swigt__p_wxPopupWindow
[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27225 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}};
27226 static swig_type_info _swigt__p_wxTopLevelWindow
[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27227 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27228 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}};
27229 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}};
27230 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}};
27231 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}};
27232 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}};
27233 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}};
27234 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}};
27235 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}};
27236 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}};
27237 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}};
27238 static swig_type_info _swigt__p_wxDialog
[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 0, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27239 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}};
27240 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}};
27241 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}};
27242 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}};
27243 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}};
27244 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}};
27245 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}};
27246 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}};
27247 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}};
27248 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}};
27249 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}};
27250 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}};
27252 static swig_type_info
*swig_types_initial
[] = {
27253 _swigt__p_wxQueryLayoutInfoEvent
,
27254 _swigt__p_wxPreviewFrame
,
27255 _swigt__p_wxPyPreviewFrame
,
27256 _swigt__p_wxPyPanel
,
27258 _swigt__p_wxFontData
,
27260 _swigt__p_wxPrintData
,
27261 _swigt__p_wxTaskBarIcon
,
27262 _swigt__p_wxPyTaskBarIcon
,
27263 _swigt__p_wxIconBundle
,
27264 _swigt__p_wxLayoutAlgorithm
,
27265 _swigt__p_wxFindDialogEvent
,
27266 _swigt__p_wxPreviewCanvas
,
27268 _swigt__p_wxSplitterEvent
,
27269 _swigt__p_wxRegion
,
27270 _swigt__p_wxFindReplaceData
,
27275 _swigt__p_wxVisualAttributes
,
27276 _swigt__p_wxMDIChildFrame
,
27277 _swigt__p_wxColourData
,
27278 _swigt__p_wxNotifyEvent
,
27279 _swigt__p_wxPyWindow
,
27280 _swigt__p_wxSplashScreen
,
27281 _swigt__p_wxFindReplaceDialog
,
27282 _swigt__p_wxProgressDialog
,
27283 _swigt__p_wxMessageDialog
,
27284 _swigt__p_wxTextEntryDialog
,
27285 _swigt__p_wxSingleChoiceDialog
,
27286 _swigt__p_wxMultiChoiceDialog
,
27287 _swigt__p_wxFileDialog
,
27288 _swigt__p_wxPrinter
,
27289 _swigt__p_wxArrayInt
,
27290 _swigt__p_wxEvtHandler
,
27291 _swigt__p_wxCalculateLayoutEvent
,
27292 _swigt__p_wxPyHtmlListBox
,
27293 _swigt__p_wxPyVListBox
,
27296 _swigt__p_wxMiniFrame
,
27298 _swigt__p_wxPyPrintout
,
27299 _swigt__p_wxTaskBarIconEvent
,
27300 _swigt__p_wxScrollWinEvent
,
27301 _swigt__p_wxStatusBar
,
27302 _swigt__p_wxMDIParentFrame
,
27304 _swigt__p_wxObject
,
27305 _swigt__p_wxOutputStream
,
27306 _swigt__p_wxMDIClientWindow
,
27307 _swigt__p_wxTipWindow
,
27308 _swigt__p_wxSashLayoutWindow
,
27309 _swigt__p_wxSplitterWindow
,
27310 _swigt__p_wxSplashScreenWindow
,
27311 _swigt__p_wxPyVScrolledWindow
,
27312 _swigt__p_wxPyPopupTransientWindow
,
27313 _swigt__p_wxPopupWindow
,
27314 _swigt__p_wxSashWindow
,
27315 _swigt__p_wxTopLevelWindow
,
27316 _swigt__p_wxWindow
,
27317 _swigt__p_wxScrolledWindow
,
27318 _swigt__p_wxMenuBar
,
27319 _swigt__p_wxPyScrolledWindow
,
27320 _swigt__p_wxPrintPreview
,
27321 _swigt__p_wxSashEvent
,
27322 _swigt__p_wxString
,
27323 _swigt__p_wxPyPrintPreview
,
27324 _swigt__p_wxFontDialog
,
27325 _swigt__p_wxDirDialog
,
27326 _swigt__p_wxColourDialog
,
27327 _swigt__p_wxDialog
,
27329 _swigt__p_wxPageSetupDialog
,
27330 _swigt__p_wxPrintDialog
,
27331 _swigt__p_wxFileSystem
,
27332 _swigt__p_wxBitmap
,
27333 _swigt__p_wxCommandEvent
,
27334 _swigt__p_wxPreviewControlBar
,
27335 _swigt__p_wxPyPreviewControlBar
,
27336 _swigt__p_wxColour
,
27337 _swigt__p_wxToolBar
,
27338 _swigt__p_wxPageSetupDialogData
,
27339 _swigt__p_wxPrintDialogData
,
27344 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27346 static swig_const_info swig_const_table
[] = {
27347 {0, 0, 0, 0.0, 0, 0}};
27356 SWIGEXPORT(void) SWIG_init(void) {
27357 static PyObject
*SWIG_globals
= 0;
27358 static int typeinit
= 0;
27361 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
27362 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27363 d
= PyModule_GetDict(m
);
27366 for (i
= 0; swig_types_initial
[i
]; i
++) {
27367 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
27371 SWIG_InstallConstants(d
,swig_const_table
);
27373 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
27374 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
27375 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
27376 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
27377 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
27378 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP
));
27379 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)wxICONIZE
));
27380 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE
));
27381 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE
));
27382 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX
));
27383 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME
));
27384 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU
));
27385 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX
));
27386 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX
));
27387 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ
));
27388 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT
));
27389 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX
));
27390 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER
));
27391 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT
));
27392 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE
));
27393 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE
));
27394 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW
));
27395 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT
));
27396 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU
));
27397 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR
));
27398 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED
));
27399 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int((int)wxFRAME_DRAWER
));
27400 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL
));
27401 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS
));
27402 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS
));
27403 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)wxNO_3D
));
27404 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR
));
27405 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR
));
27406 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR
));
27407 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER
));
27408 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION
));
27409 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL
));
27410 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG
));
27411 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO
));
27412 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR
));
27413 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT
));
27414 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN
));
27415 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE
));
27416 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT
));
27417 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT
));
27418 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL
));
27419 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT
));
27420 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED
));
27421 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
27422 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER
));
27423 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH
));
27424 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT
));
27425 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE
));
27426 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH
));
27427 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER
));
27428 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME
));
27429 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER
));
27430 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)wxSP_3D
));
27431 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL
));
27432 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL
));
27433 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE
));
27434 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING
));
27435 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN
));
27436 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
27437 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
27438 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
27439 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
27440 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
27441 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
27442 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE
));
27443 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING
));
27444 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN
));
27445 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER
));
27446 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER
));
27447 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH
));
27448 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER
));
27449 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)wxSW_3D
));
27450 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP
));
27451 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT
));
27452 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM
));
27453 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT
));
27454 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE
));
27455 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK
));
27456 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE
));
27457 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
27458 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL
));
27459 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL
));
27460 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE
));
27461 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP
));
27462 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT
));
27463 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT
));
27464 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM
));
27465 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y
));
27466 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X
));
27467 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH
));
27468 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY
));
27469 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
27470 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
27471 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
27473 // Map renamed classes back to their common name for OOR
27474 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27475 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27476 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27478 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
27479 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
27480 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
27481 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
27482 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
27483 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
27484 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
27485 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
27486 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
27487 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
27488 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
27489 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
27490 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
27491 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE
));
27492 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN
));
27493 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD
));
27494 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE
));
27495 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG
));
27496 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN
));
27497 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE
));
27498 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD
));
27499 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
27500 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
27501 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
27502 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
27503 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
27504 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27505 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27506 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27507 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27508 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27509 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27510 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27511 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
27512 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
27513 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
27514 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE
));
27515 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW
));
27516 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE
));
27517 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER
));
27518 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM
));
27519 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)wxPRINTBIN_DEFAULT
));
27520 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)wxPRINTBIN_ONLYONE
));
27521 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)wxPRINTBIN_LOWER
));
27522 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)wxPRINTBIN_MIDDLE
));
27523 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)wxPRINTBIN_MANUAL
));
27524 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)wxPRINTBIN_ENVELOPE
));
27525 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)wxPRINTBIN_ENVMANUAL
));
27526 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)wxPRINTBIN_AUTO
));
27527 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)wxPRINTBIN_TRACTOR
));
27528 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)wxPRINTBIN_SMALLFMT
));
27529 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)wxPRINTBIN_LARGEFMT
));
27530 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)wxPRINTBIN_LARGECAPACITY
));
27531 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)wxPRINTBIN_CASSETTE
));
27532 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)wxPRINTBIN_FORMSOURCE
));
27533 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)wxPRINTBIN_USER
));
27534 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR
));
27535 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED
));
27536 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR
));
27537 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT
));
27538 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS
));
27539 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT
));
27540 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM
));
27541 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST
));
27542 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST
));
27543 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO
));
27544 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT
));
27545 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE
));
27546 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT
));
27547 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS
));
27548 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT
));
27549 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM
));
27550 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST
));
27551 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST
));
27552 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO
));
27554 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");