1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
212 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
213 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
214 #define SWIGTYPE_p_wxPyPanel swig_types[3]
215 #define SWIGTYPE_p_wxMenu swig_types[4]
216 #define SWIGTYPE_p_wxFontData swig_types[5]
217 #define SWIGTYPE_p_wxEvent swig_types[6]
218 #define SWIGTYPE_p_wxPrintData swig_types[7]
219 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
220 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
221 #define SWIGTYPE_p_wxIconBundle swig_types[10]
222 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
223 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
224 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
225 #define SWIGTYPE_p_wxFont swig_types[14]
226 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
227 #define SWIGTYPE_p_wxRegion swig_types[16]
228 #define SWIGTYPE_p_wxFindReplaceData swig_types[17]
229 #define SWIGTYPE_p_int swig_types[18]
230 #define SWIGTYPE_p_wxSize swig_types[19]
231 #define SWIGTYPE_p_wxDC swig_types[20]
232 #define SWIGTYPE_p_wxIcon swig_types[21]
233 #define SWIGTYPE_p_wxVisualAttributes swig_types[22]
234 #define SWIGTYPE_p_wxMDIChildFrame swig_types[23]
235 #define SWIGTYPE_p_wxColourData swig_types[24]
236 #define SWIGTYPE_p_wxNotifyEvent swig_types[25]
237 #define SWIGTYPE_p_wxPyWindow swig_types[26]
238 #define SWIGTYPE_p_wxSplashScreen swig_types[27]
239 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[28]
240 #define SWIGTYPE_p_wxProgressDialog swig_types[29]
241 #define SWIGTYPE_p_wxMessageDialog swig_types[30]
242 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31]
243 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
244 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
245 #define SWIGTYPE_p_wxFileDialog swig_types[34]
246 #define SWIGTYPE_p_wxTextEntryDialog swig_types[35]
247 #define SWIGTYPE_p_wxPrinter swig_types[36]
248 #define SWIGTYPE_p_wxArrayInt swig_types[37]
249 #define SWIGTYPE_p_wxEvtHandler swig_types[38]
250 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[39]
251 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[40]
252 #define SWIGTYPE_p_wxPyVListBox swig_types[41]
253 #define SWIGTYPE_p_wxRect swig_types[42]
254 #define SWIGTYPE_p_char swig_types[43]
255 #define SWIGTYPE_p_wxMiniFrame swig_types[44]
256 #define SWIGTYPE_p_wxFrame swig_types[45]
257 #define SWIGTYPE_p_wxPyPrintout swig_types[46]
258 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[47]
259 #define SWIGTYPE_p_wxScrollWinEvent swig_types[48]
260 #define SWIGTYPE_p_wxStatusBar swig_types[49]
261 #define SWIGTYPE_p_wxMDIParentFrame swig_types[50]
262 #define SWIGTYPE_p_wxPoint swig_types[51]
263 #define SWIGTYPE_p_wxObject swig_types[52]
264 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
265 #define SWIGTYPE_p_wxTipWindow swig_types[54]
266 #define SWIGTYPE_p_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 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
345 #define SWIG_From_signed_SS_char PyInt_FromLong
347 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
348 #define SWIG_From_unsigned_SS_char PyInt_FromLong
350 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
351 #define SWIG_From_short PyInt_FromLong
353 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
354 #define SWIG_From_unsigned_SS_short PyInt_FromLong
356 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
357 #define SWIG_From_int PyInt_FromLong
359 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
360 #define SWIG_From_long PyInt_FromLong
362 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
363 #define SWIG_From_float PyFloat_FromDouble
365 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
366 #define SWIG_From_double PyFloat_FromDouble
370 #include "wx/wxPython/wxPython.h"
371 #include "wx/wxPython/pyclasses.h"
374 static const wxString
wxPyEmptyString(wxEmptyString
);
375 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
382 SWIGSTATICINLINE(int)
383 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
386 if (value
< min_value
) {
388 PyErr_Format(PyExc_OverflowError
,
389 "value %ld is less than '%s' minimum %ld",
390 value
, errmsg
, min_value
);
393 } else if (value
> max_value
) {
395 PyErr_Format(PyExc_OverflowError
,
396 "value %ld is greater than '%s' maximum %ld",
397 value
, errmsg
, max_value
);
405 // See my_fragments.i
406 SWIGSTATICINLINE(int)
407 SWIG_AsVal_long(PyObject
* obj
, long* val
)
409 if (PyNumber_Check(obj
)) {
410 if (val
) *val
= PyInt_AsLong(obj
);
414 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
415 obj
->ob_type
->tp_name
);
416 PyErr_SetObject(PyExc_TypeError
, errmsg
);
423 #if INT_MAX != LONG_MAX
424 SWIGSTATICINLINE(int)
425 SWIG_AsVal_int(PyObject
*obj
, int *val
)
427 const char* errmsg
= val
? "int" : 0;
429 if (SWIG_AsVal_long(obj
, &v
)) {
430 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
431 if (val
) *val
= swig_numeric_cast(v
, int);
440 PyErr_SetString(PyExc_TypeError
, "an int is expected");
445 SWIGSTATICINLINE(int)
446 SWIG_AsVal_int(PyObject
*obj
, int *val
)
448 return SWIG_AsVal_long(obj
,(long*)val
);
453 SWIGSTATICINLINE(int)
454 SWIG_As_int(PyObject
* obj
)
457 if (!SWIG_AsVal_int(obj
, &v
)) {
459 this is needed to make valgrind/purify happier. the other
460 solution is throw an exception, but since this code should work
463 memset((void*)&v
, 0, sizeof(int));
469 SWIGSTATICINLINE(long)
470 SWIG_As_long(PyObject
* obj
)
473 if (!SWIG_AsVal_long(obj
, &v
)) {
475 this is needed to make valgrind/purify happier. the other
476 solution is throw an exception, but since this code should work
479 memset((void*)&v
, 0, sizeof(long));
485 SWIGSTATICINLINE(int)
486 SWIG_Check_int(PyObject
* obj
)
488 return SWIG_AsVal_int(obj
, (int*)0);
492 SWIGSTATICINLINE(int)
493 SWIG_Check_long(PyObject
* obj
)
495 return SWIG_AsVal_long(obj
, (long*)0);
499 SWIGSTATICINLINE(int)
500 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
502 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
503 if (obj
== Py_True
) {
504 if (val
) *val
= true;
507 if (obj
== Py_False
) {
508 if (val
) *val
= false;
512 if (SWIG_AsVal_int(obj
, &res
)) {
513 if (val
) *val
= (bool)res
;
517 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
523 SWIGSTATICINLINE(bool)
524 SWIG_As_bool(PyObject
* obj
)
527 if (!SWIG_AsVal_bool(obj
, &v
)) {
529 this is needed to make valgrind/purify happier. the other
530 solution is throw an exception, but since this code should work
533 memset((void*)&v
, 0, sizeof(bool));
539 SWIGSTATICINLINE(int)
540 SWIG_Check_bool(PyObject
* obj
)
542 return SWIG_AsVal_bool(obj
, (bool*)0);
546 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
552 } else if (target
== Py_None
) {
556 if (!PyTuple_Check(target
)) {
558 target
= PyTuple_New(1);
559 PyTuple_SetItem(target
, 0, o2
);
562 PyTuple_SetItem(o3
, 0, o
);
565 target
= PySequence_Concat(o2
, o3
);
574 // See my_fragments.i
575 SWIGSTATICINLINE(int)
576 SWIG_AsVal_double(PyObject
*obj
, double* val
)
578 if (PyNumber_Check(obj
)) {
579 if (val
) *val
= PyFloat_AsDouble(obj
);
583 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
584 obj
->ob_type
->tp_name
);
585 PyErr_SetObject(PyExc_TypeError
, errmsg
);
592 SWIGSTATICINLINE(double)
593 SWIG_As_double(PyObject
* obj
)
596 if (!SWIG_AsVal_double(obj
, &v
)) {
598 this is needed to make valgrind/purify happier. the other
599 solution is throw an exception, but since this code should work
602 memset((void*)&v
, 0, sizeof(double));
608 SWIGSTATICINLINE(int)
609 SWIG_Check_double(PyObject
* obj
)
611 return SWIG_AsVal_double(obj
, (double*)0);
614 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
615 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
616 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
617 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
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
);
1021 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
1025 // C++ version of Python aware wxWindow
1026 class wxPyWindow
: public wxWindow
1028 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
1030 wxPyWindow() : wxWindow() {}
1031 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
1032 const wxPoint
& pos
= wxDefaultPosition
,
1033 const wxSize
& size
= wxDefaultSize
,
1035 const wxString
& name
= wxPyPanelNameStr
)
1036 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
1038 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
1040 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1041 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1042 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1043 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1045 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1046 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1047 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1049 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1050 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1052 DEC_PYCALLBACK__(InitDialog
);
1053 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1054 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1055 DEC_PYCALLBACK_BOOL_(Validate
);
1057 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1058 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1059 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1061 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1062 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1064 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1065 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1066 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1071 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
1073 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
1074 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
1075 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
1076 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
1078 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
1079 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
1080 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
1082 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
1083 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
1085 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
1086 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
1087 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
1088 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
1090 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
1091 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
1092 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
1094 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
1095 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
1097 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
1098 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
1099 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
1102 // C++ version of Python aware wxPanel
1103 class wxPyPanel
: public wxPanel
1105 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
1107 wxPyPanel() : wxPanel() {}
1108 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
1109 const wxPoint
& pos
= wxDefaultPosition
,
1110 const wxSize
& size
= wxDefaultSize
,
1112 const wxString
& name
= wxPyPanelNameStr
)
1113 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
1115 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
1118 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1119 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1120 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1121 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1123 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1124 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1125 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1127 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1128 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1130 DEC_PYCALLBACK__(InitDialog
);
1131 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1132 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1133 DEC_PYCALLBACK_BOOL_(Validate
);
1135 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1136 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1137 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1139 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1140 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1142 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1143 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1144 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1149 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
1151 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
1152 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
1153 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
1154 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
1156 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
1157 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
1158 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
1160 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
1161 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
1163 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
1164 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
1165 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
1166 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
1168 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
1169 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
1170 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
1172 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
1173 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
1175 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
1176 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
1177 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
1180 // C++ version of Python aware wxScrolledWindow
1181 class wxPyScrolledWindow
: public wxScrolledWindow
1183 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1185 wxPyScrolledWindow() : wxScrolledWindow() {}
1186 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1187 const wxPoint
& pos
= wxDefaultPosition
,
1188 const wxSize
& size
= wxDefaultSize
,
1190 const wxString
& name
= wxPyPanelNameStr
)
1191 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1193 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
1195 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1196 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1197 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1198 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1200 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1201 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1202 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1204 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1205 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1207 DEC_PYCALLBACK__(InitDialog
);
1208 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1209 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1210 DEC_PYCALLBACK_BOOL_(Validate
);
1212 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1213 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1214 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1216 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1217 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1219 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1220 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1221 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1226 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1228 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1229 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1230 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1231 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1233 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1234 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1235 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1237 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1238 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1240 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1241 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1242 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1243 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1245 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1246 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1247 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1249 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1250 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1252 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1253 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1254 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
1258 #include "wx/wxPython/printfw.h"
1261 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1262 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1265 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
1267 // Since this one would be tough and ugly to do with the Macros...
1268 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1269 bool hadErr
= false;
1272 bool blocked
= wxPyBeginBlockThreads();
1273 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1274 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1275 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1278 val
= PyTuple_GetItem(result
, 0);
1279 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1282 val
= PyTuple_GetItem(result
, 1);
1283 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1286 val
= PyTuple_GetItem(result
, 2);
1287 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1290 val
= PyTuple_GetItem(result
, 3);
1291 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1298 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1303 wxPyEndBlockThreads(blocked
);
1305 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1308 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1309 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1313 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1314 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1315 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1316 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1317 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1318 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1319 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1325 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1326 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1327 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1330 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1331 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1334 bool blocked = wxPyBeginBlockThreads(); \
1335 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1336 PyObject* win = wxPyMake_wxObject(a,false); \
1337 PyObject* dc = wxPyMake_wxObject(&b,false); \
1338 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
1342 wxPyEndBlockThreads(blocked); \
1344 rval = PCLASS::CBNAME(a, b); \
1347 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1348 return PCLASS::CBNAME(a, b); \
1354 class wxPyPrintPreview
: public wxPrintPreview
1356 DECLARE_CLASS(wxPyPrintPreview
)
1358 wxPyPrintPreview(wxPyPrintout
* printout
,
1359 wxPyPrintout
* printoutForPrinting
,
1360 wxPrintDialogData
* data
=NULL
)
1361 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1363 wxPyPrintPreview(wxPyPrintout
* printout
,
1364 wxPyPrintout
* printoutForPrinting
,
1365 wxPrintData
* data
=NULL
)
1366 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1369 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1370 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1371 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1372 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1373 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1374 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1375 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1380 // Stupid renamed classes... Fix this in 2.5...
1381 #if defined(__WXMSW__)
1382 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1383 #elif defined(__WXMAC__)
1384 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1386 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1389 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1390 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1391 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1392 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1393 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1394 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1395 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1398 class wxPyPreviewFrame
: public wxPreviewFrame
1400 DECLARE_CLASS(wxPyPreviewFrame
);
1402 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1403 const wxString
& title
,
1404 const wxPoint
& pos
= wxDefaultPosition
,
1405 const wxSize
& size
= wxDefaultSize
,
1406 long style
= wxDEFAULT_FRAME_STYLE
,
1407 const wxString
& name
= wxPyFrameNameStr
)
1408 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1411 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1412 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1414 DEC_PYCALLBACK_VOID_(Initialize
);
1415 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1416 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1421 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1423 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1424 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1425 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1428 class wxPyPreviewControlBar
: public wxPreviewControlBar
1430 DECLARE_CLASS(wxPyPreviewControlBar
);
1432 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1435 const wxPoint
& pos
= wxDefaultPosition
,
1436 const wxSize
& size
= wxDefaultSize
,
1438 const wxString
& name
= wxPyPanelNameStr
)
1439 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1442 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1444 DEC_PYCALLBACK_VOID_(CreateButtons
);
1445 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1450 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1451 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1452 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1457 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1458 PyObject
*resultobj
;
1459 wxWindow
*arg1
= (wxWindow
*) 0 ;
1460 int arg2
= (int) (int)-1 ;
1461 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1462 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1463 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1464 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1465 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1466 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1467 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1471 bool temp6
= false ;
1472 PyObject
* obj0
= 0 ;
1473 PyObject
* obj1
= 0 ;
1474 PyObject
* obj2
= 0 ;
1475 PyObject
* obj3
= 0 ;
1476 PyObject
* obj4
= 0 ;
1477 PyObject
* obj5
= 0 ;
1479 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1486 arg2
= (int)SWIG_As_int(obj1
);
1487 if (PyErr_Occurred()) SWIG_fail
;
1492 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1498 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1502 arg5
= (long)SWIG_As_long(obj4
);
1503 if (PyErr_Occurred()) SWIG_fail
;
1507 arg6
= wxString_in_helper(obj5
);
1508 if (arg6
== NULL
) SWIG_fail
;
1513 if (!wxPyCheckForApp()) SWIG_fail
;
1514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1515 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1517 wxPyEndAllowThreads(__tstate
);
1518 if (PyErr_Occurred()) SWIG_fail
;
1520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1535 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1536 PyObject
*resultobj
;
1542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1544 if (!wxPyCheckForApp()) SWIG_fail
;
1545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1546 result
= (wxPanel
*)new wxPanel();
1548 wxPyEndAllowThreads(__tstate
);
1549 if (PyErr_Occurred()) SWIG_fail
;
1551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1558 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1559 PyObject
*resultobj
;
1560 wxPanel
*arg1
= (wxPanel
*) 0 ;
1561 wxWindow
*arg2
= (wxWindow
*) 0 ;
1562 int arg3
= (int) (int)-1 ;
1563 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1564 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1565 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1566 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1567 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1568 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1569 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1573 bool temp7
= false ;
1574 PyObject
* obj0
= 0 ;
1575 PyObject
* obj1
= 0 ;
1576 PyObject
* obj2
= 0 ;
1577 PyObject
* obj3
= 0 ;
1578 PyObject
* obj4
= 0 ;
1579 PyObject
* obj5
= 0 ;
1580 PyObject
* obj6
= 0 ;
1582 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1591 arg3
= (int)SWIG_As_int(obj2
);
1592 if (PyErr_Occurred()) SWIG_fail
;
1597 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1603 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1607 arg6
= (long)SWIG_As_long(obj5
);
1608 if (PyErr_Occurred()) SWIG_fail
;
1612 arg7
= wxString_in_helper(obj6
);
1613 if (arg7
== NULL
) SWIG_fail
;
1618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1619 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1621 wxPyEndAllowThreads(__tstate
);
1622 if (PyErr_Occurred()) SWIG_fail
;
1625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1641 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1642 PyObject
*resultobj
;
1643 wxPanel
*arg1
= (wxPanel
*) 0 ;
1644 PyObject
* obj0
= 0 ;
1646 (char *) "self", NULL
1649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1654 (arg1
)->InitDialog();
1656 wxPyEndAllowThreads(__tstate
);
1657 if (PyErr_Occurred()) SWIG_fail
;
1659 Py_INCREF(Py_None
); resultobj
= Py_None
;
1666 static PyObject
*_wrap_Panel_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
*resultobj
;
1668 wxPanel
*arg1
= (wxPanel
*) 0 ;
1669 PyObject
* obj0
= 0 ;
1671 (char *) "self", NULL
1674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocus",kwnames
,&obj0
)) goto fail
;
1675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1681 wxPyEndAllowThreads(__tstate
);
1682 if (PyErr_Occurred()) SWIG_fail
;
1684 Py_INCREF(Py_None
); resultobj
= Py_None
;
1691 static PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1692 PyObject
*resultobj
;
1693 wxPanel
*arg1
= (wxPanel
*) 0 ;
1694 PyObject
* obj0
= 0 ;
1696 (char *) "self", NULL
1699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames
,&obj0
)) goto fail
;
1700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1704 (arg1
)->SetFocusIgnoringChildren();
1706 wxPyEndAllowThreads(__tstate
);
1707 if (PyErr_Occurred()) SWIG_fail
;
1709 Py_INCREF(Py_None
); resultobj
= Py_None
;
1716 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1717 PyObject
*resultobj
;
1718 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1719 wxVisualAttributes result
;
1720 PyObject
* obj0
= 0 ;
1722 (char *) "variant", NULL
1725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1727 arg1
= (int)SWIG_As_int(obj0
);
1728 if (PyErr_Occurred()) SWIG_fail
;
1731 if (!wxPyCheckForApp()) SWIG_fail
;
1732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1733 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1735 wxPyEndAllowThreads(__tstate
);
1736 if (PyErr_Occurred()) SWIG_fail
;
1739 wxVisualAttributes
* resultptr
;
1740 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1741 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1749 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
1751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1752 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1754 return Py_BuildValue((char *)"");
1756 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1757 PyObject
*resultobj
;
1758 wxWindow
*arg1
= (wxWindow
*) 0 ;
1759 int arg2
= (int) (int)-1 ;
1760 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1761 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1762 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1763 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1764 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1765 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1766 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1767 wxScrolledWindow
*result
;
1770 bool temp6
= false ;
1771 PyObject
* obj0
= 0 ;
1772 PyObject
* obj1
= 0 ;
1773 PyObject
* obj2
= 0 ;
1774 PyObject
* obj3
= 0 ;
1775 PyObject
* obj4
= 0 ;
1776 PyObject
* obj5
= 0 ;
1778 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1785 arg2
= (int)SWIG_As_int(obj1
);
1786 if (PyErr_Occurred()) SWIG_fail
;
1791 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1797 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1801 arg5
= (long)SWIG_As_long(obj4
);
1802 if (PyErr_Occurred()) SWIG_fail
;
1806 arg6
= wxString_in_helper(obj5
);
1807 if (arg6
== NULL
) SWIG_fail
;
1812 if (!wxPyCheckForApp()) SWIG_fail
;
1813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1814 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1816 wxPyEndAllowThreads(__tstate
);
1817 if (PyErr_Occurred()) SWIG_fail
;
1819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1834 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1835 PyObject
*resultobj
;
1836 wxScrolledWindow
*result
;
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1843 if (!wxPyCheckForApp()) SWIG_fail
;
1844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1845 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1847 wxPyEndAllowThreads(__tstate
);
1848 if (PyErr_Occurred()) SWIG_fail
;
1850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1857 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1858 PyObject
*resultobj
;
1859 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1860 wxWindow
*arg2
= (wxWindow
*) 0 ;
1861 int arg3
= (int) (int)-1 ;
1862 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1863 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1864 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1865 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1866 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1867 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1868 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1872 bool temp7
= false ;
1873 PyObject
* obj0
= 0 ;
1874 PyObject
* obj1
= 0 ;
1875 PyObject
* obj2
= 0 ;
1876 PyObject
* obj3
= 0 ;
1877 PyObject
* obj4
= 0 ;
1878 PyObject
* obj5
= 0 ;
1879 PyObject
* obj6
= 0 ;
1881 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1887 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1890 arg3
= (int)SWIG_As_int(obj2
);
1891 if (PyErr_Occurred()) SWIG_fail
;
1896 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1902 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1906 arg6
= (long)SWIG_As_long(obj5
);
1907 if (PyErr_Occurred()) SWIG_fail
;
1911 arg7
= wxString_in_helper(obj6
);
1912 if (arg7
== NULL
) SWIG_fail
;
1917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1918 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1920 wxPyEndAllowThreads(__tstate
);
1921 if (PyErr_Occurred()) SWIG_fail
;
1924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1940 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1941 PyObject
*resultobj
;
1942 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1947 int arg6
= (int) 0 ;
1948 int arg7
= (int) 0 ;
1949 bool arg8
= (bool) false ;
1950 PyObject
* obj0
= 0 ;
1951 PyObject
* obj1
= 0 ;
1952 PyObject
* obj2
= 0 ;
1953 PyObject
* obj3
= 0 ;
1954 PyObject
* obj4
= 0 ;
1955 PyObject
* obj5
= 0 ;
1956 PyObject
* obj6
= 0 ;
1957 PyObject
* obj7
= 0 ;
1959 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1965 arg2
= (int)SWIG_As_int(obj1
);
1966 if (PyErr_Occurred()) SWIG_fail
;
1967 arg3
= (int)SWIG_As_int(obj2
);
1968 if (PyErr_Occurred()) SWIG_fail
;
1969 arg4
= (int)SWIG_As_int(obj3
);
1970 if (PyErr_Occurred()) SWIG_fail
;
1971 arg5
= (int)SWIG_As_int(obj4
);
1972 if (PyErr_Occurred()) SWIG_fail
;
1974 arg6
= (int)SWIG_As_int(obj5
);
1975 if (PyErr_Occurred()) SWIG_fail
;
1978 arg7
= (int)SWIG_As_int(obj6
);
1979 if (PyErr_Occurred()) SWIG_fail
;
1982 arg8
= (bool)SWIG_As_bool(obj7
);
1983 if (PyErr_Occurred()) SWIG_fail
;
1986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1987 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1989 wxPyEndAllowThreads(__tstate
);
1990 if (PyErr_Occurred()) SWIG_fail
;
1992 Py_INCREF(Py_None
); resultobj
= Py_None
;
1999 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2000 PyObject
*resultobj
;
2001 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2004 PyObject
* obj0
= 0 ;
2005 PyObject
* obj1
= 0 ;
2006 PyObject
* obj2
= 0 ;
2008 (char *) "self",(char *) "x",(char *) "y", NULL
2011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2014 arg2
= (int)SWIG_As_int(obj1
);
2015 if (PyErr_Occurred()) SWIG_fail
;
2016 arg3
= (int)SWIG_As_int(obj2
);
2017 if (PyErr_Occurred()) SWIG_fail
;
2019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2020 (arg1
)->Scroll(arg2
,arg3
);
2022 wxPyEndAllowThreads(__tstate
);
2023 if (PyErr_Occurred()) SWIG_fail
;
2025 Py_INCREF(Py_None
); resultobj
= Py_None
;
2032 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2033 PyObject
*resultobj
;
2034 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2037 PyObject
* obj0
= 0 ;
2038 PyObject
* obj1
= 0 ;
2040 (char *) "self",(char *) "orient", NULL
2043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2046 arg2
= (int)SWIG_As_int(obj1
);
2047 if (PyErr_Occurred()) SWIG_fail
;
2049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2050 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
2052 wxPyEndAllowThreads(__tstate
);
2053 if (PyErr_Occurred()) SWIG_fail
;
2055 resultobj
= SWIG_From_int((int)result
);
2062 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
*resultobj
;
2064 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2067 PyObject
* obj0
= 0 ;
2068 PyObject
* obj1
= 0 ;
2069 PyObject
* obj2
= 0 ;
2071 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2077 arg2
= (int)SWIG_As_int(obj1
);
2078 if (PyErr_Occurred()) SWIG_fail
;
2079 arg3
= (int)SWIG_As_int(obj2
);
2080 if (PyErr_Occurred()) SWIG_fail
;
2082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2083 (arg1
)->SetScrollPageSize(arg2
,arg3
);
2085 wxPyEndAllowThreads(__tstate
);
2086 if (PyErr_Occurred()) SWIG_fail
;
2088 Py_INCREF(Py_None
); resultobj
= Py_None
;
2095 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2096 PyObject
*resultobj
;
2097 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2100 PyObject
* obj0
= 0 ;
2101 PyObject
* obj1
= 0 ;
2102 PyObject
* obj2
= 0 ;
2104 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2110 arg2
= (int)SWIG_As_int(obj1
);
2111 if (PyErr_Occurred()) SWIG_fail
;
2112 arg3
= (int)SWIG_As_int(obj2
);
2113 if (PyErr_Occurred()) SWIG_fail
;
2115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2116 (arg1
)->SetScrollRate(arg2
,arg3
);
2118 wxPyEndAllowThreads(__tstate
);
2119 if (PyErr_Occurred()) SWIG_fail
;
2121 Py_INCREF(Py_None
); resultobj
= Py_None
;
2128 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2129 PyObject
*resultobj
;
2130 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2131 int *arg2
= (int *) 0 ;
2132 int *arg3
= (int *) 0 ;
2137 PyObject
* obj0
= 0 ;
2139 (char *) "self", NULL
2142 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2143 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
2145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2149 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
2151 wxPyEndAllowThreads(__tstate
);
2152 if (PyErr_Occurred()) SWIG_fail
;
2154 Py_INCREF(Py_None
); resultobj
= Py_None
;
2155 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2156 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2157 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2158 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2165 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2166 PyObject
*resultobj
;
2167 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2170 PyObject
* obj0
= 0 ;
2171 PyObject
* obj1
= 0 ;
2172 PyObject
* obj2
= 0 ;
2174 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2180 arg2
= (bool)SWIG_As_bool(obj1
);
2181 if (PyErr_Occurred()) SWIG_fail
;
2182 arg3
= (bool)SWIG_As_bool(obj2
);
2183 if (PyErr_Occurred()) SWIG_fail
;
2185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2186 (arg1
)->EnableScrolling(arg2
,arg3
);
2188 wxPyEndAllowThreads(__tstate
);
2189 if (PyErr_Occurred()) SWIG_fail
;
2191 Py_INCREF(Py_None
); resultobj
= Py_None
;
2198 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2199 PyObject
*resultobj
;
2200 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2201 int *arg2
= (int *) 0 ;
2202 int *arg3
= (int *) 0 ;
2207 PyObject
* obj0
= 0 ;
2209 (char *) "self", NULL
2212 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2213 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
2215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2219 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
2221 wxPyEndAllowThreads(__tstate
);
2222 if (PyErr_Occurred()) SWIG_fail
;
2224 Py_INCREF(Py_None
); resultobj
= Py_None
;
2225 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2226 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2227 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2228 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2235 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2236 PyObject
*resultobj
;
2237 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2240 PyObject
* obj0
= 0 ;
2241 PyObject
* obj1
= 0 ;
2242 PyObject
* obj2
= 0 ;
2244 (char *) "self",(char *) "xs",(char *) "ys", NULL
2247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2250 arg2
= (double)SWIG_As_double(obj1
);
2251 if (PyErr_Occurred()) SWIG_fail
;
2252 arg3
= (double)SWIG_As_double(obj2
);
2253 if (PyErr_Occurred()) SWIG_fail
;
2255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2256 (arg1
)->SetScale(arg2
,arg3
);
2258 wxPyEndAllowThreads(__tstate
);
2259 if (PyErr_Occurred()) SWIG_fail
;
2261 Py_INCREF(Py_None
); resultobj
= Py_None
;
2268 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2269 PyObject
*resultobj
;
2270 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2272 PyObject
* obj0
= 0 ;
2274 (char *) "self", NULL
2277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2282 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2284 wxPyEndAllowThreads(__tstate
);
2285 if (PyErr_Occurred()) SWIG_fail
;
2287 resultobj
= SWIG_From_double((double)result
);
2294 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2295 PyObject
*resultobj
;
2296 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2298 PyObject
* obj0
= 0 ;
2300 (char *) "self", NULL
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2308 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2310 wxPyEndAllowThreads(__tstate
);
2311 if (PyErr_Occurred()) SWIG_fail
;
2313 resultobj
= SWIG_From_double((double)result
);
2320 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2321 PyObject
*resultobj
;
2322 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2326 PyObject
* obj0
= 0 ;
2327 PyObject
* obj1
= 0 ;
2329 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2334 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2338 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2340 wxPyEndAllowThreads(__tstate
);
2341 if (PyErr_Occurred()) SWIG_fail
;
2344 wxPoint
* resultptr
;
2345 resultptr
= new wxPoint((wxPoint
&) result
);
2346 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2354 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2355 PyObject
*resultobj
;
2356 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2359 int *arg4
= (int *) 0 ;
2360 int *arg5
= (int *) 0 ;
2365 PyObject
* obj0
= 0 ;
2366 PyObject
* obj1
= 0 ;
2367 PyObject
* obj2
= 0 ;
2369 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2370 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2371 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2374 arg2
= (int)SWIG_As_int(obj1
);
2375 if (PyErr_Occurred()) SWIG_fail
;
2376 arg3
= (int)SWIG_As_int(obj2
);
2377 if (PyErr_Occurred()) SWIG_fail
;
2379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2380 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2382 wxPyEndAllowThreads(__tstate
);
2383 if (PyErr_Occurred()) SWIG_fail
;
2385 Py_INCREF(Py_None
); resultobj
= Py_None
;
2386 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2387 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
2388 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2389 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
2396 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2401 argc
= PyObject_Length(args
);
2402 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2403 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2409 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2418 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2421 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2429 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2437 _v
= SWIG_Check_int(argv
[1]);
2439 _v
= SWIG_Check_int(argv
[2]);
2441 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2447 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2452 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2453 PyObject
*resultobj
;
2454 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2458 PyObject
* obj0
= 0 ;
2459 PyObject
* obj1
= 0 ;
2461 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2466 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2470 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2472 wxPyEndAllowThreads(__tstate
);
2473 if (PyErr_Occurred()) SWIG_fail
;
2476 wxPoint
* resultptr
;
2477 resultptr
= new wxPoint((wxPoint
&) result
);
2478 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2486 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2487 PyObject
*resultobj
;
2488 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2491 int *arg4
= (int *) 0 ;
2492 int *arg5
= (int *) 0 ;
2497 PyObject
* obj0
= 0 ;
2498 PyObject
* obj1
= 0 ;
2499 PyObject
* obj2
= 0 ;
2501 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2502 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2503 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2506 arg2
= (int)SWIG_As_int(obj1
);
2507 if (PyErr_Occurred()) SWIG_fail
;
2508 arg3
= (int)SWIG_As_int(obj2
);
2509 if (PyErr_Occurred()) SWIG_fail
;
2511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2512 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2514 wxPyEndAllowThreads(__tstate
);
2515 if (PyErr_Occurred()) SWIG_fail
;
2517 Py_INCREF(Py_None
); resultobj
= Py_None
;
2518 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2519 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
2520 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2521 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
2528 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2533 argc
= PyObject_Length(args
);
2534 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2535 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2541 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2550 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2553 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2561 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2569 _v
= SWIG_Check_int(argv
[1]);
2571 _v
= SWIG_Check_int(argv
[2]);
2573 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2579 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2584 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
*resultobj
;
2586 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2587 PyObject
* obj0
= 0 ;
2589 (char *) "self", NULL
2592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2597 (arg1
)->AdjustScrollbars();
2599 wxPyEndAllowThreads(__tstate
);
2600 if (PyErr_Occurred()) SWIG_fail
;
2602 Py_INCREF(Py_None
); resultobj
= Py_None
;
2609 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2610 PyObject
*resultobj
;
2611 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2612 wxScrollWinEvent
*arg2
= 0 ;
2614 PyObject
* obj0
= 0 ;
2615 PyObject
* obj1
= 0 ;
2617 (char *) "self",(char *) "event", NULL
2620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2623 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2624 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2627 PyErr_SetString(PyExc_TypeError
,"null reference");
2631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2632 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2634 wxPyEndAllowThreads(__tstate
);
2635 if (PyErr_Occurred()) SWIG_fail
;
2637 resultobj
= SWIG_From_int((int)result
);
2644 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2645 PyObject
*resultobj
;
2646 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2647 wxWindow
*arg2
= (wxWindow
*) 0 ;
2648 PyObject
* obj0
= 0 ;
2649 PyObject
* obj1
= 0 ;
2651 (char *) "self",(char *) "target", NULL
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2661 (arg1
)->SetTargetWindow(arg2
);
2663 wxPyEndAllowThreads(__tstate
);
2664 if (PyErr_Occurred()) SWIG_fail
;
2666 Py_INCREF(Py_None
); resultobj
= Py_None
;
2673 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2674 PyObject
*resultobj
;
2675 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2677 PyObject
* obj0
= 0 ;
2679 (char *) "self", NULL
2682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2687 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2689 wxPyEndAllowThreads(__tstate
);
2690 if (PyErr_Occurred()) SWIG_fail
;
2693 resultobj
= wxPyMake_wxObject(result
, 0);
2701 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2702 PyObject
*resultobj
;
2703 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2705 PyObject
* obj0
= 0 ;
2706 PyObject
* obj1
= 0 ;
2708 (char *) "self",(char *) "dc", NULL
2711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
2712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2714 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2715 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2718 PyErr_SetString(PyExc_TypeError
,"null reference");
2722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2723 (arg1
)->DoPrepareDC(*arg2
);
2725 wxPyEndAllowThreads(__tstate
);
2726 if (PyErr_Occurred()) SWIG_fail
;
2728 Py_INCREF(Py_None
); resultobj
= Py_None
;
2735 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2736 PyObject
*resultobj
;
2737 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2738 wxVisualAttributes result
;
2739 PyObject
* obj0
= 0 ;
2741 (char *) "variant", NULL
2744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2746 arg1
= (int)SWIG_As_int(obj0
);
2747 if (PyErr_Occurred()) SWIG_fail
;
2750 if (!wxPyCheckForApp()) SWIG_fail
;
2751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2752 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2754 wxPyEndAllowThreads(__tstate
);
2755 if (PyErr_Occurred()) SWIG_fail
;
2758 wxVisualAttributes
* resultptr
;
2759 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2760 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2768 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
2770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2771 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2773 return Py_BuildValue((char *)"");
2775 static int _wrap_FrameNameStr_set(PyObject
*) {
2776 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2781 static PyObject
*_wrap_FrameNameStr_get() {
2786 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2788 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2795 static int _wrap_DialogNameStr_set(PyObject
*) {
2796 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2801 static PyObject
*_wrap_DialogNameStr_get() {
2806 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2808 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2815 static int _wrap_StatusLineNameStr_set(PyObject
*) {
2816 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2821 static PyObject
*_wrap_StatusLineNameStr_get() {
2826 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2828 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2835 static int _wrap_ToolBarNameStr_set(PyObject
*) {
2836 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2841 static PyObject
*_wrap_ToolBarNameStr_get() {
2846 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2848 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2855 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2856 PyObject
*resultobj
;
2857 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2858 bool arg2
= (bool) true ;
2859 PyObject
* obj0
= 0 ;
2860 PyObject
* obj1
= 0 ;
2862 (char *) "self",(char *) "maximize", NULL
2865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2869 arg2
= (bool)SWIG_As_bool(obj1
);
2870 if (PyErr_Occurred()) SWIG_fail
;
2873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2874 (arg1
)->Maximize(arg2
);
2876 wxPyEndAllowThreads(__tstate
);
2877 if (PyErr_Occurred()) SWIG_fail
;
2879 Py_INCREF(Py_None
); resultobj
= Py_None
;
2886 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2887 PyObject
*resultobj
;
2888 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2889 PyObject
* obj0
= 0 ;
2891 (char *) "self", NULL
2894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2901 wxPyEndAllowThreads(__tstate
);
2902 if (PyErr_Occurred()) SWIG_fail
;
2904 Py_INCREF(Py_None
); resultobj
= Py_None
;
2911 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2912 PyObject
*resultobj
;
2913 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2914 bool arg2
= (bool) true ;
2915 PyObject
* obj0
= 0 ;
2916 PyObject
* obj1
= 0 ;
2918 (char *) "self",(char *) "iconize", NULL
2921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2925 arg2
= (bool)SWIG_As_bool(obj1
);
2926 if (PyErr_Occurred()) SWIG_fail
;
2929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2930 (arg1
)->Iconize(arg2
);
2932 wxPyEndAllowThreads(__tstate
);
2933 if (PyErr_Occurred()) SWIG_fail
;
2935 Py_INCREF(Py_None
); resultobj
= Py_None
;
2942 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2943 PyObject
*resultobj
;
2944 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2946 PyObject
* obj0
= 0 ;
2948 (char *) "self", NULL
2951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2956 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2958 wxPyEndAllowThreads(__tstate
);
2959 if (PyErr_Occurred()) SWIG_fail
;
2962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2970 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2971 PyObject
*resultobj
;
2972 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2974 PyObject
* obj0
= 0 ;
2976 (char *) "self", NULL
2979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2984 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2986 wxPyEndAllowThreads(__tstate
);
2987 if (PyErr_Occurred()) SWIG_fail
;
2990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2998 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
*resultobj
;
3000 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3002 PyObject
* obj0
= 0 ;
3004 (char *) "self", NULL
3007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
3008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3012 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
3014 wxPyEndAllowThreads(__tstate
);
3015 if (PyErr_Occurred()) SWIG_fail
;
3019 resultptr
= new wxIcon((wxIcon
&) result
);
3020 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
3028 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3029 PyObject
*resultobj
;
3030 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3032 PyObject
* obj0
= 0 ;
3033 PyObject
* obj1
= 0 ;
3035 (char *) "self",(char *) "icon", NULL
3038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3041 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3042 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3045 PyErr_SetString(PyExc_TypeError
,"null reference");
3049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3050 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
3052 wxPyEndAllowThreads(__tstate
);
3053 if (PyErr_Occurred()) SWIG_fail
;
3055 Py_INCREF(Py_None
); resultobj
= Py_None
;
3062 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
*resultobj
;
3064 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3065 wxIconBundle
*arg2
= 0 ;
3066 PyObject
* obj0
= 0 ;
3067 PyObject
* obj1
= 0 ;
3069 (char *) "self",(char *) "icons", NULL
3072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
3073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3075 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
3076 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3079 PyErr_SetString(PyExc_TypeError
,"null reference");
3083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3084 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
3086 wxPyEndAllowThreads(__tstate
);
3087 if (PyErr_Occurred()) SWIG_fail
;
3089 Py_INCREF(Py_None
); resultobj
= Py_None
;
3096 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3097 PyObject
*resultobj
;
3098 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3100 long arg3
= (long) wxFULLSCREEN_ALL
;
3102 PyObject
* obj0
= 0 ;
3103 PyObject
* obj1
= 0 ;
3104 PyObject
* obj2
= 0 ;
3106 (char *) "self",(char *) "show",(char *) "style", NULL
3109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3112 arg2
= (bool)SWIG_As_bool(obj1
);
3113 if (PyErr_Occurred()) SWIG_fail
;
3115 arg3
= (long)SWIG_As_long(obj2
);
3116 if (PyErr_Occurred()) SWIG_fail
;
3119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3120 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
3122 wxPyEndAllowThreads(__tstate
);
3123 if (PyErr_Occurred()) SWIG_fail
;
3126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3134 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3135 PyObject
*resultobj
;
3136 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3138 PyObject
* obj0
= 0 ;
3140 (char *) "self", NULL
3143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
3144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3148 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
3150 wxPyEndAllowThreads(__tstate
);
3151 if (PyErr_Occurred()) SWIG_fail
;
3154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3162 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3163 PyObject
*resultobj
;
3164 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3165 wxString
*arg2
= 0 ;
3166 bool temp2
= false ;
3167 PyObject
* obj0
= 0 ;
3168 PyObject
* obj1
= 0 ;
3170 (char *) "self",(char *) "title", NULL
3173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
3174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3177 arg2
= wxString_in_helper(obj1
);
3178 if (arg2
== NULL
) SWIG_fail
;
3182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3183 (arg1
)->SetTitle((wxString
const &)*arg2
);
3185 wxPyEndAllowThreads(__tstate
);
3186 if (PyErr_Occurred()) SWIG_fail
;
3188 Py_INCREF(Py_None
); resultobj
= Py_None
;
3203 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
*resultobj
;
3205 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3207 PyObject
* obj0
= 0 ;
3209 (char *) "self", NULL
3212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3217 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3219 wxPyEndAllowThreads(__tstate
);
3220 if (PyErr_Occurred()) SWIG_fail
;
3224 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3226 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3235 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3236 PyObject
*resultobj
;
3237 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3238 wxRegion
*arg2
= 0 ;
3240 PyObject
* obj0
= 0 ;
3241 PyObject
* obj1
= 0 ;
3243 (char *) "self",(char *) "region", NULL
3246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3249 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3250 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3253 PyErr_SetString(PyExc_TypeError
,"null reference");
3257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3258 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3260 wxPyEndAllowThreads(__tstate
);
3261 if (PyErr_Occurred()) SWIG_fail
;
3264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3272 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3273 PyObject
*resultobj
;
3274 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3275 int arg2
= (int) wxUSER_ATTENTION_INFO
;
3276 PyObject
* obj0
= 0 ;
3277 PyObject
* obj1
= 0 ;
3279 (char *) "self",(char *) "flags", NULL
3282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
3283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3286 arg2
= (int)SWIG_As_int(obj1
);
3287 if (PyErr_Occurred()) SWIG_fail
;
3290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3291 (arg1
)->RequestUserAttention(arg2
);
3293 wxPyEndAllowThreads(__tstate
);
3294 if (PyErr_Occurred()) SWIG_fail
;
3296 Py_INCREF(Py_None
); resultobj
= Py_None
;
3303 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3304 PyObject
*resultobj
;
3305 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3307 PyObject
* obj0
= 0 ;
3309 (char *) "self", NULL
3312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
3313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3317 result
= (bool)(arg1
)->IsActive();
3319 wxPyEndAllowThreads(__tstate
);
3320 if (PyErr_Occurred()) SWIG_fail
;
3323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3331 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3332 PyObject
*resultobj
;
3333 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3335 PyObject
* obj0
= 0 ;
3336 PyObject
* obj1
= 0 ;
3338 (char *) "self",(char *) "on", NULL
3341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
3342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3344 arg2
= (bool)SWIG_As_bool(obj1
);
3345 if (PyErr_Occurred()) SWIG_fail
;
3347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3348 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
3350 wxPyEndAllowThreads(__tstate
);
3351 if (PyErr_Occurred()) SWIG_fail
;
3353 Py_INCREF(Py_None
); resultobj
= Py_None
;
3360 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
*resultobj
;
3362 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3364 PyObject
* obj0
= 0 ;
3366 (char *) "self", NULL
3369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
3370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3374 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
3376 wxPyEndAllowThreads(__tstate
);
3377 if (PyErr_Occurred()) SWIG_fail
;
3380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3388 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
3390 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3391 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3393 return Py_BuildValue((char *)"");
3395 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3396 PyObject
*resultobj
;
3397 wxWindow
*arg1
= (wxWindow
*) 0 ;
3398 int arg2
= (int) (int)-1 ;
3399 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3400 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3401 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3402 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3403 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3404 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3405 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3406 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3407 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3409 bool temp3
= false ;
3412 bool temp7
= false ;
3413 PyObject
* obj0
= 0 ;
3414 PyObject
* obj1
= 0 ;
3415 PyObject
* obj2
= 0 ;
3416 PyObject
* obj3
= 0 ;
3417 PyObject
* obj4
= 0 ;
3418 PyObject
* obj5
= 0 ;
3419 PyObject
* obj6
= 0 ;
3421 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3428 arg2
= (int)SWIG_As_int(obj1
);
3429 if (PyErr_Occurred()) SWIG_fail
;
3433 arg3
= wxString_in_helper(obj2
);
3434 if (arg3
== NULL
) SWIG_fail
;
3441 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3447 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3451 arg6
= (long)SWIG_As_long(obj5
);
3452 if (PyErr_Occurred()) SWIG_fail
;
3456 arg7
= wxString_in_helper(obj6
);
3457 if (arg7
== NULL
) SWIG_fail
;
3462 if (!wxPyCheckForApp()) SWIG_fail
;
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3464 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) SWIG_fail
;
3469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3492 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3493 PyObject
*resultobj
;
3499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3501 if (!wxPyCheckForApp()) SWIG_fail
;
3502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3503 result
= (wxFrame
*)new wxFrame();
3505 wxPyEndAllowThreads(__tstate
);
3506 if (PyErr_Occurred()) SWIG_fail
;
3508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3515 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
*resultobj
;
3517 wxFrame
*arg1
= (wxFrame
*) 0 ;
3518 wxWindow
*arg2
= (wxWindow
*) 0 ;
3519 int arg3
= (int) (int)-1 ;
3520 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3521 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3522 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3523 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3524 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3525 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3526 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3527 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3528 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3530 bool temp4
= false ;
3533 bool temp8
= false ;
3534 PyObject
* obj0
= 0 ;
3535 PyObject
* obj1
= 0 ;
3536 PyObject
* obj2
= 0 ;
3537 PyObject
* obj3
= 0 ;
3538 PyObject
* obj4
= 0 ;
3539 PyObject
* obj5
= 0 ;
3540 PyObject
* obj6
= 0 ;
3541 PyObject
* obj7
= 0 ;
3543 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3552 arg3
= (int)SWIG_As_int(obj2
);
3553 if (PyErr_Occurred()) SWIG_fail
;
3557 arg4
= wxString_in_helper(obj3
);
3558 if (arg4
== NULL
) SWIG_fail
;
3565 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3571 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3575 arg7
= (long)SWIG_As_long(obj6
);
3576 if (PyErr_Occurred()) SWIG_fail
;
3580 arg8
= wxString_in_helper(obj7
);
3581 if (arg8
== NULL
) SWIG_fail
;
3586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3587 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3589 wxPyEndAllowThreads(__tstate
);
3590 if (PyErr_Occurred()) SWIG_fail
;
3593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3617 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3618 PyObject
*resultobj
;
3619 wxFrame
*arg1
= (wxFrame
*) 0 ;
3621 PyObject
* obj0
= 0 ;
3623 (char *) "self", NULL
3626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3631 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3633 wxPyEndAllowThreads(__tstate
);
3634 if (PyErr_Occurred()) SWIG_fail
;
3637 wxPoint
* resultptr
;
3638 resultptr
= new wxPoint((wxPoint
&) result
);
3639 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3647 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3648 PyObject
*resultobj
;
3649 wxFrame
*arg1
= (wxFrame
*) 0 ;
3650 PyObject
* obj0
= 0 ;
3652 (char *) "self", NULL
3655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3660 (arg1
)->SendSizeEvent();
3662 wxPyEndAllowThreads(__tstate
);
3663 if (PyErr_Occurred()) SWIG_fail
;
3665 Py_INCREF(Py_None
); resultobj
= Py_None
;
3672 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
*resultobj
;
3674 wxFrame
*arg1
= (wxFrame
*) 0 ;
3675 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3676 PyObject
* obj0
= 0 ;
3677 PyObject
* obj1
= 0 ;
3679 (char *) "self",(char *) "menubar", NULL
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3689 (arg1
)->SetMenuBar(arg2
);
3691 wxPyEndAllowThreads(__tstate
);
3692 if (PyErr_Occurred()) SWIG_fail
;
3694 Py_INCREF(Py_None
); resultobj
= Py_None
;
3701 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3702 PyObject
*resultobj
;
3703 wxFrame
*arg1
= (wxFrame
*) 0 ;
3705 PyObject
* obj0
= 0 ;
3707 (char *) "self", NULL
3710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3715 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3717 wxPyEndAllowThreads(__tstate
);
3718 if (PyErr_Occurred()) SWIG_fail
;
3721 resultobj
= wxPyMake_wxObject(result
, 0);
3729 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3730 PyObject
*resultobj
;
3731 wxFrame
*arg1
= (wxFrame
*) 0 ;
3734 PyObject
* obj0
= 0 ;
3735 PyObject
* obj1
= 0 ;
3737 (char *) "self",(char *) "winid", NULL
3740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3743 arg2
= (int)SWIG_As_int(obj1
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3747 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3749 wxPyEndAllowThreads(__tstate
);
3750 if (PyErr_Occurred()) SWIG_fail
;
3753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3761 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
*resultobj
;
3763 wxFrame
*arg1
= (wxFrame
*) 0 ;
3764 int arg2
= (int) 1 ;
3765 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
3766 int arg4
= (int) 0 ;
3767 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3768 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3769 wxStatusBar
*result
;
3770 bool temp5
= false ;
3771 PyObject
* obj0
= 0 ;
3772 PyObject
* obj1
= 0 ;
3773 PyObject
* obj2
= 0 ;
3774 PyObject
* obj3
= 0 ;
3775 PyObject
* obj4
= 0 ;
3777 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3784 arg2
= (int)SWIG_As_int(obj1
);
3785 if (PyErr_Occurred()) SWIG_fail
;
3788 arg3
= (long)SWIG_As_long(obj2
);
3789 if (PyErr_Occurred()) SWIG_fail
;
3792 arg4
= (int)SWIG_As_int(obj3
);
3793 if (PyErr_Occurred()) SWIG_fail
;
3797 arg5
= wxString_in_helper(obj4
);
3798 if (arg5
== NULL
) SWIG_fail
;
3803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3804 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3806 wxPyEndAllowThreads(__tstate
);
3807 if (PyErr_Occurred()) SWIG_fail
;
3810 resultobj
= wxPyMake_wxObject(result
, 0);
3826 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3827 PyObject
*resultobj
;
3828 wxFrame
*arg1
= (wxFrame
*) 0 ;
3829 wxStatusBar
*result
;
3830 PyObject
* obj0
= 0 ;
3832 (char *) "self", NULL
3835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3846 resultobj
= wxPyMake_wxObject(result
, 0);
3854 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3855 PyObject
*resultobj
;
3856 wxFrame
*arg1
= (wxFrame
*) 0 ;
3857 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3858 PyObject
* obj0
= 0 ;
3859 PyObject
* obj1
= 0 ;
3861 (char *) "self",(char *) "statBar", NULL
3864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 (arg1
)->SetStatusBar(arg2
);
3873 wxPyEndAllowThreads(__tstate
);
3874 if (PyErr_Occurred()) SWIG_fail
;
3876 Py_INCREF(Py_None
); resultobj
= Py_None
;
3883 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3884 PyObject
*resultobj
;
3885 wxFrame
*arg1
= (wxFrame
*) 0 ;
3886 wxString
*arg2
= 0 ;
3887 int arg3
= (int) 0 ;
3888 bool temp2
= false ;
3889 PyObject
* obj0
= 0 ;
3890 PyObject
* obj1
= 0 ;
3891 PyObject
* obj2
= 0 ;
3893 (char *) "self",(char *) "text",(char *) "number", NULL
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3900 arg2
= wxString_in_helper(obj1
);
3901 if (arg2
== NULL
) SWIG_fail
;
3905 arg3
= (int)SWIG_As_int(obj2
);
3906 if (PyErr_Occurred()) SWIG_fail
;
3909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3910 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3912 wxPyEndAllowThreads(__tstate
);
3913 if (PyErr_Occurred()) SWIG_fail
;
3915 Py_INCREF(Py_None
); resultobj
= Py_None
;
3930 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3931 PyObject
*resultobj
;
3932 wxFrame
*arg1
= (wxFrame
*) 0 ;
3934 int *arg3
= (int *) 0 ;
3935 PyObject
* obj0
= 0 ;
3936 PyObject
* obj1
= 0 ;
3938 (char *) "self",(char *) "widths", NULL
3941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3945 arg2
= PyList_Size(obj1
);
3946 arg3
= int_LIST_helper(obj1
);
3947 if (arg3
== NULL
) SWIG_fail
;
3950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3951 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3956 Py_INCREF(Py_None
); resultobj
= Py_None
;
3958 if (arg3
) delete [] arg3
;
3963 if (arg3
) delete [] arg3
;
3969 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3970 PyObject
*resultobj
;
3971 wxFrame
*arg1
= (wxFrame
*) 0 ;
3972 wxString
*arg2
= 0 ;
3973 int arg3
= (int) 0 ;
3974 bool temp2
= false ;
3975 PyObject
* obj0
= 0 ;
3976 PyObject
* obj1
= 0 ;
3977 PyObject
* obj2
= 0 ;
3979 (char *) "self",(char *) "text",(char *) "number", NULL
3982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3986 arg2
= wxString_in_helper(obj1
);
3987 if (arg2
== NULL
) SWIG_fail
;
3991 arg3
= (int)SWIG_As_int(obj2
);
3992 if (PyErr_Occurred()) SWIG_fail
;
3995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3996 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3998 wxPyEndAllowThreads(__tstate
);
3999 if (PyErr_Occurred()) SWIG_fail
;
4001 Py_INCREF(Py_None
); resultobj
= Py_None
;
4016 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4017 PyObject
*resultobj
;
4018 wxFrame
*arg1
= (wxFrame
*) 0 ;
4019 int arg2
= (int) 0 ;
4020 PyObject
* obj0
= 0 ;
4021 PyObject
* obj1
= 0 ;
4023 (char *) "self",(char *) "number", NULL
4026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
4027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4030 arg2
= (int)SWIG_As_int(obj1
);
4031 if (PyErr_Occurred()) SWIG_fail
;
4034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4035 (arg1
)->PopStatusText(arg2
);
4037 wxPyEndAllowThreads(__tstate
);
4038 if (PyErr_Occurred()) SWIG_fail
;
4040 Py_INCREF(Py_None
); resultobj
= Py_None
;
4047 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4048 PyObject
*resultobj
;
4049 wxFrame
*arg1
= (wxFrame
*) 0 ;
4051 PyObject
* obj0
= 0 ;
4052 PyObject
* obj1
= 0 ;
4054 (char *) "self",(char *) "n", NULL
4057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
4058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4060 arg2
= (int)SWIG_As_int(obj1
);
4061 if (PyErr_Occurred()) SWIG_fail
;
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 (arg1
)->SetStatusBarPane(arg2
);
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4069 Py_INCREF(Py_None
); resultobj
= Py_None
;
4076 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
*resultobj
;
4078 wxFrame
*arg1
= (wxFrame
*) 0 ;
4080 PyObject
* obj0
= 0 ;
4082 (char *) "self", NULL
4085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
4086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4090 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
4092 wxPyEndAllowThreads(__tstate
);
4093 if (PyErr_Occurred()) SWIG_fail
;
4095 resultobj
= SWIG_From_int((int)result
);
4102 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
*resultobj
;
4104 wxFrame
*arg1
= (wxFrame
*) 0 ;
4105 long arg2
= (long) -1 ;
4106 int arg3
= (int) -1 ;
4107 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
4108 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4110 bool temp4
= false ;
4111 PyObject
* obj0
= 0 ;
4112 PyObject
* obj1
= 0 ;
4113 PyObject
* obj2
= 0 ;
4114 PyObject
* obj3
= 0 ;
4116 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
4119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4123 arg2
= (long)SWIG_As_long(obj1
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4127 arg3
= (int)SWIG_As_int(obj2
);
4128 if (PyErr_Occurred()) SWIG_fail
;
4132 arg4
= wxString_in_helper(obj3
);
4133 if (arg4
== NULL
) SWIG_fail
;
4138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
4141 wxPyEndAllowThreads(__tstate
);
4142 if (PyErr_Occurred()) SWIG_fail
;
4145 resultobj
= wxPyMake_wxObject(result
, 0);
4161 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
*resultobj
;
4163 wxFrame
*arg1
= (wxFrame
*) 0 ;
4165 PyObject
* obj0
= 0 ;
4167 (char *) "self", NULL
4170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
4171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4175 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
4177 wxPyEndAllowThreads(__tstate
);
4178 if (PyErr_Occurred()) SWIG_fail
;
4181 resultobj
= wxPyMake_wxObject(result
, 0);
4189 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
*resultobj
;
4191 wxFrame
*arg1
= (wxFrame
*) 0 ;
4192 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
4193 PyObject
* obj0
= 0 ;
4194 PyObject
* obj1
= 0 ;
4196 (char *) "self",(char *) "toolbar", NULL
4199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
4203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4206 (arg1
)->SetToolBar(arg2
);
4208 wxPyEndAllowThreads(__tstate
);
4209 if (PyErr_Occurred()) SWIG_fail
;
4211 Py_INCREF(Py_None
); resultobj
= Py_None
;
4218 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
*resultobj
;
4220 wxFrame
*arg1
= (wxFrame
*) 0 ;
4221 wxString
*arg2
= 0 ;
4223 bool temp2
= false ;
4224 PyObject
* obj0
= 0 ;
4225 PyObject
* obj1
= 0 ;
4226 PyObject
* obj2
= 0 ;
4228 (char *) "self",(char *) "text",(char *) "show", NULL
4231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4235 arg2
= wxString_in_helper(obj1
);
4236 if (arg2
== NULL
) SWIG_fail
;
4239 arg3
= (bool)SWIG_As_bool(obj2
);
4240 if (PyErr_Occurred()) SWIG_fail
;
4242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4243 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
4245 wxPyEndAllowThreads(__tstate
);
4246 if (PyErr_Occurred()) SWIG_fail
;
4248 Py_INCREF(Py_None
); resultobj
= Py_None
;
4263 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
*resultobj
;
4265 wxFrame
*arg1
= (wxFrame
*) 0 ;
4266 wxMenu
*arg2
= (wxMenu
*) NULL
;
4267 PyObject
* obj0
= 0 ;
4268 PyObject
* obj1
= 0 ;
4270 (char *) "self",(char *) "menu", NULL
4273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
4274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4277 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
4278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4282 (arg1
)->DoMenuUpdates(arg2
);
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4287 Py_INCREF(Py_None
); resultobj
= Py_None
;
4294 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
*resultobj
;
4296 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4297 wxVisualAttributes result
;
4298 PyObject
* obj0
= 0 ;
4300 (char *) "variant", NULL
4303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4305 arg1
= (int)SWIG_As_int(obj0
);
4306 if (PyErr_Occurred()) SWIG_fail
;
4309 if (!wxPyCheckForApp()) SWIG_fail
;
4310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4313 wxPyEndAllowThreads(__tstate
);
4314 if (PyErr_Occurred()) SWIG_fail
;
4317 wxVisualAttributes
* resultptr
;
4318 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4319 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4327 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
4329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4330 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4332 return Py_BuildValue((char *)"");
4334 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
*resultobj
;
4336 wxWindow
*arg1
= (wxWindow
*) 0 ;
4337 int arg2
= (int) (int)-1 ;
4338 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4339 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4340 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4341 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4342 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4343 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4344 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4345 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4346 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4348 bool temp3
= false ;
4351 bool temp7
= false ;
4352 PyObject
* obj0
= 0 ;
4353 PyObject
* obj1
= 0 ;
4354 PyObject
* obj2
= 0 ;
4355 PyObject
* obj3
= 0 ;
4356 PyObject
* obj4
= 0 ;
4357 PyObject
* obj5
= 0 ;
4358 PyObject
* obj6
= 0 ;
4360 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4367 arg2
= (int)SWIG_As_int(obj1
);
4368 if (PyErr_Occurred()) SWIG_fail
;
4372 arg3
= wxString_in_helper(obj2
);
4373 if (arg3
== NULL
) SWIG_fail
;
4380 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4386 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4390 arg6
= (long)SWIG_As_long(obj5
);
4391 if (PyErr_Occurred()) SWIG_fail
;
4395 arg7
= wxString_in_helper(obj6
);
4396 if (arg7
== NULL
) SWIG_fail
;
4401 if (!wxPyCheckForApp()) SWIG_fail
;
4402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4403 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4431 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
;
4438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4440 if (!wxPyCheckForApp()) SWIG_fail
;
4441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4442 result
= (wxDialog
*)new wxDialog();
4444 wxPyEndAllowThreads(__tstate
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4454 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4455 PyObject
*resultobj
;
4456 wxDialog
*arg1
= (wxDialog
*) 0 ;
4457 wxWindow
*arg2
= (wxWindow
*) 0 ;
4458 int arg3
= (int) (int)-1 ;
4459 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4460 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4461 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4462 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4463 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4464 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4465 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4466 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4467 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4469 bool temp4
= false ;
4472 bool temp8
= false ;
4473 PyObject
* obj0
= 0 ;
4474 PyObject
* obj1
= 0 ;
4475 PyObject
* obj2
= 0 ;
4476 PyObject
* obj3
= 0 ;
4477 PyObject
* obj4
= 0 ;
4478 PyObject
* obj5
= 0 ;
4479 PyObject
* obj6
= 0 ;
4480 PyObject
* obj7
= 0 ;
4482 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4488 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4491 arg3
= (int)SWIG_As_int(obj2
);
4492 if (PyErr_Occurred()) SWIG_fail
;
4496 arg4
= wxString_in_helper(obj3
);
4497 if (arg4
== NULL
) SWIG_fail
;
4504 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4510 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4514 arg7
= (long)SWIG_As_long(obj6
);
4515 if (PyErr_Occurred()) SWIG_fail
;
4519 arg8
= wxString_in_helper(obj7
);
4520 if (arg8
== NULL
) SWIG_fail
;
4525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4526 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4528 wxPyEndAllowThreads(__tstate
);
4529 if (PyErr_Occurred()) SWIG_fail
;
4532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4556 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4557 PyObject
*resultobj
;
4558 wxDialog
*arg1
= (wxDialog
*) 0 ;
4560 PyObject
* obj0
= 0 ;
4561 PyObject
* obj1
= 0 ;
4563 (char *) "self",(char *) "returnCode", NULL
4566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4569 arg2
= (int)SWIG_As_int(obj1
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4573 (arg1
)->SetReturnCode(arg2
);
4575 wxPyEndAllowThreads(__tstate
);
4576 if (PyErr_Occurred()) SWIG_fail
;
4578 Py_INCREF(Py_None
); resultobj
= Py_None
;
4585 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4586 PyObject
*resultobj
;
4587 wxDialog
*arg1
= (wxDialog
*) 0 ;
4589 PyObject
* obj0
= 0 ;
4591 (char *) "self", NULL
4594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4599 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4601 wxPyEndAllowThreads(__tstate
);
4602 if (PyErr_Occurred()) SWIG_fail
;
4604 resultobj
= SWIG_From_int((int)result
);
4611 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4612 PyObject
*resultobj
;
4613 wxDialog
*arg1
= (wxDialog
*) 0 ;
4614 wxString
*arg2
= 0 ;
4616 bool temp2
= false ;
4617 PyObject
* obj0
= 0 ;
4618 PyObject
* obj1
= 0 ;
4620 (char *) "self",(char *) "message", NULL
4623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4627 arg2
= wxString_in_helper(obj1
);
4628 if (arg2
== NULL
) SWIG_fail
;
4632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4633 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4635 wxPyEndAllowThreads(__tstate
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4639 resultobj
= wxPyMake_wxSizer(result
, 0);
4655 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4656 PyObject
*resultobj
;
4657 wxDialog
*arg1
= (wxDialog
*) 0 ;
4660 PyObject
* obj0
= 0 ;
4661 PyObject
* obj1
= 0 ;
4663 (char *) "self",(char *) "flags", NULL
4666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4669 arg2
= (long)SWIG_As_long(obj1
);
4670 if (PyErr_Occurred()) SWIG_fail
;
4672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4673 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4675 wxPyEndAllowThreads(__tstate
);
4676 if (PyErr_Occurred()) SWIG_fail
;
4679 resultobj
= wxPyMake_wxSizer(result
, 0);
4687 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4688 PyObject
*resultobj
;
4689 wxDialog
*arg1
= (wxDialog
*) 0 ;
4691 PyObject
* obj0
= 0 ;
4693 (char *) "self", NULL
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4715 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
*resultobj
;
4717 wxDialog
*arg1
= (wxDialog
*) 0 ;
4719 PyObject
* obj0
= 0 ;
4721 (char *) "self", NULL
4724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 result
= (int)(arg1
)->ShowModal();
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4734 resultobj
= SWIG_From_int((int)result
);
4741 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
*resultobj
;
4743 wxDialog
*arg1
= (wxDialog
*) 0 ;
4745 PyObject
* obj0
= 0 ;
4746 PyObject
* obj1
= 0 ;
4748 (char *) "self",(char *) "retCode", NULL
4751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4754 arg2
= (int)SWIG_As_int(obj1
);
4755 if (PyErr_Occurred()) SWIG_fail
;
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4758 (arg1
)->EndModal(arg2
);
4760 wxPyEndAllowThreads(__tstate
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4763 Py_INCREF(Py_None
); resultobj
= Py_None
;
4770 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4771 PyObject
*resultobj
;
4772 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4773 wxVisualAttributes result
;
4774 PyObject
* obj0
= 0 ;
4776 (char *) "variant", NULL
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4781 arg1
= (int)SWIG_As_int(obj0
);
4782 if (PyErr_Occurred()) SWIG_fail
;
4785 if (!wxPyCheckForApp()) SWIG_fail
;
4786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4787 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4789 wxPyEndAllowThreads(__tstate
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4793 wxVisualAttributes
* resultptr
;
4794 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4803 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
4805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4806 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4808 return Py_BuildValue((char *)"");
4810 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4811 PyObject
*resultobj
;
4812 wxWindow
*arg1
= (wxWindow
*) 0 ;
4813 int arg2
= (int) (int)-1 ;
4814 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4815 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4816 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4817 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4818 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4819 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4820 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4821 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4822 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4823 wxMiniFrame
*result
;
4824 bool temp3
= false ;
4827 bool temp7
= false ;
4828 PyObject
* obj0
= 0 ;
4829 PyObject
* obj1
= 0 ;
4830 PyObject
* obj2
= 0 ;
4831 PyObject
* obj3
= 0 ;
4832 PyObject
* obj4
= 0 ;
4833 PyObject
* obj5
= 0 ;
4834 PyObject
* obj6
= 0 ;
4836 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4843 arg2
= (int)SWIG_As_int(obj1
);
4844 if (PyErr_Occurred()) SWIG_fail
;
4848 arg3
= wxString_in_helper(obj2
);
4849 if (arg3
== NULL
) SWIG_fail
;
4856 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4862 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4866 arg6
= (long)SWIG_As_long(obj5
);
4867 if (PyErr_Occurred()) SWIG_fail
;
4871 arg7
= wxString_in_helper(obj6
);
4872 if (arg7
== NULL
) SWIG_fail
;
4877 if (!wxPyCheckForApp()) SWIG_fail
;
4878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4879 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4881 wxPyEndAllowThreads(__tstate
);
4882 if (PyErr_Occurred()) SWIG_fail
;
4884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4907 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4908 PyObject
*resultobj
;
4909 wxMiniFrame
*result
;
4914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4916 if (!wxPyCheckForApp()) SWIG_fail
;
4917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4918 result
= (wxMiniFrame
*)new wxMiniFrame();
4920 wxPyEndAllowThreads(__tstate
);
4921 if (PyErr_Occurred()) SWIG_fail
;
4923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4930 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4931 PyObject
*resultobj
;
4932 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4933 wxWindow
*arg2
= (wxWindow
*) 0 ;
4934 int arg3
= (int) (int)-1 ;
4935 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4936 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4937 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4938 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4939 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4940 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4941 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4942 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4943 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4945 bool temp4
= false ;
4948 bool temp8
= false ;
4949 PyObject
* obj0
= 0 ;
4950 PyObject
* obj1
= 0 ;
4951 PyObject
* obj2
= 0 ;
4952 PyObject
* obj3
= 0 ;
4953 PyObject
* obj4
= 0 ;
4954 PyObject
* obj5
= 0 ;
4955 PyObject
* obj6
= 0 ;
4956 PyObject
* obj7
= 0 ;
4958 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4964 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4967 arg3
= (int)SWIG_As_int(obj2
);
4968 if (PyErr_Occurred()) SWIG_fail
;
4972 arg4
= wxString_in_helper(obj3
);
4973 if (arg4
== NULL
) SWIG_fail
;
4980 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4986 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4990 arg7
= (long)SWIG_As_long(obj6
);
4991 if (PyErr_Occurred()) SWIG_fail
;
4995 arg8
= wxString_in_helper(obj7
);
4996 if (arg8
== NULL
) SWIG_fail
;
5001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5002 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5004 wxPyEndAllowThreads(__tstate
);
5005 if (PyErr_Occurred()) SWIG_fail
;
5008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5032 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
5034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5035 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
5037 return Py_BuildValue((char *)"");
5039 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
*resultobj
;
5041 wxBitmap
*arg1
= 0 ;
5042 wxWindow
*arg2
= (wxWindow
*) 0 ;
5044 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5045 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5046 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5047 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5048 long arg6
= (long) wxNO_BORDER
;
5049 wxSplashScreenWindow
*result
;
5052 PyObject
* obj0
= 0 ;
5053 PyObject
* obj1
= 0 ;
5054 PyObject
* obj2
= 0 ;
5055 PyObject
* obj3
= 0 ;
5056 PyObject
* obj4
= 0 ;
5057 PyObject
* obj5
= 0 ;
5059 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5064 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5067 PyErr_SetString(PyExc_TypeError
,"null reference");
5070 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5072 arg3
= (int)SWIG_As_int(obj2
);
5073 if (PyErr_Occurred()) SWIG_fail
;
5077 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5083 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5087 arg6
= (long)SWIG_As_long(obj5
);
5088 if (PyErr_Occurred()) SWIG_fail
;
5091 if (!wxPyCheckForApp()) SWIG_fail
;
5092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5093 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
5095 wxPyEndAllowThreads(__tstate
);
5096 if (PyErr_Occurred()) SWIG_fail
;
5098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
5105 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5106 PyObject
*resultobj
;
5107 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
5108 wxBitmap
*arg2
= 0 ;
5109 PyObject
* obj0
= 0 ;
5110 PyObject
* obj1
= 0 ;
5112 (char *) "self",(char *) "bitmap", NULL
5115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5118 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5119 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5122 PyErr_SetString(PyExc_TypeError
,"null reference");
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) SWIG_fail
;
5132 Py_INCREF(Py_None
); resultobj
= Py_None
;
5139 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
*resultobj
;
5141 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
5143 PyObject
* obj0
= 0 ;
5145 (char *) "self", NULL
5148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
5149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
5155 result
= (wxBitmap
*) &_result_ref
;
5158 wxPyEndAllowThreads(__tstate
);
5159 if (PyErr_Occurred()) SWIG_fail
;
5162 wxBitmap
* resultptr
= new wxBitmap(*result
);
5163 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5171 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
5173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5174 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
5176 return Py_BuildValue((char *)"");
5178 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5179 PyObject
*resultobj
;
5180 wxBitmap
*arg1
= 0 ;
5183 wxWindow
*arg4
= (wxWindow
*) 0 ;
5184 int arg5
= (int) -1 ;
5185 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
5186 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
5187 wxSize
const &arg7_defvalue
= wxDefaultSize
;
5188 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
5189 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
5190 wxSplashScreen
*result
;
5193 PyObject
* obj0
= 0 ;
5194 PyObject
* obj1
= 0 ;
5195 PyObject
* obj2
= 0 ;
5196 PyObject
* obj3
= 0 ;
5197 PyObject
* obj4
= 0 ;
5198 PyObject
* obj5
= 0 ;
5199 PyObject
* obj6
= 0 ;
5200 PyObject
* obj7
= 0 ;
5202 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5207 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5210 PyErr_SetString(PyExc_TypeError
,"null reference");
5213 arg2
= (long)SWIG_As_long(obj1
);
5214 if (PyErr_Occurred()) SWIG_fail
;
5215 arg3
= (int)SWIG_As_int(obj2
);
5216 if (PyErr_Occurred()) SWIG_fail
;
5217 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
5218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5220 arg5
= (int)SWIG_As_int(obj4
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5226 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
5232 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
5236 arg8
= (long)SWIG_As_long(obj7
);
5237 if (PyErr_Occurred()) SWIG_fail
;
5240 if (!wxPyCheckForApp()) SWIG_fail
;
5241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5242 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
5244 wxPyEndAllowThreads(__tstate
);
5245 if (PyErr_Occurred()) SWIG_fail
;
5247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
5254 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5255 PyObject
*resultobj
;
5256 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5258 PyObject
* obj0
= 0 ;
5260 (char *) "self", NULL
5263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
5264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5268 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
5270 wxPyEndAllowThreads(__tstate
);
5271 if (PyErr_Occurred()) SWIG_fail
;
5273 resultobj
= SWIG_From_long((long)result
);
5280 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5281 PyObject
*resultobj
;
5282 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5283 wxSplashScreenWindow
*result
;
5284 PyObject
* obj0
= 0 ;
5286 (char *) "self", NULL
5289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
5290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5294 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
5296 wxPyEndAllowThreads(__tstate
);
5297 if (PyErr_Occurred()) SWIG_fail
;
5299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
5306 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5307 PyObject
*resultobj
;
5308 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5310 PyObject
* obj0
= 0 ;
5312 (char *) "self", NULL
5315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
5316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5320 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
5322 wxPyEndAllowThreads(__tstate
);
5323 if (PyErr_Occurred()) SWIG_fail
;
5325 resultobj
= SWIG_From_int((int)result
);
5332 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
5334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5335 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
5337 return Py_BuildValue((char *)"");
5339 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5340 PyObject
*resultobj
;
5341 wxWindow
*arg1
= (wxWindow
*) 0 ;
5342 int arg2
= (int) -1 ;
5343 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
5344 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5345 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5346 wxStatusBar
*result
;
5347 bool temp4
= false ;
5348 PyObject
* obj0
= 0 ;
5349 PyObject
* obj1
= 0 ;
5350 PyObject
* obj2
= 0 ;
5351 PyObject
* obj3
= 0 ;
5353 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5360 arg2
= (int)SWIG_As_int(obj1
);
5361 if (PyErr_Occurred()) SWIG_fail
;
5364 arg3
= (long)SWIG_As_long(obj2
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5369 arg4
= wxString_in_helper(obj3
);
5370 if (arg4
== NULL
) SWIG_fail
;
5375 if (!wxPyCheckForApp()) SWIG_fail
;
5376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5377 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5379 wxPyEndAllowThreads(__tstate
);
5380 if (PyErr_Occurred()) SWIG_fail
;
5382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5397 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5398 PyObject
*resultobj
;
5399 wxStatusBar
*result
;
5404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5406 if (!wxPyCheckForApp()) SWIG_fail
;
5407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5408 result
= (wxStatusBar
*)new wxStatusBar();
5410 wxPyEndAllowThreads(__tstate
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5420 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5421 PyObject
*resultobj
;
5422 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5423 wxWindow
*arg2
= (wxWindow
*) 0 ;
5424 int arg3
= (int) -1 ;
5425 long arg4
= (long) wxST_SIZEGRIP
;
5426 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5427 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5429 bool temp5
= false ;
5430 PyObject
* obj0
= 0 ;
5431 PyObject
* obj1
= 0 ;
5432 PyObject
* obj2
= 0 ;
5433 PyObject
* obj3
= 0 ;
5434 PyObject
* obj4
= 0 ;
5436 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5442 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5445 arg3
= (int)SWIG_As_int(obj2
);
5446 if (PyErr_Occurred()) SWIG_fail
;
5449 arg4
= (long)SWIG_As_long(obj3
);
5450 if (PyErr_Occurred()) SWIG_fail
;
5454 arg5
= wxString_in_helper(obj4
);
5455 if (arg5
== NULL
) SWIG_fail
;
5460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5461 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5463 wxPyEndAllowThreads(__tstate
);
5464 if (PyErr_Occurred()) SWIG_fail
;
5467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5483 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5484 PyObject
*resultobj
;
5485 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5486 int arg2
= (int) 1 ;
5487 PyObject
* obj0
= 0 ;
5488 PyObject
* obj1
= 0 ;
5490 (char *) "self",(char *) "number", NULL
5493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5497 arg2
= (int)SWIG_As_int(obj1
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5502 (arg1
)->SetFieldsCount(arg2
);
5504 wxPyEndAllowThreads(__tstate
);
5505 if (PyErr_Occurred()) SWIG_fail
;
5507 Py_INCREF(Py_None
); resultobj
= Py_None
;
5514 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
*resultobj
;
5516 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5518 PyObject
* obj0
= 0 ;
5520 (char *) "self", NULL
5523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5528 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) SWIG_fail
;
5533 resultobj
= SWIG_From_int((int)result
);
5540 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5541 PyObject
*resultobj
;
5542 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5543 wxString
*arg2
= 0 ;
5544 int arg3
= (int) 0 ;
5545 bool temp2
= false ;
5546 PyObject
* obj0
= 0 ;
5547 PyObject
* obj1
= 0 ;
5548 PyObject
* obj2
= 0 ;
5550 (char *) "self",(char *) "text",(char *) "number", NULL
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5557 arg2
= wxString_in_helper(obj1
);
5558 if (arg2
== NULL
) SWIG_fail
;
5562 arg3
= (int)SWIG_As_int(obj2
);
5563 if (PyErr_Occurred()) SWIG_fail
;
5566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5567 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5569 wxPyEndAllowThreads(__tstate
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5572 Py_INCREF(Py_None
); resultobj
= Py_None
;
5587 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5588 PyObject
*resultobj
;
5589 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5590 int arg2
= (int) 0 ;
5592 PyObject
* obj0
= 0 ;
5593 PyObject
* obj1
= 0 ;
5595 (char *) "self",(char *) "number", NULL
5598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5602 arg2
= (int)SWIG_As_int(obj1
);
5603 if (PyErr_Occurred()) SWIG_fail
;
5606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5607 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5614 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5616 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5625 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
*resultobj
;
5627 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5628 wxString
*arg2
= 0 ;
5629 int arg3
= (int) 0 ;
5630 bool temp2
= false ;
5631 PyObject
* obj0
= 0 ;
5632 PyObject
* obj1
= 0 ;
5633 PyObject
* obj2
= 0 ;
5635 (char *) "self",(char *) "text",(char *) "number", NULL
5638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5642 arg2
= wxString_in_helper(obj1
);
5643 if (arg2
== NULL
) SWIG_fail
;
5647 arg3
= (int)SWIG_As_int(obj2
);
5648 if (PyErr_Occurred()) SWIG_fail
;
5651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5652 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5654 wxPyEndAllowThreads(__tstate
);
5655 if (PyErr_Occurred()) SWIG_fail
;
5657 Py_INCREF(Py_None
); resultobj
= Py_None
;
5672 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5673 PyObject
*resultobj
;
5674 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5675 int arg2
= (int) 0 ;
5676 PyObject
* obj0
= 0 ;
5677 PyObject
* obj1
= 0 ;
5679 (char *) "self",(char *) "number", NULL
5682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5686 arg2
= (int)SWIG_As_int(obj1
);
5687 if (PyErr_Occurred()) SWIG_fail
;
5690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5691 (arg1
)->PopStatusText(arg2
);
5693 wxPyEndAllowThreads(__tstate
);
5694 if (PyErr_Occurred()) SWIG_fail
;
5696 Py_INCREF(Py_None
); resultobj
= Py_None
;
5703 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5704 PyObject
*resultobj
;
5705 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5707 int *arg3
= (int *) 0 ;
5708 PyObject
* obj0
= 0 ;
5709 PyObject
* obj1
= 0 ;
5711 (char *) "self",(char *) "widths", NULL
5714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5718 arg2
= PyList_Size(obj1
);
5719 arg3
= int_LIST_helper(obj1
);
5720 if (arg3
== NULL
) SWIG_fail
;
5723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5724 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5726 wxPyEndAllowThreads(__tstate
);
5727 if (PyErr_Occurred()) SWIG_fail
;
5729 Py_INCREF(Py_None
); resultobj
= Py_None
;
5731 if (arg3
) delete [] arg3
;
5736 if (arg3
) delete [] arg3
;
5742 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5743 PyObject
*resultobj
;
5744 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5746 int *arg3
= (int *) 0 ;
5747 PyObject
* obj0
= 0 ;
5748 PyObject
* obj1
= 0 ;
5750 (char *) "self",(char *) "styles", NULL
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
5754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5757 arg2
= PyList_Size(obj1
);
5758 arg3
= int_LIST_helper(obj1
);
5759 if (arg3
== NULL
) SWIG_fail
;
5762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5763 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
5765 wxPyEndAllowThreads(__tstate
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5768 Py_INCREF(Py_None
); resultobj
= Py_None
;
5770 if (arg3
) delete [] arg3
;
5775 if (arg3
) delete [] arg3
;
5781 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5782 PyObject
*resultobj
;
5783 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5786 PyObject
* obj0
= 0 ;
5787 PyObject
* obj1
= 0 ;
5789 (char *) "self",(char *) "i", NULL
5792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5795 arg2
= (int)SWIG_As_int(obj1
);
5796 if (PyErr_Occurred()) SWIG_fail
;
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) SWIG_fail
;
5806 resultptr
= new wxRect((wxRect
&) result
);
5807 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5815 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5816 PyObject
*resultobj
;
5817 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5819 PyObject
* obj0
= 0 ;
5820 PyObject
* obj1
= 0 ;
5822 (char *) "self",(char *) "height", NULL
5825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5828 arg2
= (int)SWIG_As_int(obj1
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5832 (arg1
)->SetMinHeight(arg2
);
5834 wxPyEndAllowThreads(__tstate
);
5835 if (PyErr_Occurred()) SWIG_fail
;
5837 Py_INCREF(Py_None
); resultobj
= Py_None
;
5844 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
*resultobj
;
5846 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5848 PyObject
* obj0
= 0 ;
5850 (char *) "self", NULL
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5858 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5860 wxPyEndAllowThreads(__tstate
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5863 resultobj
= SWIG_From_int((int)result
);
5870 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5871 PyObject
*resultobj
;
5872 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5874 PyObject
* obj0
= 0 ;
5876 (char *) "self", NULL
5879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5884 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) SWIG_fail
;
5889 resultobj
= SWIG_From_int((int)result
);
5896 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5897 PyObject
*resultobj
;
5898 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5899 wxVisualAttributes result
;
5900 PyObject
* obj0
= 0 ;
5902 (char *) "variant", NULL
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5907 arg1
= (int)SWIG_As_int(obj0
);
5908 if (PyErr_Occurred()) SWIG_fail
;
5911 if (!wxPyCheckForApp()) SWIG_fail
;
5912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5913 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5915 wxPyEndAllowThreads(__tstate
);
5916 if (PyErr_Occurred()) SWIG_fail
;
5919 wxVisualAttributes
* resultptr
;
5920 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5929 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
5931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5932 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5934 return Py_BuildValue((char *)"");
5936 static int _wrap_SplitterNameStr_set(PyObject
*) {
5937 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5942 static PyObject
*_wrap_SplitterNameStr_get() {
5947 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5949 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5956 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
*resultobj
;
5958 wxWindow
*arg1
= (wxWindow
*) 0 ;
5959 int arg2
= (int) -1 ;
5960 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5961 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5962 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5963 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5964 long arg5
= (long) wxSP_3D
;
5965 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5966 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5967 wxSplitterWindow
*result
;
5970 bool temp6
= false ;
5971 PyObject
* obj0
= 0 ;
5972 PyObject
* obj1
= 0 ;
5973 PyObject
* obj2
= 0 ;
5974 PyObject
* obj3
= 0 ;
5975 PyObject
* obj4
= 0 ;
5976 PyObject
* obj5
= 0 ;
5978 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5985 arg2
= (int)SWIG_As_int(obj1
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5991 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5997 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6001 arg5
= (long)SWIG_As_long(obj4
);
6002 if (PyErr_Occurred()) SWIG_fail
;
6006 arg6
= wxString_in_helper(obj5
);
6007 if (arg6
== NULL
) SWIG_fail
;
6012 if (!wxPyCheckForApp()) SWIG_fail
;
6013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6014 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6016 wxPyEndAllowThreads(__tstate
);
6017 if (PyErr_Occurred()) SWIG_fail
;
6019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
6034 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6035 PyObject
*resultobj
;
6036 wxSplitterWindow
*result
;
6041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
6043 if (!wxPyCheckForApp()) SWIG_fail
;
6044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6045 result
= (wxSplitterWindow
*)new wxSplitterWindow();
6047 wxPyEndAllowThreads(__tstate
);
6048 if (PyErr_Occurred()) SWIG_fail
;
6050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
6057 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6058 PyObject
*resultobj
;
6059 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6060 wxWindow
*arg2
= (wxWindow
*) 0 ;
6061 int arg3
= (int) -1 ;
6062 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6063 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6064 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6065 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6066 long arg6
= (long) wxSP_3D
;
6067 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
6068 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6072 bool temp7
= false ;
6073 PyObject
* obj0
= 0 ;
6074 PyObject
* obj1
= 0 ;
6075 PyObject
* obj2
= 0 ;
6076 PyObject
* obj3
= 0 ;
6077 PyObject
* obj4
= 0 ;
6078 PyObject
* obj5
= 0 ;
6079 PyObject
* obj6
= 0 ;
6081 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6087 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6090 arg3
= (int)SWIG_As_int(obj2
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6096 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6102 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6106 arg6
= (long)SWIG_As_long(obj5
);
6107 if (PyErr_Occurred()) SWIG_fail
;
6111 arg7
= wxString_in_helper(obj6
);
6112 if (arg7
== NULL
) SWIG_fail
;
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6140 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6141 PyObject
*resultobj
;
6142 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6144 PyObject
* obj0
= 0 ;
6146 (char *) "self", NULL
6149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
6150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6154 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
6156 wxPyEndAllowThreads(__tstate
);
6157 if (PyErr_Occurred()) SWIG_fail
;
6160 resultobj
= wxPyMake_wxObject(result
, 0);
6168 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6169 PyObject
*resultobj
;
6170 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6172 PyObject
* obj0
= 0 ;
6174 (char *) "self", NULL
6177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
6178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
6184 wxPyEndAllowThreads(__tstate
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6188 resultobj
= wxPyMake_wxObject(result
, 0);
6196 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6197 PyObject
*resultobj
;
6198 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6200 PyObject
* obj0
= 0 ;
6201 PyObject
* obj1
= 0 ;
6203 (char *) "self",(char *) "mode", NULL
6206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
6207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6209 arg2
= (int)SWIG_As_int(obj1
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6213 (arg1
)->SetSplitMode(arg2
);
6215 wxPyEndAllowThreads(__tstate
);
6216 if (PyErr_Occurred()) SWIG_fail
;
6218 Py_INCREF(Py_None
); resultobj
= Py_None
;
6225 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
*resultobj
;
6227 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6229 PyObject
* obj0
= 0 ;
6231 (char *) "self", NULL
6234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
6235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6239 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6244 resultobj
= SWIG_From_int((int)result
);
6251 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6252 PyObject
*resultobj
;
6253 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6254 wxWindow
*arg2
= (wxWindow
*) 0 ;
6255 PyObject
* obj0
= 0 ;
6256 PyObject
* obj1
= 0 ;
6258 (char *) "self",(char *) "window", NULL
6261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
6262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6268 (arg1
)->Initialize(arg2
);
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6273 Py_INCREF(Py_None
); resultobj
= Py_None
;
6280 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
*resultobj
;
6282 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6283 wxWindow
*arg2
= (wxWindow
*) 0 ;
6284 wxWindow
*arg3
= (wxWindow
*) 0 ;
6285 int arg4
= (int) 0 ;
6287 PyObject
* obj0
= 0 ;
6288 PyObject
* obj1
= 0 ;
6289 PyObject
* obj2
= 0 ;
6290 PyObject
* obj3
= 0 ;
6292 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6298 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6300 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6303 arg4
= (int)SWIG_As_int(obj3
);
6304 if (PyErr_Occurred()) SWIG_fail
;
6307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6308 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
6310 wxPyEndAllowThreads(__tstate
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6322 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6323 PyObject
*resultobj
;
6324 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6325 wxWindow
*arg2
= (wxWindow
*) 0 ;
6326 wxWindow
*arg3
= (wxWindow
*) 0 ;
6327 int arg4
= (int) 0 ;
6329 PyObject
* obj0
= 0 ;
6330 PyObject
* obj1
= 0 ;
6331 PyObject
* obj2
= 0 ;
6332 PyObject
* obj3
= 0 ;
6334 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6340 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6342 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6345 arg4
= (int)SWIG_As_int(obj3
);
6346 if (PyErr_Occurred()) SWIG_fail
;
6349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6350 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6352 wxPyEndAllowThreads(__tstate
);
6353 if (PyErr_Occurred()) SWIG_fail
;
6356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6364 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6365 PyObject
*resultobj
;
6366 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6367 wxWindow
*arg2
= (wxWindow
*) NULL
;
6369 PyObject
* obj0
= 0 ;
6370 PyObject
* obj1
= 0 ;
6372 (char *) "self",(char *) "toRemove", NULL
6375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6379 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6384 result
= (bool)(arg1
)->Unsplit(arg2
);
6386 wxPyEndAllowThreads(__tstate
);
6387 if (PyErr_Occurred()) SWIG_fail
;
6390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6398 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6399 PyObject
*resultobj
;
6400 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6401 wxWindow
*arg2
= (wxWindow
*) 0 ;
6402 wxWindow
*arg3
= (wxWindow
*) 0 ;
6404 PyObject
* obj0
= 0 ;
6405 PyObject
* obj1
= 0 ;
6406 PyObject
* obj2
= 0 ;
6408 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6414 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6416 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6420 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6422 wxPyEndAllowThreads(__tstate
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6434 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6435 PyObject
*resultobj
;
6436 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6437 PyObject
* obj0
= 0 ;
6439 (char *) "self", NULL
6442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6447 (arg1
)->UpdateSize();
6449 wxPyEndAllowThreads(__tstate
);
6450 if (PyErr_Occurred()) SWIG_fail
;
6452 Py_INCREF(Py_None
); resultobj
= Py_None
;
6459 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6460 PyObject
*resultobj
;
6461 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6463 PyObject
* obj0
= 0 ;
6465 (char *) "self", NULL
6468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6473 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6475 wxPyEndAllowThreads(__tstate
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6487 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6488 PyObject
*resultobj
;
6489 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6491 PyObject
* obj0
= 0 ;
6492 PyObject
* obj1
= 0 ;
6494 (char *) "self",(char *) "width", NULL
6497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6500 arg2
= (int)SWIG_As_int(obj1
);
6501 if (PyErr_Occurred()) SWIG_fail
;
6503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6504 (arg1
)->SetSashSize(arg2
);
6506 wxPyEndAllowThreads(__tstate
);
6507 if (PyErr_Occurred()) SWIG_fail
;
6509 Py_INCREF(Py_None
); resultobj
= Py_None
;
6516 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6517 PyObject
*resultobj
;
6518 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6520 PyObject
* obj0
= 0 ;
6521 PyObject
* obj1
= 0 ;
6523 (char *) "self",(char *) "width", NULL
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6529 arg2
= (int)SWIG_As_int(obj1
);
6530 if (PyErr_Occurred()) SWIG_fail
;
6532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6533 (arg1
)->SetBorderSize(arg2
);
6535 wxPyEndAllowThreads(__tstate
);
6536 if (PyErr_Occurred()) SWIG_fail
;
6538 Py_INCREF(Py_None
); resultobj
= Py_None
;
6545 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
*resultobj
;
6547 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6549 PyObject
* obj0
= 0 ;
6551 (char *) "self", NULL
6554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6559 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6561 wxPyEndAllowThreads(__tstate
);
6562 if (PyErr_Occurred()) SWIG_fail
;
6564 resultobj
= SWIG_From_int((int)result
);
6571 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
*resultobj
;
6573 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6575 PyObject
* obj0
= 0 ;
6577 (char *) "self", NULL
6580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6585 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6587 wxPyEndAllowThreads(__tstate
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6590 resultobj
= SWIG_From_int((int)result
);
6597 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6598 PyObject
*resultobj
;
6599 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6601 bool arg3
= (bool) true ;
6602 PyObject
* obj0
= 0 ;
6603 PyObject
* obj1
= 0 ;
6604 PyObject
* obj2
= 0 ;
6606 (char *) "self",(char *) "position",(char *) "redraw", NULL
6609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6612 arg2
= (int)SWIG_As_int(obj1
);
6613 if (PyErr_Occurred()) SWIG_fail
;
6615 arg3
= (bool)SWIG_As_bool(obj2
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 (arg1
)->SetSashPosition(arg2
,arg3
);
6622 wxPyEndAllowThreads(__tstate
);
6623 if (PyErr_Occurred()) SWIG_fail
;
6625 Py_INCREF(Py_None
); resultobj
= Py_None
;
6632 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6633 PyObject
*resultobj
;
6634 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6636 PyObject
* obj0
= 0 ;
6638 (char *) "self", NULL
6641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6646 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6648 wxPyEndAllowThreads(__tstate
);
6649 if (PyErr_Occurred()) SWIG_fail
;
6651 resultobj
= SWIG_From_int((int)result
);
6658 static PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6659 PyObject
*resultobj
;
6660 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6662 PyObject
* obj0
= 0 ;
6663 PyObject
* obj1
= 0 ;
6665 (char *) "self",(char *) "gravity", NULL
6668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) goto fail
;
6669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6671 arg2
= (double)SWIG_As_double(obj1
);
6672 if (PyErr_Occurred()) SWIG_fail
;
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 (arg1
)->SetSashGravity(arg2
);
6677 wxPyEndAllowThreads(__tstate
);
6678 if (PyErr_Occurred()) SWIG_fail
;
6680 Py_INCREF(Py_None
); resultobj
= Py_None
;
6687 static PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6688 PyObject
*resultobj
;
6689 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6691 PyObject
* obj0
= 0 ;
6693 (char *) "self", NULL
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashGravity",kwnames
,&obj0
)) goto fail
;
6697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6701 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
6703 wxPyEndAllowThreads(__tstate
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6706 resultobj
= SWIG_From_double((double)result
);
6713 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
*resultobj
;
6715 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6717 PyObject
* obj0
= 0 ;
6718 PyObject
* obj1
= 0 ;
6720 (char *) "self",(char *) "min", NULL
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6726 arg2
= (int)SWIG_As_int(obj1
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6730 (arg1
)->SetMinimumPaneSize(arg2
);
6732 wxPyEndAllowThreads(__tstate
);
6733 if (PyErr_Occurred()) SWIG_fail
;
6735 Py_INCREF(Py_None
); resultobj
= Py_None
;
6742 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6743 PyObject
*resultobj
;
6744 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6746 PyObject
* obj0
= 0 ;
6748 (char *) "self", NULL
6751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6761 resultobj
= SWIG_From_int((int)result
);
6768 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6769 PyObject
*resultobj
;
6770 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6773 int arg4
= (int) 5 ;
6775 PyObject
* obj0
= 0 ;
6776 PyObject
* obj1
= 0 ;
6777 PyObject
* obj2
= 0 ;
6778 PyObject
* obj3
= 0 ;
6780 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6786 arg2
= (int)SWIG_As_int(obj1
);
6787 if (PyErr_Occurred()) SWIG_fail
;
6788 arg3
= (int)SWIG_As_int(obj2
);
6789 if (PyErr_Occurred()) SWIG_fail
;
6791 arg4
= (int)SWIG_As_int(obj3
);
6792 if (PyErr_Occurred()) SWIG_fail
;
6795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6796 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6798 wxPyEndAllowThreads(__tstate
);
6799 if (PyErr_Occurred()) SWIG_fail
;
6802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6810 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6811 PyObject
*resultobj
;
6812 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6813 PyObject
* obj0
= 0 ;
6815 (char *) "self", NULL
6818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6823 (arg1
)->SizeWindows();
6825 wxPyEndAllowThreads(__tstate
);
6826 if (PyErr_Occurred()) SWIG_fail
;
6828 Py_INCREF(Py_None
); resultobj
= Py_None
;
6835 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6836 PyObject
*resultobj
;
6837 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6839 PyObject
* obj0
= 0 ;
6840 PyObject
* obj1
= 0 ;
6842 (char *) "self",(char *) "needUpdating", NULL
6845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6848 arg2
= (bool)SWIG_As_bool(obj1
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 (arg1
)->SetNeedUpdating(arg2
);
6854 wxPyEndAllowThreads(__tstate
);
6855 if (PyErr_Occurred()) SWIG_fail
;
6857 Py_INCREF(Py_None
); resultobj
= Py_None
;
6864 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6865 PyObject
*resultobj
;
6866 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6868 PyObject
* obj0
= 0 ;
6870 (char *) "self", NULL
6873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6878 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6880 wxPyEndAllowThreads(__tstate
);
6881 if (PyErr_Occurred()) SWIG_fail
;
6884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6892 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
;
6894 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6895 wxVisualAttributes result
;
6896 PyObject
* obj0
= 0 ;
6898 (char *) "variant", NULL
6901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6903 arg1
= (int)SWIG_As_int(obj0
);
6904 if (PyErr_Occurred()) SWIG_fail
;
6907 if (!wxPyCheckForApp()) SWIG_fail
;
6908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6909 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6911 wxPyEndAllowThreads(__tstate
);
6912 if (PyErr_Occurred()) SWIG_fail
;
6915 wxVisualAttributes
* resultptr
;
6916 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6917 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6925 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
6927 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6928 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6930 return Py_BuildValue((char *)"");
6932 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
*resultobj
;
6934 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6935 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6936 wxSplitterEvent
*result
;
6937 PyObject
* obj0
= 0 ;
6938 PyObject
* obj1
= 0 ;
6940 (char *) "type",(char *) "splitter", NULL
6943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6945 arg1
= (wxEventType
)SWIG_As_int(obj0
);
6946 if (PyErr_Occurred()) SWIG_fail
;
6949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6954 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6956 wxPyEndAllowThreads(__tstate
);
6957 if (PyErr_Occurred()) SWIG_fail
;
6959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6966 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
*resultobj
;
6968 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6970 PyObject
* obj0
= 0 ;
6971 PyObject
* obj1
= 0 ;
6973 (char *) "self",(char *) "pos", NULL
6976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6979 arg2
= (int)SWIG_As_int(obj1
);
6980 if (PyErr_Occurred()) SWIG_fail
;
6982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6983 (arg1
)->SetSashPosition(arg2
);
6985 wxPyEndAllowThreads(__tstate
);
6986 if (PyErr_Occurred()) SWIG_fail
;
6988 Py_INCREF(Py_None
); resultobj
= Py_None
;
6995 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
*resultobj
;
6997 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6999 PyObject
* obj0
= 0 ;
7001 (char *) "self", NULL
7004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
7005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
7006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7009 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
7011 wxPyEndAllowThreads(__tstate
);
7012 if (PyErr_Occurred()) SWIG_fail
;
7014 resultobj
= SWIG_From_int((int)result
);
7021 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
*resultobj
;
7023 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
7025 PyObject
* obj0
= 0 ;
7027 (char *) "self", NULL
7030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
7031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
7032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7035 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7041 resultobj
= wxPyMake_wxObject(result
, 0);
7049 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
*resultobj
;
7051 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
7053 PyObject
* obj0
= 0 ;
7055 (char *) "self", NULL
7058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
7059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
7060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7063 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
7065 wxPyEndAllowThreads(__tstate
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7068 resultobj
= SWIG_From_int((int)result
);
7075 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7076 PyObject
*resultobj
;
7077 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
7079 PyObject
* obj0
= 0 ;
7081 (char *) "self", NULL
7084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
7085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
7086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7089 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
7091 wxPyEndAllowThreads(__tstate
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7094 resultobj
= SWIG_From_int((int)result
);
7101 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
7103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7104 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
7106 return Py_BuildValue((char *)"");
7108 static int _wrap_SashNameStr_set(PyObject
*) {
7109 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
7114 static PyObject
*_wrap_SashNameStr_get() {
7119 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
7121 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
7128 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
7129 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
7134 static PyObject
*_wrap_SashLayoutNameStr_get() {
7139 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
7141 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
7148 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
*resultobj
;
7150 wxWindow
*arg1
= (wxWindow
*) 0 ;
7151 int arg2
= (int) -1 ;
7152 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7153 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7154 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7155 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7156 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7157 wxString
const &arg6_defvalue
= wxPySashNameStr
;
7158 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7159 wxSashWindow
*result
;
7162 bool temp6
= false ;
7163 PyObject
* obj0
= 0 ;
7164 PyObject
* obj1
= 0 ;
7165 PyObject
* obj2
= 0 ;
7166 PyObject
* obj3
= 0 ;
7167 PyObject
* obj4
= 0 ;
7168 PyObject
* obj5
= 0 ;
7170 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7177 arg2
= (int)SWIG_As_int(obj1
);
7178 if (PyErr_Occurred()) SWIG_fail
;
7183 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7189 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7193 arg5
= (long)SWIG_As_long(obj4
);
7194 if (PyErr_Occurred()) SWIG_fail
;
7198 arg6
= wxString_in_helper(obj5
);
7199 if (arg6
== NULL
) SWIG_fail
;
7204 if (!wxPyCheckForApp()) SWIG_fail
;
7205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7226 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7227 PyObject
*resultobj
;
7228 wxSashWindow
*result
;
7233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
7235 if (!wxPyCheckForApp()) SWIG_fail
;
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7237 result
= (wxSashWindow
*)new wxSashWindow();
7239 wxPyEndAllowThreads(__tstate
);
7240 if (PyErr_Occurred()) SWIG_fail
;
7242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7249 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
*resultobj
;
7251 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7252 wxWindow
*arg2
= (wxWindow
*) 0 ;
7253 int arg3
= (int) -1 ;
7254 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7255 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7256 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7257 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7258 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7259 wxString
const &arg7_defvalue
= wxPySashNameStr
;
7260 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7264 bool temp7
= false ;
7265 PyObject
* obj0
= 0 ;
7266 PyObject
* obj1
= 0 ;
7267 PyObject
* obj2
= 0 ;
7268 PyObject
* obj3
= 0 ;
7269 PyObject
* obj4
= 0 ;
7270 PyObject
* obj5
= 0 ;
7271 PyObject
* obj6
= 0 ;
7273 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7279 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7282 arg3
= (int)SWIG_As_int(obj2
);
7283 if (PyErr_Occurred()) SWIG_fail
;
7288 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7294 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7298 arg6
= (long)SWIG_As_long(obj5
);
7299 if (PyErr_Occurred()) SWIG_fail
;
7303 arg7
= wxString_in_helper(obj6
);
7304 if (arg7
== NULL
) SWIG_fail
;
7309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7310 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7312 wxPyEndAllowThreads(__tstate
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7332 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7333 PyObject
*resultobj
;
7334 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7337 PyObject
* obj0
= 0 ;
7338 PyObject
* obj1
= 0 ;
7339 PyObject
* obj2
= 0 ;
7341 (char *) "self",(char *) "edge",(char *) "sash", NULL
7344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7347 arg2
= (int)SWIG_As_int(obj1
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7349 arg3
= (bool)SWIG_As_bool(obj2
);
7350 if (PyErr_Occurred()) SWIG_fail
;
7352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7353 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
7355 wxPyEndAllowThreads(__tstate
);
7356 if (PyErr_Occurred()) SWIG_fail
;
7358 Py_INCREF(Py_None
); resultobj
= Py_None
;
7365 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7366 PyObject
*resultobj
;
7367 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7370 PyObject
* obj0
= 0 ;
7371 PyObject
* obj1
= 0 ;
7373 (char *) "self",(char *) "edge", NULL
7376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7379 arg2
= (int)SWIG_As_int(obj1
);
7380 if (PyErr_Occurred()) SWIG_fail
;
7382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7383 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
7385 wxPyEndAllowThreads(__tstate
);
7386 if (PyErr_Occurred()) SWIG_fail
;
7389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7397 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7398 PyObject
*resultobj
;
7399 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7402 PyObject
* obj0
= 0 ;
7403 PyObject
* obj1
= 0 ;
7404 PyObject
* obj2
= 0 ;
7406 (char *) "self",(char *) "edge",(char *) "border", NULL
7409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7412 arg2
= (int)SWIG_As_int(obj1
);
7413 if (PyErr_Occurred()) SWIG_fail
;
7414 arg3
= (bool)SWIG_As_bool(obj2
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7418 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7420 wxPyEndAllowThreads(__tstate
);
7421 if (PyErr_Occurred()) SWIG_fail
;
7423 Py_INCREF(Py_None
); resultobj
= Py_None
;
7430 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7431 PyObject
*resultobj
;
7432 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7435 PyObject
* obj0
= 0 ;
7436 PyObject
* obj1
= 0 ;
7438 (char *) "self",(char *) "edge", NULL
7441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7444 arg2
= (int)SWIG_As_int(obj1
);
7445 if (PyErr_Occurred()) SWIG_fail
;
7447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7448 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7450 wxPyEndAllowThreads(__tstate
);
7451 if (PyErr_Occurred()) SWIG_fail
;
7454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7462 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7463 PyObject
*resultobj
;
7464 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7467 PyObject
* obj0
= 0 ;
7468 PyObject
* obj1
= 0 ;
7470 (char *) "self",(char *) "edge", NULL
7473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7476 arg2
= (int)SWIG_As_int(obj1
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7480 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7482 wxPyEndAllowThreads(__tstate
);
7483 if (PyErr_Occurred()) SWIG_fail
;
7485 resultobj
= SWIG_From_int((int)result
);
7492 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7493 PyObject
*resultobj
;
7494 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7496 PyObject
* obj0
= 0 ;
7497 PyObject
* obj1
= 0 ;
7499 (char *) "self",(char *) "width", NULL
7502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7505 arg2
= (int)SWIG_As_int(obj1
);
7506 if (PyErr_Occurred()) SWIG_fail
;
7508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7509 (arg1
)->SetDefaultBorderSize(arg2
);
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7514 Py_INCREF(Py_None
); resultobj
= Py_None
;
7521 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
*resultobj
;
7523 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7525 PyObject
* obj0
= 0 ;
7527 (char *) "self", NULL
7530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7535 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7540 resultobj
= SWIG_From_int((int)result
);
7547 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7548 PyObject
*resultobj
;
7549 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7551 PyObject
* obj0
= 0 ;
7552 PyObject
* obj1
= 0 ;
7554 (char *) "self",(char *) "width", NULL
7557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7560 arg2
= (int)SWIG_As_int(obj1
);
7561 if (PyErr_Occurred()) SWIG_fail
;
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 (arg1
)->SetExtraBorderSize(arg2
);
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) SWIG_fail
;
7569 Py_INCREF(Py_None
); resultobj
= Py_None
;
7576 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
*resultobj
;
7578 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7580 PyObject
* obj0
= 0 ;
7582 (char *) "self", NULL
7585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7590 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7592 wxPyEndAllowThreads(__tstate
);
7593 if (PyErr_Occurred()) SWIG_fail
;
7595 resultobj
= SWIG_From_int((int)result
);
7602 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7603 PyObject
*resultobj
;
7604 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7606 PyObject
* obj0
= 0 ;
7607 PyObject
* obj1
= 0 ;
7609 (char *) "self",(char *) "min", NULL
7612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7615 arg2
= (int)SWIG_As_int(obj1
);
7616 if (PyErr_Occurred()) SWIG_fail
;
7618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 (arg1
)->SetMinimumSizeX(arg2
);
7621 wxPyEndAllowThreads(__tstate
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7624 Py_INCREF(Py_None
); resultobj
= Py_None
;
7631 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7632 PyObject
*resultobj
;
7633 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7635 PyObject
* obj0
= 0 ;
7636 PyObject
* obj1
= 0 ;
7638 (char *) "self",(char *) "min", NULL
7641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7644 arg2
= (int)SWIG_As_int(obj1
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7648 (arg1
)->SetMinimumSizeY(arg2
);
7650 wxPyEndAllowThreads(__tstate
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7653 Py_INCREF(Py_None
); resultobj
= Py_None
;
7660 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7661 PyObject
*resultobj
;
7662 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7664 PyObject
* obj0
= 0 ;
7666 (char *) "self", NULL
7669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7674 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7676 wxPyEndAllowThreads(__tstate
);
7677 if (PyErr_Occurred()) SWIG_fail
;
7679 resultobj
= SWIG_From_int((int)result
);
7686 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7687 PyObject
*resultobj
;
7688 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7690 PyObject
* obj0
= 0 ;
7692 (char *) "self", NULL
7695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7700 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7705 resultobj
= SWIG_From_int((int)result
);
7712 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
*resultobj
;
7714 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7716 PyObject
* obj0
= 0 ;
7717 PyObject
* obj1
= 0 ;
7719 (char *) "self",(char *) "max", NULL
7722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7725 arg2
= (int)SWIG_As_int(obj1
);
7726 if (PyErr_Occurred()) SWIG_fail
;
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 (arg1
)->SetMaximumSizeX(arg2
);
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7734 Py_INCREF(Py_None
); resultobj
= Py_None
;
7741 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7742 PyObject
*resultobj
;
7743 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7745 PyObject
* obj0
= 0 ;
7746 PyObject
* obj1
= 0 ;
7748 (char *) "self",(char *) "max", NULL
7751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7754 arg2
= (int)SWIG_As_int(obj1
);
7755 if (PyErr_Occurred()) SWIG_fail
;
7757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7758 (arg1
)->SetMaximumSizeY(arg2
);
7760 wxPyEndAllowThreads(__tstate
);
7761 if (PyErr_Occurred()) SWIG_fail
;
7763 Py_INCREF(Py_None
); resultobj
= Py_None
;
7770 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7771 PyObject
*resultobj
;
7772 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7774 PyObject
* obj0
= 0 ;
7776 (char *) "self", NULL
7779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7784 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7786 wxPyEndAllowThreads(__tstate
);
7787 if (PyErr_Occurred()) SWIG_fail
;
7789 resultobj
= SWIG_From_int((int)result
);
7796 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7797 PyObject
*resultobj
;
7798 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7800 PyObject
* obj0
= 0 ;
7802 (char *) "self", NULL
7805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7812 wxPyEndAllowThreads(__tstate
);
7813 if (PyErr_Occurred()) SWIG_fail
;
7815 resultobj
= SWIG_From_int((int)result
);
7822 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7823 PyObject
*resultobj
;
7824 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7827 int arg4
= (int) 2 ;
7829 PyObject
* obj0
= 0 ;
7830 PyObject
* obj1
= 0 ;
7831 PyObject
* obj2
= 0 ;
7832 PyObject
* obj3
= 0 ;
7834 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7840 arg2
= (int)SWIG_As_int(obj1
);
7841 if (PyErr_Occurred()) SWIG_fail
;
7842 arg3
= (int)SWIG_As_int(obj2
);
7843 if (PyErr_Occurred()) SWIG_fail
;
7845 arg4
= (int)SWIG_As_int(obj3
);
7846 if (PyErr_Occurred()) SWIG_fail
;
7849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7852 wxPyEndAllowThreads(__tstate
);
7853 if (PyErr_Occurred()) SWIG_fail
;
7855 resultobj
= SWIG_From_int((int)result
);
7862 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
*resultobj
;
7864 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7865 PyObject
* obj0
= 0 ;
7867 (char *) "self", NULL
7870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7875 (arg1
)->SizeWindows();
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7880 Py_INCREF(Py_None
); resultobj
= Py_None
;
7887 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
7889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7890 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7892 return Py_BuildValue((char *)"");
7894 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7895 PyObject
*resultobj
;
7896 int arg1
= (int) 0 ;
7897 int arg2
= (int) wxSASH_NONE
;
7898 wxSashEvent
*result
;
7899 PyObject
* obj0
= 0 ;
7900 PyObject
* obj1
= 0 ;
7902 (char *) "id",(char *) "edge", NULL
7905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7907 arg1
= (int)SWIG_As_int(obj0
);
7908 if (PyErr_Occurred()) SWIG_fail
;
7911 arg2
= (int)SWIG_As_int(obj1
);
7912 if (PyErr_Occurred()) SWIG_fail
;
7915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7916 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7928 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
*resultobj
;
7930 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7932 PyObject
* obj0
= 0 ;
7933 PyObject
* obj1
= 0 ;
7935 (char *) "self",(char *) "edge", NULL
7938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7941 arg2
= (int)SWIG_As_int(obj1
);
7942 if (PyErr_Occurred()) SWIG_fail
;
7944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7945 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7947 wxPyEndAllowThreads(__tstate
);
7948 if (PyErr_Occurred()) SWIG_fail
;
7950 Py_INCREF(Py_None
); resultobj
= Py_None
;
7957 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7958 PyObject
*resultobj
;
7959 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7961 PyObject
* obj0
= 0 ;
7963 (char *) "self", NULL
7966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7976 resultobj
= SWIG_From_int((int)result
);
7983 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7984 PyObject
*resultobj
;
7985 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7988 PyObject
* obj0
= 0 ;
7989 PyObject
* obj1
= 0 ;
7991 (char *) "self",(char *) "rect", NULL
7994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7999 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8003 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
8005 wxPyEndAllowThreads(__tstate
);
8006 if (PyErr_Occurred()) SWIG_fail
;
8008 Py_INCREF(Py_None
); resultobj
= Py_None
;
8015 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8016 PyObject
*resultobj
;
8017 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
8019 PyObject
* obj0
= 0 ;
8021 (char *) "self", NULL
8024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
8025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
8026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8029 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
8031 wxPyEndAllowThreads(__tstate
);
8032 if (PyErr_Occurred()) SWIG_fail
;
8036 resultptr
= new wxRect((wxRect
&) result
);
8037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8045 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8046 PyObject
*resultobj
;
8047 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
8049 PyObject
* obj0
= 0 ;
8050 PyObject
* obj1
= 0 ;
8052 (char *) "self",(char *) "status", NULL
8055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
8056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
8057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8058 arg2
= (int)SWIG_As_int(obj1
);
8059 if (PyErr_Occurred()) SWIG_fail
;
8061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8062 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
8064 wxPyEndAllowThreads(__tstate
);
8065 if (PyErr_Occurred()) SWIG_fail
;
8067 Py_INCREF(Py_None
); resultobj
= Py_None
;
8074 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8075 PyObject
*resultobj
;
8076 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
8078 PyObject
* obj0
= 0 ;
8080 (char *) "self", NULL
8083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
8084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
8085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8088 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
8090 wxPyEndAllowThreads(__tstate
);
8091 if (PyErr_Occurred()) SWIG_fail
;
8093 resultobj
= SWIG_From_int((int)result
);
8100 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
8102 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8103 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
8105 return Py_BuildValue((char *)"");
8107 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8108 PyObject
*resultobj
;
8109 int arg1
= (int) 0 ;
8110 wxQueryLayoutInfoEvent
*result
;
8111 PyObject
* obj0
= 0 ;
8116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
8118 arg1
= (int)SWIG_As_int(obj0
);
8119 if (PyErr_Occurred()) SWIG_fail
;
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8123 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
8125 wxPyEndAllowThreads(__tstate
);
8126 if (PyErr_Occurred()) SWIG_fail
;
8128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
8135 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8136 PyObject
*resultobj
;
8137 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8139 PyObject
* obj0
= 0 ;
8140 PyObject
* obj1
= 0 ;
8142 (char *) "self",(char *) "length", NULL
8145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8148 arg2
= (int)SWIG_As_int(obj1
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 (arg1
)->SetRequestedLength(arg2
);
8154 wxPyEndAllowThreads(__tstate
);
8155 if (PyErr_Occurred()) SWIG_fail
;
8157 Py_INCREF(Py_None
); resultobj
= Py_None
;
8164 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8165 PyObject
*resultobj
;
8166 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8168 PyObject
* obj0
= 0 ;
8170 (char *) "self", NULL
8173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
8174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8178 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
8180 wxPyEndAllowThreads(__tstate
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8183 resultobj
= SWIG_From_int((int)result
);
8190 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8191 PyObject
*resultobj
;
8192 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8194 PyObject
* obj0
= 0 ;
8195 PyObject
* obj1
= 0 ;
8197 (char *) "self",(char *) "flags", NULL
8200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8203 arg2
= (int)SWIG_As_int(obj1
);
8204 if (PyErr_Occurred()) SWIG_fail
;
8206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8207 (arg1
)->SetFlags(arg2
);
8209 wxPyEndAllowThreads(__tstate
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8212 Py_INCREF(Py_None
); resultobj
= Py_None
;
8219 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
*resultobj
;
8221 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8223 PyObject
* obj0
= 0 ;
8225 (char *) "self", NULL
8228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8233 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8238 resultobj
= SWIG_From_int((int)result
);
8245 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8246 PyObject
*resultobj
;
8247 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8250 PyObject
* obj0
= 0 ;
8251 PyObject
* obj1
= 0 ;
8253 (char *) "self",(char *) "size", NULL
8256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8261 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8265 (arg1
)->SetSize((wxSize
const &)*arg2
);
8267 wxPyEndAllowThreads(__tstate
);
8268 if (PyErr_Occurred()) SWIG_fail
;
8270 Py_INCREF(Py_None
); resultobj
= Py_None
;
8277 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8278 PyObject
*resultobj
;
8279 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8281 PyObject
* obj0
= 0 ;
8283 (char *) "self", NULL
8286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
8287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8291 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
8293 wxPyEndAllowThreads(__tstate
);
8294 if (PyErr_Occurred()) SWIG_fail
;
8298 resultptr
= new wxSize((wxSize
&) result
);
8299 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8307 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8308 PyObject
*resultobj
;
8309 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8311 PyObject
* obj0
= 0 ;
8312 PyObject
* obj1
= 0 ;
8314 (char *) "self",(char *) "orient", NULL
8317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8320 arg2
= (int)SWIG_As_int(obj1
);
8321 if (PyErr_Occurred()) SWIG_fail
;
8323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8324 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8326 wxPyEndAllowThreads(__tstate
);
8327 if (PyErr_Occurred()) SWIG_fail
;
8329 Py_INCREF(Py_None
); resultobj
= Py_None
;
8336 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8337 PyObject
*resultobj
;
8338 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8340 PyObject
* obj0
= 0 ;
8342 (char *) "self", NULL
8345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
8346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
8352 wxPyEndAllowThreads(__tstate
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8355 resultobj
= SWIG_From_int((int)result
);
8362 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8363 PyObject
*resultobj
;
8364 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8366 PyObject
* obj0
= 0 ;
8367 PyObject
* obj1
= 0 ;
8369 (char *) "self",(char *) "align", NULL
8372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8375 arg2
= (int)SWIG_As_int(obj1
);
8376 if (PyErr_Occurred()) SWIG_fail
;
8378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8379 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8381 wxPyEndAllowThreads(__tstate
);
8382 if (PyErr_Occurred()) SWIG_fail
;
8384 Py_INCREF(Py_None
); resultobj
= Py_None
;
8391 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8392 PyObject
*resultobj
;
8393 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8395 PyObject
* obj0
= 0 ;
8397 (char *) "self", NULL
8400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
8401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8405 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8407 wxPyEndAllowThreads(__tstate
);
8408 if (PyErr_Occurred()) SWIG_fail
;
8410 resultobj
= SWIG_From_int((int)result
);
8417 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
8419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8420 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8422 return Py_BuildValue((char *)"");
8424 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8425 PyObject
*resultobj
;
8426 int arg1
= (int) 0 ;
8427 wxCalculateLayoutEvent
*result
;
8428 PyObject
* obj0
= 0 ;
8433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8435 arg1
= (int)SWIG_As_int(obj0
);
8436 if (PyErr_Occurred()) SWIG_fail
;
8439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8440 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8442 wxPyEndAllowThreads(__tstate
);
8443 if (PyErr_Occurred()) SWIG_fail
;
8445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8452 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8453 PyObject
*resultobj
;
8454 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8456 PyObject
* obj0
= 0 ;
8457 PyObject
* obj1
= 0 ;
8459 (char *) "self",(char *) "flags", NULL
8462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8465 arg2
= (int)SWIG_As_int(obj1
);
8466 if (PyErr_Occurred()) SWIG_fail
;
8468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8469 (arg1
)->SetFlags(arg2
);
8471 wxPyEndAllowThreads(__tstate
);
8472 if (PyErr_Occurred()) SWIG_fail
;
8474 Py_INCREF(Py_None
); resultobj
= Py_None
;
8481 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8482 PyObject
*resultobj
;
8483 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8485 PyObject
* obj0
= 0 ;
8487 (char *) "self", NULL
8490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8495 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8497 wxPyEndAllowThreads(__tstate
);
8498 if (PyErr_Occurred()) SWIG_fail
;
8500 resultobj
= SWIG_From_int((int)result
);
8507 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8508 PyObject
*resultobj
;
8509 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8512 PyObject
* obj0
= 0 ;
8513 PyObject
* obj1
= 0 ;
8515 (char *) "self",(char *) "rect", NULL
8518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8523 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8527 (arg1
)->SetRect((wxRect
const &)*arg2
);
8529 wxPyEndAllowThreads(__tstate
);
8530 if (PyErr_Occurred()) SWIG_fail
;
8532 Py_INCREF(Py_None
); resultobj
= Py_None
;
8539 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8540 PyObject
*resultobj
;
8541 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8543 PyObject
* obj0
= 0 ;
8545 (char *) "self", NULL
8548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8553 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8555 wxPyEndAllowThreads(__tstate
);
8556 if (PyErr_Occurred()) SWIG_fail
;
8560 resultptr
= new wxRect((wxRect
&) result
);
8561 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8569 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
8571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8572 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8574 return Py_BuildValue((char *)"");
8576 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8577 PyObject
*resultobj
;
8578 wxWindow
*arg1
= (wxWindow
*) 0 ;
8579 int arg2
= (int) -1 ;
8580 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8581 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8582 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8583 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8584 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8585 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8586 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8587 wxSashLayoutWindow
*result
;
8590 bool temp6
= false ;
8591 PyObject
* obj0
= 0 ;
8592 PyObject
* obj1
= 0 ;
8593 PyObject
* obj2
= 0 ;
8594 PyObject
* obj3
= 0 ;
8595 PyObject
* obj4
= 0 ;
8596 PyObject
* obj5
= 0 ;
8598 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8605 arg2
= (int)SWIG_As_int(obj1
);
8606 if (PyErr_Occurred()) SWIG_fail
;
8611 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8617 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8621 arg5
= (long)SWIG_As_long(obj4
);
8622 if (PyErr_Occurred()) SWIG_fail
;
8626 arg6
= wxString_in_helper(obj5
);
8627 if (arg6
== NULL
) SWIG_fail
;
8632 if (!wxPyCheckForApp()) SWIG_fail
;
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8654 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8655 PyObject
*resultobj
;
8656 wxSashLayoutWindow
*result
;
8661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8663 if (!wxPyCheckForApp()) SWIG_fail
;
8664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8665 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8667 wxPyEndAllowThreads(__tstate
);
8668 if (PyErr_Occurred()) SWIG_fail
;
8670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8677 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
;
8679 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8680 wxWindow
*arg2
= (wxWindow
*) 0 ;
8681 int arg3
= (int) -1 ;
8682 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8683 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8684 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8685 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8686 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8687 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8688 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8692 bool temp7
= false ;
8693 PyObject
* obj0
= 0 ;
8694 PyObject
* obj1
= 0 ;
8695 PyObject
* obj2
= 0 ;
8696 PyObject
* obj3
= 0 ;
8697 PyObject
* obj4
= 0 ;
8698 PyObject
* obj5
= 0 ;
8699 PyObject
* obj6
= 0 ;
8701 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8710 arg3
= (int)SWIG_As_int(obj2
);
8711 if (PyErr_Occurred()) SWIG_fail
;
8716 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8722 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8726 arg6
= (long)SWIG_As_long(obj5
);
8727 if (PyErr_Occurred()) SWIG_fail
;
8731 arg7
= wxString_in_helper(obj6
);
8732 if (arg7
== NULL
) SWIG_fail
;
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8760 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8761 PyObject
*resultobj
;
8762 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8764 PyObject
* obj0
= 0 ;
8766 (char *) "self", NULL
8769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8774 result
= (int)(arg1
)->GetAlignment();
8776 wxPyEndAllowThreads(__tstate
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8779 resultobj
= SWIG_From_int((int)result
);
8786 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8787 PyObject
*resultobj
;
8788 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8790 PyObject
* obj0
= 0 ;
8792 (char *) "self", NULL
8795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8800 result
= (int)(arg1
)->GetOrientation();
8802 wxPyEndAllowThreads(__tstate
);
8803 if (PyErr_Occurred()) SWIG_fail
;
8805 resultobj
= SWIG_From_int((int)result
);
8812 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
*resultobj
;
8814 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8816 PyObject
* obj0
= 0 ;
8817 PyObject
* obj1
= 0 ;
8819 (char *) "self",(char *) "alignment", NULL
8822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8825 arg2
= (int)SWIG_As_int(obj1
);
8826 if (PyErr_Occurred()) SWIG_fail
;
8828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8829 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8831 wxPyEndAllowThreads(__tstate
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8834 Py_INCREF(Py_None
); resultobj
= Py_None
;
8841 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8842 PyObject
*resultobj
;
8843 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8846 PyObject
* obj0
= 0 ;
8847 PyObject
* obj1
= 0 ;
8849 (char *) "self",(char *) "size", NULL
8852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8857 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8861 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8866 Py_INCREF(Py_None
); resultobj
= Py_None
;
8873 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8874 PyObject
*resultobj
;
8875 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8877 PyObject
* obj0
= 0 ;
8878 PyObject
* obj1
= 0 ;
8880 (char *) "self",(char *) "orientation", NULL
8883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8886 arg2
= (int)SWIG_As_int(obj1
);
8887 if (PyErr_Occurred()) SWIG_fail
;
8889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8890 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8892 wxPyEndAllowThreads(__tstate
);
8893 if (PyErr_Occurred()) SWIG_fail
;
8895 Py_INCREF(Py_None
); resultobj
= Py_None
;
8902 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
8904 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8905 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8907 return Py_BuildValue((char *)"");
8909 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8910 PyObject
*resultobj
;
8911 wxLayoutAlgorithm
*result
;
8916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8919 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8921 wxPyEndAllowThreads(__tstate
);
8922 if (PyErr_Occurred()) SWIG_fail
;
8924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8931 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8932 PyObject
*resultobj
;
8933 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8934 PyObject
* obj0
= 0 ;
8936 (char *) "self", NULL
8939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8946 wxPyEndAllowThreads(__tstate
);
8947 if (PyErr_Occurred()) SWIG_fail
;
8949 Py_INCREF(Py_None
); resultobj
= Py_None
;
8956 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8957 PyObject
*resultobj
;
8958 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8959 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8960 wxRect
*arg3
= (wxRect
*) NULL
;
8962 PyObject
* obj0
= 0 ;
8963 PyObject
* obj1
= 0 ;
8964 PyObject
* obj2
= 0 ;
8966 (char *) "self",(char *) "frame",(char *) "rect", NULL
8969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8972 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8975 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8980 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8982 wxPyEndAllowThreads(__tstate
);
8983 if (PyErr_Occurred()) SWIG_fail
;
8986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8994 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8995 PyObject
*resultobj
;
8996 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8997 wxFrame
*arg2
= (wxFrame
*) 0 ;
8998 wxWindow
*arg3
= (wxWindow
*) NULL
;
9000 PyObject
* obj0
= 0 ;
9001 PyObject
* obj1
= 0 ;
9002 PyObject
* obj2
= 0 ;
9004 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
9007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
9009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
9011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9013 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
9014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9018 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
9020 wxPyEndAllowThreads(__tstate
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9032 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9033 PyObject
*resultobj
;
9034 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
9035 wxWindow
*arg2
= (wxWindow
*) 0 ;
9036 wxWindow
*arg3
= (wxWindow
*) NULL
;
9038 PyObject
* obj0
= 0 ;
9039 PyObject
* obj1
= 0 ;
9040 PyObject
* obj2
= 0 ;
9042 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
9045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
9047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9048 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9051 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
9052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9056 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
9058 wxPyEndAllowThreads(__tstate
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9070 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
9072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9073 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
9075 return Py_BuildValue((char *)"");
9077 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9078 PyObject
*resultobj
;
9079 wxWindow
*arg1
= (wxWindow
*) 0 ;
9080 int arg2
= (int) wxBORDER_NONE
;
9081 wxPopupWindow
*result
;
9082 PyObject
* obj0
= 0 ;
9083 PyObject
* obj1
= 0 ;
9085 (char *) "parent",(char *) "flags", NULL
9088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
9089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9092 arg2
= (int)SWIG_As_int(obj1
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9096 if (!wxPyCheckForApp()) SWIG_fail
;
9097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9098 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
9100 wxPyEndAllowThreads(__tstate
);
9101 if (PyErr_Occurred()) SWIG_fail
;
9103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
9110 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9111 PyObject
*resultobj
;
9112 wxPopupWindow
*result
;
9117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
9119 if (!wxPyCheckForApp()) SWIG_fail
;
9120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9121 result
= (wxPopupWindow
*)new wxPopupWindow();
9123 wxPyEndAllowThreads(__tstate
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
9133 static PyObject
*_wrap_PopupWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9134 PyObject
*resultobj
;
9135 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
9136 wxWindow
*arg2
= (wxWindow
*) 0 ;
9137 int arg3
= (int) wxBORDER_NONE
;
9139 PyObject
* obj0
= 0 ;
9140 PyObject
* obj1
= 0 ;
9141 PyObject
* obj2
= 0 ;
9143 (char *) "self",(char *) "parent",(char *) "flags", NULL
9146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
9148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9149 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9152 arg3
= (int)SWIG_As_int(obj2
);
9153 if (PyErr_Occurred()) SWIG_fail
;
9156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9157 result
= (bool)(arg1
)->Create(arg2
,arg3
);
9159 wxPyEndAllowThreads(__tstate
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9171 static PyObject
*_wrap_PopupWindow_Position(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
;
9173 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
9178 PyObject
* obj0
= 0 ;
9179 PyObject
* obj1
= 0 ;
9180 PyObject
* obj2
= 0 ;
9182 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
9185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
9187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9190 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9194 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
9197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9198 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9203 Py_INCREF(Py_None
); resultobj
= Py_None
;
9210 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
9212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9213 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
9215 return Py_BuildValue((char *)"");
9217 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9218 PyObject
*resultobj
;
9219 wxWindow
*arg1
= (wxWindow
*) 0 ;
9220 int arg2
= (int) wxBORDER_NONE
;
9221 wxPyPopupTransientWindow
*result
;
9222 PyObject
* obj0
= 0 ;
9223 PyObject
* obj1
= 0 ;
9225 (char *) "parent",(char *) "style", NULL
9228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
9229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9232 arg2
= (int)SWIG_As_int(obj1
);
9233 if (PyErr_Occurred()) SWIG_fail
;
9236 if (!wxPyCheckForApp()) SWIG_fail
;
9237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9238 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
9240 wxPyEndAllowThreads(__tstate
);
9241 if (PyErr_Occurred()) SWIG_fail
;
9243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9250 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9251 PyObject
*resultobj
;
9252 wxPyPopupTransientWindow
*result
;
9257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
9259 if (!wxPyCheckForApp()) SWIG_fail
;
9260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9261 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
9263 wxPyEndAllowThreads(__tstate
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9273 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9274 PyObject
*resultobj
;
9275 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9276 PyObject
*arg2
= (PyObject
*) 0 ;
9277 PyObject
*arg3
= (PyObject
*) 0 ;
9278 PyObject
* obj0
= 0 ;
9279 PyObject
* obj1
= 0 ;
9280 PyObject
* obj2
= 0 ;
9282 (char *) "self",(char *) "self",(char *) "_class", NULL
9285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9292 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9294 wxPyEndAllowThreads(__tstate
);
9295 if (PyErr_Occurred()) SWIG_fail
;
9297 Py_INCREF(Py_None
); resultobj
= Py_None
;
9304 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9305 PyObject
*resultobj
;
9306 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9307 wxWindow
*arg2
= (wxWindow
*) NULL
;
9308 PyObject
* obj0
= 0 ;
9309 PyObject
* obj1
= 0 ;
9311 (char *) "self",(char *) "focus", NULL
9314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
9315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9323 (arg1
)->Popup(arg2
);
9325 wxPyEndAllowThreads(__tstate
);
9326 if (PyErr_Occurred()) SWIG_fail
;
9328 Py_INCREF(Py_None
); resultobj
= Py_None
;
9335 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9336 PyObject
*resultobj
;
9337 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9338 PyObject
* obj0
= 0 ;
9340 (char *) "self", NULL
9343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
9344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 wxPyEndAllowThreads(__tstate
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9353 Py_INCREF(Py_None
); resultobj
= Py_None
;
9360 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
9362 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9363 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
9365 return Py_BuildValue((char *)"");
9367 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9368 PyObject
*resultobj
;
9369 wxWindow
*arg1
= (wxWindow
*) 0 ;
9370 wxString
*arg2
= 0 ;
9371 int arg3
= (int) 100 ;
9372 wxRect
*arg4
= (wxRect
*) NULL
;
9373 wxTipWindow
*result
;
9374 bool temp2
= false ;
9375 PyObject
* obj0
= 0 ;
9376 PyObject
* obj1
= 0 ;
9377 PyObject
* obj2
= 0 ;
9378 PyObject
* obj3
= 0 ;
9380 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9387 arg2
= wxString_in_helper(obj1
);
9388 if (arg2
== NULL
) SWIG_fail
;
9392 arg3
= (int)SWIG_As_int(obj2
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9396 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
9397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9400 if (!wxPyCheckForApp()) SWIG_fail
;
9401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9402 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9404 wxPyEndAllowThreads(__tstate
);
9405 if (PyErr_Occurred()) SWIG_fail
;
9407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
9422 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9423 PyObject
*resultobj
;
9424 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9427 PyObject
* obj0
= 0 ;
9428 PyObject
* obj1
= 0 ;
9430 (char *) "self",(char *) "rectBound", NULL
9433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9438 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
9444 wxPyEndAllowThreads(__tstate
);
9445 if (PyErr_Occurred()) SWIG_fail
;
9447 Py_INCREF(Py_None
); resultobj
= Py_None
;
9454 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9455 PyObject
*resultobj
;
9456 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9457 PyObject
* obj0
= 0 ;
9459 (char *) "self", NULL
9462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 wxPyEndAllowThreads(__tstate
);
9470 if (PyErr_Occurred()) SWIG_fail
;
9472 Py_INCREF(Py_None
); resultobj
= Py_None
;
9479 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
9481 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9482 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9484 return Py_BuildValue((char *)"");
9486 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9487 PyObject
*resultobj
;
9488 wxWindow
*arg1
= (wxWindow
*) 0 ;
9489 int arg2
= (int) wxID_ANY
;
9490 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9491 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9492 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9493 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9494 long arg5
= (long) 0 ;
9495 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9496 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9497 wxPyVScrolledWindow
*result
;
9500 bool temp6
= false ;
9501 PyObject
* obj0
= 0 ;
9502 PyObject
* obj1
= 0 ;
9503 PyObject
* obj2
= 0 ;
9504 PyObject
* obj3
= 0 ;
9505 PyObject
* obj4
= 0 ;
9506 PyObject
* obj5
= 0 ;
9508 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9515 arg2
= (int)SWIG_As_int(obj1
);
9516 if (PyErr_Occurred()) SWIG_fail
;
9521 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9527 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9531 arg5
= (long)SWIG_As_long(obj4
);
9532 if (PyErr_Occurred()) SWIG_fail
;
9536 arg6
= wxString_in_helper(obj5
);
9537 if (arg6
== NULL
) SWIG_fail
;
9542 if (!wxPyCheckForApp()) SWIG_fail
;
9543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9544 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9546 wxPyEndAllowThreads(__tstate
);
9547 if (PyErr_Occurred()) SWIG_fail
;
9549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9564 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
*resultobj
;
9566 wxPyVScrolledWindow
*result
;
9571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9573 if (!wxPyCheckForApp()) SWIG_fail
;
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9577 wxPyEndAllowThreads(__tstate
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9587 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9588 PyObject
*resultobj
;
9589 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9590 PyObject
*arg2
= (PyObject
*) 0 ;
9591 PyObject
*arg3
= (PyObject
*) 0 ;
9592 PyObject
* obj0
= 0 ;
9593 PyObject
* obj1
= 0 ;
9594 PyObject
* obj2
= 0 ;
9596 (char *) "self",(char *) "self",(char *) "_class", NULL
9599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9606 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9608 wxPyEndAllowThreads(__tstate
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9611 Py_INCREF(Py_None
); resultobj
= Py_None
;
9618 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9619 PyObject
*resultobj
;
9620 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9621 wxWindow
*arg2
= (wxWindow
*) 0 ;
9622 int arg3
= (int) wxID_ANY
;
9623 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9624 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9625 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9626 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9627 long arg6
= (long) 0 ;
9628 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9629 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9633 bool temp7
= false ;
9634 PyObject
* obj0
= 0 ;
9635 PyObject
* obj1
= 0 ;
9636 PyObject
* obj2
= 0 ;
9637 PyObject
* obj3
= 0 ;
9638 PyObject
* obj4
= 0 ;
9639 PyObject
* obj5
= 0 ;
9640 PyObject
* obj6
= 0 ;
9642 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9651 arg3
= (int)SWIG_As_int(obj2
);
9652 if (PyErr_Occurred()) SWIG_fail
;
9657 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9663 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9667 arg6
= (long)SWIG_As_long(obj5
);
9668 if (PyErr_Occurred()) SWIG_fail
;
9672 arg7
= wxString_in_helper(obj6
);
9673 if (arg7
== NULL
) SWIG_fail
;
9678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9679 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9681 wxPyEndAllowThreads(__tstate
);
9682 if (PyErr_Occurred()) SWIG_fail
;
9685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9701 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9702 PyObject
*resultobj
;
9703 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9705 PyObject
* obj0
= 0 ;
9706 PyObject
* obj1
= 0 ;
9708 (char *) "self",(char *) "count", NULL
9711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9714 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9715 if (PyErr_Occurred()) SWIG_fail
;
9717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9718 (arg1
)->SetLineCount(arg2
);
9720 wxPyEndAllowThreads(__tstate
);
9721 if (PyErr_Occurred()) SWIG_fail
;
9723 Py_INCREF(Py_None
); resultobj
= Py_None
;
9730 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9731 PyObject
*resultobj
;
9732 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9735 PyObject
* obj0
= 0 ;
9736 PyObject
* obj1
= 0 ;
9738 (char *) "self",(char *) "line", NULL
9741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9744 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9745 if (PyErr_Occurred()) SWIG_fail
;
9747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9748 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9762 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9763 PyObject
*resultobj
;
9764 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9767 PyObject
* obj0
= 0 ;
9768 PyObject
* obj1
= 0 ;
9770 (char *) "self",(char *) "lines", NULL
9773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9776 arg2
= (int)SWIG_As_int(obj1
);
9777 if (PyErr_Occurred()) SWIG_fail
;
9779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9780 result
= (bool)(arg1
)->ScrollLines(arg2
);
9782 wxPyEndAllowThreads(__tstate
);
9783 if (PyErr_Occurred()) SWIG_fail
;
9786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9794 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9795 PyObject
*resultobj
;
9796 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9799 PyObject
* obj0
= 0 ;
9800 PyObject
* obj1
= 0 ;
9802 (char *) "self",(char *) "pages", NULL
9805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9808 arg2
= (int)SWIG_As_int(obj1
);
9809 if (PyErr_Occurred()) SWIG_fail
;
9811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9812 result
= (bool)(arg1
)->ScrollPages(arg2
);
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9826 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9827 PyObject
*resultobj
;
9828 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9830 PyObject
* obj0
= 0 ;
9831 PyObject
* obj1
= 0 ;
9833 (char *) "self",(char *) "line", NULL
9836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9839 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9840 if (PyErr_Occurred()) SWIG_fail
;
9842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9843 (arg1
)->RefreshLine(arg2
);
9845 wxPyEndAllowThreads(__tstate
);
9846 if (PyErr_Occurred()) SWIG_fail
;
9848 Py_INCREF(Py_None
); resultobj
= Py_None
;
9855 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9856 PyObject
*resultobj
;
9857 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9860 PyObject
* obj0
= 0 ;
9861 PyObject
* obj1
= 0 ;
9862 PyObject
* obj2
= 0 ;
9864 (char *) "self",(char *) "from",(char *) "to", NULL
9867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9870 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9872 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
9873 if (PyErr_Occurred()) SWIG_fail
;
9875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9876 (arg1
)->RefreshLines(arg2
,arg3
);
9878 wxPyEndAllowThreads(__tstate
);
9879 if (PyErr_Occurred()) SWIG_fail
;
9881 Py_INCREF(Py_None
); resultobj
= Py_None
;
9888 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9889 PyObject
*resultobj
;
9890 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9894 PyObject
* obj0
= 0 ;
9895 PyObject
* obj1
= 0 ;
9896 PyObject
* obj2
= 0 ;
9898 (char *) "self",(char *) "x",(char *) "y", NULL
9901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9904 arg2
= (int)SWIG_As_int(obj1
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9906 arg3
= (int)SWIG_As_int(obj2
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9910 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9912 wxPyEndAllowThreads(__tstate
);
9913 if (PyErr_Occurred()) SWIG_fail
;
9915 resultobj
= SWIG_From_int((int)result
);
9922 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9923 PyObject
*resultobj
;
9924 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9928 PyObject
* obj0
= 0 ;
9929 PyObject
* obj1
= 0 ;
9931 (char *) "self",(char *) "pt", NULL
9934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9939 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9943 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9945 wxPyEndAllowThreads(__tstate
);
9946 if (PyErr_Occurred()) SWIG_fail
;
9948 resultobj
= SWIG_From_int((int)result
);
9955 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9956 PyObject
*resultobj
;
9957 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9958 PyObject
* obj0
= 0 ;
9960 (char *) "self", NULL
9963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9968 (arg1
)->RefreshAll();
9970 wxPyEndAllowThreads(__tstate
);
9971 if (PyErr_Occurred()) SWIG_fail
;
9973 Py_INCREF(Py_None
); resultobj
= Py_None
;
9980 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9981 PyObject
*resultobj
;
9982 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9984 PyObject
* obj0
= 0 ;
9986 (char *) "self", NULL
9989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9994 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9996 wxPyEndAllowThreads(__tstate
);
9997 if (PyErr_Occurred()) SWIG_fail
;
9999 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10006 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10007 PyObject
*resultobj
;
10008 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
10010 PyObject
* obj0
= 0 ;
10011 char *kwnames
[] = {
10012 (char *) "self", NULL
10015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
10016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
10017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10020 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
10022 wxPyEndAllowThreads(__tstate
);
10023 if (PyErr_Occurred()) SWIG_fail
;
10025 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10032 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10033 PyObject
*resultobj
;
10034 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
10036 PyObject
* obj0
= 0 ;
10037 char *kwnames
[] = {
10038 (char *) "self", NULL
10041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
10042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
10043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10046 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
10048 wxPyEndAllowThreads(__tstate
);
10049 if (PyErr_Occurred()) SWIG_fail
;
10051 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10058 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10059 PyObject
*resultobj
;
10060 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
10063 PyObject
* obj0
= 0 ;
10064 PyObject
* obj1
= 0 ;
10065 char *kwnames
[] = {
10066 (char *) "self",(char *) "line", NULL
10069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
10070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
10071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10072 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10073 if (PyErr_Occurred()) SWIG_fail
;
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10090 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
10092 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10093 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
10095 return Py_BuildValue((char *)"");
10097 static int _wrap_VListBoxNameStr_set(PyObject
*) {
10098 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
10103 static PyObject
*_wrap_VListBoxNameStr_get() {
10108 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
10110 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
10117 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10118 PyObject
*resultobj
;
10119 wxWindow
*arg1
= (wxWindow
*) 0 ;
10120 int arg2
= (int) wxID_ANY
;
10121 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10122 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10123 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10124 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10125 long arg5
= (long) 0 ;
10126 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10127 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10128 wxPyVListBox
*result
;
10131 bool temp6
= false ;
10132 PyObject
* obj0
= 0 ;
10133 PyObject
* obj1
= 0 ;
10134 PyObject
* obj2
= 0 ;
10135 PyObject
* obj3
= 0 ;
10136 PyObject
* obj4
= 0 ;
10137 PyObject
* obj5
= 0 ;
10138 char *kwnames
[] = {
10139 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10146 arg2
= (int)SWIG_As_int(obj1
);
10147 if (PyErr_Occurred()) SWIG_fail
;
10152 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10158 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10162 arg5
= (long)SWIG_As_long(obj4
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10167 arg6
= wxString_in_helper(obj5
);
10168 if (arg6
== NULL
) SWIG_fail
;
10173 if (!wxPyCheckForApp()) SWIG_fail
;
10174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10175 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10177 wxPyEndAllowThreads(__tstate
);
10178 if (PyErr_Occurred()) SWIG_fail
;
10180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
10195 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10196 PyObject
*resultobj
;
10197 wxPyVListBox
*result
;
10198 char *kwnames
[] = {
10202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
10204 if (!wxPyCheckForApp()) SWIG_fail
;
10205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10206 result
= (wxPyVListBox
*)new wxPyVListBox();
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
10218 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
;
10220 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10221 PyObject
*arg2
= (PyObject
*) 0 ;
10222 PyObject
*arg3
= (PyObject
*) 0 ;
10223 PyObject
* obj0
= 0 ;
10224 PyObject
* obj1
= 0 ;
10225 PyObject
* obj2
= 0 ;
10226 char *kwnames
[] = {
10227 (char *) "self",(char *) "self",(char *) "_class", NULL
10230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10237 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10239 wxPyEndAllowThreads(__tstate
);
10240 if (PyErr_Occurred()) SWIG_fail
;
10242 Py_INCREF(Py_None
); resultobj
= Py_None
;
10249 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10250 PyObject
*resultobj
;
10251 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10252 wxWindow
*arg2
= (wxWindow
*) 0 ;
10253 int arg3
= (int) wxID_ANY
;
10254 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10255 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10256 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10257 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10258 long arg6
= (long) 0 ;
10259 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10260 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10264 bool temp7
= false ;
10265 PyObject
* obj0
= 0 ;
10266 PyObject
* obj1
= 0 ;
10267 PyObject
* obj2
= 0 ;
10268 PyObject
* obj3
= 0 ;
10269 PyObject
* obj4
= 0 ;
10270 PyObject
* obj5
= 0 ;
10271 PyObject
* obj6
= 0 ;
10272 char *kwnames
[] = {
10273 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10279 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10282 arg3
= (int)SWIG_As_int(obj2
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10288 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10294 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10298 arg6
= (long)SWIG_As_long(obj5
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10303 arg7
= wxString_in_helper(obj6
);
10304 if (arg7
== NULL
) SWIG_fail
;
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10332 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10333 PyObject
*resultobj
;
10334 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10336 PyObject
* obj0
= 0 ;
10337 char *kwnames
[] = {
10338 (char *) "self", NULL
10341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
10342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10351 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10358 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10359 PyObject
*resultobj
;
10360 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10362 PyObject
* obj0
= 0 ;
10363 char *kwnames
[] = {
10364 (char *) "self", NULL
10367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
10368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10386 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10387 PyObject
*resultobj
;
10388 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10390 PyObject
* obj0
= 0 ;
10391 char *kwnames
[] = {
10392 (char *) "self", NULL
10395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
10396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10400 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
10402 wxPyEndAllowThreads(__tstate
);
10403 if (PyErr_Occurred()) SWIG_fail
;
10405 resultobj
= SWIG_From_int((int)result
);
10412 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10413 PyObject
*resultobj
;
10414 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10417 PyObject
* obj0
= 0 ;
10418 PyObject
* obj1
= 0 ;
10419 char *kwnames
[] = {
10420 (char *) "self",(char *) "item", NULL
10423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
10424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10426 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10427 if (PyErr_Occurred()) SWIG_fail
;
10429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10430 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
10432 wxPyEndAllowThreads(__tstate
);
10433 if (PyErr_Occurred()) SWIG_fail
;
10436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10444 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10445 PyObject
*resultobj
;
10446 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10449 PyObject
* obj0
= 0 ;
10450 PyObject
* obj1
= 0 ;
10451 char *kwnames
[] = {
10452 (char *) "self",(char *) "item", NULL
10455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10458 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10459 if (PyErr_Occurred()) SWIG_fail
;
10461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10462 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10464 wxPyEndAllowThreads(__tstate
);
10465 if (PyErr_Occurred()) SWIG_fail
;
10468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10476 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10477 PyObject
*resultobj
;
10478 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10480 PyObject
* obj0
= 0 ;
10481 char *kwnames
[] = {
10482 (char *) "self", NULL
10485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10495 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10502 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10503 PyObject
*resultobj
;
10504 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10506 PyObject
* obj0
= 0 ;
10507 char *kwnames
[] = {
10508 (char *) "self", NULL
10511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
10512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
10518 wxPyEndAllowThreads(__tstate
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10521 resultobj
= result
;
10528 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10529 PyObject
*resultobj
;
10530 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10531 unsigned long arg2
;
10533 PyObject
* obj0
= 0 ;
10534 PyObject
* obj1
= 0 ;
10535 char *kwnames
[] = {
10536 (char *) "self",(char *) "cookie", NULL
10539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10542 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
10543 if (PyErr_Occurred()) SWIG_fail
;
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10551 resultobj
= result
;
10558 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10559 PyObject
*resultobj
;
10560 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10562 PyObject
* obj0
= 0 ;
10563 char *kwnames
[] = {
10564 (char *) "self", NULL
10567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10572 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10574 wxPyEndAllowThreads(__tstate
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10578 wxPoint
* resultptr
;
10579 resultptr
= new wxPoint((wxPoint
&) result
);
10580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10588 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10589 PyObject
*resultobj
;
10590 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10592 PyObject
* obj0
= 0 ;
10593 char *kwnames
[] = {
10594 (char *) "self", NULL
10597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10604 result
= (wxColour
*) &_result_ref
;
10607 wxPyEndAllowThreads(__tstate
);
10608 if (PyErr_Occurred()) SWIG_fail
;
10610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10617 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10618 PyObject
*resultobj
;
10619 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10621 PyObject
* obj0
= 0 ;
10622 PyObject
* obj1
= 0 ;
10623 char *kwnames
[] = {
10624 (char *) "self",(char *) "count", NULL
10627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10630 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10634 (arg1
)->SetItemCount(arg2
);
10636 wxPyEndAllowThreads(__tstate
);
10637 if (PyErr_Occurred()) SWIG_fail
;
10639 Py_INCREF(Py_None
); resultobj
= Py_None
;
10646 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10647 PyObject
*resultobj
;
10648 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10649 PyObject
* obj0
= 0 ;
10650 char *kwnames
[] = {
10651 (char *) "self", NULL
10654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10664 Py_INCREF(Py_None
); resultobj
= Py_None
;
10671 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10672 PyObject
*resultobj
;
10673 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10675 PyObject
* obj0
= 0 ;
10676 PyObject
* obj1
= 0 ;
10677 char *kwnames
[] = {
10678 (char *) "self",(char *) "selection", NULL
10681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10684 arg2
= (int)SWIG_As_int(obj1
);
10685 if (PyErr_Occurred()) SWIG_fail
;
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 (arg1
)->SetSelection(arg2
);
10690 wxPyEndAllowThreads(__tstate
);
10691 if (PyErr_Occurred()) SWIG_fail
;
10693 Py_INCREF(Py_None
); resultobj
= Py_None
;
10700 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10701 PyObject
*resultobj
;
10702 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10704 bool arg3
= (bool) true ;
10706 PyObject
* obj0
= 0 ;
10707 PyObject
* obj1
= 0 ;
10708 PyObject
* obj2
= 0 ;
10709 char *kwnames
[] = {
10710 (char *) "self",(char *) "item",(char *) "select", NULL
10713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10716 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10719 arg3
= (bool)SWIG_As_bool(obj2
);
10720 if (PyErr_Occurred()) SWIG_fail
;
10723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10724 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10726 wxPyEndAllowThreads(__tstate
);
10727 if (PyErr_Occurred()) SWIG_fail
;
10730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10738 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10739 PyObject
*resultobj
;
10740 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10744 PyObject
* obj0
= 0 ;
10745 PyObject
* obj1
= 0 ;
10746 PyObject
* obj2
= 0 ;
10747 char *kwnames
[] = {
10748 (char *) "self",(char *) "from",(char *) "to", NULL
10751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10754 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10755 if (PyErr_Occurred()) SWIG_fail
;
10756 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
10757 if (PyErr_Occurred()) SWIG_fail
;
10759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10760 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10762 wxPyEndAllowThreads(__tstate
);
10763 if (PyErr_Occurred()) SWIG_fail
;
10766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10774 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10775 PyObject
*resultobj
;
10776 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10778 PyObject
* obj0
= 0 ;
10779 PyObject
* obj1
= 0 ;
10780 char *kwnames
[] = {
10781 (char *) "self",(char *) "item", NULL
10784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10787 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10791 (arg1
)->Toggle(arg2
);
10793 wxPyEndAllowThreads(__tstate
);
10794 if (PyErr_Occurred()) SWIG_fail
;
10796 Py_INCREF(Py_None
); resultobj
= Py_None
;
10803 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10804 PyObject
*resultobj
;
10805 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10807 PyObject
* obj0
= 0 ;
10808 char *kwnames
[] = {
10809 (char *) "self", NULL
10812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10817 result
= (bool)(arg1
)->SelectAll();
10819 wxPyEndAllowThreads(__tstate
);
10820 if (PyErr_Occurred()) SWIG_fail
;
10823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10831 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10832 PyObject
*resultobj
;
10833 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10835 PyObject
* obj0
= 0 ;
10836 char *kwnames
[] = {
10837 (char *) "self", NULL
10840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 result
= (bool)(arg1
)->DeselectAll();
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10859 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10860 PyObject
*resultobj
;
10861 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10862 wxPoint
*arg2
= 0 ;
10864 PyObject
* obj0
= 0 ;
10865 PyObject
* obj1
= 0 ;
10866 char *kwnames
[] = {
10867 (char *) "self",(char *) "pt", NULL
10870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10875 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10879 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10881 wxPyEndAllowThreads(__tstate
);
10882 if (PyErr_Occurred()) SWIG_fail
;
10884 Py_INCREF(Py_None
); resultobj
= Py_None
;
10891 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10892 PyObject
*resultobj
;
10893 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10896 PyObject
* obj0
= 0 ;
10897 PyObject
* obj1
= 0 ;
10898 PyObject
* obj2
= 0 ;
10899 char *kwnames
[] = {
10900 (char *) "self",(char *) "x",(char *) "y", NULL
10903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10906 arg2
= (int)SWIG_As_int(obj1
);
10907 if (PyErr_Occurred()) SWIG_fail
;
10908 arg3
= (int)SWIG_As_int(obj2
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10912 (arg1
)->SetMargins(arg2
,arg3
);
10914 wxPyEndAllowThreads(__tstate
);
10915 if (PyErr_Occurred()) SWIG_fail
;
10917 Py_INCREF(Py_None
); resultobj
= Py_None
;
10924 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10925 PyObject
*resultobj
;
10926 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10927 wxColour
*arg2
= 0 ;
10929 PyObject
* obj0
= 0 ;
10930 PyObject
* obj1
= 0 ;
10931 char *kwnames
[] = {
10932 (char *) "self",(char *) "col", NULL
10935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10940 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10944 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10946 wxPyEndAllowThreads(__tstate
);
10947 if (PyErr_Occurred()) SWIG_fail
;
10949 Py_INCREF(Py_None
); resultobj
= Py_None
;
10956 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
10958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10959 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10961 return Py_BuildValue((char *)"");
10963 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10964 PyObject
*resultobj
;
10965 wxWindow
*arg1
= (wxWindow
*) 0 ;
10966 int arg2
= (int) wxID_ANY
;
10967 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10968 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10969 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10970 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10971 long arg5
= (long) 0 ;
10972 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10973 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10974 wxPyHtmlListBox
*result
;
10977 bool temp6
= false ;
10978 PyObject
* obj0
= 0 ;
10979 PyObject
* obj1
= 0 ;
10980 PyObject
* obj2
= 0 ;
10981 PyObject
* obj3
= 0 ;
10982 PyObject
* obj4
= 0 ;
10983 PyObject
* obj5
= 0 ;
10984 char *kwnames
[] = {
10985 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10992 arg2
= (int)SWIG_As_int(obj1
);
10993 if (PyErr_Occurred()) SWIG_fail
;
10998 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11004 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11008 arg5
= (long)SWIG_As_long(obj4
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11013 arg6
= wxString_in_helper(obj5
);
11014 if (arg6
== NULL
) SWIG_fail
;
11019 if (!wxPyCheckForApp()) SWIG_fail
;
11020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11021 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11023 wxPyEndAllowThreads(__tstate
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
11041 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11042 PyObject
*resultobj
;
11043 wxPyHtmlListBox
*result
;
11044 char *kwnames
[] = {
11048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
11050 if (!wxPyCheckForApp()) SWIG_fail
;
11051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11052 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
11054 wxPyEndAllowThreads(__tstate
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
11064 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11065 PyObject
*resultobj
;
11066 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11067 PyObject
*arg2
= (PyObject
*) 0 ;
11068 PyObject
*arg3
= (PyObject
*) 0 ;
11069 PyObject
* obj0
= 0 ;
11070 PyObject
* obj1
= 0 ;
11071 PyObject
* obj2
= 0 ;
11072 char *kwnames
[] = {
11073 (char *) "self",(char *) "self",(char *) "_class", NULL
11076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11083 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11085 wxPyEndAllowThreads(__tstate
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11088 Py_INCREF(Py_None
); resultobj
= Py_None
;
11095 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11096 PyObject
*resultobj
;
11097 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11098 wxWindow
*arg2
= (wxWindow
*) 0 ;
11099 int arg3
= (int) wxID_ANY
;
11100 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11101 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11102 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11103 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11104 long arg6
= (long) 0 ;
11105 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
11106 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11110 bool temp7
= false ;
11111 PyObject
* obj0
= 0 ;
11112 PyObject
* obj1
= 0 ;
11113 PyObject
* obj2
= 0 ;
11114 PyObject
* obj3
= 0 ;
11115 PyObject
* obj4
= 0 ;
11116 PyObject
* obj5
= 0 ;
11117 PyObject
* obj6
= 0 ;
11118 char *kwnames
[] = {
11119 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11125 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11128 arg3
= (int)SWIG_As_int(obj2
);
11129 if (PyErr_Occurred()) SWIG_fail
;
11134 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11140 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11144 arg6
= (long)SWIG_As_long(obj5
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11149 arg7
= wxString_in_helper(obj6
);
11150 if (arg7
== NULL
) SWIG_fail
;
11155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11156 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11158 wxPyEndAllowThreads(__tstate
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11178 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11179 PyObject
*resultobj
;
11180 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11181 PyObject
* obj0
= 0 ;
11182 char *kwnames
[] = {
11183 (char *) "self", NULL
11186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
11187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11191 (arg1
)->RefreshAll();
11193 wxPyEndAllowThreads(__tstate
);
11194 if (PyErr_Occurred()) SWIG_fail
;
11196 Py_INCREF(Py_None
); resultobj
= Py_None
;
11203 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11204 PyObject
*resultobj
;
11205 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11207 PyObject
* obj0
= 0 ;
11208 PyObject
* obj1
= 0 ;
11209 char *kwnames
[] = {
11210 (char *) "self",(char *) "count", NULL
11213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11216 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11220 (arg1
)->SetItemCount(arg2
);
11222 wxPyEndAllowThreads(__tstate
);
11223 if (PyErr_Occurred()) SWIG_fail
;
11225 Py_INCREF(Py_None
); resultobj
= Py_None
;
11232 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11233 PyObject
*resultobj
;
11234 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11235 wxFileSystem
*result
;
11236 PyObject
* obj0
= 0 ;
11237 char *kwnames
[] = {
11238 (char *) "self", NULL
11241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
11242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11247 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
11248 result
= (wxFileSystem
*) &_result_ref
;
11251 wxPyEndAllowThreads(__tstate
);
11252 if (PyErr_Occurred()) SWIG_fail
;
11254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
11261 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
11263 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11264 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
11266 return Py_BuildValue((char *)"");
11268 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11269 PyObject
*resultobj
;
11270 wxPyTaskBarIcon
*result
;
11271 char *kwnames
[] = {
11275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
11277 if (!wxPyCheckForApp()) SWIG_fail
;
11278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11279 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
11281 wxPyEndAllowThreads(__tstate
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
11291 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11292 PyObject
*resultobj
;
11293 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11294 PyObject
*arg2
= (PyObject
*) 0 ;
11295 PyObject
*arg3
= (PyObject
*) 0 ;
11297 PyObject
* obj0
= 0 ;
11298 PyObject
* obj1
= 0 ;
11299 PyObject
* obj2
= 0 ;
11300 PyObject
* obj3
= 0 ;
11301 char *kwnames
[] = {
11302 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11310 arg4
= (int)SWIG_As_int(obj3
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11314 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
11316 wxPyEndAllowThreads(__tstate
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11319 Py_INCREF(Py_None
); resultobj
= Py_None
;
11326 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11327 PyObject
*resultobj
;
11328 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11329 PyObject
* obj0
= 0 ;
11330 char *kwnames
[] = {
11331 (char *) "self", NULL
11334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
11335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11339 wxPyTaskBarIcon_Destroy(arg1
);
11341 wxPyEndAllowThreads(__tstate
);
11342 if (PyErr_Occurred()) SWIG_fail
;
11344 Py_INCREF(Py_None
); resultobj
= Py_None
;
11351 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11352 PyObject
*resultobj
;
11353 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11355 PyObject
* obj0
= 0 ;
11356 char *kwnames
[] = {
11357 (char *) "self", NULL
11360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
11361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11365 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
11367 wxPyEndAllowThreads(__tstate
);
11368 if (PyErr_Occurred()) SWIG_fail
;
11371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11379 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11380 PyObject
*resultobj
;
11381 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11383 PyObject
* obj0
= 0 ;
11384 char *kwnames
[] = {
11385 (char *) "self", NULL
11388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
11389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11393 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
11395 wxPyEndAllowThreads(__tstate
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11407 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11408 PyObject
*resultobj
;
11409 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11411 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11412 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11414 bool temp3
= false ;
11415 PyObject
* obj0
= 0 ;
11416 PyObject
* obj1
= 0 ;
11417 PyObject
* obj2
= 0 ;
11418 char *kwnames
[] = {
11419 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11426 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11428 if (arg2
== NULL
) {
11429 PyErr_SetString(PyExc_TypeError
,"null reference");
11434 arg3
= wxString_in_helper(obj2
);
11435 if (arg3
== NULL
) SWIG_fail
;
11440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11441 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
11443 wxPyEndAllowThreads(__tstate
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11463 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11464 PyObject
*resultobj
;
11465 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11467 PyObject
* obj0
= 0 ;
11468 char *kwnames
[] = {
11469 (char *) "self", NULL
11472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
11473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11477 result
= (bool)(arg1
)->RemoveIcon();
11479 wxPyEndAllowThreads(__tstate
);
11480 if (PyErr_Occurred()) SWIG_fail
;
11483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11491 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11492 PyObject
*resultobj
;
11493 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11494 wxMenu
*arg2
= (wxMenu
*) 0 ;
11496 PyObject
* obj0
= 0 ;
11497 PyObject
* obj1
= 0 ;
11498 char *kwnames
[] = {
11499 (char *) "self",(char *) "menu", NULL
11502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
11503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
11506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11509 result
= (bool)(arg1
)->PopupMenu(arg2
);
11511 wxPyEndAllowThreads(__tstate
);
11512 if (PyErr_Occurred()) SWIG_fail
;
11515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11523 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
11525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11526 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
11528 return Py_BuildValue((char *)"");
11530 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
;
11533 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
11534 wxTaskBarIconEvent
*result
;
11535 PyObject
* obj0
= 0 ;
11536 PyObject
* obj1
= 0 ;
11537 char *kwnames
[] = {
11538 (char *) "evtType",(char *) "tbIcon", NULL
11541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11542 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
11545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11548 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
11550 wxPyEndAllowThreads(__tstate
);
11551 if (PyErr_Occurred()) SWIG_fail
;
11553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
11560 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
11562 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11563 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
11565 return Py_BuildValue((char *)"");
11567 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
11568 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
11573 static PyObject
*_wrap_FileSelectorPromptStr_get() {
11578 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11580 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11587 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
11588 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
11593 static PyObject
*_wrap_DirSelectorPromptStr_get() {
11598 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11600 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11607 static int _wrap_DirDialogNameStr_set(PyObject
*) {
11608 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11613 static PyObject
*_wrap_DirDialogNameStr_get() {
11618 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11620 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11627 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
11628 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11633 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11638 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11640 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11647 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
11648 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11653 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11658 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11660 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11667 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
11668 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11673 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11678 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11680 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11687 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11688 PyObject
*resultobj
;
11689 wxColourData
*result
;
11690 char *kwnames
[] = {
11694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11697 result
= (wxColourData
*)new wxColourData();
11699 wxPyEndAllowThreads(__tstate
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11709 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11710 PyObject
*resultobj
;
11711 wxColourData
*arg1
= (wxColourData
*) 0 ;
11712 PyObject
* obj0
= 0 ;
11713 char *kwnames
[] = {
11714 (char *) "self", NULL
11717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11724 wxPyEndAllowThreads(__tstate
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11727 Py_INCREF(Py_None
); resultobj
= Py_None
;
11734 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11735 PyObject
*resultobj
;
11736 wxColourData
*arg1
= (wxColourData
*) 0 ;
11738 PyObject
* obj0
= 0 ;
11739 char *kwnames
[] = {
11740 (char *) "self", NULL
11743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11748 result
= (bool)(arg1
)->GetChooseFull();
11750 wxPyEndAllowThreads(__tstate
);
11751 if (PyErr_Occurred()) SWIG_fail
;
11754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11762 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11763 PyObject
*resultobj
;
11764 wxColourData
*arg1
= (wxColourData
*) 0 ;
11766 PyObject
* obj0
= 0 ;
11767 char *kwnames
[] = {
11768 (char *) "self", NULL
11771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11776 result
= (arg1
)->GetColour();
11778 wxPyEndAllowThreads(__tstate
);
11779 if (PyErr_Occurred()) SWIG_fail
;
11782 wxColour
* resultptr
;
11783 resultptr
= new wxColour((wxColour
&) result
);
11784 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11792 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11793 PyObject
*resultobj
;
11794 wxColourData
*arg1
= (wxColourData
*) 0 ;
11797 PyObject
* obj0
= 0 ;
11798 PyObject
* obj1
= 0 ;
11799 char *kwnames
[] = {
11800 (char *) "self",(char *) "i", NULL
11803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11806 arg2
= (int)SWIG_As_int(obj1
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11810 result
= (arg1
)->GetCustomColour(arg2
);
11812 wxPyEndAllowThreads(__tstate
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11816 wxColour
* resultptr
;
11817 resultptr
= new wxColour((wxColour
&) result
);
11818 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11826 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11827 PyObject
*resultobj
;
11828 wxColourData
*arg1
= (wxColourData
*) 0 ;
11830 PyObject
* obj0
= 0 ;
11831 PyObject
* obj1
= 0 ;
11832 char *kwnames
[] = {
11833 (char *) "self",(char *) "flag", NULL
11836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11839 arg2
= (int)SWIG_As_int(obj1
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11843 (arg1
)->SetChooseFull(arg2
);
11845 wxPyEndAllowThreads(__tstate
);
11846 if (PyErr_Occurred()) SWIG_fail
;
11848 Py_INCREF(Py_None
); resultobj
= Py_None
;
11855 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11856 PyObject
*resultobj
;
11857 wxColourData
*arg1
= (wxColourData
*) 0 ;
11858 wxColour
*arg2
= 0 ;
11860 PyObject
* obj0
= 0 ;
11861 PyObject
* obj1
= 0 ;
11862 char *kwnames
[] = {
11863 (char *) "self",(char *) "colour", NULL
11866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11871 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11875 (arg1
)->SetColour((wxColour
const &)*arg2
);
11877 wxPyEndAllowThreads(__tstate
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11880 Py_INCREF(Py_None
); resultobj
= Py_None
;
11887 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11888 PyObject
*resultobj
;
11889 wxColourData
*arg1
= (wxColourData
*) 0 ;
11891 wxColour
*arg3
= 0 ;
11893 PyObject
* obj0
= 0 ;
11894 PyObject
* obj1
= 0 ;
11895 PyObject
* obj2
= 0 ;
11896 char *kwnames
[] = {
11897 (char *) "self",(char *) "i",(char *) "colour", NULL
11900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11903 arg2
= (int)SWIG_As_int(obj1
);
11904 if (PyErr_Occurred()) SWIG_fail
;
11907 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11911 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11913 wxPyEndAllowThreads(__tstate
);
11914 if (PyErr_Occurred()) SWIG_fail
;
11916 Py_INCREF(Py_None
); resultobj
= Py_None
;
11923 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
11925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11926 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11928 return Py_BuildValue((char *)"");
11930 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11931 PyObject
*resultobj
;
11932 wxWindow
*arg1
= (wxWindow
*) 0 ;
11933 wxColourData
*arg2
= (wxColourData
*) NULL
;
11934 wxColourDialog
*result
;
11935 PyObject
* obj0
= 0 ;
11936 PyObject
* obj1
= 0 ;
11937 char *kwnames
[] = {
11938 (char *) "parent",(char *) "data", NULL
11941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11945 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11949 if (!wxPyCheckForApp()) SWIG_fail
;
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11963 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11964 PyObject
*resultobj
;
11965 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11966 wxColourData
*result
;
11967 PyObject
* obj0
= 0 ;
11968 char *kwnames
[] = {
11969 (char *) "self", NULL
11972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11978 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11979 result
= (wxColourData
*) &_result_ref
;
11982 wxPyEndAllowThreads(__tstate
);
11983 if (PyErr_Occurred()) SWIG_fail
;
11985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11992 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
11994 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11995 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11997 return Py_BuildValue((char *)"");
11999 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12000 PyObject
*resultobj
;
12001 wxWindow
*arg1
= (wxWindow
*) 0 ;
12002 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
12003 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12004 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12005 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12006 long arg4
= (long) 0 ;
12007 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12008 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12009 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12010 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12011 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
12012 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12013 wxDirDialog
*result
;
12014 bool temp2
= false ;
12015 bool temp3
= false ;
12018 bool temp7
= false ;
12019 PyObject
* obj0
= 0 ;
12020 PyObject
* obj1
= 0 ;
12021 PyObject
* obj2
= 0 ;
12022 PyObject
* obj3
= 0 ;
12023 PyObject
* obj4
= 0 ;
12024 PyObject
* obj5
= 0 ;
12025 PyObject
* obj6
= 0 ;
12026 char *kwnames
[] = {
12027 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
12030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12035 arg2
= wxString_in_helper(obj1
);
12036 if (arg2
== NULL
) SWIG_fail
;
12042 arg3
= wxString_in_helper(obj2
);
12043 if (arg3
== NULL
) SWIG_fail
;
12048 arg4
= (long)SWIG_As_long(obj3
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12054 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12060 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12065 arg7
= wxString_in_helper(obj6
);
12066 if (arg7
== NULL
) SWIG_fail
;
12071 if (!wxPyCheckForApp()) SWIG_fail
;
12072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12073 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
12075 wxPyEndAllowThreads(__tstate
);
12076 if (PyErr_Occurred()) SWIG_fail
;
12078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
12109 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12110 PyObject
*resultobj
;
12111 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12113 PyObject
* obj0
= 0 ;
12114 char *kwnames
[] = {
12115 (char *) "self", NULL
12118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12123 result
= (arg1
)->GetPath();
12125 wxPyEndAllowThreads(__tstate
);
12126 if (PyErr_Occurred()) SWIG_fail
;
12130 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12132 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12141 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12142 PyObject
*resultobj
;
12143 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12145 PyObject
* obj0
= 0 ;
12146 char *kwnames
[] = {
12147 (char *) "self", NULL
12150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12155 result
= (arg1
)->GetMessage();
12157 wxPyEndAllowThreads(__tstate
);
12158 if (PyErr_Occurred()) SWIG_fail
;
12162 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12164 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12173 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12174 PyObject
*resultobj
;
12175 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12177 PyObject
* obj0
= 0 ;
12178 char *kwnames
[] = {
12179 (char *) "self", NULL
12182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12187 result
= (long)(arg1
)->GetStyle();
12189 wxPyEndAllowThreads(__tstate
);
12190 if (PyErr_Occurred()) SWIG_fail
;
12192 resultobj
= SWIG_From_long((long)result
);
12199 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12200 PyObject
*resultobj
;
12201 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12202 wxString
*arg2
= 0 ;
12203 bool temp2
= false ;
12204 PyObject
* obj0
= 0 ;
12205 PyObject
* obj1
= 0 ;
12206 char *kwnames
[] = {
12207 (char *) "self",(char *) "message", NULL
12210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12214 arg2
= wxString_in_helper(obj1
);
12215 if (arg2
== NULL
) SWIG_fail
;
12219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12220 (arg1
)->SetMessage((wxString
const &)*arg2
);
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12225 Py_INCREF(Py_None
); resultobj
= Py_None
;
12240 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12241 PyObject
*resultobj
;
12242 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12243 wxString
*arg2
= 0 ;
12244 bool temp2
= false ;
12245 PyObject
* obj0
= 0 ;
12246 PyObject
* obj1
= 0 ;
12247 char *kwnames
[] = {
12248 (char *) "self",(char *) "path", NULL
12251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12255 arg2
= wxString_in_helper(obj1
);
12256 if (arg2
== NULL
) SWIG_fail
;
12260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12261 (arg1
)->SetPath((wxString
const &)*arg2
);
12263 wxPyEndAllowThreads(__tstate
);
12264 if (PyErr_Occurred()) SWIG_fail
;
12266 Py_INCREF(Py_None
); resultobj
= Py_None
;
12281 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
12283 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12284 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
12286 return Py_BuildValue((char *)"");
12288 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12289 PyObject
*resultobj
;
12290 wxWindow
*arg1
= (wxWindow
*) 0 ;
12291 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
12292 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12293 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12294 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12295 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12296 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12297 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
12298 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
12299 long arg6
= (long) 0 ;
12300 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12301 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12302 wxFileDialog
*result
;
12303 bool temp2
= false ;
12304 bool temp3
= false ;
12305 bool temp4
= false ;
12306 bool temp5
= false ;
12308 PyObject
* obj0
= 0 ;
12309 PyObject
* obj1
= 0 ;
12310 PyObject
* obj2
= 0 ;
12311 PyObject
* obj3
= 0 ;
12312 PyObject
* obj4
= 0 ;
12313 PyObject
* obj5
= 0 ;
12314 PyObject
* obj6
= 0 ;
12315 char *kwnames
[] = {
12316 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12324 arg2
= wxString_in_helper(obj1
);
12325 if (arg2
== NULL
) SWIG_fail
;
12331 arg3
= wxString_in_helper(obj2
);
12332 if (arg3
== NULL
) SWIG_fail
;
12338 arg4
= wxString_in_helper(obj3
);
12339 if (arg4
== NULL
) SWIG_fail
;
12345 arg5
= wxString_in_helper(obj4
);
12346 if (arg5
== NULL
) SWIG_fail
;
12351 arg6
= (long)SWIG_As_long(obj5
);
12352 if (PyErr_Occurred()) SWIG_fail
;
12357 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12361 if (!wxPyCheckForApp()) SWIG_fail
;
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
12365 wxPyEndAllowThreads(__tstate
);
12366 if (PyErr_Occurred()) SWIG_fail
;
12368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
12407 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12408 PyObject
*resultobj
;
12409 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12410 wxString
*arg2
= 0 ;
12411 bool temp2
= false ;
12412 PyObject
* obj0
= 0 ;
12413 PyObject
* obj1
= 0 ;
12414 char *kwnames
[] = {
12415 (char *) "self",(char *) "message", NULL
12418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12422 arg2
= wxString_in_helper(obj1
);
12423 if (arg2
== NULL
) SWIG_fail
;
12427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12428 (arg1
)->SetMessage((wxString
const &)*arg2
);
12430 wxPyEndAllowThreads(__tstate
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12433 Py_INCREF(Py_None
); resultobj
= Py_None
;
12448 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12449 PyObject
*resultobj
;
12450 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12451 wxString
*arg2
= 0 ;
12452 bool temp2
= false ;
12453 PyObject
* obj0
= 0 ;
12454 PyObject
* obj1
= 0 ;
12455 char *kwnames
[] = {
12456 (char *) "self",(char *) "path", NULL
12459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12463 arg2
= wxString_in_helper(obj1
);
12464 if (arg2
== NULL
) SWIG_fail
;
12468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12469 (arg1
)->SetPath((wxString
const &)*arg2
);
12471 wxPyEndAllowThreads(__tstate
);
12472 if (PyErr_Occurred()) SWIG_fail
;
12474 Py_INCREF(Py_None
); resultobj
= Py_None
;
12489 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12490 PyObject
*resultobj
;
12491 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12492 wxString
*arg2
= 0 ;
12493 bool temp2
= false ;
12494 PyObject
* obj0
= 0 ;
12495 PyObject
* obj1
= 0 ;
12496 char *kwnames
[] = {
12497 (char *) "self",(char *) "dir", NULL
12500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
12501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12504 arg2
= wxString_in_helper(obj1
);
12505 if (arg2
== NULL
) SWIG_fail
;
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12510 (arg1
)->SetDirectory((wxString
const &)*arg2
);
12512 wxPyEndAllowThreads(__tstate
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12515 Py_INCREF(Py_None
); resultobj
= Py_None
;
12530 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12531 PyObject
*resultobj
;
12532 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12533 wxString
*arg2
= 0 ;
12534 bool temp2
= false ;
12535 PyObject
* obj0
= 0 ;
12536 PyObject
* obj1
= 0 ;
12537 char *kwnames
[] = {
12538 (char *) "self",(char *) "name", NULL
12541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
12542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12545 arg2
= wxString_in_helper(obj1
);
12546 if (arg2
== NULL
) SWIG_fail
;
12550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12551 (arg1
)->SetFilename((wxString
const &)*arg2
);
12553 wxPyEndAllowThreads(__tstate
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12556 Py_INCREF(Py_None
); resultobj
= Py_None
;
12571 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12572 PyObject
*resultobj
;
12573 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12574 wxString
*arg2
= 0 ;
12575 bool temp2
= false ;
12576 PyObject
* obj0
= 0 ;
12577 PyObject
* obj1
= 0 ;
12578 char *kwnames
[] = {
12579 (char *) "self",(char *) "wildCard", NULL
12582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
12583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12586 arg2
= wxString_in_helper(obj1
);
12587 if (arg2
== NULL
) SWIG_fail
;
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 (arg1
)->SetWildcard((wxString
const &)*arg2
);
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12597 Py_INCREF(Py_None
); resultobj
= Py_None
;
12612 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12613 PyObject
*resultobj
;
12614 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12616 PyObject
* obj0
= 0 ;
12617 PyObject
* obj1
= 0 ;
12618 char *kwnames
[] = {
12619 (char *) "self",(char *) "style", NULL
12622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12625 arg2
= (long)SWIG_As_long(obj1
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12629 (arg1
)->SetStyle(arg2
);
12631 wxPyEndAllowThreads(__tstate
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12634 Py_INCREF(Py_None
); resultobj
= Py_None
;
12641 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12642 PyObject
*resultobj
;
12643 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12645 PyObject
* obj0
= 0 ;
12646 PyObject
* obj1
= 0 ;
12647 char *kwnames
[] = {
12648 (char *) "self",(char *) "filterIndex", NULL
12651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12654 arg2
= (int)SWIG_As_int(obj1
);
12655 if (PyErr_Occurred()) SWIG_fail
;
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12658 (arg1
)->SetFilterIndex(arg2
);
12660 wxPyEndAllowThreads(__tstate
);
12661 if (PyErr_Occurred()) SWIG_fail
;
12663 Py_INCREF(Py_None
); resultobj
= Py_None
;
12670 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12671 PyObject
*resultobj
;
12672 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12674 PyObject
* obj0
= 0 ;
12675 char *kwnames
[] = {
12676 (char *) "self", NULL
12679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12686 wxPyEndAllowThreads(__tstate
);
12687 if (PyErr_Occurred()) SWIG_fail
;
12691 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12693 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12702 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12703 PyObject
*resultobj
;
12704 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12706 PyObject
* obj0
= 0 ;
12707 char *kwnames
[] = {
12708 (char *) "self", NULL
12711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12716 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12718 wxPyEndAllowThreads(__tstate
);
12719 if (PyErr_Occurred()) SWIG_fail
;
12723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12734 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12735 PyObject
*resultobj
;
12736 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12738 PyObject
* obj0
= 0 ;
12739 char *kwnames
[] = {
12740 (char *) "self", NULL
12743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12748 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12750 wxPyEndAllowThreads(__tstate
);
12751 if (PyErr_Occurred()) SWIG_fail
;
12755 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12757 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12766 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12767 PyObject
*resultobj
;
12768 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12770 PyObject
* obj0
= 0 ;
12771 char *kwnames
[] = {
12772 (char *) "self", NULL
12775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12780 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12782 wxPyEndAllowThreads(__tstate
);
12783 if (PyErr_Occurred()) SWIG_fail
;
12787 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12789 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12798 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12799 PyObject
*resultobj
;
12800 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12802 PyObject
* obj0
= 0 ;
12803 char *kwnames
[] = {
12804 (char *) "self", NULL
12807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12812 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12814 wxPyEndAllowThreads(__tstate
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12830 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12831 PyObject
*resultobj
;
12832 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12834 PyObject
* obj0
= 0 ;
12835 char *kwnames
[] = {
12836 (char *) "self", NULL
12839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12849 resultobj
= SWIG_From_long((long)result
);
12856 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12857 PyObject
*resultobj
;
12858 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12860 PyObject
* obj0
= 0 ;
12861 char *kwnames
[] = {
12862 (char *) "self", NULL
12865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12870 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12872 wxPyEndAllowThreads(__tstate
);
12873 if (PyErr_Occurred()) SWIG_fail
;
12875 resultobj
= SWIG_From_int((int)result
);
12882 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12883 PyObject
*resultobj
;
12884 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12886 PyObject
* obj0
= 0 ;
12887 char *kwnames
[] = {
12888 (char *) "self", NULL
12891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12896 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12898 wxPyEndAllowThreads(__tstate
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12901 resultobj
= result
;
12908 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12909 PyObject
*resultobj
;
12910 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12912 PyObject
* obj0
= 0 ;
12913 char *kwnames
[] = {
12914 (char *) "self", NULL
12917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12922 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12924 wxPyEndAllowThreads(__tstate
);
12925 if (PyErr_Occurred()) SWIG_fail
;
12927 resultobj
= result
;
12934 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
12936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12937 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12939 return Py_BuildValue((char *)"");
12941 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12942 PyObject
*resultobj
;
12943 wxWindow
*arg1
= (wxWindow
*) 0 ;
12944 wxString
*arg2
= 0 ;
12945 wxString
*arg3
= 0 ;
12946 int arg4
= (int) 0 ;
12947 wxString
*arg5
= (wxString
*) NULL
;
12948 long arg6
= (long) wxCHOICEDLG_STYLE
;
12949 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12950 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12951 wxMultiChoiceDialog
*result
;
12952 bool temp2
= false ;
12953 bool temp3
= false ;
12955 PyObject
* obj0
= 0 ;
12956 PyObject
* obj1
= 0 ;
12957 PyObject
* obj2
= 0 ;
12958 PyObject
* obj3
= 0 ;
12959 PyObject
* obj4
= 0 ;
12960 PyObject
* obj5
= 0 ;
12961 char *kwnames
[] = {
12962 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12969 arg2
= wxString_in_helper(obj1
);
12970 if (arg2
== NULL
) SWIG_fail
;
12974 arg3
= wxString_in_helper(obj2
);
12975 if (arg3
== NULL
) SWIG_fail
;
12980 arg4
= PyList_Size(obj3
);
12981 arg5
= wxString_LIST_helper(obj3
);
12982 if (arg5
== NULL
) SWIG_fail
;
12986 arg6
= (long)SWIG_As_long(obj4
);
12987 if (PyErr_Occurred()) SWIG_fail
;
12992 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12996 if (!wxPyCheckForApp()) SWIG_fail
;
12997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12998 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
13000 wxPyEndAllowThreads(__tstate
);
13001 if (PyErr_Occurred()) SWIG_fail
;
13003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
13013 if (arg5
) delete [] arg5
;
13026 if (arg5
) delete [] arg5
;
13032 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13033 PyObject
*resultobj
;
13034 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
13035 wxArrayInt
*arg2
= 0 ;
13036 bool temp2
= false ;
13037 PyObject
* obj0
= 0 ;
13038 PyObject
* obj1
= 0 ;
13039 char *kwnames
[] = {
13040 (char *) "self",(char *) "selections", NULL
13043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
13044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
13045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13047 if (! PySequence_Check(obj1
)) {
13048 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
13051 arg2
= new wxArrayInt
;
13053 int i
, len
=PySequence_Length(obj1
);
13054 for (i
=0; i
<len
; i
++) {
13055 PyObject
* item
= PySequence_GetItem(obj1
, i
);
13056 PyObject
* number
= PyNumber_Int(item
);
13057 arg2
->Add(PyInt_AS_LONG(number
));
13063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13064 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
13066 wxPyEndAllowThreads(__tstate
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13069 Py_INCREF(Py_None
); resultobj
= Py_None
;
13071 if (temp2
) delete arg2
;
13076 if (temp2
) delete arg2
;
13082 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13083 PyObject
*resultobj
;
13084 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
13086 PyObject
* obj0
= 0 ;
13087 char *kwnames
[] = {
13088 (char *) "self", NULL
13091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
13092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
13093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13096 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
13098 wxPyEndAllowThreads(__tstate
);
13099 if (PyErr_Occurred()) SWIG_fail
;
13101 resultobj
= result
;
13108 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
13110 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13111 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
13113 return Py_BuildValue((char *)"");
13115 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13116 PyObject
*resultobj
;
13117 wxWindow
*arg1
= (wxWindow
*) 0 ;
13118 wxString
*arg2
= 0 ;
13119 wxString
*arg3
= 0 ;
13121 wxString
*arg5
= (wxString
*) 0 ;
13122 long arg6
= (long) wxCHOICEDLG_STYLE
;
13123 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13124 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13125 wxSingleChoiceDialog
*result
;
13126 bool temp2
= false ;
13127 bool temp3
= false ;
13129 PyObject
* obj0
= 0 ;
13130 PyObject
* obj1
= 0 ;
13131 PyObject
* obj2
= 0 ;
13132 PyObject
* obj3
= 0 ;
13133 PyObject
* obj4
= 0 ;
13134 PyObject
* obj5
= 0 ;
13135 char *kwnames
[] = {
13136 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
13139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13143 arg2
= wxString_in_helper(obj1
);
13144 if (arg2
== NULL
) SWIG_fail
;
13148 arg3
= wxString_in_helper(obj2
);
13149 if (arg3
== NULL
) SWIG_fail
;
13153 arg4
= PyList_Size(obj3
);
13154 arg5
= wxString_LIST_helper(obj3
);
13155 if (arg5
== NULL
) SWIG_fail
;
13158 arg6
= (long)SWIG_As_long(obj4
);
13159 if (PyErr_Occurred()) SWIG_fail
;
13164 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
13168 if (!wxPyCheckForApp()) SWIG_fail
;
13169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13170 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
13172 wxPyEndAllowThreads(__tstate
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
13185 if (arg5
) delete [] arg5
;
13198 if (arg5
) delete [] arg5
;
13204 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13205 PyObject
*resultobj
;
13206 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13208 PyObject
* obj0
= 0 ;
13209 char *kwnames
[] = {
13210 (char *) "self", NULL
13213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
13214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13218 result
= (int)(arg1
)->GetSelection();
13220 wxPyEndAllowThreads(__tstate
);
13221 if (PyErr_Occurred()) SWIG_fail
;
13223 resultobj
= SWIG_From_int((int)result
);
13230 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13231 PyObject
*resultobj
;
13232 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13234 PyObject
* obj0
= 0 ;
13235 char *kwnames
[] = {
13236 (char *) "self", NULL
13239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 result
= (arg1
)->GetStringSelection();
13246 wxPyEndAllowThreads(__tstate
);
13247 if (PyErr_Occurred()) SWIG_fail
;
13251 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13253 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13262 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13263 PyObject
*resultobj
;
13264 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13266 PyObject
* obj0
= 0 ;
13267 PyObject
* obj1
= 0 ;
13268 char *kwnames
[] = {
13269 (char *) "self",(char *) "sel", NULL
13272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13275 arg2
= (int)SWIG_As_int(obj1
);
13276 if (PyErr_Occurred()) SWIG_fail
;
13278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13279 (arg1
)->SetSelection(arg2
);
13281 wxPyEndAllowThreads(__tstate
);
13282 if (PyErr_Occurred()) SWIG_fail
;
13284 Py_INCREF(Py_None
); resultobj
= Py_None
;
13291 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
13293 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13294 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
13296 return Py_BuildValue((char *)"");
13298 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13299 PyObject
*resultobj
;
13300 wxWindow
*arg1
= (wxWindow
*) 0 ;
13301 wxString
*arg2
= 0 ;
13302 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
13303 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13304 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13305 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13306 long arg5
= (long) wxTextEntryDialogStyle
;
13307 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
13308 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
13309 wxTextEntryDialog
*result
;
13310 bool temp2
= false ;
13311 bool temp3
= false ;
13312 bool temp4
= false ;
13314 PyObject
* obj0
= 0 ;
13315 PyObject
* obj1
= 0 ;
13316 PyObject
* obj2
= 0 ;
13317 PyObject
* obj3
= 0 ;
13318 PyObject
* obj4
= 0 ;
13319 PyObject
* obj5
= 0 ;
13320 char *kwnames
[] = {
13321 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13328 arg2
= wxString_in_helper(obj1
);
13329 if (arg2
== NULL
) SWIG_fail
;
13334 arg3
= wxString_in_helper(obj2
);
13335 if (arg3
== NULL
) SWIG_fail
;
13341 arg4
= wxString_in_helper(obj3
);
13342 if (arg4
== NULL
) SWIG_fail
;
13347 arg5
= (long)SWIG_As_long(obj4
);
13348 if (PyErr_Occurred()) SWIG_fail
;
13353 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13357 if (!wxPyCheckForApp()) SWIG_fail
;
13358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13359 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
13361 wxPyEndAllowThreads(__tstate
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
13395 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13396 PyObject
*resultobj
;
13397 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13399 PyObject
* obj0
= 0 ;
13400 char *kwnames
[] = {
13401 (char *) "self", NULL
13404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
13405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13409 result
= (arg1
)->GetValue();
13411 wxPyEndAllowThreads(__tstate
);
13412 if (PyErr_Occurred()) SWIG_fail
;
13416 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13418 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13427 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13428 PyObject
*resultobj
;
13429 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13430 wxString
*arg2
= 0 ;
13431 bool temp2
= false ;
13432 PyObject
* obj0
= 0 ;
13433 PyObject
* obj1
= 0 ;
13434 char *kwnames
[] = {
13435 (char *) "self",(char *) "value", NULL
13438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13442 arg2
= wxString_in_helper(obj1
);
13443 if (arg2
== NULL
) SWIG_fail
;
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 (arg1
)->SetValue((wxString
const &)*arg2
);
13450 wxPyEndAllowThreads(__tstate
);
13451 if (PyErr_Occurred()) SWIG_fail
;
13453 Py_INCREF(Py_None
); resultobj
= Py_None
;
13468 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
13470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13471 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
13473 return Py_BuildValue((char *)"");
13475 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
13476 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
13481 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get() {
13486 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
13488 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
13495 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13496 PyObject
*resultobj
;
13497 wxWindow
*arg1
= (wxWindow
*) 0 ;
13498 wxString
*arg2
= 0 ;
13499 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
13500 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13501 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13502 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13503 long arg5
= (long) wxTextEntryDialogStyle
;
13504 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
13505 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
13506 wxPasswordEntryDialog
*result
;
13507 bool temp2
= false ;
13508 bool temp3
= false ;
13509 bool temp4
= false ;
13511 PyObject
* obj0
= 0 ;
13512 PyObject
* obj1
= 0 ;
13513 PyObject
* obj2
= 0 ;
13514 PyObject
* obj3
= 0 ;
13515 PyObject
* obj4
= 0 ;
13516 PyObject
* obj5
= 0 ;
13517 char *kwnames
[] = {
13518 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
13521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13525 arg2
= wxString_in_helper(obj1
);
13526 if (arg2
== NULL
) SWIG_fail
;
13531 arg3
= wxString_in_helper(obj2
);
13532 if (arg3
== NULL
) SWIG_fail
;
13538 arg4
= wxString_in_helper(obj3
);
13539 if (arg4
== NULL
) SWIG_fail
;
13544 arg5
= (long)SWIG_As_long(obj4
);
13545 if (PyErr_Occurred()) SWIG_fail
;
13550 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13555 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
13557 wxPyEndAllowThreads(__tstate
);
13558 if (PyErr_Occurred()) SWIG_fail
;
13560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
13591 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
13593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13594 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
13596 return Py_BuildValue((char *)"");
13598 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13599 PyObject
*resultobj
;
13600 wxFontData
*result
;
13601 char *kwnames
[] = {
13605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
13607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13608 result
= (wxFontData
*)new wxFontData();
13610 wxPyEndAllowThreads(__tstate
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
13620 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13621 PyObject
*resultobj
;
13622 wxFontData
*arg1
= (wxFontData
*) 0 ;
13623 PyObject
* obj0
= 0 ;
13624 char *kwnames
[] = {
13625 (char *) "self", NULL
13628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
13629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13635 wxPyEndAllowThreads(__tstate
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13638 Py_INCREF(Py_None
); resultobj
= Py_None
;
13645 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13646 PyObject
*resultobj
;
13647 wxFontData
*arg1
= (wxFontData
*) 0 ;
13649 PyObject
* obj0
= 0 ;
13650 PyObject
* obj1
= 0 ;
13651 char *kwnames
[] = {
13652 (char *) "self",(char *) "enable", NULL
13655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
13656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13658 arg2
= (bool)SWIG_As_bool(obj1
);
13659 if (PyErr_Occurred()) SWIG_fail
;
13661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13662 (arg1
)->EnableEffects(arg2
);
13664 wxPyEndAllowThreads(__tstate
);
13665 if (PyErr_Occurred()) SWIG_fail
;
13667 Py_INCREF(Py_None
); resultobj
= Py_None
;
13674 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13675 PyObject
*resultobj
;
13676 wxFontData
*arg1
= (wxFontData
*) 0 ;
13678 PyObject
* obj0
= 0 ;
13679 char *kwnames
[] = {
13680 (char *) "self", NULL
13683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
13684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13688 result
= (bool)(arg1
)->GetAllowSymbols();
13690 wxPyEndAllowThreads(__tstate
);
13691 if (PyErr_Occurred()) SWIG_fail
;
13694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13702 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13703 PyObject
*resultobj
;
13704 wxFontData
*arg1
= (wxFontData
*) 0 ;
13706 PyObject
* obj0
= 0 ;
13707 char *kwnames
[] = {
13708 (char *) "self", NULL
13711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
13712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13716 result
= (arg1
)->GetColour();
13718 wxPyEndAllowThreads(__tstate
);
13719 if (PyErr_Occurred()) SWIG_fail
;
13722 wxColour
* resultptr
;
13723 resultptr
= new wxColour((wxColour
&) result
);
13724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13732 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13733 PyObject
*resultobj
;
13734 wxFontData
*arg1
= (wxFontData
*) 0 ;
13736 PyObject
* obj0
= 0 ;
13737 char *kwnames
[] = {
13738 (char *) "self", NULL
13741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13746 result
= (arg1
)->GetChosenFont();
13748 wxPyEndAllowThreads(__tstate
);
13749 if (PyErr_Occurred()) SWIG_fail
;
13752 wxFont
* resultptr
;
13753 resultptr
= new wxFont((wxFont
&) result
);
13754 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13762 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13763 PyObject
*resultobj
;
13764 wxFontData
*arg1
= (wxFontData
*) 0 ;
13766 PyObject
* obj0
= 0 ;
13767 char *kwnames
[] = {
13768 (char *) "self", NULL
13771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13776 result
= (bool)(arg1
)->GetEnableEffects();
13778 wxPyEndAllowThreads(__tstate
);
13779 if (PyErr_Occurred()) SWIG_fail
;
13782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13790 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13791 PyObject
*resultobj
;
13792 wxFontData
*arg1
= (wxFontData
*) 0 ;
13794 PyObject
* obj0
= 0 ;
13795 char *kwnames
[] = {
13796 (char *) "self", NULL
13799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13804 result
= (arg1
)->GetInitialFont();
13806 wxPyEndAllowThreads(__tstate
);
13807 if (PyErr_Occurred()) SWIG_fail
;
13810 wxFont
* resultptr
;
13811 resultptr
= new wxFont((wxFont
&) result
);
13812 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13820 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13821 PyObject
*resultobj
;
13822 wxFontData
*arg1
= (wxFontData
*) 0 ;
13824 PyObject
* obj0
= 0 ;
13825 char *kwnames
[] = {
13826 (char *) "self", NULL
13829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13834 result
= (bool)(arg1
)->GetShowHelp();
13836 wxPyEndAllowThreads(__tstate
);
13837 if (PyErr_Occurred()) SWIG_fail
;
13840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13848 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13849 PyObject
*resultobj
;
13850 wxFontData
*arg1
= (wxFontData
*) 0 ;
13852 PyObject
* obj0
= 0 ;
13853 PyObject
* obj1
= 0 ;
13854 char *kwnames
[] = {
13855 (char *) "self",(char *) "allowSymbols", NULL
13858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13861 arg2
= (bool)SWIG_As_bool(obj1
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13865 (arg1
)->SetAllowSymbols(arg2
);
13867 wxPyEndAllowThreads(__tstate
);
13868 if (PyErr_Occurred()) SWIG_fail
;
13870 Py_INCREF(Py_None
); resultobj
= Py_None
;
13877 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13878 PyObject
*resultobj
;
13879 wxFontData
*arg1
= (wxFontData
*) 0 ;
13881 PyObject
* obj0
= 0 ;
13882 PyObject
* obj1
= 0 ;
13883 char *kwnames
[] = {
13884 (char *) "self",(char *) "font", NULL
13887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13891 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13893 if (arg2
== NULL
) {
13894 PyErr_SetString(PyExc_TypeError
,"null reference");
13898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13899 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13901 wxPyEndAllowThreads(__tstate
);
13902 if (PyErr_Occurred()) SWIG_fail
;
13904 Py_INCREF(Py_None
); resultobj
= Py_None
;
13911 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13912 PyObject
*resultobj
;
13913 wxFontData
*arg1
= (wxFontData
*) 0 ;
13914 wxColour
*arg2
= 0 ;
13916 PyObject
* obj0
= 0 ;
13917 PyObject
* obj1
= 0 ;
13918 char *kwnames
[] = {
13919 (char *) "self",(char *) "colour", NULL
13922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13927 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13931 (arg1
)->SetColour((wxColour
const &)*arg2
);
13933 wxPyEndAllowThreads(__tstate
);
13934 if (PyErr_Occurred()) SWIG_fail
;
13936 Py_INCREF(Py_None
); resultobj
= Py_None
;
13943 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13944 PyObject
*resultobj
;
13945 wxFontData
*arg1
= (wxFontData
*) 0 ;
13947 PyObject
* obj0
= 0 ;
13948 PyObject
* obj1
= 0 ;
13949 char *kwnames
[] = {
13950 (char *) "self",(char *) "font", NULL
13953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13957 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13959 if (arg2
== NULL
) {
13960 PyErr_SetString(PyExc_TypeError
,"null reference");
13964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13965 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13967 wxPyEndAllowThreads(__tstate
);
13968 if (PyErr_Occurred()) SWIG_fail
;
13970 Py_INCREF(Py_None
); resultobj
= Py_None
;
13977 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13978 PyObject
*resultobj
;
13979 wxFontData
*arg1
= (wxFontData
*) 0 ;
13982 PyObject
* obj0
= 0 ;
13983 PyObject
* obj1
= 0 ;
13984 PyObject
* obj2
= 0 ;
13985 char *kwnames
[] = {
13986 (char *) "self",(char *) "min",(char *) "max", NULL
13989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13992 arg2
= (int)SWIG_As_int(obj1
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13994 arg3
= (int)SWIG_As_int(obj2
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13998 (arg1
)->SetRange(arg2
,arg3
);
14000 wxPyEndAllowThreads(__tstate
);
14001 if (PyErr_Occurred()) SWIG_fail
;
14003 Py_INCREF(Py_None
); resultobj
= Py_None
;
14010 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14011 PyObject
*resultobj
;
14012 wxFontData
*arg1
= (wxFontData
*) 0 ;
14014 PyObject
* obj0
= 0 ;
14015 PyObject
* obj1
= 0 ;
14016 char *kwnames
[] = {
14017 (char *) "self",(char *) "showHelp", NULL
14020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
14021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
14022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14023 arg2
= (bool)SWIG_As_bool(obj1
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14027 (arg1
)->SetShowHelp(arg2
);
14029 wxPyEndAllowThreads(__tstate
);
14030 if (PyErr_Occurred()) SWIG_fail
;
14032 Py_INCREF(Py_None
); resultobj
= Py_None
;
14039 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
14041 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14042 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
14044 return Py_BuildValue((char *)"");
14046 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14047 PyObject
*resultobj
;
14048 wxWindow
*arg1
= (wxWindow
*) 0 ;
14049 wxFontData
*arg2
= 0 ;
14050 wxFontDialog
*result
;
14051 PyObject
* obj0
= 0 ;
14052 PyObject
* obj1
= 0 ;
14053 char *kwnames
[] = {
14054 (char *) "parent",(char *) "data", NULL
14057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
14058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14060 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
14061 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14063 if (arg2
== NULL
) {
14064 PyErr_SetString(PyExc_TypeError
,"null reference");
14068 if (!wxPyCheckForApp()) SWIG_fail
;
14069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14070 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
14072 wxPyEndAllowThreads(__tstate
);
14073 if (PyErr_Occurred()) SWIG_fail
;
14075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
14082 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14083 PyObject
*resultobj
;
14084 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
14085 wxFontData
*result
;
14086 PyObject
* obj0
= 0 ;
14087 char *kwnames
[] = {
14088 (char *) "self", NULL
14091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
14092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
14093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14097 wxFontData
&_result_ref
= (arg1
)->GetFontData();
14098 result
= (wxFontData
*) &_result_ref
;
14101 wxPyEndAllowThreads(__tstate
);
14102 if (PyErr_Occurred()) SWIG_fail
;
14104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
14111 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
14113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14114 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
14116 return Py_BuildValue((char *)"");
14118 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14119 PyObject
*resultobj
;
14120 wxWindow
*arg1
= (wxWindow
*) 0 ;
14121 wxString
*arg2
= 0 ;
14122 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
14123 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14124 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
14125 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14126 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14127 wxMessageDialog
*result
;
14128 bool temp2
= false ;
14129 bool temp3
= false ;
14131 PyObject
* obj0
= 0 ;
14132 PyObject
* obj1
= 0 ;
14133 PyObject
* obj2
= 0 ;
14134 PyObject
* obj3
= 0 ;
14135 PyObject
* obj4
= 0 ;
14136 char *kwnames
[] = {
14137 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
14140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14144 arg2
= wxString_in_helper(obj1
);
14145 if (arg2
== NULL
) SWIG_fail
;
14150 arg3
= wxString_in_helper(obj2
);
14151 if (arg3
== NULL
) SWIG_fail
;
14156 arg4
= (long)SWIG_As_long(obj3
);
14157 if (PyErr_Occurred()) SWIG_fail
;
14162 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14166 if (!wxPyCheckForApp()) SWIG_fail
;
14167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14168 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
14170 wxPyEndAllowThreads(__tstate
);
14171 if (PyErr_Occurred()) SWIG_fail
;
14173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
14196 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
14198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14199 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
14201 return Py_BuildValue((char *)"");
14203 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14204 PyObject
*resultobj
;
14205 wxString
*arg1
= 0 ;
14206 wxString
*arg2
= 0 ;
14207 int arg3
= (int) 100 ;
14208 wxWindow
*arg4
= (wxWindow
*) NULL
;
14209 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
14210 wxProgressDialog
*result
;
14211 bool temp1
= false ;
14212 bool temp2
= false ;
14213 PyObject
* obj0
= 0 ;
14214 PyObject
* obj1
= 0 ;
14215 PyObject
* obj2
= 0 ;
14216 PyObject
* obj3
= 0 ;
14217 PyObject
* obj4
= 0 ;
14218 char *kwnames
[] = {
14219 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
14222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14224 arg1
= wxString_in_helper(obj0
);
14225 if (arg1
== NULL
) SWIG_fail
;
14229 arg2
= wxString_in_helper(obj1
);
14230 if (arg2
== NULL
) SWIG_fail
;
14234 arg3
= (int)SWIG_As_int(obj2
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14238 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
14239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14242 arg5
= (int)SWIG_As_int(obj4
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14246 if (!wxPyCheckForApp()) SWIG_fail
;
14247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14248 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
14250 wxPyEndAllowThreads(__tstate
);
14251 if (PyErr_Occurred()) SWIG_fail
;
14253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
14276 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14277 PyObject
*resultobj
;
14278 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
14280 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14281 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14283 bool temp3
= false ;
14284 PyObject
* obj0
= 0 ;
14285 PyObject
* obj1
= 0 ;
14286 PyObject
* obj2
= 0 ;
14287 char *kwnames
[] = {
14288 (char *) "self",(char *) "value",(char *) "newmsg", NULL
14291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
14293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14294 arg2
= (int)SWIG_As_int(obj1
);
14295 if (PyErr_Occurred()) SWIG_fail
;
14298 arg3
= wxString_in_helper(obj2
);
14299 if (arg3
== NULL
) SWIG_fail
;
14304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14305 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
14307 wxPyEndAllowThreads(__tstate
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14327 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14328 PyObject
*resultobj
;
14329 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
14330 PyObject
* obj0
= 0 ;
14331 char *kwnames
[] = {
14332 (char *) "self", NULL
14335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
14336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
14337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14342 wxPyEndAllowThreads(__tstate
);
14343 if (PyErr_Occurred()) SWIG_fail
;
14345 Py_INCREF(Py_None
); resultobj
= Py_None
;
14352 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
14354 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14355 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
14357 return Py_BuildValue((char *)"");
14359 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14360 PyObject
*resultobj
;
14361 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14362 int arg2
= (int) 0 ;
14363 wxFindDialogEvent
*result
;
14364 PyObject
* obj0
= 0 ;
14365 PyObject
* obj1
= 0 ;
14366 char *kwnames
[] = {
14367 (char *) "commandType",(char *) "id", NULL
14370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14372 arg1
= (wxEventType
)SWIG_As_int(obj0
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14376 arg2
= (int)SWIG_As_int(obj1
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14381 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
14383 wxPyEndAllowThreads(__tstate
);
14384 if (PyErr_Occurred()) SWIG_fail
;
14386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
14393 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14394 PyObject
*resultobj
;
14395 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14397 PyObject
* obj0
= 0 ;
14398 char *kwnames
[] = {
14399 (char *) "self", NULL
14402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
14403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14407 result
= (int)(arg1
)->GetFlags();
14409 wxPyEndAllowThreads(__tstate
);
14410 if (PyErr_Occurred()) SWIG_fail
;
14412 resultobj
= SWIG_From_int((int)result
);
14419 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14420 PyObject
*resultobj
;
14421 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14423 PyObject
* obj0
= 0 ;
14424 char *kwnames
[] = {
14425 (char *) "self", NULL
14428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
14429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14434 wxString
const &_result_ref
= (arg1
)->GetFindString();
14435 result
= (wxString
*) &_result_ref
;
14438 wxPyEndAllowThreads(__tstate
);
14439 if (PyErr_Occurred()) SWIG_fail
;
14443 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14445 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14454 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14455 PyObject
*resultobj
;
14456 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14458 PyObject
* obj0
= 0 ;
14459 char *kwnames
[] = {
14460 (char *) "self", NULL
14463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14469 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14470 result
= (wxString
*) &_result_ref
;
14473 wxPyEndAllowThreads(__tstate
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14478 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14480 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14489 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14490 PyObject
*resultobj
;
14491 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14492 wxFindReplaceDialog
*result
;
14493 PyObject
* obj0
= 0 ;
14494 char *kwnames
[] = {
14495 (char *) "self", NULL
14498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
14499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14503 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
14505 wxPyEndAllowThreads(__tstate
);
14506 if (PyErr_Occurred()) SWIG_fail
;
14508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
14515 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14516 PyObject
*resultobj
;
14517 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14519 PyObject
* obj0
= 0 ;
14520 PyObject
* obj1
= 0 ;
14521 char *kwnames
[] = {
14522 (char *) "self",(char *) "flags", NULL
14525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14528 arg2
= (int)SWIG_As_int(obj1
);
14529 if (PyErr_Occurred()) SWIG_fail
;
14531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14532 (arg1
)->SetFlags(arg2
);
14534 wxPyEndAllowThreads(__tstate
);
14535 if (PyErr_Occurred()) SWIG_fail
;
14537 Py_INCREF(Py_None
); resultobj
= Py_None
;
14544 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14545 PyObject
*resultobj
;
14546 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14547 wxString
*arg2
= 0 ;
14548 bool temp2
= false ;
14549 PyObject
* obj0
= 0 ;
14550 PyObject
* obj1
= 0 ;
14551 char *kwnames
[] = {
14552 (char *) "self",(char *) "str", NULL
14555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14559 arg2
= wxString_in_helper(obj1
);
14560 if (arg2
== NULL
) SWIG_fail
;
14564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14565 (arg1
)->SetFindString((wxString
const &)*arg2
);
14567 wxPyEndAllowThreads(__tstate
);
14568 if (PyErr_Occurred()) SWIG_fail
;
14570 Py_INCREF(Py_None
); resultobj
= Py_None
;
14585 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14586 PyObject
*resultobj
;
14587 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14588 wxString
*arg2
= 0 ;
14589 bool temp2
= false ;
14590 PyObject
* obj0
= 0 ;
14591 PyObject
* obj1
= 0 ;
14592 char *kwnames
[] = {
14593 (char *) "self",(char *) "str", NULL
14596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14600 arg2
= wxString_in_helper(obj1
);
14601 if (arg2
== NULL
) SWIG_fail
;
14605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14606 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14608 wxPyEndAllowThreads(__tstate
);
14609 if (PyErr_Occurred()) SWIG_fail
;
14611 Py_INCREF(Py_None
); resultobj
= Py_None
;
14626 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
14628 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14629 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
14631 return Py_BuildValue((char *)"");
14633 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14634 PyObject
*resultobj
;
14635 int arg1
= (int) 0 ;
14636 wxFindReplaceData
*result
;
14637 PyObject
* obj0
= 0 ;
14638 char *kwnames
[] = {
14639 (char *) "flags", NULL
14642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14644 arg1
= (int)SWIG_As_int(obj0
);
14645 if (PyErr_Occurred()) SWIG_fail
;
14648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14649 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
14651 wxPyEndAllowThreads(__tstate
);
14652 if (PyErr_Occurred()) SWIG_fail
;
14654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
14661 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14662 PyObject
*resultobj
;
14663 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14664 PyObject
* obj0
= 0 ;
14665 char *kwnames
[] = {
14666 (char *) "self", NULL
14669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14676 wxPyEndAllowThreads(__tstate
);
14677 if (PyErr_Occurred()) SWIG_fail
;
14679 Py_INCREF(Py_None
); resultobj
= Py_None
;
14686 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14687 PyObject
*resultobj
;
14688 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14690 PyObject
* obj0
= 0 ;
14691 char *kwnames
[] = {
14692 (char *) "self", NULL
14695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
14696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14701 wxString
const &_result_ref
= (arg1
)->GetFindString();
14702 result
= (wxString
*) &_result_ref
;
14705 wxPyEndAllowThreads(__tstate
);
14706 if (PyErr_Occurred()) SWIG_fail
;
14710 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14712 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14721 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14722 PyObject
*resultobj
;
14723 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14725 PyObject
* obj0
= 0 ;
14726 char *kwnames
[] = {
14727 (char *) "self", NULL
14730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14737 result
= (wxString
*) &_result_ref
;
14740 wxPyEndAllowThreads(__tstate
);
14741 if (PyErr_Occurred()) SWIG_fail
;
14745 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14747 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14756 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14757 PyObject
*resultobj
;
14758 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14760 PyObject
* obj0
= 0 ;
14761 char *kwnames
[] = {
14762 (char *) "self", NULL
14765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14770 result
= (int)(arg1
)->GetFlags();
14772 wxPyEndAllowThreads(__tstate
);
14773 if (PyErr_Occurred()) SWIG_fail
;
14775 resultobj
= SWIG_From_int((int)result
);
14782 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14783 PyObject
*resultobj
;
14784 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14786 PyObject
* obj0
= 0 ;
14787 PyObject
* obj1
= 0 ;
14788 char *kwnames
[] = {
14789 (char *) "self",(char *) "flags", NULL
14792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14795 arg2
= (int)SWIG_As_int(obj1
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14799 (arg1
)->SetFlags(arg2
);
14801 wxPyEndAllowThreads(__tstate
);
14802 if (PyErr_Occurred()) SWIG_fail
;
14804 Py_INCREF(Py_None
); resultobj
= Py_None
;
14811 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14812 PyObject
*resultobj
;
14813 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14814 wxString
*arg2
= 0 ;
14815 bool temp2
= false ;
14816 PyObject
* obj0
= 0 ;
14817 PyObject
* obj1
= 0 ;
14818 char *kwnames
[] = {
14819 (char *) "self",(char *) "str", NULL
14822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14826 arg2
= wxString_in_helper(obj1
);
14827 if (arg2
== NULL
) SWIG_fail
;
14831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14832 (arg1
)->SetFindString((wxString
const &)*arg2
);
14834 wxPyEndAllowThreads(__tstate
);
14835 if (PyErr_Occurred()) SWIG_fail
;
14837 Py_INCREF(Py_None
); resultobj
= Py_None
;
14852 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14853 PyObject
*resultobj
;
14854 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14855 wxString
*arg2
= 0 ;
14856 bool temp2
= false ;
14857 PyObject
* obj0
= 0 ;
14858 PyObject
* obj1
= 0 ;
14859 char *kwnames
[] = {
14860 (char *) "self",(char *) "str", NULL
14863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14867 arg2
= wxString_in_helper(obj1
);
14868 if (arg2
== NULL
) SWIG_fail
;
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14873 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14875 wxPyEndAllowThreads(__tstate
);
14876 if (PyErr_Occurred()) SWIG_fail
;
14878 Py_INCREF(Py_None
); resultobj
= Py_None
;
14893 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
14895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14896 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14898 return Py_BuildValue((char *)"");
14900 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14901 PyObject
*resultobj
;
14902 wxWindow
*arg1
= (wxWindow
*) 0 ;
14903 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14904 wxString
*arg3
= 0 ;
14905 int arg4
= (int) 0 ;
14906 wxFindReplaceDialog
*result
;
14907 bool temp3
= false ;
14908 PyObject
* obj0
= 0 ;
14909 PyObject
* obj1
= 0 ;
14910 PyObject
* obj2
= 0 ;
14911 PyObject
* obj3
= 0 ;
14912 char *kwnames
[] = {
14913 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14919 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14922 arg3
= wxString_in_helper(obj2
);
14923 if (arg3
== NULL
) SWIG_fail
;
14927 arg4
= (int)SWIG_As_int(obj3
);
14928 if (PyErr_Occurred()) SWIG_fail
;
14931 if (!wxPyCheckForApp()) SWIG_fail
;
14932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14933 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14935 wxPyEndAllowThreads(__tstate
);
14936 if (PyErr_Occurred()) SWIG_fail
;
14938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14953 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14954 PyObject
*resultobj
;
14955 wxFindReplaceDialog
*result
;
14956 char *kwnames
[] = {
14960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14962 if (!wxPyCheckForApp()) SWIG_fail
;
14963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14964 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14966 wxPyEndAllowThreads(__tstate
);
14967 if (PyErr_Occurred()) SWIG_fail
;
14969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14976 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14977 PyObject
*resultobj
;
14978 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14979 wxWindow
*arg2
= (wxWindow
*) 0 ;
14980 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14981 wxString
*arg4
= 0 ;
14982 int arg5
= (int) 0 ;
14984 bool temp4
= false ;
14985 PyObject
* obj0
= 0 ;
14986 PyObject
* obj1
= 0 ;
14987 PyObject
* obj2
= 0 ;
14988 PyObject
* obj3
= 0 ;
14989 PyObject
* obj4
= 0 ;
14990 char *kwnames
[] = {
14991 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14999 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
15000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15002 arg4
= wxString_in_helper(obj3
);
15003 if (arg4
== NULL
) SWIG_fail
;
15007 arg5
= (int)SWIG_As_int(obj4
);
15008 if (PyErr_Occurred()) SWIG_fail
;
15011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15012 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
15014 wxPyEndAllowThreads(__tstate
);
15015 if (PyErr_Occurred()) SWIG_fail
;
15018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15034 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15035 PyObject
*resultobj
;
15036 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
15037 wxFindReplaceData
*result
;
15038 PyObject
* obj0
= 0 ;
15039 char *kwnames
[] = {
15040 (char *) "self", NULL
15043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
15044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
15045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15048 result
= (wxFindReplaceData
*)(arg1
)->GetData();
15050 wxPyEndAllowThreads(__tstate
);
15051 if (PyErr_Occurred()) SWIG_fail
;
15053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
15060 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15061 PyObject
*resultobj
;
15062 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
15063 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
15064 PyObject
* obj0
= 0 ;
15065 PyObject
* obj1
= 0 ;
15066 char *kwnames
[] = {
15067 (char *) "self",(char *) "data", NULL
15070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
15071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
15072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15073 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
15074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15077 (arg1
)->SetData(arg2
);
15079 wxPyEndAllowThreads(__tstate
);
15080 if (PyErr_Occurred()) SWIG_fail
;
15082 Py_INCREF(Py_None
); resultobj
= Py_None
;
15089 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
15091 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15092 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
15094 return Py_BuildValue((char *)"");
15096 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15097 PyObject
*resultobj
;
15098 wxWindow
*arg1
= (wxWindow
*) 0 ;
15099 int arg2
= (int) (int)-1 ;
15100 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15101 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15102 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15103 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15104 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15105 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15106 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
15107 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
15108 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15109 wxMDIParentFrame
*result
;
15110 bool temp3
= false ;
15113 bool temp7
= false ;
15114 PyObject
* obj0
= 0 ;
15115 PyObject
* obj1
= 0 ;
15116 PyObject
* obj2
= 0 ;
15117 PyObject
* obj3
= 0 ;
15118 PyObject
* obj4
= 0 ;
15119 PyObject
* obj5
= 0 ;
15120 PyObject
* obj6
= 0 ;
15121 char *kwnames
[] = {
15122 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15129 arg2
= (int)SWIG_As_int(obj1
);
15130 if (PyErr_Occurred()) SWIG_fail
;
15134 arg3
= wxString_in_helper(obj2
);
15135 if (arg3
== NULL
) SWIG_fail
;
15142 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15148 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15152 arg6
= (long)SWIG_As_long(obj5
);
15153 if (PyErr_Occurred()) SWIG_fail
;
15157 arg7
= wxString_in_helper(obj6
);
15158 if (arg7
== NULL
) SWIG_fail
;
15163 if (!wxPyCheckForApp()) SWIG_fail
;
15164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15165 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15167 wxPyEndAllowThreads(__tstate
);
15168 if (PyErr_Occurred()) SWIG_fail
;
15170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
15193 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15194 PyObject
*resultobj
;
15195 wxMDIParentFrame
*result
;
15196 char *kwnames
[] = {
15200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
15202 if (!wxPyCheckForApp()) SWIG_fail
;
15203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15204 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
15206 wxPyEndAllowThreads(__tstate
);
15207 if (PyErr_Occurred()) SWIG_fail
;
15209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
15216 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15217 PyObject
*resultobj
;
15218 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15219 wxWindow
*arg2
= (wxWindow
*) 0 ;
15220 int arg3
= (int) (int)-1 ;
15221 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15222 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15223 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15224 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15225 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15226 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15227 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
15228 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15229 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15231 bool temp4
= false ;
15234 bool temp8
= false ;
15235 PyObject
* obj0
= 0 ;
15236 PyObject
* obj1
= 0 ;
15237 PyObject
* obj2
= 0 ;
15238 PyObject
* obj3
= 0 ;
15239 PyObject
* obj4
= 0 ;
15240 PyObject
* obj5
= 0 ;
15241 PyObject
* obj6
= 0 ;
15242 PyObject
* obj7
= 0 ;
15243 char *kwnames
[] = {
15244 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15250 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15253 arg3
= (int)SWIG_As_int(obj2
);
15254 if (PyErr_Occurred()) SWIG_fail
;
15258 arg4
= wxString_in_helper(obj3
);
15259 if (arg4
== NULL
) SWIG_fail
;
15266 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15272 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15276 arg7
= (long)SWIG_As_long(obj6
);
15277 if (PyErr_Occurred()) SWIG_fail
;
15281 arg8
= wxString_in_helper(obj7
);
15282 if (arg8
== NULL
) SWIG_fail
;
15287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15288 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15290 wxPyEndAllowThreads(__tstate
);
15291 if (PyErr_Occurred()) SWIG_fail
;
15294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15318 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15319 PyObject
*resultobj
;
15320 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15321 PyObject
* obj0
= 0 ;
15322 char *kwnames
[] = {
15323 (char *) "self", NULL
15326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
15327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15331 (arg1
)->ActivateNext();
15333 wxPyEndAllowThreads(__tstate
);
15334 if (PyErr_Occurred()) SWIG_fail
;
15336 Py_INCREF(Py_None
); resultobj
= Py_None
;
15343 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15344 PyObject
*resultobj
;
15345 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15346 PyObject
* obj0
= 0 ;
15347 char *kwnames
[] = {
15348 (char *) "self", NULL
15351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
15352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15356 (arg1
)->ActivatePrevious();
15358 wxPyEndAllowThreads(__tstate
);
15359 if (PyErr_Occurred()) SWIG_fail
;
15361 Py_INCREF(Py_None
); resultobj
= Py_None
;
15368 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15369 PyObject
*resultobj
;
15370 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15371 PyObject
* obj0
= 0 ;
15372 char *kwnames
[] = {
15373 (char *) "self", NULL
15376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
15377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15381 (arg1
)->ArrangeIcons();
15383 wxPyEndAllowThreads(__tstate
);
15384 if (PyErr_Occurred()) SWIG_fail
;
15386 Py_INCREF(Py_None
); resultobj
= Py_None
;
15393 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15394 PyObject
*resultobj
;
15395 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15396 PyObject
* obj0
= 0 ;
15397 char *kwnames
[] = {
15398 (char *) "self", NULL
15401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
15402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15408 wxPyEndAllowThreads(__tstate
);
15409 if (PyErr_Occurred()) SWIG_fail
;
15411 Py_INCREF(Py_None
); resultobj
= Py_None
;
15418 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15419 PyObject
*resultobj
;
15420 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15421 wxMDIChildFrame
*result
;
15422 PyObject
* obj0
= 0 ;
15423 char *kwnames
[] = {
15424 (char *) "self", NULL
15427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
15428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15432 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
15434 wxPyEndAllowThreads(__tstate
);
15435 if (PyErr_Occurred()) SWIG_fail
;
15438 resultobj
= wxPyMake_wxObject(result
, 0);
15446 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15447 PyObject
*resultobj
;
15448 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15449 wxMDIClientWindow
*result
;
15450 PyObject
* obj0
= 0 ;
15451 char *kwnames
[] = {
15452 (char *) "self", NULL
15455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
15456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15460 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
15462 wxPyEndAllowThreads(__tstate
);
15463 if (PyErr_Occurred()) SWIG_fail
;
15466 resultobj
= wxPyMake_wxObject(result
, 0);
15474 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15475 PyObject
*resultobj
;
15476 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15478 PyObject
* obj0
= 0 ;
15479 char *kwnames
[] = {
15480 (char *) "self", NULL
15483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
15484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15488 result
= (wxWindow
*)(arg1
)->GetToolBar();
15490 wxPyEndAllowThreads(__tstate
);
15491 if (PyErr_Occurred()) SWIG_fail
;
15494 resultobj
= wxPyMake_wxObject(result
, 0);
15502 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15503 PyObject
*resultobj
;
15504 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15505 PyObject
* obj0
= 0 ;
15506 char *kwnames
[] = {
15507 (char *) "self", NULL
15510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
15511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15517 wxPyEndAllowThreads(__tstate
);
15518 if (PyErr_Occurred()) SWIG_fail
;
15520 Py_INCREF(Py_None
); resultobj
= Py_None
;
15527 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
15529 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15530 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
15532 return Py_BuildValue((char *)"");
15534 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15535 PyObject
*resultobj
;
15536 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15537 int arg2
= (int) (int)-1 ;
15538 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15539 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15540 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15541 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15542 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15543 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15544 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
15545 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
15546 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15547 wxMDIChildFrame
*result
;
15548 bool temp3
= false ;
15551 bool temp7
= false ;
15552 PyObject
* obj0
= 0 ;
15553 PyObject
* obj1
= 0 ;
15554 PyObject
* obj2
= 0 ;
15555 PyObject
* obj3
= 0 ;
15556 PyObject
* obj4
= 0 ;
15557 PyObject
* obj5
= 0 ;
15558 PyObject
* obj6
= 0 ;
15559 char *kwnames
[] = {
15560 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15567 arg2
= (int)SWIG_As_int(obj1
);
15568 if (PyErr_Occurred()) SWIG_fail
;
15572 arg3
= wxString_in_helper(obj2
);
15573 if (arg3
== NULL
) SWIG_fail
;
15580 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15586 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15590 arg6
= (long)SWIG_As_long(obj5
);
15591 if (PyErr_Occurred()) SWIG_fail
;
15595 arg7
= wxString_in_helper(obj6
);
15596 if (arg7
== NULL
) SWIG_fail
;
15601 if (!wxPyCheckForApp()) SWIG_fail
;
15602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15603 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15605 wxPyEndAllowThreads(__tstate
);
15606 if (PyErr_Occurred()) SWIG_fail
;
15608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15631 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15632 PyObject
*resultobj
;
15633 wxMDIChildFrame
*result
;
15634 char *kwnames
[] = {
15638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
15640 if (!wxPyCheckForApp()) SWIG_fail
;
15641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15642 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
15644 wxPyEndAllowThreads(__tstate
);
15645 if (PyErr_Occurred()) SWIG_fail
;
15647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15654 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15655 PyObject
*resultobj
;
15656 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15657 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15658 int arg3
= (int) (int)-1 ;
15659 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15660 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15661 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15662 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15663 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15664 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15665 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
15666 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15667 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15669 bool temp4
= false ;
15672 bool temp8
= false ;
15673 PyObject
* obj0
= 0 ;
15674 PyObject
* obj1
= 0 ;
15675 PyObject
* obj2
= 0 ;
15676 PyObject
* obj3
= 0 ;
15677 PyObject
* obj4
= 0 ;
15678 PyObject
* obj5
= 0 ;
15679 PyObject
* obj6
= 0 ;
15680 PyObject
* obj7
= 0 ;
15681 char *kwnames
[] = {
15682 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15688 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15691 arg3
= (int)SWIG_As_int(obj2
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15696 arg4
= wxString_in_helper(obj3
);
15697 if (arg4
== NULL
) SWIG_fail
;
15704 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15710 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15714 arg7
= (long)SWIG_As_long(obj6
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15719 arg8
= wxString_in_helper(obj7
);
15720 if (arg8
== NULL
) SWIG_fail
;
15725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15726 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15728 wxPyEndAllowThreads(__tstate
);
15729 if (PyErr_Occurred()) SWIG_fail
;
15732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15756 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15757 PyObject
*resultobj
;
15758 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15759 PyObject
* obj0
= 0 ;
15760 char *kwnames
[] = {
15761 (char *) "self", NULL
15764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15769 (arg1
)->Activate();
15771 wxPyEndAllowThreads(__tstate
);
15772 if (PyErr_Occurred()) SWIG_fail
;
15774 Py_INCREF(Py_None
); resultobj
= Py_None
;
15781 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15782 PyObject
*resultobj
;
15783 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15784 bool arg2
= (bool) true ;
15785 PyObject
* obj0
= 0 ;
15786 PyObject
* obj1
= 0 ;
15787 char *kwnames
[] = {
15788 (char *) "self",(char *) "maximize", NULL
15791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15795 arg2
= (bool)SWIG_As_bool(obj1
);
15796 if (PyErr_Occurred()) SWIG_fail
;
15799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15800 (arg1
)->Maximize(arg2
);
15802 wxPyEndAllowThreads(__tstate
);
15803 if (PyErr_Occurred()) SWIG_fail
;
15805 Py_INCREF(Py_None
); resultobj
= Py_None
;
15812 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15813 PyObject
*resultobj
;
15814 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15815 PyObject
* obj0
= 0 ;
15816 char *kwnames
[] = {
15817 (char *) "self", NULL
15820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15827 wxPyEndAllowThreads(__tstate
);
15828 if (PyErr_Occurred()) SWIG_fail
;
15830 Py_INCREF(Py_None
); resultobj
= Py_None
;
15837 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
15839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15840 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15842 return Py_BuildValue((char *)"");
15844 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15845 PyObject
*resultobj
;
15846 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15847 long arg2
= (long) 0 ;
15848 wxMDIClientWindow
*result
;
15849 PyObject
* obj0
= 0 ;
15850 PyObject
* obj1
= 0 ;
15851 char *kwnames
[] = {
15852 (char *) "parent",(char *) "style", NULL
15855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15859 arg2
= (long)SWIG_As_long(obj1
);
15860 if (PyErr_Occurred()) SWIG_fail
;
15863 if (!wxPyCheckForApp()) SWIG_fail
;
15864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15865 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15867 wxPyEndAllowThreads(__tstate
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15877 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15878 PyObject
*resultobj
;
15879 wxMDIClientWindow
*result
;
15880 char *kwnames
[] = {
15884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15886 if (!wxPyCheckForApp()) SWIG_fail
;
15887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15888 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15890 wxPyEndAllowThreads(__tstate
);
15891 if (PyErr_Occurred()) SWIG_fail
;
15893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15900 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15901 PyObject
*resultobj
;
15902 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15903 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15904 long arg3
= (long) 0 ;
15906 PyObject
* obj0
= 0 ;
15907 PyObject
* obj1
= 0 ;
15908 PyObject
* obj2
= 0 ;
15909 char *kwnames
[] = {
15910 (char *) "self",(char *) "parent",(char *) "style", NULL
15913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15916 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15919 arg3
= (long)SWIG_As_long(obj2
);
15920 if (PyErr_Occurred()) SWIG_fail
;
15923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15924 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15926 wxPyEndAllowThreads(__tstate
);
15927 if (PyErr_Occurred()) SWIG_fail
;
15930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15938 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
15940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15941 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15943 return Py_BuildValue((char *)"");
15945 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15946 PyObject
*resultobj
;
15947 wxWindow
*arg1
= (wxWindow
*) 0 ;
15948 int arg2
= (int) (int)-1 ;
15949 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15950 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15951 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15952 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15953 long arg5
= (long) 0 ;
15954 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15955 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15956 wxPyWindow
*result
;
15959 bool temp6
= false ;
15960 PyObject
* obj0
= 0 ;
15961 PyObject
* obj1
= 0 ;
15962 PyObject
* obj2
= 0 ;
15963 PyObject
* obj3
= 0 ;
15964 PyObject
* obj4
= 0 ;
15965 PyObject
* obj5
= 0 ;
15966 char *kwnames
[] = {
15967 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15974 arg2
= (int)SWIG_As_int(obj1
);
15975 if (PyErr_Occurred()) SWIG_fail
;
15980 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15986 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15990 arg5
= (long)SWIG_As_long(obj4
);
15991 if (PyErr_Occurred()) SWIG_fail
;
15995 arg6
= wxString_in_helper(obj5
);
15996 if (arg6
== NULL
) SWIG_fail
;
16001 if (!wxPyCheckForApp()) SWIG_fail
;
16002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16003 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16005 wxPyEndAllowThreads(__tstate
);
16006 if (PyErr_Occurred()) SWIG_fail
;
16008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
16023 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16024 PyObject
*resultobj
;
16025 wxPyWindow
*result
;
16026 char *kwnames
[] = {
16030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
16032 if (!wxPyCheckForApp()) SWIG_fail
;
16033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16034 result
= (wxPyWindow
*)new wxPyWindow();
16036 wxPyEndAllowThreads(__tstate
);
16037 if (PyErr_Occurred()) SWIG_fail
;
16039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
16046 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16047 PyObject
*resultobj
;
16048 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16049 PyObject
*arg2
= (PyObject
*) 0 ;
16050 PyObject
*arg3
= (PyObject
*) 0 ;
16051 PyObject
* obj0
= 0 ;
16052 PyObject
* obj1
= 0 ;
16053 PyObject
* obj2
= 0 ;
16054 char *kwnames
[] = {
16055 (char *) "self",(char *) "self",(char *) "_class", NULL
16058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16065 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16067 wxPyEndAllowThreads(__tstate
);
16068 if (PyErr_Occurred()) SWIG_fail
;
16070 Py_INCREF(Py_None
); resultobj
= Py_None
;
16077 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16078 PyObject
*resultobj
;
16079 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16082 PyObject
* obj0
= 0 ;
16083 PyObject
* obj1
= 0 ;
16084 char *kwnames
[] = {
16085 (char *) "self",(char *) "size", NULL
16088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16093 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16097 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16099 wxPyEndAllowThreads(__tstate
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16102 Py_INCREF(Py_None
); resultobj
= Py_None
;
16109 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16110 PyObject
*resultobj
;
16111 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16116 PyObject
* obj0
= 0 ;
16117 PyObject
* obj1
= 0 ;
16118 PyObject
* obj2
= 0 ;
16119 PyObject
* obj3
= 0 ;
16120 PyObject
* obj4
= 0 ;
16121 char *kwnames
[] = {
16122 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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
;
16132 arg4
= (int)SWIG_As_int(obj3
);
16133 if (PyErr_Occurred()) SWIG_fail
;
16134 arg5
= (int)SWIG_As_int(obj4
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16138 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16140 wxPyEndAllowThreads(__tstate
);
16141 if (PyErr_Occurred()) SWIG_fail
;
16143 Py_INCREF(Py_None
); resultobj
= Py_None
;
16150 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16151 PyObject
*resultobj
;
16152 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16157 int arg6
= (int) wxSIZE_AUTO
;
16158 PyObject
* obj0
= 0 ;
16159 PyObject
* obj1
= 0 ;
16160 PyObject
* obj2
= 0 ;
16161 PyObject
* obj3
= 0 ;
16162 PyObject
* obj4
= 0 ;
16163 PyObject
* obj5
= 0 ;
16164 char *kwnames
[] = {
16165 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16171 arg2
= (int)SWIG_As_int(obj1
);
16172 if (PyErr_Occurred()) SWIG_fail
;
16173 arg3
= (int)SWIG_As_int(obj2
);
16174 if (PyErr_Occurred()) SWIG_fail
;
16175 arg4
= (int)SWIG_As_int(obj3
);
16176 if (PyErr_Occurred()) SWIG_fail
;
16177 arg5
= (int)SWIG_As_int(obj4
);
16178 if (PyErr_Occurred()) SWIG_fail
;
16180 arg6
= (int)SWIG_As_int(obj5
);
16181 if (PyErr_Occurred()) SWIG_fail
;
16184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16185 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16187 wxPyEndAllowThreads(__tstate
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16190 Py_INCREF(Py_None
); resultobj
= Py_None
;
16197 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16198 PyObject
*resultobj
;
16199 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16202 PyObject
* obj0
= 0 ;
16203 PyObject
* obj1
= 0 ;
16204 PyObject
* obj2
= 0 ;
16205 char *kwnames
[] = {
16206 (char *) "self",(char *) "width",(char *) "height", NULL
16209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16212 arg2
= (int)SWIG_As_int(obj1
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16214 arg3
= (int)SWIG_As_int(obj2
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16218 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16220 wxPyEndAllowThreads(__tstate
);
16221 if (PyErr_Occurred()) SWIG_fail
;
16223 Py_INCREF(Py_None
); resultobj
= Py_None
;
16230 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16231 PyObject
*resultobj
;
16232 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16235 PyObject
* obj0
= 0 ;
16236 PyObject
* obj1
= 0 ;
16237 PyObject
* obj2
= 0 ;
16238 char *kwnames
[] = {
16239 (char *) "self",(char *) "x",(char *) "y", NULL
16242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16245 arg2
= (int)SWIG_As_int(obj1
);
16246 if (PyErr_Occurred()) SWIG_fail
;
16247 arg3
= (int)SWIG_As_int(obj2
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16251 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16253 wxPyEndAllowThreads(__tstate
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16256 Py_INCREF(Py_None
); resultobj
= Py_None
;
16263 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16264 PyObject
*resultobj
;
16265 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16266 int *arg2
= (int *) 0 ;
16267 int *arg3
= (int *) 0 ;
16272 PyObject
* obj0
= 0 ;
16273 char *kwnames
[] = {
16274 (char *) "self", NULL
16277 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16278 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16284 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16286 wxPyEndAllowThreads(__tstate
);
16287 if (PyErr_Occurred()) SWIG_fail
;
16289 Py_INCREF(Py_None
); resultobj
= Py_None
;
16290 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16291 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16292 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16293 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16300 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16301 PyObject
*resultobj
;
16302 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16303 int *arg2
= (int *) 0 ;
16304 int *arg3
= (int *) 0 ;
16309 PyObject
* obj0
= 0 ;
16310 char *kwnames
[] = {
16311 (char *) "self", NULL
16314 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16315 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16321 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16323 wxPyEndAllowThreads(__tstate
);
16324 if (PyErr_Occurred()) SWIG_fail
;
16326 Py_INCREF(Py_None
); resultobj
= Py_None
;
16327 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16328 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16329 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16330 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16337 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16338 PyObject
*resultobj
;
16339 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16340 int *arg2
= (int *) 0 ;
16341 int *arg3
= (int *) 0 ;
16346 PyObject
* obj0
= 0 ;
16347 char *kwnames
[] = {
16348 (char *) "self", NULL
16351 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16352 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16358 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16360 wxPyEndAllowThreads(__tstate
);
16361 if (PyErr_Occurred()) SWIG_fail
;
16363 Py_INCREF(Py_None
); resultobj
= Py_None
;
16364 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16365 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16366 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16367 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16374 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16375 PyObject
*resultobj
;
16376 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16378 PyObject
* obj0
= 0 ;
16379 char *kwnames
[] = {
16380 (char *) "self", NULL
16383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16388 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
16390 wxPyEndAllowThreads(__tstate
);
16391 if (PyErr_Occurred()) SWIG_fail
;
16394 wxSize
* resultptr
;
16395 resultptr
= new wxSize((wxSize
&) result
);
16396 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16404 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16405 PyObject
*resultobj
;
16406 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16408 PyObject
* obj0
= 0 ;
16409 char *kwnames
[] = {
16410 (char *) "self", NULL
16413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16418 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
16420 wxPyEndAllowThreads(__tstate
);
16421 if (PyErr_Occurred()) SWIG_fail
;
16424 wxSize
* resultptr
;
16425 resultptr
= new wxSize((wxSize
&) result
);
16426 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16434 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16435 PyObject
*resultobj
;
16436 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16437 PyObject
* obj0
= 0 ;
16438 char *kwnames
[] = {
16439 (char *) "self", NULL
16442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16447 (arg1
)->base_InitDialog();
16449 wxPyEndAllowThreads(__tstate
);
16450 if (PyErr_Occurred()) SWIG_fail
;
16452 Py_INCREF(Py_None
); resultobj
= Py_None
;
16459 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(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_TransferDataToWindow",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)(arg1
)->base_TransferDataToWindow();
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_TransferDataFromWindow(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_TransferDataFromWindow",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)(arg1
)->base_TransferDataFromWindow();
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_Validate(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_Validate",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
= (bool)(arg1
)->base_Validate();
16531 wxPyEndAllowThreads(__tstate
);
16532 if (PyErr_Occurred()) SWIG_fail
;
16535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16543 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16544 PyObject
*resultobj
;
16545 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16547 PyObject
* obj0
= 0 ;
16548 char *kwnames
[] = {
16549 (char *) "self", NULL
16552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16557 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
16559 wxPyEndAllowThreads(__tstate
);
16560 if (PyErr_Occurred()) SWIG_fail
;
16563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16571 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16572 PyObject
*resultobj
;
16573 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16575 PyObject
* obj0
= 0 ;
16576 char *kwnames
[] = {
16577 (char *) "self", NULL
16580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16585 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16587 wxPyEndAllowThreads(__tstate
);
16588 if (PyErr_Occurred()) SWIG_fail
;
16591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16599 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16600 PyObject
*resultobj
;
16601 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16603 PyObject
* obj0
= 0 ;
16604 char *kwnames
[] = {
16605 (char *) "self", NULL
16608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16613 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
16615 wxPyEndAllowThreads(__tstate
);
16616 if (PyErr_Occurred()) SWIG_fail
;
16619 wxSize
* resultptr
;
16620 resultptr
= new wxSize((wxSize
&) result
);
16621 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16629 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16630 PyObject
*resultobj
;
16631 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16632 wxWindow
*arg2
= (wxWindow
*) 0 ;
16633 PyObject
* obj0
= 0 ;
16634 PyObject
* obj1
= 0 ;
16635 char *kwnames
[] = {
16636 (char *) "self",(char *) "child", NULL
16639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16642 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16646 (arg1
)->base_AddChild(arg2
);
16648 wxPyEndAllowThreads(__tstate
);
16649 if (PyErr_Occurred()) SWIG_fail
;
16651 Py_INCREF(Py_None
); resultobj
= Py_None
;
16658 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16659 PyObject
*resultobj
;
16660 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16661 wxWindow
*arg2
= (wxWindow
*) 0 ;
16662 PyObject
* obj0
= 0 ;
16663 PyObject
* obj1
= 0 ;
16664 char *kwnames
[] = {
16665 (char *) "self",(char *) "child", NULL
16668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16671 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16675 (arg1
)->base_RemoveChild(arg2
);
16677 wxPyEndAllowThreads(__tstate
);
16678 if (PyErr_Occurred()) SWIG_fail
;
16680 Py_INCREF(Py_None
); resultobj
= Py_None
;
16687 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16688 PyObject
*resultobj
;
16689 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16691 PyObject
* obj0
= 0 ;
16692 char *kwnames
[] = {
16693 (char *) "self", NULL
16696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16701 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
16703 wxPyEndAllowThreads(__tstate
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16715 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16716 PyObject
*resultobj
;
16717 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16718 wxColour
*arg2
= 0 ;
16720 PyObject
* obj0
= 0 ;
16721 PyObject
* obj1
= 0 ;
16722 char *kwnames
[] = {
16723 (char *) "self",(char *) "c", NULL
16726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16731 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16735 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16737 wxPyEndAllowThreads(__tstate
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16740 Py_INCREF(Py_None
); resultobj
= Py_None
;
16747 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16748 PyObject
*resultobj
;
16749 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16750 wxVisualAttributes result
;
16751 PyObject
* obj0
= 0 ;
16752 char *kwnames
[] = {
16753 (char *) "self", NULL
16756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16761 result
= (arg1
)->base_GetDefaultAttributes();
16763 wxPyEndAllowThreads(__tstate
);
16764 if (PyErr_Occurred()) SWIG_fail
;
16767 wxVisualAttributes
* resultptr
;
16768 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16769 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16777 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
16779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16780 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16782 return Py_BuildValue((char *)"");
16784 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16785 PyObject
*resultobj
;
16786 wxWindow
*arg1
= (wxWindow
*) 0 ;
16787 int arg2
= (int) (int)-1 ;
16788 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16789 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16790 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16791 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16792 long arg5
= (long) 0 ;
16793 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16794 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16798 bool temp6
= false ;
16799 PyObject
* obj0
= 0 ;
16800 PyObject
* obj1
= 0 ;
16801 PyObject
* obj2
= 0 ;
16802 PyObject
* obj3
= 0 ;
16803 PyObject
* obj4
= 0 ;
16804 PyObject
* obj5
= 0 ;
16805 char *kwnames
[] = {
16806 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16813 arg2
= (int)SWIG_As_int(obj1
);
16814 if (PyErr_Occurred()) SWIG_fail
;
16819 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16825 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16829 arg5
= (long)SWIG_As_long(obj4
);
16830 if (PyErr_Occurred()) SWIG_fail
;
16834 arg6
= wxString_in_helper(obj5
);
16835 if (arg6
== NULL
) SWIG_fail
;
16840 if (!wxPyCheckForApp()) SWIG_fail
;
16841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16842 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16844 wxPyEndAllowThreads(__tstate
);
16845 if (PyErr_Occurred()) SWIG_fail
;
16847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16862 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16863 PyObject
*resultobj
;
16865 char *kwnames
[] = {
16869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16871 if (!wxPyCheckForApp()) SWIG_fail
;
16872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16873 result
= (wxPyPanel
*)new wxPyPanel();
16875 wxPyEndAllowThreads(__tstate
);
16876 if (PyErr_Occurred()) SWIG_fail
;
16878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16885 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16886 PyObject
*resultobj
;
16887 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16888 PyObject
*arg2
= (PyObject
*) 0 ;
16889 PyObject
*arg3
= (PyObject
*) 0 ;
16890 PyObject
* obj0
= 0 ;
16891 PyObject
* obj1
= 0 ;
16892 PyObject
* obj2
= 0 ;
16893 char *kwnames
[] = {
16894 (char *) "self",(char *) "self",(char *) "_class", NULL
16897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16904 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16906 wxPyEndAllowThreads(__tstate
);
16907 if (PyErr_Occurred()) SWIG_fail
;
16909 Py_INCREF(Py_None
); resultobj
= Py_None
;
16916 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16917 PyObject
*resultobj
;
16918 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16921 PyObject
* obj0
= 0 ;
16922 PyObject
* obj1
= 0 ;
16923 char *kwnames
[] = {
16924 (char *) "self",(char *) "size", NULL
16927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16932 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16936 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16938 wxPyEndAllowThreads(__tstate
);
16939 if (PyErr_Occurred()) SWIG_fail
;
16941 Py_INCREF(Py_None
); resultobj
= Py_None
;
16948 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16949 PyObject
*resultobj
;
16950 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16955 PyObject
* obj0
= 0 ;
16956 PyObject
* obj1
= 0 ;
16957 PyObject
* obj2
= 0 ;
16958 PyObject
* obj3
= 0 ;
16959 PyObject
* obj4
= 0 ;
16960 char *kwnames
[] = {
16961 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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
;
16971 arg4
= (int)SWIG_As_int(obj3
);
16972 if (PyErr_Occurred()) SWIG_fail
;
16973 arg5
= (int)SWIG_As_int(obj4
);
16974 if (PyErr_Occurred()) SWIG_fail
;
16976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16977 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16979 wxPyEndAllowThreads(__tstate
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16982 Py_INCREF(Py_None
); resultobj
= Py_None
;
16989 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16990 PyObject
*resultobj
;
16991 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16996 int arg6
= (int) wxSIZE_AUTO
;
16997 PyObject
* obj0
= 0 ;
16998 PyObject
* obj1
= 0 ;
16999 PyObject
* obj2
= 0 ;
17000 PyObject
* obj3
= 0 ;
17001 PyObject
* obj4
= 0 ;
17002 PyObject
* obj5
= 0 ;
17003 char *kwnames
[] = {
17004 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17010 arg2
= (int)SWIG_As_int(obj1
);
17011 if (PyErr_Occurred()) SWIG_fail
;
17012 arg3
= (int)SWIG_As_int(obj2
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17014 arg4
= (int)SWIG_As_int(obj3
);
17015 if (PyErr_Occurred()) SWIG_fail
;
17016 arg5
= (int)SWIG_As_int(obj4
);
17017 if (PyErr_Occurred()) SWIG_fail
;
17019 arg6
= (int)SWIG_As_int(obj5
);
17020 if (PyErr_Occurred()) SWIG_fail
;
17023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17024 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17026 wxPyEndAllowThreads(__tstate
);
17027 if (PyErr_Occurred()) SWIG_fail
;
17029 Py_INCREF(Py_None
); resultobj
= Py_None
;
17036 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17037 PyObject
*resultobj
;
17038 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17041 PyObject
* obj0
= 0 ;
17042 PyObject
* obj1
= 0 ;
17043 PyObject
* obj2
= 0 ;
17044 char *kwnames
[] = {
17045 (char *) "self",(char *) "width",(char *) "height", NULL
17048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17051 arg2
= (int)SWIG_As_int(obj1
);
17052 if (PyErr_Occurred()) SWIG_fail
;
17053 arg3
= (int)SWIG_As_int(obj2
);
17054 if (PyErr_Occurred()) SWIG_fail
;
17056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17057 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17059 wxPyEndAllowThreads(__tstate
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17062 Py_INCREF(Py_None
); resultobj
= Py_None
;
17069 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17070 PyObject
*resultobj
;
17071 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17074 PyObject
* obj0
= 0 ;
17075 PyObject
* obj1
= 0 ;
17076 PyObject
* obj2
= 0 ;
17077 char *kwnames
[] = {
17078 (char *) "self",(char *) "x",(char *) "y", NULL
17081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17084 arg2
= (int)SWIG_As_int(obj1
);
17085 if (PyErr_Occurred()) SWIG_fail
;
17086 arg3
= (int)SWIG_As_int(obj2
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17090 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17092 wxPyEndAllowThreads(__tstate
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17095 Py_INCREF(Py_None
); resultobj
= Py_None
;
17102 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17103 PyObject
*resultobj
;
17104 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17105 int *arg2
= (int *) 0 ;
17106 int *arg3
= (int *) 0 ;
17111 PyObject
* obj0
= 0 ;
17112 char *kwnames
[] = {
17113 (char *) "self", NULL
17116 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17117 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17123 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17125 wxPyEndAllowThreads(__tstate
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17128 Py_INCREF(Py_None
); resultobj
= Py_None
;
17129 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17130 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17131 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17132 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17139 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17140 PyObject
*resultobj
;
17141 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17142 int *arg2
= (int *) 0 ;
17143 int *arg3
= (int *) 0 ;
17148 PyObject
* obj0
= 0 ;
17149 char *kwnames
[] = {
17150 (char *) "self", NULL
17153 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17154 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17160 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17162 wxPyEndAllowThreads(__tstate
);
17163 if (PyErr_Occurred()) SWIG_fail
;
17165 Py_INCREF(Py_None
); resultobj
= Py_None
;
17166 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17167 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17168 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17169 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17176 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17177 PyObject
*resultobj
;
17178 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17179 int *arg2
= (int *) 0 ;
17180 int *arg3
= (int *) 0 ;
17185 PyObject
* obj0
= 0 ;
17186 char *kwnames
[] = {
17187 (char *) "self", NULL
17190 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17191 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17197 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17199 wxPyEndAllowThreads(__tstate
);
17200 if (PyErr_Occurred()) SWIG_fail
;
17202 Py_INCREF(Py_None
); resultobj
= Py_None
;
17203 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17204 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17205 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17206 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17213 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17214 PyObject
*resultobj
;
17215 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17217 PyObject
* obj0
= 0 ;
17218 char *kwnames
[] = {
17219 (char *) "self", NULL
17222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17227 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
17229 wxPyEndAllowThreads(__tstate
);
17230 if (PyErr_Occurred()) SWIG_fail
;
17233 wxSize
* resultptr
;
17234 resultptr
= new wxSize((wxSize
&) result
);
17235 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17243 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17244 PyObject
*resultobj
;
17245 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17247 PyObject
* obj0
= 0 ;
17248 char *kwnames
[] = {
17249 (char *) "self", NULL
17252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17257 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
17259 wxPyEndAllowThreads(__tstate
);
17260 if (PyErr_Occurred()) SWIG_fail
;
17263 wxSize
* resultptr
;
17264 resultptr
= new wxSize((wxSize
&) result
);
17265 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17273 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17274 PyObject
*resultobj
;
17275 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17276 PyObject
* obj0
= 0 ;
17277 char *kwnames
[] = {
17278 (char *) "self", NULL
17281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17286 (arg1
)->base_InitDialog();
17288 wxPyEndAllowThreads(__tstate
);
17289 if (PyErr_Occurred()) SWIG_fail
;
17291 Py_INCREF(Py_None
); resultobj
= Py_None
;
17298 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(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_TransferDataToWindow",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)(arg1
)->base_TransferDataToWindow();
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_TransferDataFromWindow(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_TransferDataFromWindow",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)(arg1
)->base_TransferDataFromWindow();
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_Validate(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_Validate",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
= (bool)(arg1
)->base_Validate();
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17382 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17383 PyObject
*resultobj
;
17384 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17386 PyObject
* obj0
= 0 ;
17387 char *kwnames
[] = {
17388 (char *) "self", NULL
17391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17396 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
17398 wxPyEndAllowThreads(__tstate
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17410 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17411 PyObject
*resultobj
;
17412 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17414 PyObject
* obj0
= 0 ;
17415 char *kwnames
[] = {
17416 (char *) "self", NULL
17419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17424 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17426 wxPyEndAllowThreads(__tstate
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17438 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17439 PyObject
*resultobj
;
17440 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17442 PyObject
* obj0
= 0 ;
17443 char *kwnames
[] = {
17444 (char *) "self", NULL
17447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17452 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
17454 wxPyEndAllowThreads(__tstate
);
17455 if (PyErr_Occurred()) SWIG_fail
;
17458 wxSize
* resultptr
;
17459 resultptr
= new wxSize((wxSize
&) result
);
17460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17468 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17469 PyObject
*resultobj
;
17470 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17471 wxWindow
*arg2
= (wxWindow
*) 0 ;
17472 PyObject
* obj0
= 0 ;
17473 PyObject
* obj1
= 0 ;
17474 char *kwnames
[] = {
17475 (char *) "self",(char *) "child", NULL
17478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17481 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17485 (arg1
)->base_AddChild(arg2
);
17487 wxPyEndAllowThreads(__tstate
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17490 Py_INCREF(Py_None
); resultobj
= Py_None
;
17497 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17498 PyObject
*resultobj
;
17499 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17500 wxWindow
*arg2
= (wxWindow
*) 0 ;
17501 PyObject
* obj0
= 0 ;
17502 PyObject
* obj1
= 0 ;
17503 char *kwnames
[] = {
17504 (char *) "self",(char *) "child", NULL
17507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17510 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17514 (arg1
)->base_RemoveChild(arg2
);
17516 wxPyEndAllowThreads(__tstate
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17519 Py_INCREF(Py_None
); resultobj
= Py_None
;
17526 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17527 PyObject
*resultobj
;
17528 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17530 PyObject
* obj0
= 0 ;
17531 char *kwnames
[] = {
17532 (char *) "self", NULL
17535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17540 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
17542 wxPyEndAllowThreads(__tstate
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17554 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17555 PyObject
*resultobj
;
17556 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17557 wxColour
*arg2
= 0 ;
17559 PyObject
* obj0
= 0 ;
17560 PyObject
* obj1
= 0 ;
17561 char *kwnames
[] = {
17562 (char *) "self",(char *) "c", NULL
17565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17570 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17574 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17576 wxPyEndAllowThreads(__tstate
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17579 Py_INCREF(Py_None
); resultobj
= Py_None
;
17586 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17587 PyObject
*resultobj
;
17588 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17589 wxVisualAttributes result
;
17590 PyObject
* obj0
= 0 ;
17591 char *kwnames
[] = {
17592 (char *) "self", NULL
17595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17600 result
= (arg1
)->base_GetDefaultAttributes();
17602 wxPyEndAllowThreads(__tstate
);
17603 if (PyErr_Occurred()) SWIG_fail
;
17606 wxVisualAttributes
* resultptr
;
17607 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17616 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
17618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17619 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
17621 return Py_BuildValue((char *)"");
17623 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17624 PyObject
*resultobj
;
17625 wxWindow
*arg1
= (wxWindow
*) 0 ;
17626 int arg2
= (int) (int)-1 ;
17627 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17628 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17629 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17630 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17631 long arg5
= (long) 0 ;
17632 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17633 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17634 wxPyScrolledWindow
*result
;
17637 bool temp6
= false ;
17638 PyObject
* obj0
= 0 ;
17639 PyObject
* obj1
= 0 ;
17640 PyObject
* obj2
= 0 ;
17641 PyObject
* obj3
= 0 ;
17642 PyObject
* obj4
= 0 ;
17643 PyObject
* obj5
= 0 ;
17644 char *kwnames
[] = {
17645 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17652 arg2
= (int)SWIG_As_int(obj1
);
17653 if (PyErr_Occurred()) SWIG_fail
;
17658 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17664 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17668 arg5
= (long)SWIG_As_long(obj4
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17673 arg6
= wxString_in_helper(obj5
);
17674 if (arg6
== NULL
) SWIG_fail
;
17679 if (!wxPyCheckForApp()) SWIG_fail
;
17680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17681 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17683 wxPyEndAllowThreads(__tstate
);
17684 if (PyErr_Occurred()) SWIG_fail
;
17686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17701 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17702 PyObject
*resultobj
;
17703 wxPyScrolledWindow
*result
;
17704 char *kwnames
[] = {
17708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
17710 if (!wxPyCheckForApp()) SWIG_fail
;
17711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17712 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
17714 wxPyEndAllowThreads(__tstate
);
17715 if (PyErr_Occurred()) SWIG_fail
;
17717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17724 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17725 PyObject
*resultobj
;
17726 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17727 PyObject
*arg2
= (PyObject
*) 0 ;
17728 PyObject
*arg3
= (PyObject
*) 0 ;
17729 PyObject
* obj0
= 0 ;
17730 PyObject
* obj1
= 0 ;
17731 PyObject
* obj2
= 0 ;
17732 char *kwnames
[] = {
17733 (char *) "self",(char *) "self",(char *) "_class", NULL
17736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17743 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17745 wxPyEndAllowThreads(__tstate
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17748 Py_INCREF(Py_None
); resultobj
= Py_None
;
17755 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17756 PyObject
*resultobj
;
17757 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17760 PyObject
* obj0
= 0 ;
17761 PyObject
* obj1
= 0 ;
17762 char *kwnames
[] = {
17763 (char *) "self",(char *) "size", NULL
17766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17771 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17775 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17777 wxPyEndAllowThreads(__tstate
);
17778 if (PyErr_Occurred()) SWIG_fail
;
17780 Py_INCREF(Py_None
); resultobj
= Py_None
;
17787 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17788 PyObject
*resultobj
;
17789 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17794 PyObject
* obj0
= 0 ;
17795 PyObject
* obj1
= 0 ;
17796 PyObject
* obj2
= 0 ;
17797 PyObject
* obj3
= 0 ;
17798 PyObject
* obj4
= 0 ;
17799 char *kwnames
[] = {
17800 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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
;
17810 arg4
= (int)SWIG_As_int(obj3
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17812 arg5
= (int)SWIG_As_int(obj4
);
17813 if (PyErr_Occurred()) SWIG_fail
;
17815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17816 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17818 wxPyEndAllowThreads(__tstate
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17821 Py_INCREF(Py_None
); resultobj
= Py_None
;
17828 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17829 PyObject
*resultobj
;
17830 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17835 int arg6
= (int) wxSIZE_AUTO
;
17836 PyObject
* obj0
= 0 ;
17837 PyObject
* obj1
= 0 ;
17838 PyObject
* obj2
= 0 ;
17839 PyObject
* obj3
= 0 ;
17840 PyObject
* obj4
= 0 ;
17841 PyObject
* obj5
= 0 ;
17842 char *kwnames
[] = {
17843 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17849 arg2
= (int)SWIG_As_int(obj1
);
17850 if (PyErr_Occurred()) SWIG_fail
;
17851 arg3
= (int)SWIG_As_int(obj2
);
17852 if (PyErr_Occurred()) SWIG_fail
;
17853 arg4
= (int)SWIG_As_int(obj3
);
17854 if (PyErr_Occurred()) SWIG_fail
;
17855 arg5
= (int)SWIG_As_int(obj4
);
17856 if (PyErr_Occurred()) SWIG_fail
;
17858 arg6
= (int)SWIG_As_int(obj5
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17863 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17865 wxPyEndAllowThreads(__tstate
);
17866 if (PyErr_Occurred()) SWIG_fail
;
17868 Py_INCREF(Py_None
); resultobj
= Py_None
;
17875 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17876 PyObject
*resultobj
;
17877 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17880 PyObject
* obj0
= 0 ;
17881 PyObject
* obj1
= 0 ;
17882 PyObject
* obj2
= 0 ;
17883 char *kwnames
[] = {
17884 (char *) "self",(char *) "width",(char *) "height", NULL
17887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17890 arg2
= (int)SWIG_As_int(obj1
);
17891 if (PyErr_Occurred()) SWIG_fail
;
17892 arg3
= (int)SWIG_As_int(obj2
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17896 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17901 Py_INCREF(Py_None
); resultobj
= Py_None
;
17908 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17909 PyObject
*resultobj
;
17910 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17913 PyObject
* obj0
= 0 ;
17914 PyObject
* obj1
= 0 ;
17915 PyObject
* obj2
= 0 ;
17916 char *kwnames
[] = {
17917 (char *) "self",(char *) "x",(char *) "y", NULL
17920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17923 arg2
= (int)SWIG_As_int(obj1
);
17924 if (PyErr_Occurred()) SWIG_fail
;
17925 arg3
= (int)SWIG_As_int(obj2
);
17926 if (PyErr_Occurred()) SWIG_fail
;
17928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17929 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17931 wxPyEndAllowThreads(__tstate
);
17932 if (PyErr_Occurred()) SWIG_fail
;
17934 Py_INCREF(Py_None
); resultobj
= Py_None
;
17941 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17942 PyObject
*resultobj
;
17943 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17944 int *arg2
= (int *) 0 ;
17945 int *arg3
= (int *) 0 ;
17950 PyObject
* obj0
= 0 ;
17951 char *kwnames
[] = {
17952 (char *) "self", NULL
17955 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17956 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17962 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17964 wxPyEndAllowThreads(__tstate
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17967 Py_INCREF(Py_None
); resultobj
= Py_None
;
17968 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17969 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17970 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17971 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17978 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17979 PyObject
*resultobj
;
17980 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17981 int *arg2
= (int *) 0 ;
17982 int *arg3
= (int *) 0 ;
17987 PyObject
* obj0
= 0 ;
17988 char *kwnames
[] = {
17989 (char *) "self", NULL
17992 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17993 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17999 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
18001 wxPyEndAllowThreads(__tstate
);
18002 if (PyErr_Occurred()) SWIG_fail
;
18004 Py_INCREF(Py_None
); resultobj
= Py_None
;
18005 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18006 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18007 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18008 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18015 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18016 PyObject
*resultobj
;
18017 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18018 int *arg2
= (int *) 0 ;
18019 int *arg3
= (int *) 0 ;
18024 PyObject
* obj0
= 0 ;
18025 char *kwnames
[] = {
18026 (char *) "self", NULL
18029 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18030 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18036 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
18038 wxPyEndAllowThreads(__tstate
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18041 Py_INCREF(Py_None
); resultobj
= Py_None
;
18042 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18043 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18044 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18045 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18052 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18053 PyObject
*resultobj
;
18054 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18056 PyObject
* obj0
= 0 ;
18057 char *kwnames
[] = {
18058 (char *) "self", NULL
18061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18066 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18072 wxSize
* resultptr
;
18073 resultptr
= new wxSize((wxSize
&) result
);
18074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18082 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18083 PyObject
*resultobj
;
18084 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18086 PyObject
* obj0
= 0 ;
18087 char *kwnames
[] = {
18088 (char *) "self", NULL
18091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18096 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
18098 wxPyEndAllowThreads(__tstate
);
18099 if (PyErr_Occurred()) SWIG_fail
;
18102 wxSize
* resultptr
;
18103 resultptr
= new wxSize((wxSize
&) result
);
18104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18112 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
;
18114 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18115 PyObject
* obj0
= 0 ;
18116 char *kwnames
[] = {
18117 (char *) "self", NULL
18120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18125 (arg1
)->base_InitDialog();
18127 wxPyEndAllowThreads(__tstate
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18130 Py_INCREF(Py_None
); resultobj
= Py_None
;
18137 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(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_TransferDataToWindow",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)(arg1
)->base_TransferDataToWindow();
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_TransferDataFromWindow(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_TransferDataFromWindow",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)(arg1
)->base_TransferDataFromWindow();
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_Validate(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_Validate",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
= (bool)(arg1
)->base_Validate();
18209 wxPyEndAllowThreads(__tstate
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18221 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18222 PyObject
*resultobj
;
18223 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18225 PyObject
* obj0
= 0 ;
18226 char *kwnames
[] = {
18227 (char *) "self", NULL
18230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18235 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
18237 wxPyEndAllowThreads(__tstate
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18249 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18250 PyObject
*resultobj
;
18251 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18253 PyObject
* obj0
= 0 ;
18254 char *kwnames
[] = {
18255 (char *) "self", NULL
18258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18263 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18265 wxPyEndAllowThreads(__tstate
);
18266 if (PyErr_Occurred()) SWIG_fail
;
18269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18277 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18278 PyObject
*resultobj
;
18279 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18281 PyObject
* obj0
= 0 ;
18282 char *kwnames
[] = {
18283 (char *) "self", NULL
18286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18291 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
18293 wxPyEndAllowThreads(__tstate
);
18294 if (PyErr_Occurred()) SWIG_fail
;
18297 wxSize
* resultptr
;
18298 resultptr
= new wxSize((wxSize
&) result
);
18299 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18307 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18308 PyObject
*resultobj
;
18309 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18310 wxWindow
*arg2
= (wxWindow
*) 0 ;
18311 PyObject
* obj0
= 0 ;
18312 PyObject
* obj1
= 0 ;
18313 char *kwnames
[] = {
18314 (char *) "self",(char *) "child", NULL
18317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18320 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18324 (arg1
)->base_AddChild(arg2
);
18326 wxPyEndAllowThreads(__tstate
);
18327 if (PyErr_Occurred()) SWIG_fail
;
18329 Py_INCREF(Py_None
); resultobj
= Py_None
;
18336 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18337 PyObject
*resultobj
;
18338 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18339 wxWindow
*arg2
= (wxWindow
*) 0 ;
18340 PyObject
* obj0
= 0 ;
18341 PyObject
* obj1
= 0 ;
18342 char *kwnames
[] = {
18343 (char *) "self",(char *) "child", NULL
18346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18353 (arg1
)->base_RemoveChild(arg2
);
18355 wxPyEndAllowThreads(__tstate
);
18356 if (PyErr_Occurred()) SWIG_fail
;
18358 Py_INCREF(Py_None
); resultobj
= Py_None
;
18365 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18366 PyObject
*resultobj
;
18367 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18369 PyObject
* obj0
= 0 ;
18370 char *kwnames
[] = {
18371 (char *) "self", NULL
18374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18379 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
18381 wxPyEndAllowThreads(__tstate
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18393 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18394 PyObject
*resultobj
;
18395 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18396 wxColour
*arg2
= 0 ;
18398 PyObject
* obj0
= 0 ;
18399 PyObject
* obj1
= 0 ;
18400 char *kwnames
[] = {
18401 (char *) "self",(char *) "c", NULL
18404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18409 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18413 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
18415 wxPyEndAllowThreads(__tstate
);
18416 if (PyErr_Occurred()) SWIG_fail
;
18418 Py_INCREF(Py_None
); resultobj
= Py_None
;
18425 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18426 PyObject
*resultobj
;
18427 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18428 wxVisualAttributes result
;
18429 PyObject
* obj0
= 0 ;
18430 char *kwnames
[] = {
18431 (char *) "self", NULL
18434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18439 result
= (arg1
)->base_GetDefaultAttributes();
18441 wxPyEndAllowThreads(__tstate
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18445 wxVisualAttributes
* resultptr
;
18446 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18455 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
18457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18458 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
18460 return Py_BuildValue((char *)"");
18462 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
18463 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
18468 static PyObject
*_wrap_PrintoutTitleStr_get() {
18473 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18475 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18482 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
18483 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
18488 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
18493 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18495 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18502 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
18503 PyObject
*resultobj
;
18504 wxPrintData
*result
;
18506 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
18508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18509 result
= (wxPrintData
*)new wxPrintData();
18511 wxPyEndAllowThreads(__tstate
);
18512 if (PyErr_Occurred()) SWIG_fail
;
18514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18521 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
18522 PyObject
*resultobj
;
18523 wxPrintData
*arg1
= 0 ;
18524 wxPrintData
*result
;
18525 PyObject
* obj0
= 0 ;
18527 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
18528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18529 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18531 if (arg1
== NULL
) {
18532 PyErr_SetString(PyExc_TypeError
,"null reference");
18536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18537 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
18539 wxPyEndAllowThreads(__tstate
);
18540 if (PyErr_Occurred()) SWIG_fail
;
18542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18549 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
18554 argc
= PyObject_Length(args
);
18555 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
18556 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18559 return _wrap_new_PrintData__SWIG_0(self
,args
);
18565 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
18573 return _wrap_new_PrintData__SWIG_1(self
,args
);
18577 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintData'");
18582 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18583 PyObject
*resultobj
;
18584 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18585 PyObject
* obj0
= 0 ;
18586 char *kwnames
[] = {
18587 (char *) "self", NULL
18590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
18591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18597 wxPyEndAllowThreads(__tstate
);
18598 if (PyErr_Occurred()) SWIG_fail
;
18600 Py_INCREF(Py_None
); resultobj
= Py_None
;
18607 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18608 PyObject
*resultobj
;
18609 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18611 PyObject
* obj0
= 0 ;
18612 char *kwnames
[] = {
18613 (char *) "self", NULL
18616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18621 result
= (int)(arg1
)->GetNoCopies();
18623 wxPyEndAllowThreads(__tstate
);
18624 if (PyErr_Occurred()) SWIG_fail
;
18626 resultobj
= SWIG_From_int((int)result
);
18633 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18634 PyObject
*resultobj
;
18635 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18637 PyObject
* obj0
= 0 ;
18638 char *kwnames
[] = {
18639 (char *) "self", NULL
18642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
18643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18647 result
= (bool)(arg1
)->GetCollate();
18649 wxPyEndAllowThreads(__tstate
);
18650 if (PyErr_Occurred()) SWIG_fail
;
18653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18661 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18662 PyObject
*resultobj
;
18663 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18665 PyObject
* obj0
= 0 ;
18666 char *kwnames
[] = {
18667 (char *) "self", NULL
18670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
18671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18675 result
= (int)(arg1
)->GetOrientation();
18677 wxPyEndAllowThreads(__tstate
);
18678 if (PyErr_Occurred()) SWIG_fail
;
18680 resultobj
= SWIG_From_int((int)result
);
18687 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18688 PyObject
*resultobj
;
18689 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18691 PyObject
* obj0
= 0 ;
18692 char *kwnames
[] = {
18693 (char *) "self", NULL
18696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
18697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18701 result
= (bool)(arg1
)->Ok();
18703 wxPyEndAllowThreads(__tstate
);
18704 if (PyErr_Occurred()) SWIG_fail
;
18707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18715 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18716 PyObject
*resultobj
;
18717 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18719 PyObject
* obj0
= 0 ;
18720 char *kwnames
[] = {
18721 (char *) "self", NULL
18724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18730 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18731 result
= (wxString
*) &_result_ref
;
18734 wxPyEndAllowThreads(__tstate
);
18735 if (PyErr_Occurred()) SWIG_fail
;
18739 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18741 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18750 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18751 PyObject
*resultobj
;
18752 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18754 PyObject
* obj0
= 0 ;
18755 char *kwnames
[] = {
18756 (char *) "self", NULL
18759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18764 result
= (bool)(arg1
)->GetColour();
18766 wxPyEndAllowThreads(__tstate
);
18767 if (PyErr_Occurred()) SWIG_fail
;
18770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18778 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18779 PyObject
*resultobj
;
18780 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18782 PyObject
* obj0
= 0 ;
18783 char *kwnames
[] = {
18784 (char *) "self", NULL
18787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18792 result
= (int)(arg1
)->GetDuplex();
18794 wxPyEndAllowThreads(__tstate
);
18795 if (PyErr_Occurred()) SWIG_fail
;
18797 resultobj
= SWIG_From_int((int)result
);
18804 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18805 PyObject
*resultobj
;
18806 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18808 PyObject
* obj0
= 0 ;
18809 char *kwnames
[] = {
18810 (char *) "self", NULL
18813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18818 result
= (int)(arg1
)->GetPaperId();
18820 wxPyEndAllowThreads(__tstate
);
18821 if (PyErr_Occurred()) SWIG_fail
;
18823 resultobj
= SWIG_From_int((int)result
);
18830 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18831 PyObject
*resultobj
;
18832 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18834 PyObject
* obj0
= 0 ;
18835 char *kwnames
[] = {
18836 (char *) "self", NULL
18839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18845 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18846 result
= (wxSize
*) &_result_ref
;
18849 wxPyEndAllowThreads(__tstate
);
18850 if (PyErr_Occurred()) SWIG_fail
;
18852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18859 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18860 PyObject
*resultobj
;
18861 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18863 PyObject
* obj0
= 0 ;
18864 char *kwnames
[] = {
18865 (char *) "self", NULL
18868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18873 result
= (int)(arg1
)->GetQuality();
18875 wxPyEndAllowThreads(__tstate
);
18876 if (PyErr_Occurred()) SWIG_fail
;
18878 resultobj
= SWIG_From_int((int)result
);
18885 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18886 PyObject
*resultobj
;
18887 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18889 PyObject
* obj0
= 0 ;
18890 char *kwnames
[] = {
18891 (char *) "self", NULL
18894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
18895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18899 result
= (int)(arg1
)->GetBin();
18901 wxPyEndAllowThreads(__tstate
);
18902 if (PyErr_Occurred()) SWIG_fail
;
18904 resultobj
= SWIG_From_int((int)result
);
18911 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18912 PyObject
*resultobj
;
18913 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18915 PyObject
* obj0
= 0 ;
18916 char *kwnames
[] = {
18917 (char *) "self", NULL
18920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18925 result
= (int)((wxPrintData
const *)arg1
)->GetPrintMode();
18927 wxPyEndAllowThreads(__tstate
);
18928 if (PyErr_Occurred()) SWIG_fail
;
18930 resultobj
= SWIG_From_int((int)result
);
18937 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18938 PyObject
*resultobj
;
18939 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18941 PyObject
* obj0
= 0 ;
18942 PyObject
* obj1
= 0 ;
18943 char *kwnames
[] = {
18944 (char *) "self",(char *) "v", NULL
18947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18950 arg2
= (int)SWIG_As_int(obj1
);
18951 if (PyErr_Occurred()) SWIG_fail
;
18953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18954 (arg1
)->SetNoCopies(arg2
);
18956 wxPyEndAllowThreads(__tstate
);
18957 if (PyErr_Occurred()) SWIG_fail
;
18959 Py_INCREF(Py_None
); resultobj
= Py_None
;
18966 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18967 PyObject
*resultobj
;
18968 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18970 PyObject
* obj0
= 0 ;
18971 PyObject
* obj1
= 0 ;
18972 char *kwnames
[] = {
18973 (char *) "self",(char *) "flag", NULL
18976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18979 arg2
= (bool)SWIG_As_bool(obj1
);
18980 if (PyErr_Occurred()) SWIG_fail
;
18982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18983 (arg1
)->SetCollate(arg2
);
18985 wxPyEndAllowThreads(__tstate
);
18986 if (PyErr_Occurred()) SWIG_fail
;
18988 Py_INCREF(Py_None
); resultobj
= Py_None
;
18995 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18996 PyObject
*resultobj
;
18997 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18999 PyObject
* obj0
= 0 ;
19000 PyObject
* obj1
= 0 ;
19001 char *kwnames
[] = {
19002 (char *) "self",(char *) "orient", NULL
19005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19008 arg2
= (int)SWIG_As_int(obj1
);
19009 if (PyErr_Occurred()) SWIG_fail
;
19011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19012 (arg1
)->SetOrientation(arg2
);
19014 wxPyEndAllowThreads(__tstate
);
19015 if (PyErr_Occurred()) SWIG_fail
;
19017 Py_INCREF(Py_None
); resultobj
= Py_None
;
19024 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19025 PyObject
*resultobj
;
19026 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19027 wxString
*arg2
= 0 ;
19028 bool temp2
= false ;
19029 PyObject
* obj0
= 0 ;
19030 PyObject
* obj1
= 0 ;
19031 char *kwnames
[] = {
19032 (char *) "self",(char *) "name", NULL
19035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
19036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19039 arg2
= wxString_in_helper(obj1
);
19040 if (arg2
== NULL
) SWIG_fail
;
19044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19045 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
19047 wxPyEndAllowThreads(__tstate
);
19048 if (PyErr_Occurred()) SWIG_fail
;
19050 Py_INCREF(Py_None
); resultobj
= Py_None
;
19065 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19066 PyObject
*resultobj
;
19067 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19069 PyObject
* obj0
= 0 ;
19070 PyObject
* obj1
= 0 ;
19071 char *kwnames
[] = {
19072 (char *) "self",(char *) "colour", NULL
19075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19078 arg2
= (bool)SWIG_As_bool(obj1
);
19079 if (PyErr_Occurred()) SWIG_fail
;
19081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19082 (arg1
)->SetColour(arg2
);
19084 wxPyEndAllowThreads(__tstate
);
19085 if (PyErr_Occurred()) SWIG_fail
;
19087 Py_INCREF(Py_None
); resultobj
= Py_None
;
19094 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19095 PyObject
*resultobj
;
19096 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19098 PyObject
* obj0
= 0 ;
19099 PyObject
* obj1
= 0 ;
19100 char *kwnames
[] = {
19101 (char *) "self",(char *) "duplex", NULL
19104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
19105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19107 arg2
= (int)SWIG_As_int(obj1
);
19108 if (PyErr_Occurred()) SWIG_fail
;
19110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19111 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
19113 wxPyEndAllowThreads(__tstate
);
19114 if (PyErr_Occurred()) SWIG_fail
;
19116 Py_INCREF(Py_None
); resultobj
= Py_None
;
19123 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19124 PyObject
*resultobj
;
19125 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19127 PyObject
* obj0
= 0 ;
19128 PyObject
* obj1
= 0 ;
19129 char *kwnames
[] = {
19130 (char *) "self",(char *) "sizeId", NULL
19133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
19134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19136 arg2
= (int)SWIG_As_int(obj1
);
19137 if (PyErr_Occurred()) SWIG_fail
;
19139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19140 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
19142 wxPyEndAllowThreads(__tstate
);
19143 if (PyErr_Occurred()) SWIG_fail
;
19145 Py_INCREF(Py_None
); resultobj
= Py_None
;
19152 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19153 PyObject
*resultobj
;
19154 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19157 PyObject
* obj0
= 0 ;
19158 PyObject
* obj1
= 0 ;
19159 char *kwnames
[] = {
19160 (char *) "self",(char *) "sz", NULL
19163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19168 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19172 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
19174 wxPyEndAllowThreads(__tstate
);
19175 if (PyErr_Occurred()) SWIG_fail
;
19177 Py_INCREF(Py_None
); resultobj
= Py_None
;
19184 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19185 PyObject
*resultobj
;
19186 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19188 PyObject
* obj0
= 0 ;
19189 PyObject
* obj1
= 0 ;
19190 char *kwnames
[] = {
19191 (char *) "self",(char *) "quality", NULL
19194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
19195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19197 arg2
= (int)SWIG_As_int(obj1
);
19198 if (PyErr_Occurred()) SWIG_fail
;
19200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19201 (arg1
)->SetQuality(arg2
);
19203 wxPyEndAllowThreads(__tstate
);
19204 if (PyErr_Occurred()) SWIG_fail
;
19206 Py_INCREF(Py_None
); resultobj
= Py_None
;
19213 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19214 PyObject
*resultobj
;
19215 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19217 PyObject
* obj0
= 0 ;
19218 PyObject
* obj1
= 0 ;
19219 char *kwnames
[] = {
19220 (char *) "self",(char *) "bin", NULL
19223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
19224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19226 arg2
= (int)SWIG_As_int(obj1
);
19227 if (PyErr_Occurred()) SWIG_fail
;
19229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19230 (arg1
)->SetBin((wxPrintBin
)arg2
);
19232 wxPyEndAllowThreads(__tstate
);
19233 if (PyErr_Occurred()) SWIG_fail
;
19235 Py_INCREF(Py_None
); resultobj
= Py_None
;
19242 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19243 PyObject
*resultobj
;
19244 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19246 PyObject
* obj0
= 0 ;
19247 PyObject
* obj1
= 0 ;
19248 char *kwnames
[] = {
19249 (char *) "self",(char *) "printMode", NULL
19252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19255 arg2
= (int)SWIG_As_int(obj1
);
19256 if (PyErr_Occurred()) SWIG_fail
;
19258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19259 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19261 wxPyEndAllowThreads(__tstate
);
19262 if (PyErr_Occurred()) SWIG_fail
;
19264 Py_INCREF(Py_None
); resultobj
= Py_None
;
19271 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19272 PyObject
*resultobj
;
19273 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19275 PyObject
* obj0
= 0 ;
19276 char *kwnames
[] = {
19277 (char *) "self", NULL
19280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
19281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19285 result
= ((wxPrintData
const *)arg1
)->GetFilename();
19287 wxPyEndAllowThreads(__tstate
);
19288 if (PyErr_Occurred()) SWIG_fail
;
19292 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19294 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19303 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19304 PyObject
*resultobj
;
19305 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19306 wxString
*arg2
= 0 ;
19307 bool temp2
= false ;
19308 PyObject
* obj0
= 0 ;
19309 PyObject
* obj1
= 0 ;
19310 char *kwnames
[] = {
19311 (char *) "self",(char *) "filename", NULL
19314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
19315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19318 arg2
= wxString_in_helper(obj1
);
19319 if (arg2
== NULL
) SWIG_fail
;
19323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19324 (arg1
)->SetFilename((wxString
const &)*arg2
);
19326 wxPyEndAllowThreads(__tstate
);
19327 if (PyErr_Occurred()) SWIG_fail
;
19329 Py_INCREF(Py_None
); resultobj
= Py_None
;
19344 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19345 PyObject
*resultobj
;
19346 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19348 PyObject
* obj0
= 0 ;
19349 char *kwnames
[] = {
19350 (char *) "self", NULL
19353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
19354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19359 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
19360 result
= (wxString
*) &_result_ref
;
19363 wxPyEndAllowThreads(__tstate
);
19364 if (PyErr_Occurred()) SWIG_fail
;
19368 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19370 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19379 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19380 PyObject
*resultobj
;
19381 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19383 PyObject
* obj0
= 0 ;
19384 char *kwnames
[] = {
19385 (char *) "self", NULL
19388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
19389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19394 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
19395 result
= (wxString
*) &_result_ref
;
19398 wxPyEndAllowThreads(__tstate
);
19399 if (PyErr_Occurred()) SWIG_fail
;
19403 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19405 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19414 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19415 PyObject
*resultobj
;
19416 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19418 PyObject
* obj0
= 0 ;
19419 char *kwnames
[] = {
19420 (char *) "self", NULL
19423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
19424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19429 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
19430 result
= (wxString
*) &_result_ref
;
19433 wxPyEndAllowThreads(__tstate
);
19434 if (PyErr_Occurred()) SWIG_fail
;
19438 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19440 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19449 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19450 PyObject
*resultobj
;
19451 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19453 PyObject
* obj0
= 0 ;
19454 char *kwnames
[] = {
19455 (char *) "self", NULL
19458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
19459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19464 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
19465 result
= (wxString
*) &_result_ref
;
19468 wxPyEndAllowThreads(__tstate
);
19469 if (PyErr_Occurred()) SWIG_fail
;
19473 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19475 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19484 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19485 PyObject
*resultobj
;
19486 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19488 PyObject
* obj0
= 0 ;
19489 char *kwnames
[] = {
19490 (char *) "self", NULL
19493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
19494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19498 result
= (double)(arg1
)->GetPrinterScaleX();
19500 wxPyEndAllowThreads(__tstate
);
19501 if (PyErr_Occurred()) SWIG_fail
;
19503 resultobj
= SWIG_From_double((double)result
);
19510 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19511 PyObject
*resultobj
;
19512 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19514 PyObject
* obj0
= 0 ;
19515 char *kwnames
[] = {
19516 (char *) "self", NULL
19519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
19520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19524 result
= (double)(arg1
)->GetPrinterScaleY();
19526 wxPyEndAllowThreads(__tstate
);
19527 if (PyErr_Occurred()) SWIG_fail
;
19529 resultobj
= SWIG_From_double((double)result
);
19536 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19537 PyObject
*resultobj
;
19538 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19540 PyObject
* obj0
= 0 ;
19541 char *kwnames
[] = {
19542 (char *) "self", NULL
19545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
19546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19550 result
= (long)(arg1
)->GetPrinterTranslateX();
19552 wxPyEndAllowThreads(__tstate
);
19553 if (PyErr_Occurred()) SWIG_fail
;
19555 resultobj
= SWIG_From_long((long)result
);
19562 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19563 PyObject
*resultobj
;
19564 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19566 PyObject
* obj0
= 0 ;
19567 char *kwnames
[] = {
19568 (char *) "self", NULL
19571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
19572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19576 result
= (long)(arg1
)->GetPrinterTranslateY();
19578 wxPyEndAllowThreads(__tstate
);
19579 if (PyErr_Occurred()) SWIG_fail
;
19581 resultobj
= SWIG_From_long((long)result
);
19588 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19589 PyObject
*resultobj
;
19590 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19591 wxString
*arg2
= 0 ;
19592 bool temp2
= false ;
19593 PyObject
* obj0
= 0 ;
19594 PyObject
* obj1
= 0 ;
19595 char *kwnames
[] = {
19596 (char *) "self",(char *) "command", NULL
19599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19603 arg2
= wxString_in_helper(obj1
);
19604 if (arg2
== NULL
) SWIG_fail
;
19608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19609 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
19611 wxPyEndAllowThreads(__tstate
);
19612 if (PyErr_Occurred()) SWIG_fail
;
19614 Py_INCREF(Py_None
); resultobj
= Py_None
;
19629 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19630 PyObject
*resultobj
;
19631 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19632 wxString
*arg2
= 0 ;
19633 bool temp2
= false ;
19634 PyObject
* obj0
= 0 ;
19635 PyObject
* obj1
= 0 ;
19636 char *kwnames
[] = {
19637 (char *) "self",(char *) "options", NULL
19640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
19641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19644 arg2
= wxString_in_helper(obj1
);
19645 if (arg2
== NULL
) SWIG_fail
;
19649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19650 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
19652 wxPyEndAllowThreads(__tstate
);
19653 if (PyErr_Occurred()) SWIG_fail
;
19655 Py_INCREF(Py_None
); resultobj
= Py_None
;
19670 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19671 PyObject
*resultobj
;
19672 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19673 wxString
*arg2
= 0 ;
19674 bool temp2
= false ;
19675 PyObject
* obj0
= 0 ;
19676 PyObject
* obj1
= 0 ;
19677 char *kwnames
[] = {
19678 (char *) "self",(char *) "command", NULL
19681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19685 arg2
= wxString_in_helper(obj1
);
19686 if (arg2
== NULL
) SWIG_fail
;
19690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19691 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
19693 wxPyEndAllowThreads(__tstate
);
19694 if (PyErr_Occurred()) SWIG_fail
;
19696 Py_INCREF(Py_None
); resultobj
= Py_None
;
19711 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19712 PyObject
*resultobj
;
19713 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19714 wxString
*arg2
= 0 ;
19715 bool temp2
= false ;
19716 PyObject
* obj0
= 0 ;
19717 PyObject
* obj1
= 0 ;
19718 char *kwnames
[] = {
19719 (char *) "self",(char *) "path", NULL
19722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
19723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19726 arg2
= wxString_in_helper(obj1
);
19727 if (arg2
== NULL
) SWIG_fail
;
19731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19732 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
19734 wxPyEndAllowThreads(__tstate
);
19735 if (PyErr_Occurred()) SWIG_fail
;
19737 Py_INCREF(Py_None
); resultobj
= Py_None
;
19752 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19753 PyObject
*resultobj
;
19754 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19756 PyObject
* obj0
= 0 ;
19757 PyObject
* obj1
= 0 ;
19758 char *kwnames
[] = {
19759 (char *) "self",(char *) "x", NULL
19762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
19763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19765 arg2
= (double)SWIG_As_double(obj1
);
19766 if (PyErr_Occurred()) SWIG_fail
;
19768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19769 (arg1
)->SetPrinterScaleX(arg2
);
19771 wxPyEndAllowThreads(__tstate
);
19772 if (PyErr_Occurred()) SWIG_fail
;
19774 Py_INCREF(Py_None
); resultobj
= Py_None
;
19781 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19782 PyObject
*resultobj
;
19783 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19785 PyObject
* obj0
= 0 ;
19786 PyObject
* obj1
= 0 ;
19787 char *kwnames
[] = {
19788 (char *) "self",(char *) "y", NULL
19791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
19792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19794 arg2
= (double)SWIG_As_double(obj1
);
19795 if (PyErr_Occurred()) SWIG_fail
;
19797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19798 (arg1
)->SetPrinterScaleY(arg2
);
19800 wxPyEndAllowThreads(__tstate
);
19801 if (PyErr_Occurred()) SWIG_fail
;
19803 Py_INCREF(Py_None
); resultobj
= Py_None
;
19810 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19811 PyObject
*resultobj
;
19812 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19815 PyObject
* obj0
= 0 ;
19816 PyObject
* obj1
= 0 ;
19817 PyObject
* obj2
= 0 ;
19818 char *kwnames
[] = {
19819 (char *) "self",(char *) "x",(char *) "y", NULL
19822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19825 arg2
= (double)SWIG_As_double(obj1
);
19826 if (PyErr_Occurred()) SWIG_fail
;
19827 arg3
= (double)SWIG_As_double(obj2
);
19828 if (PyErr_Occurred()) SWIG_fail
;
19830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19831 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19833 wxPyEndAllowThreads(__tstate
);
19834 if (PyErr_Occurred()) SWIG_fail
;
19836 Py_INCREF(Py_None
); resultobj
= Py_None
;
19843 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19844 PyObject
*resultobj
;
19845 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19847 PyObject
* obj0
= 0 ;
19848 PyObject
* obj1
= 0 ;
19849 char *kwnames
[] = {
19850 (char *) "self",(char *) "x", NULL
19853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19856 arg2
= (long)SWIG_As_long(obj1
);
19857 if (PyErr_Occurred()) SWIG_fail
;
19859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19860 (arg1
)->SetPrinterTranslateX(arg2
);
19862 wxPyEndAllowThreads(__tstate
);
19863 if (PyErr_Occurred()) SWIG_fail
;
19865 Py_INCREF(Py_None
); resultobj
= Py_None
;
19872 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19873 PyObject
*resultobj
;
19874 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19876 PyObject
* obj0
= 0 ;
19877 PyObject
* obj1
= 0 ;
19878 char *kwnames
[] = {
19879 (char *) "self",(char *) "y", NULL
19882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19885 arg2
= (long)SWIG_As_long(obj1
);
19886 if (PyErr_Occurred()) SWIG_fail
;
19888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19889 (arg1
)->SetPrinterTranslateY(arg2
);
19891 wxPyEndAllowThreads(__tstate
);
19892 if (PyErr_Occurred()) SWIG_fail
;
19894 Py_INCREF(Py_None
); resultobj
= Py_None
;
19901 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19902 PyObject
*resultobj
;
19903 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19906 PyObject
* obj0
= 0 ;
19907 PyObject
* obj1
= 0 ;
19908 PyObject
* obj2
= 0 ;
19909 char *kwnames
[] = {
19910 (char *) "self",(char *) "x",(char *) "y", NULL
19913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19916 arg2
= (long)SWIG_As_long(obj1
);
19917 if (PyErr_Occurred()) SWIG_fail
;
19918 arg3
= (long)SWIG_As_long(obj2
);
19919 if (PyErr_Occurred()) SWIG_fail
;
19921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19922 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19924 wxPyEndAllowThreads(__tstate
);
19925 if (PyErr_Occurred()) SWIG_fail
;
19927 Py_INCREF(Py_None
); resultobj
= Py_None
;
19934 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
19936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19937 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19939 return Py_BuildValue((char *)"");
19941 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
19942 PyObject
*resultobj
;
19943 wxPageSetupDialogData
*result
;
19945 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
19947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19948 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19950 wxPyEndAllowThreads(__tstate
);
19951 if (PyErr_Occurred()) SWIG_fail
;
19953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19960 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
19961 PyObject
*resultobj
;
19962 wxPageSetupDialogData
*arg1
= 0 ;
19963 wxPageSetupDialogData
*result
;
19964 PyObject
* obj0
= 0 ;
19966 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
19967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19968 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19970 if (arg1
== NULL
) {
19971 PyErr_SetString(PyExc_TypeError
,"null reference");
19975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19976 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
19978 wxPyEndAllowThreads(__tstate
);
19979 if (PyErr_Occurred()) SWIG_fail
;
19981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19988 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
19993 argc
= PyObject_Length(args
);
19994 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19995 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19998 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
20004 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
20012 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
20016 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PageSetupDialogData'");
20021 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20022 PyObject
*resultobj
;
20023 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20024 PyObject
* obj0
= 0 ;
20025 char *kwnames
[] = {
20026 (char *) "self", NULL
20029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
20030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20036 wxPyEndAllowThreads(__tstate
);
20037 if (PyErr_Occurred()) SWIG_fail
;
20039 Py_INCREF(Py_None
); resultobj
= Py_None
;
20046 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20047 PyObject
*resultobj
;
20048 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20050 PyObject
* obj0
= 0 ;
20051 PyObject
* obj1
= 0 ;
20052 char *kwnames
[] = {
20053 (char *) "self",(char *) "flag", NULL
20056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20059 arg2
= (bool)SWIG_As_bool(obj1
);
20060 if (PyErr_Occurred()) SWIG_fail
;
20062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20063 (arg1
)->EnableHelp(arg2
);
20065 wxPyEndAllowThreads(__tstate
);
20066 if (PyErr_Occurred()) SWIG_fail
;
20068 Py_INCREF(Py_None
); resultobj
= Py_None
;
20075 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20076 PyObject
*resultobj
;
20077 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20079 PyObject
* obj0
= 0 ;
20080 PyObject
* obj1
= 0 ;
20081 char *kwnames
[] = {
20082 (char *) "self",(char *) "flag", NULL
20085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20088 arg2
= (bool)SWIG_As_bool(obj1
);
20089 if (PyErr_Occurred()) SWIG_fail
;
20091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20092 (arg1
)->EnableMargins(arg2
);
20094 wxPyEndAllowThreads(__tstate
);
20095 if (PyErr_Occurred()) SWIG_fail
;
20097 Py_INCREF(Py_None
); resultobj
= Py_None
;
20104 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20105 PyObject
*resultobj
;
20106 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20108 PyObject
* obj0
= 0 ;
20109 PyObject
* obj1
= 0 ;
20110 char *kwnames
[] = {
20111 (char *) "self",(char *) "flag", NULL
20114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
20115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20117 arg2
= (bool)SWIG_As_bool(obj1
);
20118 if (PyErr_Occurred()) SWIG_fail
;
20120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20121 (arg1
)->EnableOrientation(arg2
);
20123 wxPyEndAllowThreads(__tstate
);
20124 if (PyErr_Occurred()) SWIG_fail
;
20126 Py_INCREF(Py_None
); resultobj
= Py_None
;
20133 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20134 PyObject
*resultobj
;
20135 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20137 PyObject
* obj0
= 0 ;
20138 PyObject
* obj1
= 0 ;
20139 char *kwnames
[] = {
20140 (char *) "self",(char *) "flag", NULL
20143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
20144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20146 arg2
= (bool)SWIG_As_bool(obj1
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20150 (arg1
)->EnablePaper(arg2
);
20152 wxPyEndAllowThreads(__tstate
);
20153 if (PyErr_Occurred()) SWIG_fail
;
20155 Py_INCREF(Py_None
); resultobj
= Py_None
;
20162 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20163 PyObject
*resultobj
;
20164 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20166 PyObject
* obj0
= 0 ;
20167 PyObject
* obj1
= 0 ;
20168 char *kwnames
[] = {
20169 (char *) "self",(char *) "flag", NULL
20172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
20173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20175 arg2
= (bool)SWIG_As_bool(obj1
);
20176 if (PyErr_Occurred()) SWIG_fail
;
20178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20179 (arg1
)->EnablePrinter(arg2
);
20181 wxPyEndAllowThreads(__tstate
);
20182 if (PyErr_Occurred()) SWIG_fail
;
20184 Py_INCREF(Py_None
); resultobj
= Py_None
;
20191 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20192 PyObject
*resultobj
;
20193 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20195 PyObject
* obj0
= 0 ;
20196 char *kwnames
[] = {
20197 (char *) "self", NULL
20200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
20201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20205 result
= (bool)(arg1
)->GetDefaultMinMargins();
20207 wxPyEndAllowThreads(__tstate
);
20208 if (PyErr_Occurred()) SWIG_fail
;
20211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20219 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20220 PyObject
*resultobj
;
20221 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20223 PyObject
* obj0
= 0 ;
20224 char *kwnames
[] = {
20225 (char *) "self", NULL
20228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
20229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20233 result
= (bool)(arg1
)->GetEnableMargins();
20235 wxPyEndAllowThreads(__tstate
);
20236 if (PyErr_Occurred()) SWIG_fail
;
20239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20247 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20248 PyObject
*resultobj
;
20249 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20251 PyObject
* obj0
= 0 ;
20252 char *kwnames
[] = {
20253 (char *) "self", NULL
20256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
20257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20261 result
= (bool)(arg1
)->GetEnableOrientation();
20263 wxPyEndAllowThreads(__tstate
);
20264 if (PyErr_Occurred()) SWIG_fail
;
20267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20275 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20276 PyObject
*resultobj
;
20277 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20279 PyObject
* obj0
= 0 ;
20280 char *kwnames
[] = {
20281 (char *) "self", NULL
20284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
20285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20289 result
= (bool)(arg1
)->GetEnablePaper();
20291 wxPyEndAllowThreads(__tstate
);
20292 if (PyErr_Occurred()) SWIG_fail
;
20295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20303 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20304 PyObject
*resultobj
;
20305 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20307 PyObject
* obj0
= 0 ;
20308 char *kwnames
[] = {
20309 (char *) "self", NULL
20312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
20313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20317 result
= (bool)(arg1
)->GetEnablePrinter();
20319 wxPyEndAllowThreads(__tstate
);
20320 if (PyErr_Occurred()) SWIG_fail
;
20323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20331 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20332 PyObject
*resultobj
;
20333 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20335 PyObject
* obj0
= 0 ;
20336 char *kwnames
[] = {
20337 (char *) "self", NULL
20340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20345 result
= (bool)(arg1
)->GetEnableHelp();
20347 wxPyEndAllowThreads(__tstate
);
20348 if (PyErr_Occurred()) SWIG_fail
;
20351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20359 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20360 PyObject
*resultobj
;
20361 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20363 PyObject
* obj0
= 0 ;
20364 char *kwnames
[] = {
20365 (char *) "self", NULL
20368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
20369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20373 result
= (bool)(arg1
)->GetDefaultInfo();
20375 wxPyEndAllowThreads(__tstate
);
20376 if (PyErr_Occurred()) SWIG_fail
;
20379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20387 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20388 PyObject
*resultobj
;
20389 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20391 PyObject
* obj0
= 0 ;
20392 char *kwnames
[] = {
20393 (char *) "self", NULL
20396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20401 result
= (arg1
)->GetMarginTopLeft();
20403 wxPyEndAllowThreads(__tstate
);
20404 if (PyErr_Occurred()) SWIG_fail
;
20407 wxPoint
* resultptr
;
20408 resultptr
= new wxPoint((wxPoint
&) result
);
20409 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20417 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20418 PyObject
*resultobj
;
20419 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20421 PyObject
* obj0
= 0 ;
20422 char *kwnames
[] = {
20423 (char *) "self", NULL
20426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20431 result
= (arg1
)->GetMarginBottomRight();
20433 wxPyEndAllowThreads(__tstate
);
20434 if (PyErr_Occurred()) SWIG_fail
;
20437 wxPoint
* resultptr
;
20438 resultptr
= new wxPoint((wxPoint
&) result
);
20439 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20447 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20448 PyObject
*resultobj
;
20449 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20451 PyObject
* obj0
= 0 ;
20452 char *kwnames
[] = {
20453 (char *) "self", NULL
20456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20461 result
= (arg1
)->GetMinMarginTopLeft();
20463 wxPyEndAllowThreads(__tstate
);
20464 if (PyErr_Occurred()) SWIG_fail
;
20467 wxPoint
* resultptr
;
20468 resultptr
= new wxPoint((wxPoint
&) result
);
20469 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20477 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20478 PyObject
*resultobj
;
20479 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20481 PyObject
* obj0
= 0 ;
20482 char *kwnames
[] = {
20483 (char *) "self", NULL
20486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20491 result
= (arg1
)->GetMinMarginBottomRight();
20493 wxPyEndAllowThreads(__tstate
);
20494 if (PyErr_Occurred()) SWIG_fail
;
20497 wxPoint
* resultptr
;
20498 resultptr
= new wxPoint((wxPoint
&) result
);
20499 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20507 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(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_GetPaperId",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
= (int)(arg1
)->GetPaperId();
20523 wxPyEndAllowThreads(__tstate
);
20524 if (PyErr_Occurred()) SWIG_fail
;
20526 resultobj
= SWIG_From_int((int)result
);
20533 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20534 PyObject
*resultobj
;
20535 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20537 PyObject
* obj0
= 0 ;
20538 char *kwnames
[] = {
20539 (char *) "self", NULL
20542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20547 result
= (arg1
)->GetPaperSize();
20549 wxPyEndAllowThreads(__tstate
);
20550 if (PyErr_Occurred()) SWIG_fail
;
20553 wxSize
* resultptr
;
20554 resultptr
= new wxSize((wxSize
&) result
);
20555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20563 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20564 PyObject
*resultobj
;
20565 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20566 wxPrintData
*result
;
20567 PyObject
* obj0
= 0 ;
20568 char *kwnames
[] = {
20569 (char *) "self", NULL
20572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20578 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20579 result
= (wxPrintData
*) &_result_ref
;
20582 wxPyEndAllowThreads(__tstate
);
20583 if (PyErr_Occurred()) SWIG_fail
;
20585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20592 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20593 PyObject
*resultobj
;
20594 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20596 PyObject
* obj0
= 0 ;
20597 char *kwnames
[] = {
20598 (char *) "self", NULL
20601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20606 result
= (bool)(arg1
)->Ok();
20608 wxPyEndAllowThreads(__tstate
);
20609 if (PyErr_Occurred()) SWIG_fail
;
20612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20620 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20621 PyObject
*resultobj
;
20622 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20624 PyObject
* obj0
= 0 ;
20625 PyObject
* obj1
= 0 ;
20626 char *kwnames
[] = {
20627 (char *) "self",(char *) "flag", NULL
20630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
20631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20633 arg2
= (bool)SWIG_As_bool(obj1
);
20634 if (PyErr_Occurred()) SWIG_fail
;
20636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20637 (arg1
)->SetDefaultInfo(arg2
);
20639 wxPyEndAllowThreads(__tstate
);
20640 if (PyErr_Occurred()) SWIG_fail
;
20642 Py_INCREF(Py_None
); resultobj
= Py_None
;
20649 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20650 PyObject
*resultobj
;
20651 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20653 PyObject
* obj0
= 0 ;
20654 PyObject
* obj1
= 0 ;
20655 char *kwnames
[] = {
20656 (char *) "self",(char *) "flag", NULL
20659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20662 arg2
= (bool)SWIG_As_bool(obj1
);
20663 if (PyErr_Occurred()) SWIG_fail
;
20665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20666 (arg1
)->SetDefaultMinMargins(arg2
);
20668 wxPyEndAllowThreads(__tstate
);
20669 if (PyErr_Occurred()) SWIG_fail
;
20671 Py_INCREF(Py_None
); resultobj
= Py_None
;
20678 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20679 PyObject
*resultobj
;
20680 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20681 wxPoint
*arg2
= 0 ;
20683 PyObject
* obj0
= 0 ;
20684 PyObject
* obj1
= 0 ;
20685 char *kwnames
[] = {
20686 (char *) "self",(char *) "pt", NULL
20689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20694 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20698 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
20700 wxPyEndAllowThreads(__tstate
);
20701 if (PyErr_Occurred()) SWIG_fail
;
20703 Py_INCREF(Py_None
); resultobj
= Py_None
;
20710 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20711 PyObject
*resultobj
;
20712 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20713 wxPoint
*arg2
= 0 ;
20715 PyObject
* obj0
= 0 ;
20716 PyObject
* obj1
= 0 ;
20717 char *kwnames
[] = {
20718 (char *) "self",(char *) "pt", NULL
20721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20726 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20730 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20732 wxPyEndAllowThreads(__tstate
);
20733 if (PyErr_Occurred()) SWIG_fail
;
20735 Py_INCREF(Py_None
); resultobj
= Py_None
;
20742 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20743 PyObject
*resultobj
;
20744 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20745 wxPoint
*arg2
= 0 ;
20747 PyObject
* obj0
= 0 ;
20748 PyObject
* obj1
= 0 ;
20749 char *kwnames
[] = {
20750 (char *) "self",(char *) "pt", NULL
20753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20758 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20762 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20767 Py_INCREF(Py_None
); resultobj
= Py_None
;
20774 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20775 PyObject
*resultobj
;
20776 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20777 wxPoint
*arg2
= 0 ;
20779 PyObject
* obj0
= 0 ;
20780 PyObject
* obj1
= 0 ;
20781 char *kwnames
[] = {
20782 (char *) "self",(char *) "pt", NULL
20785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20790 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20794 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20796 wxPyEndAllowThreads(__tstate
);
20797 if (PyErr_Occurred()) SWIG_fail
;
20799 Py_INCREF(Py_None
); resultobj
= Py_None
;
20806 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20807 PyObject
*resultobj
;
20808 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20810 PyObject
* obj0
= 0 ;
20811 PyObject
* obj1
= 0 ;
20812 char *kwnames
[] = {
20813 (char *) "self",(char *) "id", NULL
20816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20819 arg2
= (int)SWIG_As_int(obj1
);
20820 if (PyErr_Occurred()) SWIG_fail
;
20822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20823 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20825 wxPyEndAllowThreads(__tstate
);
20826 if (PyErr_Occurred()) SWIG_fail
;
20828 Py_INCREF(Py_None
); resultobj
= Py_None
;
20835 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20836 PyObject
*resultobj
;
20837 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20840 PyObject
* obj0
= 0 ;
20841 PyObject
* obj1
= 0 ;
20842 char *kwnames
[] = {
20843 (char *) "self",(char *) "size", NULL
20846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20851 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20855 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20857 wxPyEndAllowThreads(__tstate
);
20858 if (PyErr_Occurred()) SWIG_fail
;
20860 Py_INCREF(Py_None
); resultobj
= Py_None
;
20867 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20868 PyObject
*resultobj
;
20869 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20870 wxPrintData
*arg2
= 0 ;
20871 PyObject
* obj0
= 0 ;
20872 PyObject
* obj1
= 0 ;
20873 char *kwnames
[] = {
20874 (char *) "self",(char *) "printData", NULL
20877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20881 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20883 if (arg2
== NULL
) {
20884 PyErr_SetString(PyExc_TypeError
,"null reference");
20888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20889 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20891 wxPyEndAllowThreads(__tstate
);
20892 if (PyErr_Occurred()) SWIG_fail
;
20894 Py_INCREF(Py_None
); resultobj
= Py_None
;
20901 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
20903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20904 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20906 return Py_BuildValue((char *)"");
20908 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20909 PyObject
*resultobj
;
20910 wxWindow
*arg1
= (wxWindow
*) 0 ;
20911 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20912 wxPageSetupDialog
*result
;
20913 PyObject
* obj0
= 0 ;
20914 PyObject
* obj1
= 0 ;
20915 char *kwnames
[] = {
20916 (char *) "parent",(char *) "data", NULL
20919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20923 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20927 if (!wxPyCheckForApp()) SWIG_fail
;
20928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20929 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20931 wxPyEndAllowThreads(__tstate
);
20932 if (PyErr_Occurred()) SWIG_fail
;
20934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20941 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20942 PyObject
*resultobj
;
20943 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20944 wxPageSetupDialogData
*result
;
20945 PyObject
* obj0
= 0 ;
20946 char *kwnames
[] = {
20947 (char *) "self", NULL
20950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20956 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20957 result
= (wxPageSetupDialogData
*) &_result_ref
;
20960 wxPyEndAllowThreads(__tstate
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20970 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20971 PyObject
*resultobj
;
20972 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20973 wxPageSetupDialogData
*result
;
20974 PyObject
* obj0
= 0 ;
20975 char *kwnames
[] = {
20976 (char *) "self", NULL
20979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
20980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20985 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
20986 result
= (wxPageSetupDialogData
*) &_result_ref
;
20989 wxPyEndAllowThreads(__tstate
);
20990 if (PyErr_Occurred()) SWIG_fail
;
20992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20999 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21000 PyObject
*resultobj
;
21001 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
21003 PyObject
* obj0
= 0 ;
21004 char *kwnames
[] = {
21005 (char *) "self", NULL
21008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
21010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21013 result
= (int)(arg1
)->ShowModal();
21015 wxPyEndAllowThreads(__tstate
);
21016 if (PyErr_Occurred()) SWIG_fail
;
21018 resultobj
= SWIG_From_int((int)result
);
21025 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
21027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21028 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
21030 return Py_BuildValue((char *)"");
21032 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
21033 PyObject
*resultobj
;
21034 wxPrintDialogData
*result
;
21036 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
21038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21039 result
= (wxPrintDialogData
*)new wxPrintDialogData();
21041 wxPyEndAllowThreads(__tstate
);
21042 if (PyErr_Occurred()) SWIG_fail
;
21044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
21051 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
21052 PyObject
*resultobj
;
21053 wxPrintData
*arg1
= 0 ;
21054 wxPrintDialogData
*result
;
21055 PyObject
* obj0
= 0 ;
21057 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
21058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
21059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21061 if (arg1
== NULL
) {
21062 PyErr_SetString(PyExc_TypeError
,"null reference");
21066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21067 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
21069 wxPyEndAllowThreads(__tstate
);
21070 if (PyErr_Occurred()) SWIG_fail
;
21072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
21079 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
21084 argc
= PyObject_Length(args
);
21085 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
21086 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21089 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
21095 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
21103 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
21107 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
21112 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21113 PyObject
*resultobj
;
21114 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21115 PyObject
* obj0
= 0 ;
21116 char *kwnames
[] = {
21117 (char *) "self", NULL
21120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
21121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21127 wxPyEndAllowThreads(__tstate
);
21128 if (PyErr_Occurred()) SWIG_fail
;
21130 Py_INCREF(Py_None
); resultobj
= Py_None
;
21137 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21138 PyObject
*resultobj
;
21139 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21141 PyObject
* obj0
= 0 ;
21142 char *kwnames
[] = {
21143 (char *) "self", NULL
21146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
21147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21151 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
21153 wxPyEndAllowThreads(__tstate
);
21154 if (PyErr_Occurred()) SWIG_fail
;
21156 resultobj
= SWIG_From_int((int)result
);
21163 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21164 PyObject
*resultobj
;
21165 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21167 PyObject
* obj0
= 0 ;
21168 char *kwnames
[] = {
21169 (char *) "self", NULL
21172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
21173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21177 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
21179 wxPyEndAllowThreads(__tstate
);
21180 if (PyErr_Occurred()) SWIG_fail
;
21182 resultobj
= SWIG_From_int((int)result
);
21189 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21190 PyObject
*resultobj
;
21191 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21193 PyObject
* obj0
= 0 ;
21194 char *kwnames
[] = {
21195 (char *) "self", NULL
21198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
21199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21203 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
21205 wxPyEndAllowThreads(__tstate
);
21206 if (PyErr_Occurred()) SWIG_fail
;
21208 resultobj
= SWIG_From_int((int)result
);
21215 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21216 PyObject
*resultobj
;
21217 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21219 PyObject
* obj0
= 0 ;
21220 char *kwnames
[] = {
21221 (char *) "self", NULL
21224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
21225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21229 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
21231 wxPyEndAllowThreads(__tstate
);
21232 if (PyErr_Occurred()) SWIG_fail
;
21234 resultobj
= SWIG_From_int((int)result
);
21241 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21242 PyObject
*resultobj
;
21243 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21245 PyObject
* obj0
= 0 ;
21246 char *kwnames
[] = {
21247 (char *) "self", NULL
21250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
21251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21255 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
21257 wxPyEndAllowThreads(__tstate
);
21258 if (PyErr_Occurred()) SWIG_fail
;
21260 resultobj
= SWIG_From_int((int)result
);
21267 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21268 PyObject
*resultobj
;
21269 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21271 PyObject
* obj0
= 0 ;
21272 char *kwnames
[] = {
21273 (char *) "self", NULL
21276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
21277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21281 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
21283 wxPyEndAllowThreads(__tstate
);
21284 if (PyErr_Occurred()) SWIG_fail
;
21287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21295 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21296 PyObject
*resultobj
;
21297 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21299 PyObject
* obj0
= 0 ;
21300 char *kwnames
[] = {
21301 (char *) "self", NULL
21304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
21305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21309 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
21311 wxPyEndAllowThreads(__tstate
);
21312 if (PyErr_Occurred()) SWIG_fail
;
21315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21323 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21324 PyObject
*resultobj
;
21325 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21327 PyObject
* obj0
= 0 ;
21328 char *kwnames
[] = {
21329 (char *) "self", NULL
21332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
21333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21337 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
21339 wxPyEndAllowThreads(__tstate
);
21340 if (PyErr_Occurred()) SWIG_fail
;
21343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21351 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21352 PyObject
*resultobj
;
21353 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21355 PyObject
* obj0
= 0 ;
21356 char *kwnames
[] = {
21357 (char *) "self", NULL
21360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
21361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21365 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
21367 wxPyEndAllowThreads(__tstate
);
21368 if (PyErr_Occurred()) SWIG_fail
;
21371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21379 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21380 PyObject
*resultobj
;
21381 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21383 PyObject
* obj0
= 0 ;
21384 char *kwnames
[] = {
21385 (char *) "self", NULL
21388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
21389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21393 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
21395 wxPyEndAllowThreads(__tstate
);
21396 if (PyErr_Occurred()) SWIG_fail
;
21399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21407 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21408 PyObject
*resultobj
;
21409 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21411 PyObject
* obj0
= 0 ;
21412 PyObject
* obj1
= 0 ;
21413 char *kwnames
[] = {
21414 (char *) "self",(char *) "flag", NULL
21417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21420 arg2
= (bool)SWIG_As_bool(obj1
);
21421 if (PyErr_Occurred()) SWIG_fail
;
21423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21424 (arg1
)->SetSetupDialog(arg2
);
21426 wxPyEndAllowThreads(__tstate
);
21427 if (PyErr_Occurred()) SWIG_fail
;
21429 Py_INCREF(Py_None
); resultobj
= Py_None
;
21436 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21437 PyObject
*resultobj
;
21438 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21440 PyObject
* obj0
= 0 ;
21441 PyObject
* obj1
= 0 ;
21442 char *kwnames
[] = {
21443 (char *) "self",(char *) "v", NULL
21446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21449 arg2
= (int)SWIG_As_int(obj1
);
21450 if (PyErr_Occurred()) SWIG_fail
;
21452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21453 (arg1
)->SetFromPage(arg2
);
21455 wxPyEndAllowThreads(__tstate
);
21456 if (PyErr_Occurred()) SWIG_fail
;
21458 Py_INCREF(Py_None
); resultobj
= Py_None
;
21465 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21466 PyObject
*resultobj
;
21467 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21469 PyObject
* obj0
= 0 ;
21470 PyObject
* obj1
= 0 ;
21471 char *kwnames
[] = {
21472 (char *) "self",(char *) "v", NULL
21475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21478 arg2
= (int)SWIG_As_int(obj1
);
21479 if (PyErr_Occurred()) SWIG_fail
;
21481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21482 (arg1
)->SetToPage(arg2
);
21484 wxPyEndAllowThreads(__tstate
);
21485 if (PyErr_Occurred()) SWIG_fail
;
21487 Py_INCREF(Py_None
); resultobj
= Py_None
;
21494 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21495 PyObject
*resultobj
;
21496 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21498 PyObject
* obj0
= 0 ;
21499 PyObject
* obj1
= 0 ;
21500 char *kwnames
[] = {
21501 (char *) "self",(char *) "v", NULL
21504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21507 arg2
= (int)SWIG_As_int(obj1
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21511 (arg1
)->SetMinPage(arg2
);
21513 wxPyEndAllowThreads(__tstate
);
21514 if (PyErr_Occurred()) SWIG_fail
;
21516 Py_INCREF(Py_None
); resultobj
= Py_None
;
21523 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21524 PyObject
*resultobj
;
21525 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21527 PyObject
* obj0
= 0 ;
21528 PyObject
* obj1
= 0 ;
21529 char *kwnames
[] = {
21530 (char *) "self",(char *) "v", NULL
21533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21536 arg2
= (int)SWIG_As_int(obj1
);
21537 if (PyErr_Occurred()) SWIG_fail
;
21539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21540 (arg1
)->SetMaxPage(arg2
);
21542 wxPyEndAllowThreads(__tstate
);
21543 if (PyErr_Occurred()) SWIG_fail
;
21545 Py_INCREF(Py_None
); resultobj
= Py_None
;
21552 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21553 PyObject
*resultobj
;
21554 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21556 PyObject
* obj0
= 0 ;
21557 PyObject
* obj1
= 0 ;
21558 char *kwnames
[] = {
21559 (char *) "self",(char *) "v", NULL
21562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21565 arg2
= (int)SWIG_As_int(obj1
);
21566 if (PyErr_Occurred()) SWIG_fail
;
21568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21569 (arg1
)->SetNoCopies(arg2
);
21571 wxPyEndAllowThreads(__tstate
);
21572 if (PyErr_Occurred()) SWIG_fail
;
21574 Py_INCREF(Py_None
); resultobj
= Py_None
;
21581 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21582 PyObject
*resultobj
;
21583 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21585 PyObject
* obj0
= 0 ;
21586 PyObject
* obj1
= 0 ;
21587 char *kwnames
[] = {
21588 (char *) "self",(char *) "flag", NULL
21591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
21592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21594 arg2
= (bool)SWIG_As_bool(obj1
);
21595 if (PyErr_Occurred()) SWIG_fail
;
21597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21598 (arg1
)->SetAllPages(arg2
);
21600 wxPyEndAllowThreads(__tstate
);
21601 if (PyErr_Occurred()) SWIG_fail
;
21603 Py_INCREF(Py_None
); resultobj
= Py_None
;
21610 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21611 PyObject
*resultobj
;
21612 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21614 PyObject
* obj0
= 0 ;
21615 PyObject
* obj1
= 0 ;
21616 char *kwnames
[] = {
21617 (char *) "self",(char *) "flag", NULL
21620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21623 arg2
= (bool)SWIG_As_bool(obj1
);
21624 if (PyErr_Occurred()) SWIG_fail
;
21626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21627 (arg1
)->SetSelection(arg2
);
21629 wxPyEndAllowThreads(__tstate
);
21630 if (PyErr_Occurred()) SWIG_fail
;
21632 Py_INCREF(Py_None
); resultobj
= Py_None
;
21639 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21640 PyObject
*resultobj
;
21641 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21643 PyObject
* obj0
= 0 ;
21644 PyObject
* obj1
= 0 ;
21645 char *kwnames
[] = {
21646 (char *) "self",(char *) "flag", NULL
21649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21652 arg2
= (bool)SWIG_As_bool(obj1
);
21653 if (PyErr_Occurred()) SWIG_fail
;
21655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21656 (arg1
)->SetCollate(arg2
);
21658 wxPyEndAllowThreads(__tstate
);
21659 if (PyErr_Occurred()) SWIG_fail
;
21661 Py_INCREF(Py_None
); resultobj
= Py_None
;
21668 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21669 PyObject
*resultobj
;
21670 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21672 PyObject
* obj0
= 0 ;
21673 PyObject
* obj1
= 0 ;
21674 char *kwnames
[] = {
21675 (char *) "self",(char *) "flag", NULL
21678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21681 arg2
= (bool)SWIG_As_bool(obj1
);
21682 if (PyErr_Occurred()) SWIG_fail
;
21684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21685 (arg1
)->SetPrintToFile(arg2
);
21687 wxPyEndAllowThreads(__tstate
);
21688 if (PyErr_Occurred()) SWIG_fail
;
21690 Py_INCREF(Py_None
); resultobj
= Py_None
;
21697 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21698 PyObject
*resultobj
;
21699 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21701 PyObject
* obj0
= 0 ;
21702 PyObject
* obj1
= 0 ;
21703 char *kwnames
[] = {
21704 (char *) "self",(char *) "flag", NULL
21707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21710 arg2
= (bool)SWIG_As_bool(obj1
);
21711 if (PyErr_Occurred()) SWIG_fail
;
21713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21714 (arg1
)->EnablePrintToFile(arg2
);
21716 wxPyEndAllowThreads(__tstate
);
21717 if (PyErr_Occurred()) SWIG_fail
;
21719 Py_INCREF(Py_None
); resultobj
= Py_None
;
21726 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21727 PyObject
*resultobj
;
21728 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21730 PyObject
* obj0
= 0 ;
21731 PyObject
* obj1
= 0 ;
21732 char *kwnames
[] = {
21733 (char *) "self",(char *) "flag", NULL
21736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21739 arg2
= (bool)SWIG_As_bool(obj1
);
21740 if (PyErr_Occurred()) SWIG_fail
;
21742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21743 (arg1
)->EnableSelection(arg2
);
21745 wxPyEndAllowThreads(__tstate
);
21746 if (PyErr_Occurred()) SWIG_fail
;
21748 Py_INCREF(Py_None
); resultobj
= Py_None
;
21755 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21756 PyObject
*resultobj
;
21757 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21759 PyObject
* obj0
= 0 ;
21760 PyObject
* obj1
= 0 ;
21761 char *kwnames
[] = {
21762 (char *) "self",(char *) "flag", NULL
21765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21768 arg2
= (bool)SWIG_As_bool(obj1
);
21769 if (PyErr_Occurred()) SWIG_fail
;
21771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21772 (arg1
)->EnablePageNumbers(arg2
);
21774 wxPyEndAllowThreads(__tstate
);
21775 if (PyErr_Occurred()) SWIG_fail
;
21777 Py_INCREF(Py_None
); resultobj
= Py_None
;
21784 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21785 PyObject
*resultobj
;
21786 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21788 PyObject
* obj0
= 0 ;
21789 PyObject
* obj1
= 0 ;
21790 char *kwnames
[] = {
21791 (char *) "self",(char *) "flag", NULL
21794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21797 arg2
= (bool)SWIG_As_bool(obj1
);
21798 if (PyErr_Occurred()) SWIG_fail
;
21800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21801 (arg1
)->EnableHelp(arg2
);
21803 wxPyEndAllowThreads(__tstate
);
21804 if (PyErr_Occurred()) SWIG_fail
;
21806 Py_INCREF(Py_None
); resultobj
= Py_None
;
21813 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21814 PyObject
*resultobj
;
21815 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21817 PyObject
* obj0
= 0 ;
21818 char *kwnames
[] = {
21819 (char *) "self", NULL
21822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21827 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21829 wxPyEndAllowThreads(__tstate
);
21830 if (PyErr_Occurred()) SWIG_fail
;
21833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21841 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21842 PyObject
*resultobj
;
21843 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21845 PyObject
* obj0
= 0 ;
21846 char *kwnames
[] = {
21847 (char *) "self", NULL
21850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21855 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21857 wxPyEndAllowThreads(__tstate
);
21858 if (PyErr_Occurred()) SWIG_fail
;
21861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21869 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21870 PyObject
*resultobj
;
21871 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21873 PyObject
* obj0
= 0 ;
21874 char *kwnames
[] = {
21875 (char *) "self", NULL
21878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21883 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21885 wxPyEndAllowThreads(__tstate
);
21886 if (PyErr_Occurred()) SWIG_fail
;
21889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21897 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21898 PyObject
*resultobj
;
21899 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21901 PyObject
* obj0
= 0 ;
21902 char *kwnames
[] = {
21903 (char *) "self", NULL
21906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21911 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21913 wxPyEndAllowThreads(__tstate
);
21914 if (PyErr_Occurred()) SWIG_fail
;
21917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21925 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21926 PyObject
*resultobj
;
21927 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21929 PyObject
* obj0
= 0 ;
21930 char *kwnames
[] = {
21931 (char *) "self", NULL
21934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21939 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21941 wxPyEndAllowThreads(__tstate
);
21942 if (PyErr_Occurred()) SWIG_fail
;
21945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21953 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21954 PyObject
*resultobj
;
21955 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21956 wxPrintData
*result
;
21957 PyObject
* obj0
= 0 ;
21958 char *kwnames
[] = {
21959 (char *) "self", NULL
21962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21968 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21969 result
= (wxPrintData
*) &_result_ref
;
21972 wxPyEndAllowThreads(__tstate
);
21973 if (PyErr_Occurred()) SWIG_fail
;
21975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21982 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21983 PyObject
*resultobj
;
21984 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21985 wxPrintData
*arg2
= 0 ;
21986 PyObject
* obj0
= 0 ;
21987 PyObject
* obj1
= 0 ;
21988 char *kwnames
[] = {
21989 (char *) "self",(char *) "printData", NULL
21992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21995 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21996 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21998 if (arg2
== NULL
) {
21999 PyErr_SetString(PyExc_TypeError
,"null reference");
22003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22004 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
22006 wxPyEndAllowThreads(__tstate
);
22007 if (PyErr_Occurred()) SWIG_fail
;
22009 Py_INCREF(Py_None
); resultobj
= Py_None
;
22016 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
22018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22019 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
22021 return Py_BuildValue((char *)"");
22023 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22024 PyObject
*resultobj
;
22025 wxWindow
*arg1
= (wxWindow
*) 0 ;
22026 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
22027 wxPrintDialog
*result
;
22028 PyObject
* obj0
= 0 ;
22029 PyObject
* obj1
= 0 ;
22030 char *kwnames
[] = {
22031 (char *) "parent",(char *) "data", NULL
22034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22038 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
22039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22042 if (!wxPyCheckForApp()) SWIG_fail
;
22043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22044 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
22046 wxPyEndAllowThreads(__tstate
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
22056 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22057 PyObject
*resultobj
;
22058 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
22060 PyObject
* obj0
= 0 ;
22061 char *kwnames
[] = {
22062 (char *) "self", NULL
22065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
22066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
22067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22070 result
= (int)(arg1
)->ShowModal();
22072 wxPyEndAllowThreads(__tstate
);
22073 if (PyErr_Occurred()) SWIG_fail
;
22075 resultobj
= SWIG_From_int((int)result
);
22082 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22083 PyObject
*resultobj
;
22084 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
22085 wxPrintDialogData
*result
;
22086 PyObject
* obj0
= 0 ;
22087 char *kwnames
[] = {
22088 (char *) "self", NULL
22091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
22092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
22093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22097 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
22098 result
= (wxPrintDialogData
*) &_result_ref
;
22101 wxPyEndAllowThreads(__tstate
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
22111 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22112 PyObject
*resultobj
;
22113 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
22114 wxPrintData
*result
;
22115 PyObject
* obj0
= 0 ;
22116 char *kwnames
[] = {
22117 (char *) "self", NULL
22120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
22121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
22122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22126 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22127 result
= (wxPrintData
*) &_result_ref
;
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22140 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22141 PyObject
*resultobj
;
22142 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
22144 PyObject
* obj0
= 0 ;
22145 char *kwnames
[] = {
22146 (char *) "self", NULL
22149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
22150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
22151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22154 result
= (wxDC
*)(arg1
)->GetPrintDC();
22156 wxPyEndAllowThreads(__tstate
);
22157 if (PyErr_Occurred()) SWIG_fail
;
22160 resultobj
= wxPyMake_wxObject(result
, 1);
22168 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
22170 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22171 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
22173 return Py_BuildValue((char *)"");
22175 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22176 PyObject
*resultobj
;
22177 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
22179 PyObject
* obj0
= 0 ;
22180 char *kwnames
[] = {
22181 (char *) "data", NULL
22184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
22186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
22187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22190 if (!wxPyCheckForApp()) SWIG_fail
;
22191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22192 result
= (wxPrinter
*)new wxPrinter(arg1
);
22194 wxPyEndAllowThreads(__tstate
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
22204 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22205 PyObject
*resultobj
;
22206 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22207 PyObject
* obj0
= 0 ;
22208 char *kwnames
[] = {
22209 (char *) "self", NULL
22212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
22213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22219 wxPyEndAllowThreads(__tstate
);
22220 if (PyErr_Occurred()) SWIG_fail
;
22222 Py_INCREF(Py_None
); resultobj
= Py_None
;
22229 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22230 PyObject
*resultobj
;
22231 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22232 wxWindow
*arg2
= (wxWindow
*) 0 ;
22233 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22235 PyObject
* obj0
= 0 ;
22236 PyObject
* obj1
= 0 ;
22237 PyObject
* obj2
= 0 ;
22238 char *kwnames
[] = {
22239 (char *) "self",(char *) "parent",(char *) "printout", NULL
22242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22245 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22247 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22251 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
22253 wxPyEndAllowThreads(__tstate
);
22254 if (PyErr_Occurred()) SWIG_fail
;
22257 resultobj
= wxPyMake_wxObject(result
, 0);
22265 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22266 PyObject
*resultobj
;
22267 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22268 wxWindow
*arg2
= (wxWindow
*) 0 ;
22269 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22270 wxString
*arg4
= 0 ;
22271 bool temp4
= false ;
22272 PyObject
* obj0
= 0 ;
22273 PyObject
* obj1
= 0 ;
22274 PyObject
* obj2
= 0 ;
22275 PyObject
* obj3
= 0 ;
22276 char *kwnames
[] = {
22277 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
22280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22283 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22285 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22288 arg4
= wxString_in_helper(obj3
);
22289 if (arg4
== NULL
) SWIG_fail
;
22293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22294 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
22296 wxPyEndAllowThreads(__tstate
);
22297 if (PyErr_Occurred()) SWIG_fail
;
22299 Py_INCREF(Py_None
); resultobj
= Py_None
;
22314 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22315 PyObject
*resultobj
;
22316 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22317 wxWindow
*arg2
= (wxWindow
*) 0 ;
22319 PyObject
* obj0
= 0 ;
22320 PyObject
* obj1
= 0 ;
22321 char *kwnames
[] = {
22322 (char *) "self",(char *) "parent", NULL
22325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
22326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22328 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22332 result
= (bool)(arg1
)->Setup(arg2
);
22334 wxPyEndAllowThreads(__tstate
);
22335 if (PyErr_Occurred()) SWIG_fail
;
22338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22346 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22347 PyObject
*resultobj
;
22348 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22349 wxWindow
*arg2
= (wxWindow
*) 0 ;
22350 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22351 bool arg4
= (bool) true ;
22353 PyObject
* obj0
= 0 ;
22354 PyObject
* obj1
= 0 ;
22355 PyObject
* obj2
= 0 ;
22356 PyObject
* obj3
= 0 ;
22357 char *kwnames
[] = {
22358 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
22361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22364 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22366 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22369 arg4
= (bool)SWIG_As_bool(obj3
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22374 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
22376 wxPyEndAllowThreads(__tstate
);
22377 if (PyErr_Occurred()) SWIG_fail
;
22380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22388 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22389 PyObject
*resultobj
;
22390 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22391 wxWindow
*arg2
= (wxWindow
*) 0 ;
22393 PyObject
* obj0
= 0 ;
22394 PyObject
* obj1
= 0 ;
22395 char *kwnames
[] = {
22396 (char *) "self",(char *) "parent", NULL
22399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22406 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
22408 wxPyEndAllowThreads(__tstate
);
22409 if (PyErr_Occurred()) SWIG_fail
;
22412 resultobj
= wxPyMake_wxObject(result
, 0);
22420 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22421 PyObject
*resultobj
;
22422 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22423 wxPrintDialogData
*result
;
22424 PyObject
* obj0
= 0 ;
22425 char *kwnames
[] = {
22426 (char *) "self", NULL
22429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
22430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22435 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
22436 result
= (wxPrintDialogData
*) &_result_ref
;
22439 wxPyEndAllowThreads(__tstate
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
22449 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22450 PyObject
*resultobj
;
22451 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22453 PyObject
* obj0
= 0 ;
22454 char *kwnames
[] = {
22455 (char *) "self", NULL
22458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
22459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22463 result
= (bool)(arg1
)->GetAbort();
22465 wxPyEndAllowThreads(__tstate
);
22466 if (PyErr_Occurred()) SWIG_fail
;
22469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22477 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22478 PyObject
*resultobj
;
22480 char *kwnames
[] = {
22484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
22486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22487 result
= (int)wxPrinter::GetLastError();
22489 wxPyEndAllowThreads(__tstate
);
22490 if (PyErr_Occurred()) SWIG_fail
;
22492 resultobj
= SWIG_From_int((int)result
);
22499 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
22501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22502 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
22504 return Py_BuildValue((char *)"");
22506 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22507 PyObject
*resultobj
;
22508 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
22509 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22510 wxPyPrintout
*result
;
22511 bool temp1
= false ;
22512 PyObject
* obj0
= 0 ;
22513 char *kwnames
[] = {
22514 (char *) "title", NULL
22517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
22520 arg1
= wxString_in_helper(obj0
);
22521 if (arg1
== NULL
) SWIG_fail
;
22526 if (!wxPyCheckForApp()) SWIG_fail
;
22527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22528 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
22530 wxPyEndAllowThreads(__tstate
);
22531 if (PyErr_Occurred()) SWIG_fail
;
22534 resultobj
= wxPyMake_wxObject(result
, 1);
22550 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22551 PyObject
*resultobj
;
22552 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22553 PyObject
*arg2
= (PyObject
*) 0 ;
22554 PyObject
*arg3
= (PyObject
*) 0 ;
22555 PyObject
* obj0
= 0 ;
22556 PyObject
* obj1
= 0 ;
22557 PyObject
* obj2
= 0 ;
22558 char *kwnames
[] = {
22559 (char *) "self",(char *) "self",(char *) "_class", NULL
22562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22569 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22571 wxPyEndAllowThreads(__tstate
);
22572 if (PyErr_Occurred()) SWIG_fail
;
22574 Py_INCREF(Py_None
); resultobj
= Py_None
;
22581 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22582 PyObject
*resultobj
;
22583 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22585 PyObject
* obj0
= 0 ;
22586 char *kwnames
[] = {
22587 (char *) "self", NULL
22590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
22591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22595 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
22597 wxPyEndAllowThreads(__tstate
);
22598 if (PyErr_Occurred()) SWIG_fail
;
22602 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22604 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22613 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22614 PyObject
*resultobj
;
22615 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22617 PyObject
* obj0
= 0 ;
22618 char *kwnames
[] = {
22619 (char *) "self", NULL
22622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
22623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22627 result
= (wxDC
*)(arg1
)->GetDC();
22629 wxPyEndAllowThreads(__tstate
);
22630 if (PyErr_Occurred()) SWIG_fail
;
22633 resultobj
= wxPyMake_wxObject(result
, 0);
22641 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22642 PyObject
*resultobj
;
22643 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22644 wxDC
*arg2
= (wxDC
*) 0 ;
22645 PyObject
* obj0
= 0 ;
22646 PyObject
* obj1
= 0 ;
22647 char *kwnames
[] = {
22648 (char *) "self",(char *) "dc", NULL
22651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22658 (arg1
)->SetDC(arg2
);
22660 wxPyEndAllowThreads(__tstate
);
22661 if (PyErr_Occurred()) SWIG_fail
;
22663 Py_INCREF(Py_None
); resultobj
= Py_None
;
22670 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22671 PyObject
*resultobj
;
22672 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22675 PyObject
* obj0
= 0 ;
22676 PyObject
* obj1
= 0 ;
22677 PyObject
* obj2
= 0 ;
22678 char *kwnames
[] = {
22679 (char *) "self",(char *) "w",(char *) "h", NULL
22682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22685 arg2
= (int)SWIG_As_int(obj1
);
22686 if (PyErr_Occurred()) SWIG_fail
;
22687 arg3
= (int)SWIG_As_int(obj2
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22691 (arg1
)->SetPageSizePixels(arg2
,arg3
);
22693 wxPyEndAllowThreads(__tstate
);
22694 if (PyErr_Occurred()) SWIG_fail
;
22696 Py_INCREF(Py_None
); resultobj
= Py_None
;
22703 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22704 PyObject
*resultobj
;
22705 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22706 int *arg2
= (int *) 0 ;
22707 int *arg3
= (int *) 0 ;
22712 PyObject
* obj0
= 0 ;
22713 char *kwnames
[] = {
22714 (char *) "self", NULL
22717 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22718 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
22720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22724 (arg1
)->GetPageSizePixels(arg2
,arg3
);
22726 wxPyEndAllowThreads(__tstate
);
22727 if (PyErr_Occurred()) SWIG_fail
;
22729 Py_INCREF(Py_None
); resultobj
= Py_None
;
22730 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22731 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22732 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22733 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22740 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22741 PyObject
*resultobj
;
22742 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22745 PyObject
* obj0
= 0 ;
22746 PyObject
* obj1
= 0 ;
22747 PyObject
* obj2
= 0 ;
22748 char *kwnames
[] = {
22749 (char *) "self",(char *) "w",(char *) "h", NULL
22752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22755 arg2
= (int)SWIG_As_int(obj1
);
22756 if (PyErr_Occurred()) SWIG_fail
;
22757 arg3
= (int)SWIG_As_int(obj2
);
22758 if (PyErr_Occurred()) SWIG_fail
;
22760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22761 (arg1
)->SetPageSizeMM(arg2
,arg3
);
22763 wxPyEndAllowThreads(__tstate
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22766 Py_INCREF(Py_None
); resultobj
= Py_None
;
22773 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22774 PyObject
*resultobj
;
22775 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22776 int *arg2
= (int *) 0 ;
22777 int *arg3
= (int *) 0 ;
22782 PyObject
* obj0
= 0 ;
22783 char *kwnames
[] = {
22784 (char *) "self", NULL
22787 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22788 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22794 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22796 wxPyEndAllowThreads(__tstate
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22799 Py_INCREF(Py_None
); resultobj
= Py_None
;
22800 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22801 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22802 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22803 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22810 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22811 PyObject
*resultobj
;
22812 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22815 PyObject
* obj0
= 0 ;
22816 PyObject
* obj1
= 0 ;
22817 PyObject
* obj2
= 0 ;
22818 char *kwnames
[] = {
22819 (char *) "self",(char *) "x",(char *) "y", NULL
22822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22825 arg2
= (int)SWIG_As_int(obj1
);
22826 if (PyErr_Occurred()) SWIG_fail
;
22827 arg3
= (int)SWIG_As_int(obj2
);
22828 if (PyErr_Occurred()) SWIG_fail
;
22830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22831 (arg1
)->SetPPIScreen(arg2
,arg3
);
22833 wxPyEndAllowThreads(__tstate
);
22834 if (PyErr_Occurred()) SWIG_fail
;
22836 Py_INCREF(Py_None
); resultobj
= Py_None
;
22843 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22844 PyObject
*resultobj
;
22845 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22846 int *arg2
= (int *) 0 ;
22847 int *arg3
= (int *) 0 ;
22852 PyObject
* obj0
= 0 ;
22853 char *kwnames
[] = {
22854 (char *) "self", NULL
22857 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22858 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22864 (arg1
)->GetPPIScreen(arg2
,arg3
);
22866 wxPyEndAllowThreads(__tstate
);
22867 if (PyErr_Occurred()) SWIG_fail
;
22869 Py_INCREF(Py_None
); resultobj
= Py_None
;
22870 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22871 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22872 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22873 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22880 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22881 PyObject
*resultobj
;
22882 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22885 PyObject
* obj0
= 0 ;
22886 PyObject
* obj1
= 0 ;
22887 PyObject
* obj2
= 0 ;
22888 char *kwnames
[] = {
22889 (char *) "self",(char *) "x",(char *) "y", NULL
22892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22895 arg2
= (int)SWIG_As_int(obj1
);
22896 if (PyErr_Occurred()) SWIG_fail
;
22897 arg3
= (int)SWIG_As_int(obj2
);
22898 if (PyErr_Occurred()) SWIG_fail
;
22900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22901 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22903 wxPyEndAllowThreads(__tstate
);
22904 if (PyErr_Occurred()) SWIG_fail
;
22906 Py_INCREF(Py_None
); resultobj
= Py_None
;
22913 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22914 PyObject
*resultobj
;
22915 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22916 int *arg2
= (int *) 0 ;
22917 int *arg3
= (int *) 0 ;
22922 PyObject
* obj0
= 0 ;
22923 char *kwnames
[] = {
22924 (char *) "self", NULL
22927 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22928 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22934 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22936 wxPyEndAllowThreads(__tstate
);
22937 if (PyErr_Occurred()) SWIG_fail
;
22939 Py_INCREF(Py_None
); resultobj
= Py_None
;
22940 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22941 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22942 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22943 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22950 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22951 PyObject
*resultobj
;
22952 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22954 PyObject
* obj0
= 0 ;
22955 char *kwnames
[] = {
22956 (char *) "self", NULL
22959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22964 result
= (bool)(arg1
)->IsPreview();
22966 wxPyEndAllowThreads(__tstate
);
22967 if (PyErr_Occurred()) SWIG_fail
;
22970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22978 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22979 PyObject
*resultobj
;
22980 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22982 PyObject
* obj0
= 0 ;
22983 PyObject
* obj1
= 0 ;
22984 char *kwnames
[] = {
22985 (char *) "self",(char *) "p", NULL
22988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22991 arg2
= (bool)SWIG_As_bool(obj1
);
22992 if (PyErr_Occurred()) SWIG_fail
;
22994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22995 (arg1
)->SetIsPreview(arg2
);
22997 wxPyEndAllowThreads(__tstate
);
22998 if (PyErr_Occurred()) SWIG_fail
;
23000 Py_INCREF(Py_None
); resultobj
= Py_None
;
23007 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23008 PyObject
*resultobj
;
23009 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23013 PyObject
* obj0
= 0 ;
23014 PyObject
* obj1
= 0 ;
23015 PyObject
* obj2
= 0 ;
23016 char *kwnames
[] = {
23017 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
23020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23023 arg2
= (int)SWIG_As_int(obj1
);
23024 if (PyErr_Occurred()) SWIG_fail
;
23025 arg3
= (int)SWIG_As_int(obj2
);
23026 if (PyErr_Occurred()) SWIG_fail
;
23028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23029 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
23031 wxPyEndAllowThreads(__tstate
);
23032 if (PyErr_Occurred()) SWIG_fail
;
23035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23043 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23044 PyObject
*resultobj
;
23045 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23046 PyObject
* obj0
= 0 ;
23047 char *kwnames
[] = {
23048 (char *) "self", NULL
23051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
23052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23056 (arg1
)->base_OnEndDocument();
23058 wxPyEndAllowThreads(__tstate
);
23059 if (PyErr_Occurred()) SWIG_fail
;
23061 Py_INCREF(Py_None
); resultobj
= Py_None
;
23068 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23069 PyObject
*resultobj
;
23070 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23071 PyObject
* obj0
= 0 ;
23072 char *kwnames
[] = {
23073 (char *) "self", NULL
23076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
23077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23081 (arg1
)->base_OnBeginPrinting();
23083 wxPyEndAllowThreads(__tstate
);
23084 if (PyErr_Occurred()) SWIG_fail
;
23086 Py_INCREF(Py_None
); resultobj
= Py_None
;
23093 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23094 PyObject
*resultobj
;
23095 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23096 PyObject
* obj0
= 0 ;
23097 char *kwnames
[] = {
23098 (char *) "self", NULL
23101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
23102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23106 (arg1
)->base_OnEndPrinting();
23108 wxPyEndAllowThreads(__tstate
);
23109 if (PyErr_Occurred()) SWIG_fail
;
23111 Py_INCREF(Py_None
); resultobj
= Py_None
;
23118 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23119 PyObject
*resultobj
;
23120 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23121 PyObject
* obj0
= 0 ;
23122 char *kwnames
[] = {
23123 (char *) "self", NULL
23126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
23127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23131 (arg1
)->base_OnPreparePrinting();
23133 wxPyEndAllowThreads(__tstate
);
23134 if (PyErr_Occurred()) SWIG_fail
;
23136 Py_INCREF(Py_None
); resultobj
= Py_None
;
23143 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23144 PyObject
*resultobj
;
23145 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23148 PyObject
* obj0
= 0 ;
23149 PyObject
* obj1
= 0 ;
23150 char *kwnames
[] = {
23151 (char *) "self",(char *) "page", NULL
23154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23157 arg2
= (int)SWIG_As_int(obj1
);
23158 if (PyErr_Occurred()) SWIG_fail
;
23160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23161 result
= (bool)(arg1
)->base_HasPage(arg2
);
23163 wxPyEndAllowThreads(__tstate
);
23164 if (PyErr_Occurred()) SWIG_fail
;
23167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23175 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23176 PyObject
*resultobj
;
23177 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23178 int *arg2
= (int *) 0 ;
23179 int *arg3
= (int *) 0 ;
23180 int *arg4
= (int *) 0 ;
23181 int *arg5
= (int *) 0 ;
23190 PyObject
* obj0
= 0 ;
23191 char *kwnames
[] = {
23192 (char *) "self", NULL
23195 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23196 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23197 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
23198 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
23199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
23200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23204 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
23206 wxPyEndAllowThreads(__tstate
);
23207 if (PyErr_Occurred()) SWIG_fail
;
23209 Py_INCREF(Py_None
); resultobj
= Py_None
;
23210 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23211 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23212 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23213 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23214 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
23215 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
23216 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
23217 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
23224 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
23226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23227 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
23229 return Py_BuildValue((char *)"");
23231 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23232 PyObject
*resultobj
;
23233 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23234 wxWindow
*arg2
= (wxWindow
*) 0 ;
23235 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23236 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23237 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23238 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23239 long arg5
= (long) 0 ;
23240 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
23241 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
23242 wxPreviewCanvas
*result
;
23245 bool temp6
= false ;
23246 PyObject
* obj0
= 0 ;
23247 PyObject
* obj1
= 0 ;
23248 PyObject
* obj2
= 0 ;
23249 PyObject
* obj3
= 0 ;
23250 PyObject
* obj4
= 0 ;
23251 PyObject
* obj5
= 0 ;
23252 char *kwnames
[] = {
23253 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23259 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23264 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23270 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23274 arg5
= (long)SWIG_As_long(obj4
);
23275 if (PyErr_Occurred()) SWIG_fail
;
23279 arg6
= wxString_in_helper(obj5
);
23280 if (arg6
== NULL
) SWIG_fail
;
23285 if (!wxPyCheckForApp()) SWIG_fail
;
23286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23287 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
23289 wxPyEndAllowThreads(__tstate
);
23290 if (PyErr_Occurred()) SWIG_fail
;
23292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
23307 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
23309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23310 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
23312 return Py_BuildValue((char *)"");
23314 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23315 PyObject
*resultobj
;
23316 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23317 wxFrame
*arg2
= (wxFrame
*) 0 ;
23318 wxString
*arg3
= 0 ;
23319 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23320 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23321 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23322 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23323 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
23324 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23325 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23326 wxPreviewFrame
*result
;
23327 bool temp3
= false ;
23330 bool temp7
= false ;
23331 PyObject
* obj0
= 0 ;
23332 PyObject
* obj1
= 0 ;
23333 PyObject
* obj2
= 0 ;
23334 PyObject
* obj3
= 0 ;
23335 PyObject
* obj4
= 0 ;
23336 PyObject
* obj5
= 0 ;
23337 PyObject
* obj6
= 0 ;
23338 char *kwnames
[] = {
23339 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23348 arg3
= wxString_in_helper(obj2
);
23349 if (arg3
== NULL
) SWIG_fail
;
23355 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23361 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23365 arg6
= (long)SWIG_As_long(obj5
);
23366 if (PyErr_Occurred()) SWIG_fail
;
23370 arg7
= wxString_in_helper(obj6
);
23371 if (arg7
== NULL
) SWIG_fail
;
23376 if (!wxPyCheckForApp()) SWIG_fail
;
23377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23378 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23380 wxPyEndAllowThreads(__tstate
);
23381 if (PyErr_Occurred()) SWIG_fail
;
23383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
23406 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23407 PyObject
*resultobj
;
23408 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23409 PyObject
* obj0
= 0 ;
23410 char *kwnames
[] = {
23411 (char *) "self", NULL
23414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
23415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23419 (arg1
)->Initialize();
23421 wxPyEndAllowThreads(__tstate
);
23422 if (PyErr_Occurred()) SWIG_fail
;
23424 Py_INCREF(Py_None
); resultobj
= Py_None
;
23431 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23432 PyObject
*resultobj
;
23433 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23434 PyObject
* obj0
= 0 ;
23435 char *kwnames
[] = {
23436 (char *) "self", NULL
23439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
23440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23444 (arg1
)->CreateControlBar();
23446 wxPyEndAllowThreads(__tstate
);
23447 if (PyErr_Occurred()) SWIG_fail
;
23449 Py_INCREF(Py_None
); resultobj
= Py_None
;
23456 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23457 PyObject
*resultobj
;
23458 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23459 PyObject
* obj0
= 0 ;
23460 char *kwnames
[] = {
23461 (char *) "self", NULL
23464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
23465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23469 (arg1
)->CreateCanvas();
23471 wxPyEndAllowThreads(__tstate
);
23472 if (PyErr_Occurred()) SWIG_fail
;
23474 Py_INCREF(Py_None
); resultobj
= Py_None
;
23481 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23482 PyObject
*resultobj
;
23483 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23484 wxPreviewControlBar
*result
;
23485 PyObject
* obj0
= 0 ;
23486 char *kwnames
[] = {
23487 (char *) "self", NULL
23490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
23491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23495 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
23497 wxPyEndAllowThreads(__tstate
);
23498 if (PyErr_Occurred()) SWIG_fail
;
23500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
23507 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
23509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23510 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
23512 return Py_BuildValue((char *)"");
23514 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23515 PyObject
*resultobj
;
23516 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23518 wxWindow
*arg3
= (wxWindow
*) 0 ;
23519 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23520 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23521 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23522 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23523 long arg6
= (long) wxTAB_TRAVERSAL
;
23524 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
23525 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23526 wxPreviewControlBar
*result
;
23529 bool temp7
= false ;
23530 PyObject
* obj0
= 0 ;
23531 PyObject
* obj1
= 0 ;
23532 PyObject
* obj2
= 0 ;
23533 PyObject
* obj3
= 0 ;
23534 PyObject
* obj4
= 0 ;
23535 PyObject
* obj5
= 0 ;
23536 PyObject
* obj6
= 0 ;
23537 char *kwnames
[] = {
23538 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23544 arg2
= (long)SWIG_As_long(obj1
);
23545 if (PyErr_Occurred()) SWIG_fail
;
23546 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
23547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23551 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23557 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23561 arg6
= (long)SWIG_As_long(obj5
);
23562 if (PyErr_Occurred()) SWIG_fail
;
23566 arg7
= wxString_in_helper(obj6
);
23567 if (arg7
== NULL
) SWIG_fail
;
23572 if (!wxPyCheckForApp()) SWIG_fail
;
23573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23574 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23576 wxPyEndAllowThreads(__tstate
);
23577 if (PyErr_Occurred()) SWIG_fail
;
23579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
23594 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23595 PyObject
*resultobj
;
23596 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23598 PyObject
* obj0
= 0 ;
23599 char *kwnames
[] = {
23600 (char *) "self", NULL
23603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
23604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23608 result
= (int)(arg1
)->GetZoomControl();
23610 wxPyEndAllowThreads(__tstate
);
23611 if (PyErr_Occurred()) SWIG_fail
;
23613 resultobj
= SWIG_From_int((int)result
);
23620 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23621 PyObject
*resultobj
;
23622 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23624 PyObject
* obj0
= 0 ;
23625 PyObject
* obj1
= 0 ;
23626 char *kwnames
[] = {
23627 (char *) "self",(char *) "zoom", NULL
23630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
23631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23633 arg2
= (int)SWIG_As_int(obj1
);
23634 if (PyErr_Occurred()) SWIG_fail
;
23636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23637 (arg1
)->SetZoomControl(arg2
);
23639 wxPyEndAllowThreads(__tstate
);
23640 if (PyErr_Occurred()) SWIG_fail
;
23642 Py_INCREF(Py_None
); resultobj
= Py_None
;
23649 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23650 PyObject
*resultobj
;
23651 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23652 wxPrintPreview
*result
;
23653 PyObject
* obj0
= 0 ;
23654 char *kwnames
[] = {
23655 (char *) "self", NULL
23658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
23659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23663 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
23665 wxPyEndAllowThreads(__tstate
);
23666 if (PyErr_Occurred()) SWIG_fail
;
23668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
23675 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23676 PyObject
*resultobj
;
23677 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23678 PyObject
* obj0
= 0 ;
23679 char *kwnames
[] = {
23680 (char *) "self", NULL
23683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
23684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23690 wxPyEndAllowThreads(__tstate
);
23691 if (PyErr_Occurred()) SWIG_fail
;
23693 Py_INCREF(Py_None
); resultobj
= Py_None
;
23700 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23701 PyObject
*resultobj
;
23702 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23703 PyObject
* obj0
= 0 ;
23704 char *kwnames
[] = {
23705 (char *) "self", NULL
23708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
23709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23713 (arg1
)->OnPrevious();
23715 wxPyEndAllowThreads(__tstate
);
23716 if (PyErr_Occurred()) SWIG_fail
;
23718 Py_INCREF(Py_None
); resultobj
= Py_None
;
23725 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23726 PyObject
*resultobj
;
23727 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23728 PyObject
* obj0
= 0 ;
23729 char *kwnames
[] = {
23730 (char *) "self", NULL
23733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
23734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23740 wxPyEndAllowThreads(__tstate
);
23741 if (PyErr_Occurred()) SWIG_fail
;
23743 Py_INCREF(Py_None
); resultobj
= Py_None
;
23750 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23751 PyObject
*resultobj
;
23752 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23753 PyObject
* obj0
= 0 ;
23754 char *kwnames
[] = {
23755 (char *) "self", NULL
23758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
23759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23765 wxPyEndAllowThreads(__tstate
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23768 Py_INCREF(Py_None
); resultobj
= Py_None
;
23775 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23776 PyObject
*resultobj
;
23777 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23778 PyObject
* obj0
= 0 ;
23779 char *kwnames
[] = {
23780 (char *) "self", NULL
23783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23790 wxPyEndAllowThreads(__tstate
);
23791 if (PyErr_Occurred()) SWIG_fail
;
23793 Py_INCREF(Py_None
); resultobj
= Py_None
;
23800 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
23802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23803 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23805 return Py_BuildValue((char *)"");
23807 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
23808 PyObject
*resultobj
;
23809 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23810 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23811 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23812 wxPrintPreview
*result
;
23813 PyObject
* obj0
= 0 ;
23814 PyObject
* obj1
= 0 ;
23815 PyObject
* obj2
= 0 ;
23817 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23823 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23827 if (!wxPyCheckForApp()) SWIG_fail
;
23828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23829 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23831 wxPyEndAllowThreads(__tstate
);
23832 if (PyErr_Occurred()) SWIG_fail
;
23834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23841 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
23842 PyObject
*resultobj
;
23843 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23844 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23845 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23846 wxPrintPreview
*result
;
23847 PyObject
* obj0
= 0 ;
23848 PyObject
* obj1
= 0 ;
23849 PyObject
* obj2
= 0 ;
23851 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23856 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23859 if (!wxPyCheckForApp()) SWIG_fail
;
23860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23861 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23863 wxPyEndAllowThreads(__tstate
);
23864 if (PyErr_Occurred()) SWIG_fail
;
23866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23873 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23878 argc
= PyObject_Length(args
);
23879 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23880 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23882 if ((argc
>= 2) && (argc
<= 3)) {
23886 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23896 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23905 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23909 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23917 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23926 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23936 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23946 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23954 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23960 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23965 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23966 PyObject
*resultobj
;
23967 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23970 PyObject
* obj0
= 0 ;
23971 PyObject
* obj1
= 0 ;
23972 char *kwnames
[] = {
23973 (char *) "self",(char *) "pageNum", NULL
23976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23979 arg2
= (int)SWIG_As_int(obj1
);
23980 if (PyErr_Occurred()) SWIG_fail
;
23982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23983 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23985 wxPyEndAllowThreads(__tstate
);
23986 if (PyErr_Occurred()) SWIG_fail
;
23989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23997 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23998 PyObject
*resultobj
;
23999 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24001 PyObject
* obj0
= 0 ;
24002 char *kwnames
[] = {
24003 (char *) "self", NULL
24006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
24007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24011 result
= (int)(arg1
)->GetCurrentPage();
24013 wxPyEndAllowThreads(__tstate
);
24014 if (PyErr_Occurred()) SWIG_fail
;
24016 resultobj
= SWIG_From_int((int)result
);
24023 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24024 PyObject
*resultobj
;
24025 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24026 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24027 PyObject
* obj0
= 0 ;
24028 PyObject
* obj1
= 0 ;
24029 char *kwnames
[] = {
24030 (char *) "self",(char *) "printout", NULL
24033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
24034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24036 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24040 (arg1
)->SetPrintout(arg2
);
24042 wxPyEndAllowThreads(__tstate
);
24043 if (PyErr_Occurred()) SWIG_fail
;
24045 Py_INCREF(Py_None
); resultobj
= Py_None
;
24052 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24053 PyObject
*resultobj
;
24054 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24055 wxPyPrintout
*result
;
24056 PyObject
* obj0
= 0 ;
24057 char *kwnames
[] = {
24058 (char *) "self", NULL
24061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
24062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24066 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
24068 wxPyEndAllowThreads(__tstate
);
24069 if (PyErr_Occurred()) SWIG_fail
;
24072 resultobj
= wxPyMake_wxObject(result
, 0);
24080 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24081 PyObject
*resultobj
;
24082 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24083 wxPyPrintout
*result
;
24084 PyObject
* obj0
= 0 ;
24085 char *kwnames
[] = {
24086 (char *) "self", NULL
24089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
24090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24094 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
24096 wxPyEndAllowThreads(__tstate
);
24097 if (PyErr_Occurred()) SWIG_fail
;
24100 resultobj
= wxPyMake_wxObject(result
, 0);
24108 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24109 PyObject
*resultobj
;
24110 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24111 wxFrame
*arg2
= (wxFrame
*) 0 ;
24112 PyObject
* obj0
= 0 ;
24113 PyObject
* obj1
= 0 ;
24114 char *kwnames
[] = {
24115 (char *) "self",(char *) "frame", NULL
24118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
24119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24121 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24125 (arg1
)->SetFrame(arg2
);
24127 wxPyEndAllowThreads(__tstate
);
24128 if (PyErr_Occurred()) SWIG_fail
;
24130 Py_INCREF(Py_None
); resultobj
= Py_None
;
24137 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24138 PyObject
*resultobj
;
24139 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24140 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24141 PyObject
* obj0
= 0 ;
24142 PyObject
* obj1
= 0 ;
24143 char *kwnames
[] = {
24144 (char *) "self",(char *) "canvas", NULL
24147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24150 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24154 (arg1
)->SetCanvas(arg2
);
24156 wxPyEndAllowThreads(__tstate
);
24157 if (PyErr_Occurred()) SWIG_fail
;
24159 Py_INCREF(Py_None
); resultobj
= Py_None
;
24166 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24167 PyObject
*resultobj
;
24168 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24170 PyObject
* obj0
= 0 ;
24171 char *kwnames
[] = {
24172 (char *) "self", NULL
24175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
24176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24180 result
= (wxFrame
*)(arg1
)->GetFrame();
24182 wxPyEndAllowThreads(__tstate
);
24183 if (PyErr_Occurred()) SWIG_fail
;
24186 resultobj
= wxPyMake_wxObject(result
, 0);
24194 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24195 PyObject
*resultobj
;
24196 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24197 wxPreviewCanvas
*result
;
24198 PyObject
* obj0
= 0 ;
24199 char *kwnames
[] = {
24200 (char *) "self", NULL
24203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
24204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24208 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
24210 wxPyEndAllowThreads(__tstate
);
24211 if (PyErr_Occurred()) SWIG_fail
;
24213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
24220 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24221 PyObject
*resultobj
;
24222 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24223 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24226 PyObject
* obj0
= 0 ;
24227 PyObject
* obj1
= 0 ;
24228 PyObject
* obj2
= 0 ;
24229 char *kwnames
[] = {
24230 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24236 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24238 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24239 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24241 if (arg3
== NULL
) {
24242 PyErr_SetString(PyExc_TypeError
,"null reference");
24246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24247 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
24249 wxPyEndAllowThreads(__tstate
);
24250 if (PyErr_Occurred()) SWIG_fail
;
24253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24261 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24262 PyObject
*resultobj
;
24263 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24264 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24267 PyObject
* obj0
= 0 ;
24268 PyObject
* obj1
= 0 ;
24269 PyObject
* obj2
= 0 ;
24270 char *kwnames
[] = {
24271 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24277 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24279 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24280 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24282 if (arg3
== NULL
) {
24283 PyErr_SetString(PyExc_TypeError
,"null reference");
24287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24288 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
24290 wxPyEndAllowThreads(__tstate
);
24291 if (PyErr_Occurred()) SWIG_fail
;
24294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24302 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24303 PyObject
*resultobj
;
24304 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24307 PyObject
* obj0
= 0 ;
24308 PyObject
* obj1
= 0 ;
24309 char *kwnames
[] = {
24310 (char *) "self",(char *) "pageNum", NULL
24313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24316 arg2
= (int)SWIG_As_int(obj1
);
24317 if (PyErr_Occurred()) SWIG_fail
;
24319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24320 result
= (bool)(arg1
)->RenderPage(arg2
);
24322 wxPyEndAllowThreads(__tstate
);
24323 if (PyErr_Occurred()) SWIG_fail
;
24326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24334 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24335 PyObject
*resultobj
;
24336 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24337 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24338 PyObject
* obj0
= 0 ;
24339 PyObject
* obj1
= 0 ;
24340 char *kwnames
[] = {
24341 (char *) "self",(char *) "canvas", NULL
24344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
24345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24347 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24351 (arg1
)->AdjustScrollbars(arg2
);
24353 wxPyEndAllowThreads(__tstate
);
24354 if (PyErr_Occurred()) SWIG_fail
;
24356 Py_INCREF(Py_None
); resultobj
= Py_None
;
24363 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24364 PyObject
*resultobj
;
24365 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24366 wxPrintDialogData
*result
;
24367 PyObject
* obj0
= 0 ;
24368 char *kwnames
[] = {
24369 (char *) "self", NULL
24372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24378 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24379 result
= (wxPrintDialogData
*) &_result_ref
;
24382 wxPyEndAllowThreads(__tstate
);
24383 if (PyErr_Occurred()) SWIG_fail
;
24385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24392 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24393 PyObject
*resultobj
;
24394 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24396 PyObject
* obj0
= 0 ;
24397 PyObject
* obj1
= 0 ;
24398 char *kwnames
[] = {
24399 (char *) "self",(char *) "percent", NULL
24402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24405 arg2
= (int)SWIG_As_int(obj1
);
24406 if (PyErr_Occurred()) SWIG_fail
;
24408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24409 (arg1
)->SetZoom(arg2
);
24411 wxPyEndAllowThreads(__tstate
);
24412 if (PyErr_Occurred()) SWIG_fail
;
24414 Py_INCREF(Py_None
); resultobj
= Py_None
;
24421 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24422 PyObject
*resultobj
;
24423 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24425 PyObject
* obj0
= 0 ;
24426 char *kwnames
[] = {
24427 (char *) "self", NULL
24430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
24431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24435 result
= (int)(arg1
)->GetZoom();
24437 wxPyEndAllowThreads(__tstate
);
24438 if (PyErr_Occurred()) SWIG_fail
;
24440 resultobj
= SWIG_From_int((int)result
);
24447 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24448 PyObject
*resultobj
;
24449 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24451 PyObject
* obj0
= 0 ;
24452 char *kwnames
[] = {
24453 (char *) "self", NULL
24456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
24457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24461 result
= (int)(arg1
)->GetMaxPage();
24463 wxPyEndAllowThreads(__tstate
);
24464 if (PyErr_Occurred()) SWIG_fail
;
24466 resultobj
= SWIG_From_int((int)result
);
24473 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24474 PyObject
*resultobj
;
24475 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24477 PyObject
* obj0
= 0 ;
24478 char *kwnames
[] = {
24479 (char *) "self", NULL
24482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
24483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24487 result
= (int)(arg1
)->GetMinPage();
24489 wxPyEndAllowThreads(__tstate
);
24490 if (PyErr_Occurred()) SWIG_fail
;
24492 resultobj
= SWIG_From_int((int)result
);
24499 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24500 PyObject
*resultobj
;
24501 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24503 PyObject
* obj0
= 0 ;
24504 char *kwnames
[] = {
24505 (char *) "self", NULL
24508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
24509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24513 result
= (bool)(arg1
)->Ok();
24515 wxPyEndAllowThreads(__tstate
);
24516 if (PyErr_Occurred()) SWIG_fail
;
24519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24527 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24528 PyObject
*resultobj
;
24529 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24531 PyObject
* obj0
= 0 ;
24532 PyObject
* obj1
= 0 ;
24533 char *kwnames
[] = {
24534 (char *) "self",(char *) "ok", NULL
24537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
24538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24540 arg2
= (bool)SWIG_As_bool(obj1
);
24541 if (PyErr_Occurred()) SWIG_fail
;
24543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24544 (arg1
)->SetOk(arg2
);
24546 wxPyEndAllowThreads(__tstate
);
24547 if (PyErr_Occurred()) SWIG_fail
;
24549 Py_INCREF(Py_None
); resultobj
= Py_None
;
24556 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24557 PyObject
*resultobj
;
24558 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24561 PyObject
* obj0
= 0 ;
24562 PyObject
* obj1
= 0 ;
24563 char *kwnames
[] = {
24564 (char *) "self",(char *) "interactive", NULL
24567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24570 arg2
= (bool)SWIG_As_bool(obj1
);
24571 if (PyErr_Occurred()) SWIG_fail
;
24573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24574 result
= (bool)(arg1
)->Print(arg2
);
24576 wxPyEndAllowThreads(__tstate
);
24577 if (PyErr_Occurred()) SWIG_fail
;
24580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24588 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24589 PyObject
*resultobj
;
24590 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24591 PyObject
* obj0
= 0 ;
24592 char *kwnames
[] = {
24593 (char *) "self", NULL
24596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24601 (arg1
)->DetermineScaling();
24603 wxPyEndAllowThreads(__tstate
);
24604 if (PyErr_Occurred()) SWIG_fail
;
24606 Py_INCREF(Py_None
); resultobj
= Py_None
;
24613 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24616 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
24618 return Py_BuildValue((char *)"");
24620 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
24621 PyObject
*resultobj
;
24622 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24623 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24624 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
24625 wxPyPrintPreview
*result
;
24626 PyObject
* obj0
= 0 ;
24627 PyObject
* obj1
= 0 ;
24628 PyObject
* obj2
= 0 ;
24630 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24633 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24636 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
24637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24640 if (!wxPyCheckForApp()) SWIG_fail
;
24641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24642 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24644 wxPyEndAllowThreads(__tstate
);
24645 if (PyErr_Occurred()) SWIG_fail
;
24647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24654 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
24655 PyObject
*resultobj
;
24656 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24657 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24658 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
24659 wxPyPrintPreview
*result
;
24660 PyObject
* obj0
= 0 ;
24661 PyObject
* obj1
= 0 ;
24662 PyObject
* obj2
= 0 ;
24664 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24669 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
24670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24672 if (!wxPyCheckForApp()) SWIG_fail
;
24673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24674 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24676 wxPyEndAllowThreads(__tstate
);
24677 if (PyErr_Occurred()) SWIG_fail
;
24679 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24686 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
24691 argc
= PyObject_Length(args
);
24692 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
24693 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24695 if ((argc
>= 2) && (argc
<= 3)) {
24699 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24709 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24718 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24722 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
24730 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24739 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24749 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24759 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24767 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24773 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24778 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24779 PyObject
*resultobj
;
24780 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24781 PyObject
*arg2
= (PyObject
*) 0 ;
24782 PyObject
*arg3
= (PyObject
*) 0 ;
24783 PyObject
* obj0
= 0 ;
24784 PyObject
* obj1
= 0 ;
24785 PyObject
* obj2
= 0 ;
24786 char *kwnames
[] = {
24787 (char *) "self",(char *) "self",(char *) "_class", NULL
24790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24797 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24799 wxPyEndAllowThreads(__tstate
);
24800 if (PyErr_Occurred()) SWIG_fail
;
24802 Py_INCREF(Py_None
); resultobj
= Py_None
;
24809 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24810 PyObject
*resultobj
;
24811 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24814 PyObject
* obj0
= 0 ;
24815 PyObject
* obj1
= 0 ;
24816 char *kwnames
[] = {
24817 (char *) "self",(char *) "pageNum", NULL
24820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24823 arg2
= (int)SWIG_As_int(obj1
);
24824 if (PyErr_Occurred()) SWIG_fail
;
24826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24827 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24829 wxPyEndAllowThreads(__tstate
);
24830 if (PyErr_Occurred()) SWIG_fail
;
24833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24841 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24842 PyObject
*resultobj
;
24843 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24844 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24847 PyObject
* obj0
= 0 ;
24848 PyObject
* obj1
= 0 ;
24849 PyObject
* obj2
= 0 ;
24850 char *kwnames
[] = {
24851 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24857 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24859 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24860 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24862 if (arg3
== NULL
) {
24863 PyErr_SetString(PyExc_TypeError
,"null reference");
24867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24868 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24870 wxPyEndAllowThreads(__tstate
);
24871 if (PyErr_Occurred()) SWIG_fail
;
24874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24882 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24883 PyObject
*resultobj
;
24884 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24885 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24888 PyObject
* obj0
= 0 ;
24889 PyObject
* obj1
= 0 ;
24890 PyObject
* obj2
= 0 ;
24891 char *kwnames
[] = {
24892 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24900 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24901 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24903 if (arg3
== NULL
) {
24904 PyErr_SetString(PyExc_TypeError
,"null reference");
24908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24909 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24911 wxPyEndAllowThreads(__tstate
);
24912 if (PyErr_Occurred()) SWIG_fail
;
24915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24923 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24924 PyObject
*resultobj
;
24925 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24928 PyObject
* obj0
= 0 ;
24929 PyObject
* obj1
= 0 ;
24930 char *kwnames
[] = {
24931 (char *) "self",(char *) "pageNum", NULL
24934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24937 arg2
= (int)SWIG_As_int(obj1
);
24938 if (PyErr_Occurred()) SWIG_fail
;
24940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24941 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24943 wxPyEndAllowThreads(__tstate
);
24944 if (PyErr_Occurred()) SWIG_fail
;
24947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24955 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24956 PyObject
*resultobj
;
24957 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24959 PyObject
* obj0
= 0 ;
24960 PyObject
* obj1
= 0 ;
24961 char *kwnames
[] = {
24962 (char *) "self",(char *) "percent", NULL
24965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24968 arg2
= (int)SWIG_As_int(obj1
);
24969 if (PyErr_Occurred()) SWIG_fail
;
24971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24972 (arg1
)->base_SetZoom(arg2
);
24974 wxPyEndAllowThreads(__tstate
);
24975 if (PyErr_Occurred()) SWIG_fail
;
24977 Py_INCREF(Py_None
); resultobj
= Py_None
;
24984 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24985 PyObject
*resultobj
;
24986 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24989 PyObject
* obj0
= 0 ;
24990 PyObject
* obj1
= 0 ;
24991 char *kwnames
[] = {
24992 (char *) "self",(char *) "interactive", NULL
24995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24998 arg2
= (bool)SWIG_As_bool(obj1
);
24999 if (PyErr_Occurred()) SWIG_fail
;
25001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25002 result
= (bool)(arg1
)->base_Print(arg2
);
25004 wxPyEndAllowThreads(__tstate
);
25005 if (PyErr_Occurred()) SWIG_fail
;
25008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25016 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25017 PyObject
*resultobj
;
25018 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
25019 PyObject
* obj0
= 0 ;
25020 char *kwnames
[] = {
25021 (char *) "self", NULL
25024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
25025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
25026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25029 (arg1
)->base_DetermineScaling();
25031 wxPyEndAllowThreads(__tstate
);
25032 if (PyErr_Occurred()) SWIG_fail
;
25034 Py_INCREF(Py_None
); resultobj
= Py_None
;
25041 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
25043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25044 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
25046 return Py_BuildValue((char *)"");
25048 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25049 PyObject
*resultobj
;
25050 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25051 wxFrame
*arg2
= (wxFrame
*) 0 ;
25052 wxString
*arg3
= 0 ;
25053 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25054 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25055 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25056 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25057 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
25058 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
25059 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25060 wxPyPreviewFrame
*result
;
25061 bool temp3
= false ;
25064 bool temp7
= false ;
25065 PyObject
* obj0
= 0 ;
25066 PyObject
* obj1
= 0 ;
25067 PyObject
* obj2
= 0 ;
25068 PyObject
* obj3
= 0 ;
25069 PyObject
* obj4
= 0 ;
25070 PyObject
* obj5
= 0 ;
25071 PyObject
* obj6
= 0 ;
25072 char *kwnames
[] = {
25073 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
25078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
25080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25082 arg3
= wxString_in_helper(obj2
);
25083 if (arg3
== NULL
) SWIG_fail
;
25089 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25095 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25099 arg6
= (long)SWIG_As_long(obj5
);
25100 if (PyErr_Occurred()) SWIG_fail
;
25104 arg7
= wxString_in_helper(obj6
);
25105 if (arg7
== NULL
) SWIG_fail
;
25110 if (!wxPyCheckForApp()) SWIG_fail
;
25111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25112 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25114 wxPyEndAllowThreads(__tstate
);
25115 if (PyErr_Occurred()) SWIG_fail
;
25117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
25140 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25141 PyObject
*resultobj
;
25142 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25143 PyObject
*arg2
= (PyObject
*) 0 ;
25144 PyObject
*arg3
= (PyObject
*) 0 ;
25145 PyObject
* obj0
= 0 ;
25146 PyObject
* obj1
= 0 ;
25147 PyObject
* obj2
= 0 ;
25148 char *kwnames
[] = {
25149 (char *) "self",(char *) "self",(char *) "_class", NULL
25152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25159 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25161 wxPyEndAllowThreads(__tstate
);
25162 if (PyErr_Occurred()) SWIG_fail
;
25164 Py_INCREF(Py_None
); resultobj
= Py_None
;
25171 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25172 PyObject
*resultobj
;
25173 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25174 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
25175 PyObject
* obj0
= 0 ;
25176 PyObject
* obj1
= 0 ;
25177 char *kwnames
[] = {
25178 (char *) "self",(char *) "canvas", NULL
25181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
25182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25184 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
25185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25188 (arg1
)->SetPreviewCanvas(arg2
);
25190 wxPyEndAllowThreads(__tstate
);
25191 if (PyErr_Occurred()) SWIG_fail
;
25193 Py_INCREF(Py_None
); resultobj
= Py_None
;
25200 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25201 PyObject
*resultobj
;
25202 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25203 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
25204 PyObject
* obj0
= 0 ;
25205 PyObject
* obj1
= 0 ;
25206 char *kwnames
[] = {
25207 (char *) "self",(char *) "bar", NULL
25210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
25211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
25214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25217 (arg1
)->SetControlBar(arg2
);
25219 wxPyEndAllowThreads(__tstate
);
25220 if (PyErr_Occurred()) SWIG_fail
;
25222 Py_INCREF(Py_None
); resultobj
= Py_None
;
25229 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25230 PyObject
*resultobj
;
25231 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25232 PyObject
* obj0
= 0 ;
25233 char *kwnames
[] = {
25234 (char *) "self", NULL
25237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
25238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25242 (arg1
)->base_Initialize();
25244 wxPyEndAllowThreads(__tstate
);
25245 if (PyErr_Occurred()) SWIG_fail
;
25247 Py_INCREF(Py_None
); resultobj
= Py_None
;
25254 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25255 PyObject
*resultobj
;
25256 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25257 PyObject
* obj0
= 0 ;
25258 char *kwnames
[] = {
25259 (char *) "self", NULL
25262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25267 (arg1
)->base_CreateCanvas();
25269 wxPyEndAllowThreads(__tstate
);
25270 if (PyErr_Occurred()) SWIG_fail
;
25272 Py_INCREF(Py_None
); resultobj
= Py_None
;
25279 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25280 PyObject
*resultobj
;
25281 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25282 PyObject
* obj0
= 0 ;
25283 char *kwnames
[] = {
25284 (char *) "self", NULL
25287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25292 (arg1
)->base_CreateControlBar();
25294 wxPyEndAllowThreads(__tstate
);
25295 if (PyErr_Occurred()) SWIG_fail
;
25297 Py_INCREF(Py_None
); resultobj
= Py_None
;
25304 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25307 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
25309 return Py_BuildValue((char *)"");
25311 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25312 PyObject
*resultobj
;
25313 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25315 wxWindow
*arg3
= (wxWindow
*) 0 ;
25316 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25317 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25318 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25319 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25320 long arg6
= (long) 0 ;
25321 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25322 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25323 wxPyPreviewControlBar
*result
;
25326 bool temp7
= false ;
25327 PyObject
* obj0
= 0 ;
25328 PyObject
* obj1
= 0 ;
25329 PyObject
* obj2
= 0 ;
25330 PyObject
* obj3
= 0 ;
25331 PyObject
* obj4
= 0 ;
25332 PyObject
* obj5
= 0 ;
25333 PyObject
* obj6
= 0 ;
25334 char *kwnames
[] = {
25335 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
25340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25341 arg2
= (long)SWIG_As_long(obj1
);
25342 if (PyErr_Occurred()) SWIG_fail
;
25343 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
25344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25348 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25354 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25358 arg6
= (long)SWIG_As_long(obj5
);
25359 if (PyErr_Occurred()) SWIG_fail
;
25363 arg7
= wxString_in_helper(obj6
);
25364 if (arg7
== NULL
) SWIG_fail
;
25369 if (!wxPyCheckForApp()) SWIG_fail
;
25370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25371 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25373 wxPyEndAllowThreads(__tstate
);
25374 if (PyErr_Occurred()) SWIG_fail
;
25376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
25391 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25392 PyObject
*resultobj
;
25393 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25394 PyObject
*arg2
= (PyObject
*) 0 ;
25395 PyObject
*arg3
= (PyObject
*) 0 ;
25396 PyObject
* obj0
= 0 ;
25397 PyObject
* obj1
= 0 ;
25398 PyObject
* obj2
= 0 ;
25399 char *kwnames
[] = {
25400 (char *) "self",(char *) "self",(char *) "_class", NULL
25403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25410 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25412 wxPyEndAllowThreads(__tstate
);
25413 if (PyErr_Occurred()) SWIG_fail
;
25415 Py_INCREF(Py_None
); resultobj
= Py_None
;
25422 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25423 PyObject
*resultobj
;
25424 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25425 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
25426 PyObject
* obj0
= 0 ;
25427 PyObject
* obj1
= 0 ;
25428 char *kwnames
[] = {
25429 (char *) "self",(char *) "preview", NULL
25432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
25433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25435 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
25436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25439 (arg1
)->SetPrintPreview(arg2
);
25441 wxPyEndAllowThreads(__tstate
);
25442 if (PyErr_Occurred()) SWIG_fail
;
25444 Py_INCREF(Py_None
); resultobj
= Py_None
;
25451 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25452 PyObject
*resultobj
;
25453 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25454 PyObject
* obj0
= 0 ;
25455 char *kwnames
[] = {
25456 (char *) "self", NULL
25459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
25460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25464 (arg1
)->base_CreateButtons();
25466 wxPyEndAllowThreads(__tstate
);
25467 if (PyErr_Occurred()) SWIG_fail
;
25469 Py_INCREF(Py_None
); resultobj
= Py_None
;
25476 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25477 PyObject
*resultobj
;
25478 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25480 PyObject
* obj0
= 0 ;
25481 PyObject
* obj1
= 0 ;
25482 char *kwnames
[] = {
25483 (char *) "self",(char *) "zoom", NULL
25486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25489 arg2
= (int)SWIG_As_int(obj1
);
25490 if (PyErr_Occurred()) SWIG_fail
;
25492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25493 (arg1
)->base_SetZoomControl(arg2
);
25495 wxPyEndAllowThreads(__tstate
);
25496 if (PyErr_Occurred()) SWIG_fail
;
25498 Py_INCREF(Py_None
); resultobj
= Py_None
;
25505 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25508 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
25510 return Py_BuildValue((char *)"");
25512 static PyMethodDef SwigMethods
[] = {
25513 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25514 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25515 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25516 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25517 { (char *)"Panel_SetFocus", (PyCFunction
) _wrap_Panel_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25518 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
) _wrap_Panel_SetFocusIgnoringChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25519 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25520 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
25521 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25522 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25523 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25524 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25525 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25526 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25527 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25528 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25529 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25530 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25531 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25532 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25533 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25534 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25535 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
25536 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
25537 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25538 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25539 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25540 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25541 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25542 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25543 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25544 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25545 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25546 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25547 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25548 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25549 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25550 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25551 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25552 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25553 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25554 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25555 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25556 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25557 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25558 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25559 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25560 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25561 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
25562 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25563 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25564 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25565 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25566 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25567 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25568 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25569 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25570 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25571 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25572 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25573 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25574 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25575 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25576 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25577 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25578 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25579 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25580 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25581 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25582 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25583 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25584 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25585 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
25586 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25587 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25588 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25589 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25590 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25591 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25592 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25593 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25594 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25595 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25596 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25597 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
25598 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25599 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25600 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25601 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
25602 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25603 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25604 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25605 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
25606 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25607 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25608 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25609 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25610 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
25611 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25612 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25613 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25614 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25615 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25616 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25617 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25618 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25619 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25620 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25621 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25622 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25623 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25624 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25625 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25626 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25627 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
25628 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25629 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25630 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25631 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25632 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25633 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25634 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25635 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25636 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25637 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25638 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25639 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25640 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25641 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25642 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25643 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25644 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25645 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25646 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25647 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25648 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25649 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
) _wrap_SplitterWindow_GetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25650 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25651 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25652 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25653 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25654 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25655 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25656 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25657 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
25658 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25659 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25660 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25661 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25662 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25663 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25664 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
25665 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25666 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25667 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25668 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25669 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25670 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25671 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25672 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25673 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25674 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25675 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25676 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25677 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25678 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25679 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25680 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25681 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25682 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25683 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25684 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25685 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25686 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25687 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
25688 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25689 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25690 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25691 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25692 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25693 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25694 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25695 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
25696 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25697 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25698 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25699 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25700 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25701 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25702 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25703 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25704 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25705 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25706 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25707 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
25708 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25709 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25710 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25711 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25712 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25713 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
25714 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25715 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25716 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25717 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25718 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25719 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25720 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25721 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25722 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
25723 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25724 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25725 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25726 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25727 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25728 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
25729 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25730 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25731 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25732 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25733 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
25734 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25735 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25736 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25737 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25738 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25739 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
25740 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25741 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25742 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25743 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
25744 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25745 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25746 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25747 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25748 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25749 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25750 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25751 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25752 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25753 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25754 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25755 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25756 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25757 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25758 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25759 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25760 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25761 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25762 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25763 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25764 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25765 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25766 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25767 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25768 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25769 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25770 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25771 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25772 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25773 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25774 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25775 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25776 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25777 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25778 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25779 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25780 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25781 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25782 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25783 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25784 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25785 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25786 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25787 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
25788 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25789 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25790 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25791 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25792 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25793 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25794 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25795 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
25796 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25797 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25798 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25799 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25800 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25801 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25802 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25803 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25804 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
25805 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25806 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
25807 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25808 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25809 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25810 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25811 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25812 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25813 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25814 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25815 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
25816 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25817 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25818 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
25819 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25820 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25821 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25822 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25823 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25824 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25825 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
25826 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25827 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25828 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25829 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25830 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25831 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25832 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25833 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25834 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25835 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25836 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25837 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25838 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25839 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25840 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25841 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25842 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25843 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
25844 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25845 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25846 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25847 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25848 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25849 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25850 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25851 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25852 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25853 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25854 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25855 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25856 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
25857 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25858 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
25859 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25860 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25861 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25862 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25863 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25864 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25865 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25866 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25867 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25868 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25869 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25870 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25871 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25872 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25873 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25874 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
25875 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25876 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25877 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
25878 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25879 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
25880 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25881 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25882 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25883 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
25884 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25885 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25886 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25887 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25888 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25889 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25890 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25891 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25892 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
25893 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25894 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25895 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25896 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25897 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25898 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25899 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25900 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25901 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
25902 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25903 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25904 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25905 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25906 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25907 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
25908 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25909 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25910 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25911 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25912 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25913 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25914 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25915 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25916 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25917 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25918 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25919 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
25920 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25921 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25922 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25923 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25924 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25925 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25926 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
25927 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25928 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25929 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25930 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
25931 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25932 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25933 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25934 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25935 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25936 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25937 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25938 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25939 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25940 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25941 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25942 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25943 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25944 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25945 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25946 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25947 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25948 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25949 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25950 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25951 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25952 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25953 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25954 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25955 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25956 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
25957 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25958 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25959 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25960 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25961 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25962 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25963 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25964 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25965 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25966 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25967 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25968 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25969 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25970 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25971 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25972 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25973 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25974 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25975 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25976 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25977 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25978 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25979 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25980 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25981 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25982 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
25983 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25984 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25985 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25986 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25987 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25988 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25989 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25990 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25991 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25992 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25993 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25994 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25995 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25996 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25997 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25998 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25999 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26000 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26001 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26002 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26003 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26004 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26005 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26006 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26007 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26008 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
26009 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
26010 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26011 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26012 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26013 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26014 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26015 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26016 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26017 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26018 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26019 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26020 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26021 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26022 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26023 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26024 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26025 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26026 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26027 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26028 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26029 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26030 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26031 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26032 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26033 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26034 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26035 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26036 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26037 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26038 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26039 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26040 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26041 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26042 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26043 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26044 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26045 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26046 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26047 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26048 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26049 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26050 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26051 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26052 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26053 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26054 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
26055 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
26056 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26057 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26058 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26059 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26060 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26061 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26062 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26063 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26064 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26065 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26066 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26067 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26068 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26069 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26070 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26071 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26072 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26073 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26074 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26075 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26076 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26077 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26078 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26079 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26080 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26081 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26082 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26083 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26084 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26085 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26086 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
26087 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26088 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26089 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26090 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26091 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
26092 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
26093 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26094 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26095 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26096 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26097 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26098 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26099 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26100 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26101 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26102 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26103 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26104 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26105 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26106 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26107 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26108 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26109 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26110 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26111 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26112 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26113 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26114 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26115 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26116 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26117 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26118 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26119 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26120 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26121 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26122 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26123 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26124 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26125 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
26126 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26127 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26128 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26129 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26130 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26131 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
26132 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26133 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26134 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26135 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26136 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26137 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26138 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26139 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26140 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26141 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26142 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
26143 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26144 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26145 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26146 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26147 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26148 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26149 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26150 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26151 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26152 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26153 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26154 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26155 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26156 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26157 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26158 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26159 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26160 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26161 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26162 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26163 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26164 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26165 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
26166 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26167 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
26168 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26169 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26170 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26171 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26172 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26173 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
26174 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26175 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26176 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26177 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26178 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26179 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26180 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26181 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26182 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26183 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
26184 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
26185 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26186 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26187 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26188 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26189 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26190 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26191 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26192 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26193 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26194 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26195 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26196 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26197 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26198 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26199 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26200 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26201 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26202 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26203 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26204 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26205 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26206 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26207 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
26208 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
26209 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26210 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26211 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26212 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26213 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26214 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26215 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26216 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26217 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
26218 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26219 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26220 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26221 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26222 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26223 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26224 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26225 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
26226 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26227 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26228 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26229 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26230 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26231 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
26232 { NULL
, NULL
, 0, NULL
}
26236 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26238 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
26239 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26241 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
26242 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26244 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
26245 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
26247 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
26248 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
26250 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
26251 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
26253 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
26254 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
26256 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
26257 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
26259 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
26260 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26262 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
26263 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
26265 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
26266 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
26268 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
26269 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26271 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
26272 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
26274 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
26275 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26277 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
26278 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26280 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
26281 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
26283 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
26284 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26286 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
26287 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26289 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
26290 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
26292 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
26293 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
26295 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
26296 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
26298 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
26299 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
26301 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
26302 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
26304 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
26305 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
26307 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
26308 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
26310 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
26311 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26313 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
26314 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26316 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
26317 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26319 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
26320 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26322 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
26323 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26325 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
26326 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
26328 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
26329 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
26331 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
26332 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26334 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
26335 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
26337 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
26338 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26340 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
26341 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
26343 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
26344 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
26346 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
26347 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26349 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
26350 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26352 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
26353 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26355 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
26356 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
26358 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
26359 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
26361 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
26362 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26364 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
26365 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26367 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
26368 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
26370 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
26371 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26373 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
26374 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26376 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
26377 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26379 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
26380 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
26382 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
26383 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
26385 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
26386 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
26388 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
26389 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
26391 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
26392 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
26394 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
26395 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26397 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
26398 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26400 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
26401 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26403 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
26404 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26406 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
26407 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26409 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
26410 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26412 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
26413 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26415 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
26416 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
26418 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
26419 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
26421 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
26422 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26424 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
26425 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26427 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
26428 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26430 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
26431 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
26433 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
26434 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26436 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
26437 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
26439 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
26440 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
26442 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
26443 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
26445 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
26446 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
26448 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
26449 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26451 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
26452 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
26454 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
26455 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
26457 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
26458 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26460 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
26461 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
26463 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
26464 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26466 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
26467 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26469 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
26470 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26472 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
26473 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
26475 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
26476 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26478 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
26479 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
26481 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
26482 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26484 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
26485 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26487 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
26488 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26490 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26491 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26493 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26494 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26496 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
26497 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
26499 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
26500 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26502 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
26503 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26505 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
26506 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26508 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
26509 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26511 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
26512 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26514 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
26515 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26517 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
26518 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26520 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
26521 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
26523 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
26524 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
26526 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
26527 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
26529 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
26530 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26532 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
26533 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
26535 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
26536 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
26538 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
26539 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
26541 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
26542 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
26544 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
26545 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26547 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
26548 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26550 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
26551 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26553 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
26554 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
26556 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26557 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26559 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26560 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26562 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26563 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26565 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26566 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26568 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26569 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26571 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26572 return (void *)((wxObject
*) ((wxSizer
*) x
));
26574 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26575 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26577 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26578 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26580 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
26581 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26583 static void *_p_wxEventTo_p_wxObject(void *x
) {
26584 return (void *)((wxObject
*) ((wxEvent
*) x
));
26586 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
26587 return (void *)((wxObject
*) ((wxFontData
*) x
));
26589 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
26590 return (void *)((wxObject
*) ((wxPrintData
*) x
));
26592 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26593 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26595 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26596 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26598 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26599 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26601 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
26602 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
26604 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
26605 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
26607 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
26608 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26610 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26611 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26613 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26614 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26616 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26617 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26619 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26620 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26622 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26623 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26625 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26626 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26628 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
26629 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26631 static void *_p_wxControlTo_p_wxObject(void *x
) {
26632 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26634 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26635 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26637 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
26638 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26640 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26641 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26643 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
26644 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
26646 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26647 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26649 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
26650 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26652 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
26653 return (void *)((wxObject
*) ((wxColourData
*) x
));
26655 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26656 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26658 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26659 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26661 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
26662 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
26664 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
26665 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26667 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
26668 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26670 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
26671 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26673 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
26674 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26676 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
26677 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26679 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
26680 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
26682 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
26683 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26685 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
26686 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26688 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
26689 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26691 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26692 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26694 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
26695 return (void *)((wxObject
*) ((wxPrinter
*) x
));
26697 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26698 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26700 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26701 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26703 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26704 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26706 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26707 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26709 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26710 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26712 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26713 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26715 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26716 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26718 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26719 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26721 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26722 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26724 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26725 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26727 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26728 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26730 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26731 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26733 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26734 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26736 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26737 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26739 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26740 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26742 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26743 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26745 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26746 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26748 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26749 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26751 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26752 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26754 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26755 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26757 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26758 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26760 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26761 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26763 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
26764 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26766 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
26767 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26769 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
26770 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26772 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26773 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26775 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
26776 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26778 static void *_p_wxImageTo_p_wxObject(void *x
) {
26779 return (void *)((wxObject
*) ((wxImage
*) x
));
26781 static void *_p_wxFrameTo_p_wxObject(void *x
) {
26782 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26784 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26785 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26787 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26788 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26790 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26791 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26793 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26794 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26796 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26797 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26799 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26800 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26802 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26803 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26805 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26806 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26808 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26809 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26811 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26812 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26814 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26815 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26817 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26818 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26820 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26821 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26823 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26824 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26826 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26827 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26829 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26830 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26832 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26833 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26835 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26836 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26838 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26839 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26841 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26842 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26844 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26845 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26847 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26848 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26850 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26851 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26853 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26854 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26856 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26857 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26859 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26860 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26862 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26863 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26865 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26866 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26868 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26869 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26871 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26872 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26874 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26875 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26877 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26878 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
26880 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26881 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
26883 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26884 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26886 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26887 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26889 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26890 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26892 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26893 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26895 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26896 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26898 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26899 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26901 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26902 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26904 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26905 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26907 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26908 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26910 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26911 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26913 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26914 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26916 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26917 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26919 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26920 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26922 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26923 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26925 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26926 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26928 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26929 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26931 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26932 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26934 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26935 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26937 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26938 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26940 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26941 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26943 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26944 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26946 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
26947 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26949 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26950 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26952 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
26953 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26955 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26956 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26958 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26959 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26961 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26962 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26964 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26965 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26967 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26968 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26970 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26971 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26973 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26974 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26976 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26977 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26979 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26980 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26982 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26983 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26985 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26986 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26988 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26989 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26991 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26992 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
26994 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26995 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26997 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26998 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
27000 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
27001 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
27003 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
27004 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
27006 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
27007 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
27009 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
27010 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
27012 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
27013 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
27015 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
27016 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
27018 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
27019 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
27021 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
27022 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
27024 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
27025 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
27027 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
27028 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
27030 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
27031 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
27033 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
27034 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
27036 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
27037 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
27039 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
27040 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
27042 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
27043 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
27045 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
27046 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
27048 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
27049 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
27051 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
27052 return (void *)((wxWindow
*) ((wxPanel
*) x
));
27054 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
27055 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
27057 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
27058 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
27060 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
27061 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
27063 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
27064 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
27066 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
27067 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
27069 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
27070 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
27072 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
27073 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
27075 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
27076 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
27078 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
27079 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
27081 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
27082 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
27084 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
27085 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
27087 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
27088 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
27090 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
27091 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
27093 static void *_p_wxControlTo_p_wxWindow(void *x
) {
27094 return (void *)((wxWindow
*) ((wxControl
*) x
));
27096 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
27097 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
27099 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
27100 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
27102 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
27103 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
27105 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
27106 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
27108 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
27109 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
27111 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
27112 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
27114 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
27115 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
27117 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
27118 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
27120 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
27121 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
27123 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
27124 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27126 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
27127 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
27129 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
27130 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
27132 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
27133 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
27135 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
27136 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
27138 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
27139 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
27141 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
27142 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
27144 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
27145 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
27147 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
27148 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
27150 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
27151 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
27153 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
27154 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
27156 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
27157 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
27159 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
27160 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
27162 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
27163 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
27165 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
27166 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
27168 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
27169 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
27171 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
27172 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
27174 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
27175 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
27177 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
27178 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
27180 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
27181 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
27183 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
27184 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
27186 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
27187 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
27189 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
27190 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
27192 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
27193 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
27195 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
27196 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
27198 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
27199 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
27201 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
27202 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
27204 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
27205 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
27207 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
27208 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27210 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
27211 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27213 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
27214 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
27216 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
27217 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27219 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
27220 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27222 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
27223 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
27225 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
27226 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27228 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
27229 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27231 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
27232 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
27234 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
27235 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27237 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
27238 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27240 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
27241 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
27243 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
27244 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27246 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}};
27247 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}};
27248 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}};
27249 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}};
27250 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}};
27251 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}};
27252 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}};
27253 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}};
27254 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}};
27255 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}};
27256 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}};
27257 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}};
27258 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}};
27259 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}};
27260 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}};
27261 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}};
27262 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}};
27263 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}};
27264 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}};
27265 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}};
27266 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}};
27267 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}};
27268 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}};
27269 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}};
27270 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}};
27271 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}};
27272 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}};
27273 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}};
27274 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}};
27275 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}};
27276 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}};
27277 static swig_type_info _swigt__p_wxPasswordEntryDialog
[] = {{"_p_wxPasswordEntryDialog", 0, "wxPasswordEntryDialog *", 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27278 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}};
27279 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}};
27280 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}};
27281 static swig_type_info _swigt__p_wxTextEntryDialog
[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTextEntryDialog
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27282 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}};
27283 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}};
27284 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_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_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_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}};
27285 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}};
27286 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}};
27287 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}};
27288 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}};
27289 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}};
27290 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}};
27291 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}};
27292 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}};
27293 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}};
27294 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}};
27295 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}};
27296 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}};
27297 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}};
27298 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_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_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_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27299 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}};
27300 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}};
27301 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}};
27302 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}};
27303 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}};
27304 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}};
27305 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}};
27306 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}};
27307 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}};
27308 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_wxFontDialog", _p_wxFontDialogTo_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_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_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27309 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_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_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}};
27310 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}};
27311 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}};
27312 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}};
27313 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}};
27314 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}};
27315 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}};
27316 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}};
27317 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}};
27318 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}};
27319 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}};
27320 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_wxFileDialog", _p_wxFileDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27321 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}};
27322 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}};
27323 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}};
27324 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}};
27325 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}};
27326 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}};
27327 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}};
27328 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}};
27329 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}};
27330 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}};
27331 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}};
27332 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}};
27334 static swig_type_info
*swig_types_initial
[] = {
27335 _swigt__p_wxQueryLayoutInfoEvent
,
27336 _swigt__p_wxPreviewFrame
,
27337 _swigt__p_wxPyPreviewFrame
,
27338 _swigt__p_wxPyPanel
,
27340 _swigt__p_wxFontData
,
27342 _swigt__p_wxPrintData
,
27343 _swigt__p_wxTaskBarIcon
,
27344 _swigt__p_wxPyTaskBarIcon
,
27345 _swigt__p_wxIconBundle
,
27346 _swigt__p_wxLayoutAlgorithm
,
27347 _swigt__p_wxFindDialogEvent
,
27348 _swigt__p_wxPreviewCanvas
,
27350 _swigt__p_wxSplitterEvent
,
27351 _swigt__p_wxRegion
,
27352 _swigt__p_wxFindReplaceData
,
27357 _swigt__p_wxVisualAttributes
,
27358 _swigt__p_wxMDIChildFrame
,
27359 _swigt__p_wxColourData
,
27360 _swigt__p_wxNotifyEvent
,
27361 _swigt__p_wxPyWindow
,
27362 _swigt__p_wxSplashScreen
,
27363 _swigt__p_wxFindReplaceDialog
,
27364 _swigt__p_wxProgressDialog
,
27365 _swigt__p_wxMessageDialog
,
27366 _swigt__p_wxPasswordEntryDialog
,
27367 _swigt__p_wxSingleChoiceDialog
,
27368 _swigt__p_wxMultiChoiceDialog
,
27369 _swigt__p_wxFileDialog
,
27370 _swigt__p_wxTextEntryDialog
,
27371 _swigt__p_wxPrinter
,
27372 _swigt__p_wxArrayInt
,
27373 _swigt__p_wxEvtHandler
,
27374 _swigt__p_wxCalculateLayoutEvent
,
27375 _swigt__p_wxPyHtmlListBox
,
27376 _swigt__p_wxPyVListBox
,
27379 _swigt__p_wxMiniFrame
,
27381 _swigt__p_wxPyPrintout
,
27382 _swigt__p_wxTaskBarIconEvent
,
27383 _swigt__p_wxScrollWinEvent
,
27384 _swigt__p_wxStatusBar
,
27385 _swigt__p_wxMDIParentFrame
,
27387 _swigt__p_wxObject
,
27388 _swigt__p_wxMDIClientWindow
,
27389 _swigt__p_wxTipWindow
,
27390 _swigt__p_wxSashLayoutWindow
,
27391 _swigt__p_wxSplitterWindow
,
27392 _swigt__p_wxSplashScreenWindow
,
27393 _swigt__p_wxPyVScrolledWindow
,
27394 _swigt__p_wxPyPopupTransientWindow
,
27395 _swigt__p_wxPopupWindow
,
27396 _swigt__p_wxSashWindow
,
27397 _swigt__p_wxTopLevelWindow
,
27398 _swigt__p_wxWindow
,
27399 _swigt__p_wxScrolledWindow
,
27400 _swigt__p_wxMenuBar
,
27401 _swigt__p_wxPyScrolledWindow
,
27402 _swigt__p_wxPrintPreview
,
27403 _swigt__p_wxSashEvent
,
27404 _swigt__p_wxString
,
27405 _swigt__p_wxPyPrintPreview
,
27406 _swigt__p_wxFontDialog
,
27407 _swigt__p_wxDirDialog
,
27408 _swigt__p_wxColourDialog
,
27409 _swigt__p_wxDialog
,
27411 _swigt__p_wxPageSetupDialog
,
27412 _swigt__p_wxPrintDialog
,
27413 _swigt__p_wxFileSystem
,
27414 _swigt__p_wxBitmap
,
27415 _swigt__p_wxCommandEvent
,
27416 _swigt__p_wxPreviewControlBar
,
27417 _swigt__p_wxPyPreviewControlBar
,
27418 _swigt__p_wxColour
,
27419 _swigt__p_wxToolBar
,
27420 _swigt__p_wxPageSetupDialogData
,
27421 _swigt__p_wxPrintDialogData
,
27426 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27428 static swig_const_info swig_const_table
[] = {
27429 {0, 0, 0, 0.0, 0, 0}};
27438 SWIGEXPORT(void) SWIG_init(void) {
27439 static PyObject
*SWIG_globals
= 0;
27440 static int typeinit
= 0;
27443 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
27444 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27445 d
= PyModule_GetDict(m
);
27448 for (i
= 0; swig_types_initial
[i
]; i
++) {
27449 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
27453 SWIG_InstallConstants(d
,swig_const_table
);
27455 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
27456 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
27457 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
27458 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
27459 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
27460 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP
));
27461 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)wxICONIZE
));
27462 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE
));
27463 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE
));
27464 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX
));
27465 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME
));
27466 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU
));
27467 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX
));
27468 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX
));
27469 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ
));
27470 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT
));
27471 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX
));
27472 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER
));
27473 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT
));
27474 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE
));
27475 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE
));
27476 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW
));
27477 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT
));
27478 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU
));
27479 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR
));
27480 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED
));
27481 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int((int)wxFRAME_DRAWER
));
27482 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL
));
27483 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS
));
27484 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS
));
27485 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)wxNO_3D
));
27486 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR
));
27487 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR
));
27488 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR
));
27489 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER
));
27490 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION
));
27491 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL
));
27492 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG
));
27493 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO
));
27494 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR
));
27495 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT
));
27496 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN
));
27497 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE
));
27498 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT
));
27499 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT
));
27500 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL
));
27501 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT
));
27502 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED
));
27503 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
27504 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER
));
27505 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH
));
27506 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT
));
27507 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE
));
27508 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH
));
27509 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER
));
27510 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME
));
27511 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER
));
27512 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)wxSP_3D
));
27513 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL
));
27514 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL
));
27515 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE
));
27516 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING
));
27517 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN
));
27518 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
27519 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
27520 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
27521 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
27522 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
27523 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
27524 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE
));
27525 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING
));
27526 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN
));
27527 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER
));
27528 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER
));
27529 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH
));
27530 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER
));
27531 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)wxSW_3D
));
27532 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP
));
27533 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT
));
27534 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM
));
27535 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT
));
27536 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE
));
27537 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK
));
27538 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE
));
27539 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
27540 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL
));
27541 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL
));
27542 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE
));
27543 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP
));
27544 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT
));
27545 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT
));
27546 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM
));
27547 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y
));
27548 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X
));
27549 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH
));
27550 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY
));
27551 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
27552 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
27553 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
27555 // Map renamed classes back to their common name for OOR
27556 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27557 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27558 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27560 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
27561 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
27562 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
27563 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
27564 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
27565 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
27566 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
27567 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
27568 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
27569 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
27570 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
27571 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
27572 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
27573 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE
));
27574 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int((int)wxTextEntryDialogStyle
));
27575 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
27576 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN
));
27577 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD
));
27578 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE
));
27579 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG
));
27580 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN
));
27581 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE
));
27582 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD
));
27583 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
27584 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
27585 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
27586 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
27587 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
27588 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27589 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27590 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27591 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27592 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27593 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27594 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27595 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
27596 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
27597 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
27598 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE
));
27599 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW
));
27600 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE
));
27601 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER
));
27602 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM
));
27603 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)wxPRINTBIN_DEFAULT
));
27604 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)wxPRINTBIN_ONLYONE
));
27605 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)wxPRINTBIN_LOWER
));
27606 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)wxPRINTBIN_MIDDLE
));
27607 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)wxPRINTBIN_MANUAL
));
27608 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)wxPRINTBIN_ENVELOPE
));
27609 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)wxPRINTBIN_ENVMANUAL
));
27610 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)wxPRINTBIN_AUTO
));
27611 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)wxPRINTBIN_TRACTOR
));
27612 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)wxPRINTBIN_SMALLFMT
));
27613 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)wxPRINTBIN_LARGEFMT
));
27614 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)wxPRINTBIN_LARGECAPACITY
));
27615 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)wxPRINTBIN_CASSETTE
));
27616 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)wxPRINTBIN_FORMSOURCE
));
27617 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)wxPRINTBIN_USER
));
27618 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR
));
27619 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED
));
27620 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR
));
27621 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT
));
27622 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS
));
27623 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT
));
27624 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM
));
27625 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST
));
27626 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST
));
27627 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO
));
27628 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT
));
27629 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE
));
27630 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT
));
27631 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS
));
27632 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT
));
27633 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM
));
27634 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST
));
27635 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST
));
27636 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO
));
27638 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");