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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
345 #define SWIG_From_signed_SS_char PyInt_FromLong
347 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
348 #define SWIG_From_unsigned_SS_char PyInt_FromLong
350 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
351 #define SWIG_From_short PyInt_FromLong
353 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
354 #define SWIG_From_unsigned_SS_short PyInt_FromLong
356 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
357 #define SWIG_From_int PyInt_FromLong
359 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
360 #define SWIG_From_long PyInt_FromLong
362 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
363 #define SWIG_From_float PyFloat_FromDouble
365 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
366 #define SWIG_From_double PyFloat_FromDouble
370 #include "wx/wxPython/wxPython.h"
371 #include "wx/wxPython/pyclasses.h"
374 static const wxString
wxPyEmptyString(wxEmptyString
);
375 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
382 SWIGSTATICINLINE(int)
383 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
386 if (value
< min_value
) {
388 PyErr_Format(PyExc_OverflowError
,
389 "value %ld is less than '%s' minimum %ld",
390 value
, errmsg
, min_value
);
393 } else if (value
> max_value
) {
395 PyErr_Format(PyExc_OverflowError
,
396 "value %ld is greater than '%s' maximum %ld",
397 value
, errmsg
, max_value
);
405 // See my_fragments.i
406 SWIGSTATICINLINE(int)
407 SWIG_AsVal_long(PyObject
* obj
, long* val
)
409 if (PyNumber_Check(obj
)) {
410 if (val
) *val
= PyInt_AsLong(obj
);
414 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
415 obj
->ob_type
->tp_name
);
416 PyErr_SetObject(PyExc_TypeError
, errmsg
);
423 #if INT_MAX != LONG_MAX
424 SWIGSTATICINLINE(int)
425 SWIG_AsVal_int(PyObject
*obj
, int *val
)
427 const char* errmsg
= val
? "int" : 0;
429 if (SWIG_AsVal_long(obj
, &v
)) {
430 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
431 if (val
) *val
= swig_numeric_cast(v
, int);
440 PyErr_SetString(PyExc_TypeError
, "an int is expected");
445 SWIGSTATICINLINE(int)
446 SWIG_AsVal_int(PyObject
*obj
, int *val
)
448 return SWIG_AsVal_long(obj
,(long*)val
);
453 SWIGSTATICINLINE(int)
454 SWIG_As_int(PyObject
* obj
)
457 if (!SWIG_AsVal_int(obj
, &v
)) {
459 this is needed to make valgrind/purify happier. the other
460 solution is throw an exception, but since this code should work
463 memset((void*)&v
, 0, sizeof(int));
469 SWIGSTATICINLINE(long)
470 SWIG_As_long(PyObject
* obj
)
473 if (!SWIG_AsVal_long(obj
, &v
)) {
475 this is needed to make valgrind/purify happier. the other
476 solution is throw an exception, but since this code should work
479 memset((void*)&v
, 0, sizeof(long));
485 SWIGSTATICINLINE(int)
486 SWIG_Check_int(PyObject
* obj
)
488 return SWIG_AsVal_int(obj
, (int*)0);
492 SWIGSTATICINLINE(int)
493 SWIG_Check_long(PyObject
* obj
)
495 return SWIG_AsVal_long(obj
, (long*)0);
499 SWIGSTATICINLINE(int)
500 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
502 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
503 if (obj
== Py_True
) {
504 if (val
) *val
= true;
507 if (obj
== Py_False
) {
508 if (val
) *val
= false;
512 if (SWIG_AsVal_int(obj
, &res
)) {
513 if (val
) *val
= (bool)res
;
517 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
523 SWIGSTATICINLINE(bool)
524 SWIG_As_bool(PyObject
* obj
)
527 if (!SWIG_AsVal_bool(obj
, &v
)) {
529 this is needed to make valgrind/purify happier. the other
530 solution is throw an exception, but since this code should work
533 memset((void*)&v
, 0, sizeof(bool));
539 SWIGSTATICINLINE(int)
540 SWIG_Check_bool(PyObject
* obj
)
542 return SWIG_AsVal_bool(obj
, (bool*)0);
546 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
552 } else if (target
== Py_None
) {
556 if (!PyTuple_Check(target
)) {
558 target
= PyTuple_New(1);
559 PyTuple_SetItem(target
, 0, o2
);
562 PyTuple_SetItem(o3
, 0, o
);
565 target
= PySequence_Concat(o2
, o3
);
574 // See my_fragments.i
575 SWIGSTATICINLINE(int)
576 SWIG_AsVal_double(PyObject
*obj
, double* val
)
578 if (PyNumber_Check(obj
)) {
579 if (val
) *val
= PyFloat_AsDouble(obj
);
583 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
584 obj
->ob_type
->tp_name
);
585 PyErr_SetObject(PyExc_TypeError
, errmsg
);
592 SWIGSTATICINLINE(double)
593 SWIG_As_double(PyObject
* obj
)
596 if (!SWIG_AsVal_double(obj
, &v
)) {
598 this is needed to make valgrind/purify happier. the other
599 solution is throw an exception, but since this code should work
602 memset((void*)&v
, 0, sizeof(double));
608 SWIGSTATICINLINE(int)
609 SWIG_Check_double(PyObject
* obj
)
611 return SWIG_AsVal_double(obj
, (double*)0);
614 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
615 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
616 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
617 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
618 void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
619 bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
622 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
624 self
->GetFieldRect(i
, r
);
627 static const wxString
wxPySplitterNameStr(wxT("splitter"));
628 static const wxString
wxPySashNameStr(wxT("sashWindow"));
629 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
631 #include <wx/popupwin.h>
634 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
637 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
638 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
639 : wxPopupTransientWindow(parent
, style
) {}
641 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
642 DEC_PYCALLBACK__(OnDismiss
);
643 DEC_PYCALLBACK_BOOL_(CanDismiss
);
648 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
649 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
650 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
653 #include <wx/tipwin.h>
655 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
656 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
659 #include <wx/tipwin.h>
662 #include <wx/vscroll.h>
665 class wxPyVScrolledWindow
: public wxVScrolledWindow
667 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
669 wxPyVScrolledWindow() : wxVScrolledWindow() {}
671 wxPyVScrolledWindow(wxWindow
*parent
,
672 wxWindowID id
= wxID_ANY
,
673 const wxPoint
& pos
= wxDefaultPosition
,
674 const wxSize
& size
= wxDefaultSize
,
676 const wxString
& name
= wxPyPanelNameStr
)
677 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
680 // Overridable virtuals
682 // this function must be overridden in the derived class and it should
683 // return the height of the given line in pixels
684 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
687 // this function doesn't have to be overridden but it may be useful to do
688 // it if calculating the lines heights is a relatively expensive operation
689 // as it gives the user code a possibility to calculate several of them at
692 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
693 // shouldn't rely on the latter being called for all lines in the interval
694 // specified here. It is also possible that OnGetLineHeight() will be
695 // called for the lines outside of this interval, so this is really just a
696 // hint, not a promise.
698 // finally note that lineMin is inclusive, while lineMax is exclusive, as
700 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
703 // when the number of lines changes, we try to estimate the total height
704 // of all lines which is a rather expensive operation in terms of lines
705 // access, so if the user code may estimate the average height
706 // better/faster than we do, it should override this function to implement
709 // this function should return the best guess for the total height it may
711 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
714 // Also expose some other interesting protected methods
717 // find the index of the line we need to show at the top of the window such
718 // that the last (fully or partially) visible line is the given one
719 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
720 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
722 // get the total height of the lines between lineMin (inclusive) and
723 // lineMax (exclusive)
724 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
725 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
731 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
733 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
734 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
735 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
738 // See my_fragments.i
739 SWIGSTATICINLINE(int)
740 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
743 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
744 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
748 *val
= (unsigned long)v
;
753 SWIGSTATICINLINE(unsigned long)
754 SWIG_As_unsigned_SS_long(PyObject
* obj
)
757 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
759 this is needed to make valgrind/purify happier. the other
760 solution is throw an exception, but since this code should work
763 memset((void*)&v
, 0, sizeof(unsigned long));
769 SWIGSTATICINLINE(int)
770 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
772 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
776 SWIGSTATICINLINE(PyObject
* )
777 SWIG_From_unsigned_SS_long(unsigned long value
)
779 return (value
> LONG_MAX
) ?
780 PyLong_FromUnsignedLong(value
)
781 : PyInt_FromLong(swig_numeric_cast(value
,long));
785 #include <wx/vlbox.h>
787 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
789 class wxPyVListBox
: public wxVListBox
791 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
793 wxPyVListBox() : wxVListBox() {}
795 wxPyVListBox(wxWindow
*parent
,
796 wxWindowID id
= wxID_ANY
,
797 const wxPoint
& pos
= wxDefaultPosition
,
798 const wxSize
& size
= wxDefaultSize
,
800 const wxString
& name
= wxPyVListBoxNameStr
)
801 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
804 // Overridable virtuals
806 // the derived class must implement this function to actually draw the item
807 // with the given index on the provided DC
808 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
809 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
812 // the derived class must implement this method to return the height of the
814 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
815 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
818 // this method may be used to draw separators between the lines; note that
819 // the rectangle may be modified, typically to deflate it a bit before
820 // passing to OnDrawItem()
822 // the base class version doesn't do anything
823 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
824 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
827 // this method is used to draw the items background and, maybe, a border
830 // the base class version implements a reasonable default behaviour which
831 // consists in drawing the selected item with the standard background
832 // colour and drawing a border around the item if it is either selected or
834 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
835 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
841 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
843 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
844 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
845 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
846 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
849 PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
850 unsigned long cookie
= 0;
851 int selected
= self
->GetFirstSelected(cookie
);
852 bool blocked
= wxPyBeginBlockThreads();
853 PyObject
* tup
= PyTuple_New(2);
854 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
855 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
856 wxPyEndBlockThreads(blocked
);
859 PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
860 int selected
= self
->GetNextSelected(cookie
);
861 bool blocked
= wxPyBeginBlockThreads();
862 PyObject
* tup
= PyTuple_New(2);
863 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
864 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
865 wxPyEndBlockThreads(blocked
);
869 #include <wx/htmllbox.h>
872 class wxPyHtmlListBox
: public wxHtmlListBox
874 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
876 wxPyHtmlListBox() : wxHtmlListBox() {}
878 wxPyHtmlListBox(wxWindow
*parent
,
879 wxWindowID id
= wxID_ANY
,
880 const wxPoint
& pos
= wxDefaultPosition
,
881 const wxSize
& size
= wxDefaultSize
,
883 const wxString
& name
= wxPyVListBoxNameStr
)
884 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
887 // Overridable virtuals
889 // this method must be implemented in the derived class and should return
890 // the body (i.e. without <html>) of the HTML for the given item
891 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
893 // this function may be overridden to decorate HTML returned by OnGetItem()
894 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
897 // // this method allows to customize the selection appearance: it may be used
898 // // to specify the colour of the text which normally has the given colour
899 // // colFg when it is inside the selection
901 // // by default, the original colour is not used at all and all text has the
902 // // same (default for this system) colour inside selection
903 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
905 // // this is the same as GetSelectedTextColour() but allows to customize the
906 // // background colour -- this is even more rarely used as you can change it
907 // // globally using SetSelectionBackground()
908 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
915 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
917 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
918 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
924 #ifndef wxHAS_TASK_BAR_ICON
925 // implement dummy classes for platforms that don't have it
927 class wxTaskBarIcon
: public wxEvtHandler
930 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
934 class wxTaskBarIconEvent
: public wxEvent
937 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
938 { wxPyRaiseNotImplemented(); }
939 virtual wxEvent
* Clone() const { return NULL
; }
940 bool IsOk() const { return false; }
941 bool IsIconInstalled() const { return false; }
942 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
943 bool RemoveIcon() { return false; }
944 bool PopupMenu(wxMenu
*menu
) { return false; }
948 wxEVT_TASKBAR_MOVE
= 0,
949 wxEVT_TASKBAR_LEFT_DOWN
= 0,
950 wxEVT_TASKBAR_LEFT_UP
= 0,
951 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
952 wxEVT_TASKBAR_RIGHT_UP
= 0,
953 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
954 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
959 // Otherwise make a class that can virtualize CreatePopupMenu
960 class wxPyTaskBarIcon
: public wxTaskBarIcon
962 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
);
964 wxPyTaskBarIcon() : wxTaskBarIcon()
967 wxMenu
* CreatePopupMenu() {
970 bool blocked
= wxPyBeginBlockThreads();
971 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
974 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
976 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
981 wxPyEndBlockThreads(blocked
);
983 rval
= wxTaskBarIcon::CreatePopupMenu();
990 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
994 void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
998 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
999 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
1000 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
1001 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1002 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
1003 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
1004 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
1006 self
->GetFilenames(arr
);
1007 return wxArrayString2PyList_helper(arr
);
1009 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
1011 self
->GetPaths(arr
);
1012 return wxArrayString2PyList_helper(arr
);
1014 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
1015 return wxArrayInt2PyList_helper(self
->GetSelections());
1017 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
1018 return new wxSingleChoiceDialog(parent
, message
, caption
,
1019 choices
, choices_array
, NULL
, style
, pos
);
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_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
*resultobj
;
1668 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1669 wxVisualAttributes result
;
1670 PyObject
* obj0
= 0 ;
1672 (char *) "variant", NULL
1675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1677 arg1
= (int)SWIG_As_int(obj0
);
1678 if (PyErr_Occurred()) SWIG_fail
;
1681 if (!wxPyCheckForApp()) SWIG_fail
;
1682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1683 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1685 wxPyEndAllowThreads(__tstate
);
1686 if (PyErr_Occurred()) SWIG_fail
;
1689 wxVisualAttributes
* resultptr
;
1690 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1699 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
1701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1702 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1704 return Py_BuildValue((char *)"");
1706 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1707 PyObject
*resultobj
;
1708 wxWindow
*arg1
= (wxWindow
*) 0 ;
1709 int arg2
= (int) (int)-1 ;
1710 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1711 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1712 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1713 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1714 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1715 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1716 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1717 wxScrolledWindow
*result
;
1720 bool temp6
= false ;
1721 PyObject
* obj0
= 0 ;
1722 PyObject
* obj1
= 0 ;
1723 PyObject
* obj2
= 0 ;
1724 PyObject
* obj3
= 0 ;
1725 PyObject
* obj4
= 0 ;
1726 PyObject
* obj5
= 0 ;
1728 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1735 arg2
= (int)SWIG_As_int(obj1
);
1736 if (PyErr_Occurred()) SWIG_fail
;
1741 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1747 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1751 arg5
= (long)SWIG_As_long(obj4
);
1752 if (PyErr_Occurred()) SWIG_fail
;
1756 arg6
= wxString_in_helper(obj5
);
1757 if (arg6
== NULL
) SWIG_fail
;
1762 if (!wxPyCheckForApp()) SWIG_fail
;
1763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1764 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1766 wxPyEndAllowThreads(__tstate
);
1767 if (PyErr_Occurred()) SWIG_fail
;
1769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1784 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1785 PyObject
*resultobj
;
1786 wxScrolledWindow
*result
;
1791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1793 if (!wxPyCheckForApp()) SWIG_fail
;
1794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1795 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1797 wxPyEndAllowThreads(__tstate
);
1798 if (PyErr_Occurred()) SWIG_fail
;
1800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1807 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
*resultobj
;
1809 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1810 wxWindow
*arg2
= (wxWindow
*) 0 ;
1811 int arg3
= (int) (int)-1 ;
1812 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1813 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1814 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1815 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1816 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1817 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1818 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1822 bool temp7
= false ;
1823 PyObject
* obj0
= 0 ;
1824 PyObject
* obj1
= 0 ;
1825 PyObject
* obj2
= 0 ;
1826 PyObject
* obj3
= 0 ;
1827 PyObject
* obj4
= 0 ;
1828 PyObject
* obj5
= 0 ;
1829 PyObject
* obj6
= 0 ;
1831 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1837 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1840 arg3
= (int)SWIG_As_int(obj2
);
1841 if (PyErr_Occurred()) SWIG_fail
;
1846 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1852 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1856 arg6
= (long)SWIG_As_long(obj5
);
1857 if (PyErr_Occurred()) SWIG_fail
;
1861 arg7
= wxString_in_helper(obj6
);
1862 if (arg7
== NULL
) SWIG_fail
;
1867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1868 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1870 wxPyEndAllowThreads(__tstate
);
1871 if (PyErr_Occurred()) SWIG_fail
;
1874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1890 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1891 PyObject
*resultobj
;
1892 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1897 int arg6
= (int) 0 ;
1898 int arg7
= (int) 0 ;
1899 bool arg8
= (bool) false ;
1900 PyObject
* obj0
= 0 ;
1901 PyObject
* obj1
= 0 ;
1902 PyObject
* obj2
= 0 ;
1903 PyObject
* obj3
= 0 ;
1904 PyObject
* obj4
= 0 ;
1905 PyObject
* obj5
= 0 ;
1906 PyObject
* obj6
= 0 ;
1907 PyObject
* obj7
= 0 ;
1909 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1915 arg2
= (int)SWIG_As_int(obj1
);
1916 if (PyErr_Occurred()) SWIG_fail
;
1917 arg3
= (int)SWIG_As_int(obj2
);
1918 if (PyErr_Occurred()) SWIG_fail
;
1919 arg4
= (int)SWIG_As_int(obj3
);
1920 if (PyErr_Occurred()) SWIG_fail
;
1921 arg5
= (int)SWIG_As_int(obj4
);
1922 if (PyErr_Occurred()) SWIG_fail
;
1924 arg6
= (int)SWIG_As_int(obj5
);
1925 if (PyErr_Occurred()) SWIG_fail
;
1928 arg7
= (int)SWIG_As_int(obj6
);
1929 if (PyErr_Occurred()) SWIG_fail
;
1932 arg8
= (bool)SWIG_As_bool(obj7
);
1933 if (PyErr_Occurred()) SWIG_fail
;
1936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1937 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1939 wxPyEndAllowThreads(__tstate
);
1940 if (PyErr_Occurred()) SWIG_fail
;
1942 Py_INCREF(Py_None
); resultobj
= Py_None
;
1949 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1950 PyObject
*resultobj
;
1951 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1954 PyObject
* obj0
= 0 ;
1955 PyObject
* obj1
= 0 ;
1956 PyObject
* obj2
= 0 ;
1958 (char *) "self",(char *) "x",(char *) "y", NULL
1961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1964 arg2
= (int)SWIG_As_int(obj1
);
1965 if (PyErr_Occurred()) SWIG_fail
;
1966 arg3
= (int)SWIG_As_int(obj2
);
1967 if (PyErr_Occurred()) SWIG_fail
;
1969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1970 (arg1
)->Scroll(arg2
,arg3
);
1972 wxPyEndAllowThreads(__tstate
);
1973 if (PyErr_Occurred()) SWIG_fail
;
1975 Py_INCREF(Py_None
); resultobj
= Py_None
;
1982 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1983 PyObject
*resultobj
;
1984 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1987 PyObject
* obj0
= 0 ;
1988 PyObject
* obj1
= 0 ;
1990 (char *) "self",(char *) "orient", NULL
1993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1996 arg2
= (int)SWIG_As_int(obj1
);
1997 if (PyErr_Occurred()) SWIG_fail
;
1999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2000 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
2002 wxPyEndAllowThreads(__tstate
);
2003 if (PyErr_Occurred()) SWIG_fail
;
2005 resultobj
= SWIG_From_int((int)result
);
2012 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2013 PyObject
*resultobj
;
2014 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2017 PyObject
* obj0
= 0 ;
2018 PyObject
* obj1
= 0 ;
2019 PyObject
* obj2
= 0 ;
2021 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2027 arg2
= (int)SWIG_As_int(obj1
);
2028 if (PyErr_Occurred()) SWIG_fail
;
2029 arg3
= (int)SWIG_As_int(obj2
);
2030 if (PyErr_Occurred()) SWIG_fail
;
2032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2033 (arg1
)->SetScrollPageSize(arg2
,arg3
);
2035 wxPyEndAllowThreads(__tstate
);
2036 if (PyErr_Occurred()) SWIG_fail
;
2038 Py_INCREF(Py_None
); resultobj
= Py_None
;
2045 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2046 PyObject
*resultobj
;
2047 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2050 PyObject
* obj0
= 0 ;
2051 PyObject
* obj1
= 0 ;
2052 PyObject
* obj2
= 0 ;
2054 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2060 arg2
= (int)SWIG_As_int(obj1
);
2061 if (PyErr_Occurred()) SWIG_fail
;
2062 arg3
= (int)SWIG_As_int(obj2
);
2063 if (PyErr_Occurred()) SWIG_fail
;
2065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2066 (arg1
)->SetScrollRate(arg2
,arg3
);
2068 wxPyEndAllowThreads(__tstate
);
2069 if (PyErr_Occurred()) SWIG_fail
;
2071 Py_INCREF(Py_None
); resultobj
= Py_None
;
2078 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2079 PyObject
*resultobj
;
2080 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2081 int *arg2
= (int *) 0 ;
2082 int *arg3
= (int *) 0 ;
2087 PyObject
* obj0
= 0 ;
2089 (char *) "self", NULL
2092 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2093 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
2095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2099 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
2101 wxPyEndAllowThreads(__tstate
);
2102 if (PyErr_Occurred()) SWIG_fail
;
2104 Py_INCREF(Py_None
); resultobj
= Py_None
;
2105 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2106 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2107 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2108 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2115 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2116 PyObject
*resultobj
;
2117 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2120 PyObject
* obj0
= 0 ;
2121 PyObject
* obj1
= 0 ;
2122 PyObject
* obj2
= 0 ;
2124 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2130 arg2
= (bool)SWIG_As_bool(obj1
);
2131 if (PyErr_Occurred()) SWIG_fail
;
2132 arg3
= (bool)SWIG_As_bool(obj2
);
2133 if (PyErr_Occurred()) SWIG_fail
;
2135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2136 (arg1
)->EnableScrolling(arg2
,arg3
);
2138 wxPyEndAllowThreads(__tstate
);
2139 if (PyErr_Occurred()) SWIG_fail
;
2141 Py_INCREF(Py_None
); resultobj
= Py_None
;
2148 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2149 PyObject
*resultobj
;
2150 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2151 int *arg2
= (int *) 0 ;
2152 int *arg3
= (int *) 0 ;
2157 PyObject
* obj0
= 0 ;
2159 (char *) "self", NULL
2162 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2163 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
2165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2169 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
2171 wxPyEndAllowThreads(__tstate
);
2172 if (PyErr_Occurred()) SWIG_fail
;
2174 Py_INCREF(Py_None
); resultobj
= Py_None
;
2175 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2176 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2177 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2178 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2185 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2186 PyObject
*resultobj
;
2187 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2190 PyObject
* obj0
= 0 ;
2191 PyObject
* obj1
= 0 ;
2192 PyObject
* obj2
= 0 ;
2194 (char *) "self",(char *) "xs",(char *) "ys", NULL
2197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2200 arg2
= (double)SWIG_As_double(obj1
);
2201 if (PyErr_Occurred()) SWIG_fail
;
2202 arg3
= (double)SWIG_As_double(obj2
);
2203 if (PyErr_Occurred()) SWIG_fail
;
2205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2206 (arg1
)->SetScale(arg2
,arg3
);
2208 wxPyEndAllowThreads(__tstate
);
2209 if (PyErr_Occurred()) SWIG_fail
;
2211 Py_INCREF(Py_None
); resultobj
= Py_None
;
2218 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2219 PyObject
*resultobj
;
2220 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2222 PyObject
* obj0
= 0 ;
2224 (char *) "self", NULL
2227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2232 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2234 wxPyEndAllowThreads(__tstate
);
2235 if (PyErr_Occurred()) SWIG_fail
;
2237 resultobj
= SWIG_From_double((double)result
);
2244 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
*resultobj
;
2246 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2248 PyObject
* obj0
= 0 ;
2250 (char *) "self", NULL
2253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2258 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2260 wxPyEndAllowThreads(__tstate
);
2261 if (PyErr_Occurred()) SWIG_fail
;
2263 resultobj
= SWIG_From_double((double)result
);
2270 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2271 PyObject
*resultobj
;
2272 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2276 PyObject
* obj0
= 0 ;
2277 PyObject
* obj1
= 0 ;
2279 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2284 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2288 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2290 wxPyEndAllowThreads(__tstate
);
2291 if (PyErr_Occurred()) SWIG_fail
;
2294 wxPoint
* resultptr
;
2295 resultptr
= new wxPoint((wxPoint
&) result
);
2296 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2304 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2305 PyObject
*resultobj
;
2306 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2309 int *arg4
= (int *) 0 ;
2310 int *arg5
= (int *) 0 ;
2315 PyObject
* obj0
= 0 ;
2316 PyObject
* obj1
= 0 ;
2317 PyObject
* obj2
= 0 ;
2319 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2320 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2321 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2324 arg2
= (int)SWIG_As_int(obj1
);
2325 if (PyErr_Occurred()) SWIG_fail
;
2326 arg3
= (int)SWIG_As_int(obj2
);
2327 if (PyErr_Occurred()) SWIG_fail
;
2329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2330 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2332 wxPyEndAllowThreads(__tstate
);
2333 if (PyErr_Occurred()) SWIG_fail
;
2335 Py_INCREF(Py_None
); resultobj
= Py_None
;
2336 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2337 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
2338 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2339 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
2346 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2351 argc
= PyObject_Length(args
);
2352 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2353 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2359 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2368 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2371 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2379 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2387 _v
= SWIG_Check_int(argv
[1]);
2389 _v
= SWIG_Check_int(argv
[2]);
2391 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2397 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2402 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2403 PyObject
*resultobj
;
2404 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2408 PyObject
* obj0
= 0 ;
2409 PyObject
* obj1
= 0 ;
2411 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2416 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2420 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2422 wxPyEndAllowThreads(__tstate
);
2423 if (PyErr_Occurred()) SWIG_fail
;
2426 wxPoint
* resultptr
;
2427 resultptr
= new wxPoint((wxPoint
&) result
);
2428 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2436 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2437 PyObject
*resultobj
;
2438 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2441 int *arg4
= (int *) 0 ;
2442 int *arg5
= (int *) 0 ;
2447 PyObject
* obj0
= 0 ;
2448 PyObject
* obj1
= 0 ;
2449 PyObject
* obj2
= 0 ;
2451 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2452 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2453 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2456 arg2
= (int)SWIG_As_int(obj1
);
2457 if (PyErr_Occurred()) SWIG_fail
;
2458 arg3
= (int)SWIG_As_int(obj2
);
2459 if (PyErr_Occurred()) SWIG_fail
;
2461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2462 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2464 wxPyEndAllowThreads(__tstate
);
2465 if (PyErr_Occurred()) SWIG_fail
;
2467 Py_INCREF(Py_None
); resultobj
= Py_None
;
2468 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2469 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
2470 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2471 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
2478 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2483 argc
= PyObject_Length(args
);
2484 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2485 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2491 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2500 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2503 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2511 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2519 _v
= SWIG_Check_int(argv
[1]);
2521 _v
= SWIG_Check_int(argv
[2]);
2523 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2529 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2534 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2535 PyObject
*resultobj
;
2536 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2537 PyObject
* obj0
= 0 ;
2539 (char *) "self", NULL
2542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2547 (arg1
)->AdjustScrollbars();
2549 wxPyEndAllowThreads(__tstate
);
2550 if (PyErr_Occurred()) SWIG_fail
;
2552 Py_INCREF(Py_None
); resultobj
= Py_None
;
2559 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2560 PyObject
*resultobj
;
2561 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2562 wxScrollWinEvent
*arg2
= 0 ;
2564 PyObject
* obj0
= 0 ;
2565 PyObject
* obj1
= 0 ;
2567 (char *) "self",(char *) "event", NULL
2570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2574 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2577 PyErr_SetString(PyExc_TypeError
,"null reference");
2581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2582 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2584 wxPyEndAllowThreads(__tstate
);
2585 if (PyErr_Occurred()) SWIG_fail
;
2587 resultobj
= SWIG_From_int((int)result
);
2594 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2595 PyObject
*resultobj
;
2596 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2597 wxWindow
*arg2
= (wxWindow
*) 0 ;
2598 PyObject
* obj0
= 0 ;
2599 PyObject
* obj1
= 0 ;
2601 (char *) "self",(char *) "target", NULL
2604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2611 (arg1
)->SetTargetWindow(arg2
);
2613 wxPyEndAllowThreads(__tstate
);
2614 if (PyErr_Occurred()) SWIG_fail
;
2616 Py_INCREF(Py_None
); resultobj
= Py_None
;
2623 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
*resultobj
;
2625 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2627 PyObject
* obj0
= 0 ;
2629 (char *) "self", NULL
2632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2637 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2639 wxPyEndAllowThreads(__tstate
);
2640 if (PyErr_Occurred()) SWIG_fail
;
2643 resultobj
= wxPyMake_wxObject(result
, 0);
2651 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2652 PyObject
*resultobj
;
2653 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2656 PyObject
* obj0
= 0 ;
2657 PyObject
* obj1
= 0 ;
2659 (char *) "self",(char *) "rect", NULL
2662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2667 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2671 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2673 wxPyEndAllowThreads(__tstate
);
2674 if (PyErr_Occurred()) SWIG_fail
;
2676 Py_INCREF(Py_None
); resultobj
= Py_None
;
2683 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2684 PyObject
*resultobj
;
2685 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2687 PyObject
* obj0
= 0 ;
2689 (char *) "self", NULL
2692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2697 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2699 wxPyEndAllowThreads(__tstate
);
2700 if (PyErr_Occurred()) SWIG_fail
;
2704 resultptr
= new wxRect((wxRect
&) result
);
2705 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2713 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2714 PyObject
*resultobj
;
2715 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2717 PyObject
* obj0
= 0 ;
2718 PyObject
* obj1
= 0 ;
2720 (char *) "self",(char *) "dc", NULL
2723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
2724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2727 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2730 PyErr_SetString(PyExc_TypeError
,"null reference");
2734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2735 (arg1
)->DoPrepareDC(*arg2
);
2737 wxPyEndAllowThreads(__tstate
);
2738 if (PyErr_Occurred()) SWIG_fail
;
2740 Py_INCREF(Py_None
); resultobj
= Py_None
;
2747 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2748 PyObject
*resultobj
;
2749 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2750 wxVisualAttributes result
;
2751 PyObject
* obj0
= 0 ;
2753 (char *) "variant", NULL
2756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2758 arg1
= (int)SWIG_As_int(obj0
);
2759 if (PyErr_Occurred()) SWIG_fail
;
2762 if (!wxPyCheckForApp()) SWIG_fail
;
2763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2764 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2766 wxPyEndAllowThreads(__tstate
);
2767 if (PyErr_Occurred()) SWIG_fail
;
2770 wxVisualAttributes
* resultptr
;
2771 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2772 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2780 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
2782 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2783 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2785 return Py_BuildValue((char *)"");
2787 static int _wrap_FrameNameStr_set(PyObject
*) {
2788 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2793 static PyObject
*_wrap_FrameNameStr_get() {
2798 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2800 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2807 static int _wrap_DialogNameStr_set(PyObject
*) {
2808 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2813 static PyObject
*_wrap_DialogNameStr_get() {
2818 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2820 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2827 static int _wrap_StatusLineNameStr_set(PyObject
*) {
2828 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2833 static PyObject
*_wrap_StatusLineNameStr_get() {
2838 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2840 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2847 static int _wrap_ToolBarNameStr_set(PyObject
*) {
2848 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2853 static PyObject
*_wrap_ToolBarNameStr_get() {
2858 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2860 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2867 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2868 PyObject
*resultobj
;
2869 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2870 bool arg2
= (bool) true ;
2871 PyObject
* obj0
= 0 ;
2872 PyObject
* obj1
= 0 ;
2874 (char *) "self",(char *) "maximize", NULL
2877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2881 arg2
= (bool)SWIG_As_bool(obj1
);
2882 if (PyErr_Occurred()) SWIG_fail
;
2885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2886 (arg1
)->Maximize(arg2
);
2888 wxPyEndAllowThreads(__tstate
);
2889 if (PyErr_Occurred()) SWIG_fail
;
2891 Py_INCREF(Py_None
); resultobj
= Py_None
;
2898 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
*resultobj
;
2900 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2901 PyObject
* obj0
= 0 ;
2903 (char *) "self", NULL
2906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2913 wxPyEndAllowThreads(__tstate
);
2914 if (PyErr_Occurred()) SWIG_fail
;
2916 Py_INCREF(Py_None
); resultobj
= Py_None
;
2923 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2924 PyObject
*resultobj
;
2925 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2926 bool arg2
= (bool) true ;
2927 PyObject
* obj0
= 0 ;
2928 PyObject
* obj1
= 0 ;
2930 (char *) "self",(char *) "iconize", NULL
2933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2937 arg2
= (bool)SWIG_As_bool(obj1
);
2938 if (PyErr_Occurred()) SWIG_fail
;
2941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2942 (arg1
)->Iconize(arg2
);
2944 wxPyEndAllowThreads(__tstate
);
2945 if (PyErr_Occurred()) SWIG_fail
;
2947 Py_INCREF(Py_None
); resultobj
= Py_None
;
2954 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2955 PyObject
*resultobj
;
2956 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2958 PyObject
* obj0
= 0 ;
2960 (char *) "self", NULL
2963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2968 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2970 wxPyEndAllowThreads(__tstate
);
2971 if (PyErr_Occurred()) SWIG_fail
;
2974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2982 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2983 PyObject
*resultobj
;
2984 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2986 PyObject
* obj0
= 0 ;
2988 (char *) "self", NULL
2991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2996 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2998 wxPyEndAllowThreads(__tstate
);
2999 if (PyErr_Occurred()) SWIG_fail
;
3002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3010 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3011 PyObject
*resultobj
;
3012 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3014 PyObject
* obj0
= 0 ;
3016 (char *) "self", NULL
3019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
3020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3024 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
3026 wxPyEndAllowThreads(__tstate
);
3027 if (PyErr_Occurred()) SWIG_fail
;
3031 resultptr
= new wxIcon((wxIcon
&) result
);
3032 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
3040 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3041 PyObject
*resultobj
;
3042 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3044 PyObject
* obj0
= 0 ;
3045 PyObject
* obj1
= 0 ;
3047 (char *) "self",(char *) "icon", NULL
3050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3053 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3054 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3057 PyErr_SetString(PyExc_TypeError
,"null reference");
3061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3062 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
3064 wxPyEndAllowThreads(__tstate
);
3065 if (PyErr_Occurred()) SWIG_fail
;
3067 Py_INCREF(Py_None
); resultobj
= Py_None
;
3074 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3075 PyObject
*resultobj
;
3076 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3077 wxIconBundle
*arg2
= 0 ;
3078 PyObject
* obj0
= 0 ;
3079 PyObject
* obj1
= 0 ;
3081 (char *) "self",(char *) "icons", NULL
3084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
3085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3087 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
3088 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3091 PyErr_SetString(PyExc_TypeError
,"null reference");
3095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3096 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
3098 wxPyEndAllowThreads(__tstate
);
3099 if (PyErr_Occurred()) SWIG_fail
;
3101 Py_INCREF(Py_None
); resultobj
= Py_None
;
3108 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
*resultobj
;
3110 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3112 long arg3
= (long) wxFULLSCREEN_ALL
;
3114 PyObject
* obj0
= 0 ;
3115 PyObject
* obj1
= 0 ;
3116 PyObject
* obj2
= 0 ;
3118 (char *) "self",(char *) "show",(char *) "style", NULL
3121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3124 arg2
= (bool)SWIG_As_bool(obj1
);
3125 if (PyErr_Occurred()) SWIG_fail
;
3127 arg3
= (long)SWIG_As_long(obj2
);
3128 if (PyErr_Occurred()) SWIG_fail
;
3131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3132 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
3134 wxPyEndAllowThreads(__tstate
);
3135 if (PyErr_Occurred()) SWIG_fail
;
3138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3146 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3147 PyObject
*resultobj
;
3148 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3150 PyObject
* obj0
= 0 ;
3152 (char *) "self", NULL
3155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
3156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3160 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
3162 wxPyEndAllowThreads(__tstate
);
3163 if (PyErr_Occurred()) SWIG_fail
;
3166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3174 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3175 PyObject
*resultobj
;
3176 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3177 wxString
*arg2
= 0 ;
3178 bool temp2
= false ;
3179 PyObject
* obj0
= 0 ;
3180 PyObject
* obj1
= 0 ;
3182 (char *) "self",(char *) "title", NULL
3185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
3186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3189 arg2
= wxString_in_helper(obj1
);
3190 if (arg2
== NULL
) SWIG_fail
;
3194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3195 (arg1
)->SetTitle((wxString
const &)*arg2
);
3197 wxPyEndAllowThreads(__tstate
);
3198 if (PyErr_Occurred()) SWIG_fail
;
3200 Py_INCREF(Py_None
); resultobj
= Py_None
;
3215 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3216 PyObject
*resultobj
;
3217 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3219 PyObject
* obj0
= 0 ;
3221 (char *) "self", NULL
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3229 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3231 wxPyEndAllowThreads(__tstate
);
3232 if (PyErr_Occurred()) SWIG_fail
;
3236 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3238 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3247 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3248 PyObject
*resultobj
;
3249 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3250 wxRegion
*arg2
= 0 ;
3252 PyObject
* obj0
= 0 ;
3253 PyObject
* obj1
= 0 ;
3255 (char *) "self",(char *) "region", NULL
3258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3262 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3265 PyErr_SetString(PyExc_TypeError
,"null reference");
3269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3270 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3272 wxPyEndAllowThreads(__tstate
);
3273 if (PyErr_Occurred()) SWIG_fail
;
3276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3284 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3285 PyObject
*resultobj
;
3286 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3287 int arg2
= (int) wxUSER_ATTENTION_INFO
;
3288 PyObject
* obj0
= 0 ;
3289 PyObject
* obj1
= 0 ;
3291 (char *) "self",(char *) "flags", NULL
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
3295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3298 arg2
= (int)SWIG_As_int(obj1
);
3299 if (PyErr_Occurred()) SWIG_fail
;
3302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3303 (arg1
)->RequestUserAttention(arg2
);
3305 wxPyEndAllowThreads(__tstate
);
3306 if (PyErr_Occurred()) SWIG_fail
;
3308 Py_INCREF(Py_None
); resultobj
= Py_None
;
3315 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3316 PyObject
*resultobj
;
3317 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3319 PyObject
* obj0
= 0 ;
3321 (char *) "self", NULL
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
3325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3329 result
= (bool)(arg1
)->IsActive();
3331 wxPyEndAllowThreads(__tstate
);
3332 if (PyErr_Occurred()) SWIG_fail
;
3335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3343 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
*resultobj
;
3345 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3347 PyObject
* obj0
= 0 ;
3348 PyObject
* obj1
= 0 ;
3350 (char *) "self",(char *) "on", NULL
3353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
3354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3356 arg2
= (bool)SWIG_As_bool(obj1
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3360 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
3362 wxPyEndAllowThreads(__tstate
);
3363 if (PyErr_Occurred()) SWIG_fail
;
3365 Py_INCREF(Py_None
); resultobj
= Py_None
;
3372 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
*resultobj
;
3374 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3376 PyObject
* obj0
= 0 ;
3378 (char *) "self", NULL
3381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
3382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3386 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
3388 wxPyEndAllowThreads(__tstate
);
3389 if (PyErr_Occurred()) SWIG_fail
;
3392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3400 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
3402 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3403 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3405 return Py_BuildValue((char *)"");
3407 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3408 PyObject
*resultobj
;
3409 wxWindow
*arg1
= (wxWindow
*) 0 ;
3410 int arg2
= (int) (int)-1 ;
3411 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3412 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3413 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3414 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3415 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3416 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3417 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3418 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3419 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3421 bool temp3
= false ;
3424 bool temp7
= false ;
3425 PyObject
* obj0
= 0 ;
3426 PyObject
* obj1
= 0 ;
3427 PyObject
* obj2
= 0 ;
3428 PyObject
* obj3
= 0 ;
3429 PyObject
* obj4
= 0 ;
3430 PyObject
* obj5
= 0 ;
3431 PyObject
* obj6
= 0 ;
3433 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3440 arg2
= (int)SWIG_As_int(obj1
);
3441 if (PyErr_Occurred()) SWIG_fail
;
3445 arg3
= wxString_in_helper(obj2
);
3446 if (arg3
== NULL
) SWIG_fail
;
3453 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3459 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3463 arg6
= (long)SWIG_As_long(obj5
);
3464 if (PyErr_Occurred()) SWIG_fail
;
3468 arg7
= wxString_in_helper(obj6
);
3469 if (arg7
== NULL
) SWIG_fail
;
3474 if (!wxPyCheckForApp()) SWIG_fail
;
3475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3476 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3478 wxPyEndAllowThreads(__tstate
);
3479 if (PyErr_Occurred()) SWIG_fail
;
3481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3504 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3505 PyObject
*resultobj
;
3511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3513 if (!wxPyCheckForApp()) SWIG_fail
;
3514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3515 result
= (wxFrame
*)new wxFrame();
3517 wxPyEndAllowThreads(__tstate
);
3518 if (PyErr_Occurred()) SWIG_fail
;
3520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3527 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3528 PyObject
*resultobj
;
3529 wxFrame
*arg1
= (wxFrame
*) 0 ;
3530 wxWindow
*arg2
= (wxWindow
*) 0 ;
3531 int arg3
= (int) (int)-1 ;
3532 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3533 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3534 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3535 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3536 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3537 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3538 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3539 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3540 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3542 bool temp4
= false ;
3545 bool temp8
= false ;
3546 PyObject
* obj0
= 0 ;
3547 PyObject
* obj1
= 0 ;
3548 PyObject
* obj2
= 0 ;
3549 PyObject
* obj3
= 0 ;
3550 PyObject
* obj4
= 0 ;
3551 PyObject
* obj5
= 0 ;
3552 PyObject
* obj6
= 0 ;
3553 PyObject
* obj7
= 0 ;
3555 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3561 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3564 arg3
= (int)SWIG_As_int(obj2
);
3565 if (PyErr_Occurred()) SWIG_fail
;
3569 arg4
= wxString_in_helper(obj3
);
3570 if (arg4
== NULL
) SWIG_fail
;
3577 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3583 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3587 arg7
= (long)SWIG_As_long(obj6
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3592 arg8
= wxString_in_helper(obj7
);
3593 if (arg8
== NULL
) SWIG_fail
;
3598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3599 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3601 wxPyEndAllowThreads(__tstate
);
3602 if (PyErr_Occurred()) SWIG_fail
;
3605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3629 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3630 PyObject
*resultobj
;
3631 wxFrame
*arg1
= (wxFrame
*) 0 ;
3633 PyObject
* obj0
= 0 ;
3635 (char *) "self", NULL
3638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3643 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3645 wxPyEndAllowThreads(__tstate
);
3646 if (PyErr_Occurred()) SWIG_fail
;
3649 wxPoint
* resultptr
;
3650 resultptr
= new wxPoint((wxPoint
&) result
);
3651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3659 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3660 PyObject
*resultobj
;
3661 wxFrame
*arg1
= (wxFrame
*) 0 ;
3662 PyObject
* obj0
= 0 ;
3664 (char *) "self", NULL
3667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3672 (arg1
)->SendSizeEvent();
3674 wxPyEndAllowThreads(__tstate
);
3675 if (PyErr_Occurred()) SWIG_fail
;
3677 Py_INCREF(Py_None
); resultobj
= Py_None
;
3684 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3685 PyObject
*resultobj
;
3686 wxFrame
*arg1
= (wxFrame
*) 0 ;
3687 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3688 PyObject
* obj0
= 0 ;
3689 PyObject
* obj1
= 0 ;
3691 (char *) "self",(char *) "menubar", NULL
3694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3697 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3701 (arg1
)->SetMenuBar(arg2
);
3703 wxPyEndAllowThreads(__tstate
);
3704 if (PyErr_Occurred()) SWIG_fail
;
3706 Py_INCREF(Py_None
); resultobj
= Py_None
;
3713 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3714 PyObject
*resultobj
;
3715 wxFrame
*arg1
= (wxFrame
*) 0 ;
3717 PyObject
* obj0
= 0 ;
3719 (char *) "self", NULL
3722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3727 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3729 wxPyEndAllowThreads(__tstate
);
3730 if (PyErr_Occurred()) SWIG_fail
;
3733 resultobj
= wxPyMake_wxObject(result
, 0);
3741 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
*resultobj
;
3743 wxFrame
*arg1
= (wxFrame
*) 0 ;
3746 PyObject
* obj0
= 0 ;
3747 PyObject
* obj1
= 0 ;
3749 (char *) "self",(char *) "winid", NULL
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3755 arg2
= (int)SWIG_As_int(obj1
);
3756 if (PyErr_Occurred()) SWIG_fail
;
3758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3759 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3761 wxPyEndAllowThreads(__tstate
);
3762 if (PyErr_Occurred()) SWIG_fail
;
3765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3773 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3774 PyObject
*resultobj
;
3775 wxFrame
*arg1
= (wxFrame
*) 0 ;
3776 int arg2
= (int) 1 ;
3777 long arg3
= (long) wxST_SIZEGRIP
;
3778 int arg4
= (int) 0 ;
3779 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3780 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3781 wxStatusBar
*result
;
3782 bool temp5
= false ;
3783 PyObject
* obj0
= 0 ;
3784 PyObject
* obj1
= 0 ;
3785 PyObject
* obj2
= 0 ;
3786 PyObject
* obj3
= 0 ;
3787 PyObject
* obj4
= 0 ;
3789 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3796 arg2
= (int)SWIG_As_int(obj1
);
3797 if (PyErr_Occurred()) SWIG_fail
;
3800 arg3
= (long)SWIG_As_long(obj2
);
3801 if (PyErr_Occurred()) SWIG_fail
;
3804 arg4
= (int)SWIG_As_int(obj3
);
3805 if (PyErr_Occurred()) SWIG_fail
;
3809 arg5
= wxString_in_helper(obj4
);
3810 if (arg5
== NULL
) SWIG_fail
;
3815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3816 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3818 wxPyEndAllowThreads(__tstate
);
3819 if (PyErr_Occurred()) SWIG_fail
;
3822 resultobj
= wxPyMake_wxObject(result
, 0);
3838 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3839 PyObject
*resultobj
;
3840 wxFrame
*arg1
= (wxFrame
*) 0 ;
3841 wxStatusBar
*result
;
3842 PyObject
* obj0
= 0 ;
3844 (char *) "self", NULL
3847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3854 wxPyEndAllowThreads(__tstate
);
3855 if (PyErr_Occurred()) SWIG_fail
;
3858 resultobj
= wxPyMake_wxObject(result
, 0);
3866 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3867 PyObject
*resultobj
;
3868 wxFrame
*arg1
= (wxFrame
*) 0 ;
3869 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3870 PyObject
* obj0
= 0 ;
3871 PyObject
* obj1
= 0 ;
3873 (char *) "self",(char *) "statBar", NULL
3876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3879 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3883 (arg1
)->SetStatusBar(arg2
);
3885 wxPyEndAllowThreads(__tstate
);
3886 if (PyErr_Occurred()) SWIG_fail
;
3888 Py_INCREF(Py_None
); resultobj
= Py_None
;
3895 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3896 PyObject
*resultobj
;
3897 wxFrame
*arg1
= (wxFrame
*) 0 ;
3898 wxString
*arg2
= 0 ;
3899 int arg3
= (int) 0 ;
3900 bool temp2
= false ;
3901 PyObject
* obj0
= 0 ;
3902 PyObject
* obj1
= 0 ;
3903 PyObject
* obj2
= 0 ;
3905 (char *) "self",(char *) "text",(char *) "number", NULL
3908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3912 arg2
= wxString_in_helper(obj1
);
3913 if (arg2
== NULL
) SWIG_fail
;
3917 arg3
= (int)SWIG_As_int(obj2
);
3918 if (PyErr_Occurred()) SWIG_fail
;
3921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3922 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3924 wxPyEndAllowThreads(__tstate
);
3925 if (PyErr_Occurred()) SWIG_fail
;
3927 Py_INCREF(Py_None
); resultobj
= Py_None
;
3942 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3943 PyObject
*resultobj
;
3944 wxFrame
*arg1
= (wxFrame
*) 0 ;
3946 int *arg3
= (int *) 0 ;
3947 PyObject
* obj0
= 0 ;
3948 PyObject
* obj1
= 0 ;
3950 (char *) "self",(char *) "widths", NULL
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3957 arg2
= PyList_Size(obj1
);
3958 arg3
= int_LIST_helper(obj1
);
3959 if (arg3
== NULL
) SWIG_fail
;
3962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3963 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3965 wxPyEndAllowThreads(__tstate
);
3966 if (PyErr_Occurred()) SWIG_fail
;
3968 Py_INCREF(Py_None
); resultobj
= Py_None
;
3970 if (arg3
) delete [] arg3
;
3975 if (arg3
) delete [] arg3
;
3981 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3982 PyObject
*resultobj
;
3983 wxFrame
*arg1
= (wxFrame
*) 0 ;
3984 wxString
*arg2
= 0 ;
3985 int arg3
= (int) 0 ;
3986 bool temp2
= false ;
3987 PyObject
* obj0
= 0 ;
3988 PyObject
* obj1
= 0 ;
3989 PyObject
* obj2
= 0 ;
3991 (char *) "self",(char *) "text",(char *) "number", NULL
3994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3998 arg2
= wxString_in_helper(obj1
);
3999 if (arg2
== NULL
) SWIG_fail
;
4003 arg3
= (int)SWIG_As_int(obj2
);
4004 if (PyErr_Occurred()) SWIG_fail
;
4007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4008 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
4010 wxPyEndAllowThreads(__tstate
);
4011 if (PyErr_Occurred()) SWIG_fail
;
4013 Py_INCREF(Py_None
); resultobj
= Py_None
;
4028 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4029 PyObject
*resultobj
;
4030 wxFrame
*arg1
= (wxFrame
*) 0 ;
4031 int arg2
= (int) 0 ;
4032 PyObject
* obj0
= 0 ;
4033 PyObject
* obj1
= 0 ;
4035 (char *) "self",(char *) "number", NULL
4038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
4039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4042 arg2
= (int)SWIG_As_int(obj1
);
4043 if (PyErr_Occurred()) SWIG_fail
;
4046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4047 (arg1
)->PopStatusText(arg2
);
4049 wxPyEndAllowThreads(__tstate
);
4050 if (PyErr_Occurred()) SWIG_fail
;
4052 Py_INCREF(Py_None
); resultobj
= Py_None
;
4059 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4060 PyObject
*resultobj
;
4061 wxFrame
*arg1
= (wxFrame
*) 0 ;
4063 PyObject
* obj0
= 0 ;
4064 PyObject
* obj1
= 0 ;
4066 (char *) "self",(char *) "n", NULL
4069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
4070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4072 arg2
= (int)SWIG_As_int(obj1
);
4073 if (PyErr_Occurred()) SWIG_fail
;
4075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4076 (arg1
)->SetStatusBarPane(arg2
);
4078 wxPyEndAllowThreads(__tstate
);
4079 if (PyErr_Occurred()) SWIG_fail
;
4081 Py_INCREF(Py_None
); resultobj
= Py_None
;
4088 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4089 PyObject
*resultobj
;
4090 wxFrame
*arg1
= (wxFrame
*) 0 ;
4092 PyObject
* obj0
= 0 ;
4094 (char *) "self", NULL
4097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
4098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4102 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
4104 wxPyEndAllowThreads(__tstate
);
4105 if (PyErr_Occurred()) SWIG_fail
;
4107 resultobj
= SWIG_From_int((int)result
);
4114 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4115 PyObject
*resultobj
;
4116 wxFrame
*arg1
= (wxFrame
*) 0 ;
4117 long arg2
= (long) -1 ;
4118 int arg3
= (int) -1 ;
4119 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
4120 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4122 bool temp4
= false ;
4123 PyObject
* obj0
= 0 ;
4124 PyObject
* obj1
= 0 ;
4125 PyObject
* obj2
= 0 ;
4126 PyObject
* obj3
= 0 ;
4128 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4135 arg2
= (long)SWIG_As_long(obj1
);
4136 if (PyErr_Occurred()) SWIG_fail
;
4139 arg3
= (int)SWIG_As_int(obj2
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4144 arg4
= wxString_in_helper(obj3
);
4145 if (arg4
== NULL
) SWIG_fail
;
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4151 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) SWIG_fail
;
4157 resultobj
= wxPyMake_wxObject(result
, 0);
4173 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4174 PyObject
*resultobj
;
4175 wxFrame
*arg1
= (wxFrame
*) 0 ;
4177 PyObject
* obj0
= 0 ;
4179 (char *) "self", NULL
4182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
4183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4193 resultobj
= wxPyMake_wxObject(result
, 0);
4201 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
*resultobj
;
4203 wxFrame
*arg1
= (wxFrame
*) 0 ;
4204 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
4205 PyObject
* obj0
= 0 ;
4206 PyObject
* obj1
= 0 ;
4208 (char *) "self",(char *) "toolbar", NULL
4211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4214 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
4215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4218 (arg1
)->SetToolBar(arg2
);
4220 wxPyEndAllowThreads(__tstate
);
4221 if (PyErr_Occurred()) SWIG_fail
;
4223 Py_INCREF(Py_None
); resultobj
= Py_None
;
4230 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4231 PyObject
*resultobj
;
4232 wxFrame
*arg1
= (wxFrame
*) 0 ;
4233 wxString
*arg2
= 0 ;
4235 bool temp2
= false ;
4236 PyObject
* obj0
= 0 ;
4237 PyObject
* obj1
= 0 ;
4238 PyObject
* obj2
= 0 ;
4240 (char *) "self",(char *) "text",(char *) "show", NULL
4243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4247 arg2
= wxString_in_helper(obj1
);
4248 if (arg2
== NULL
) SWIG_fail
;
4251 arg3
= (bool)SWIG_As_bool(obj2
);
4252 if (PyErr_Occurred()) SWIG_fail
;
4254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4255 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
4257 wxPyEndAllowThreads(__tstate
);
4258 if (PyErr_Occurred()) SWIG_fail
;
4260 Py_INCREF(Py_None
); resultobj
= Py_None
;
4275 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
*resultobj
;
4277 wxFrame
*arg1
= (wxFrame
*) 0 ;
4278 wxMenu
*arg2
= (wxMenu
*) NULL
;
4279 PyObject
* obj0
= 0 ;
4280 PyObject
* obj1
= 0 ;
4282 (char *) "self",(char *) "menu", NULL
4285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
4286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
4290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4294 (arg1
)->DoMenuUpdates(arg2
);
4296 wxPyEndAllowThreads(__tstate
);
4297 if (PyErr_Occurred()) SWIG_fail
;
4299 Py_INCREF(Py_None
); resultobj
= Py_None
;
4306 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4307 PyObject
*resultobj
;
4308 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4309 wxVisualAttributes result
;
4310 PyObject
* obj0
= 0 ;
4312 (char *) "variant", NULL
4315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4317 arg1
= (int)SWIG_As_int(obj0
);
4318 if (PyErr_Occurred()) SWIG_fail
;
4321 if (!wxPyCheckForApp()) SWIG_fail
;
4322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4323 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4325 wxPyEndAllowThreads(__tstate
);
4326 if (PyErr_Occurred()) SWIG_fail
;
4329 wxVisualAttributes
* resultptr
;
4330 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4331 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4339 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
4341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4342 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4344 return Py_BuildValue((char *)"");
4346 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4347 PyObject
*resultobj
;
4348 wxWindow
*arg1
= (wxWindow
*) 0 ;
4349 int arg2
= (int) (int)-1 ;
4350 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4351 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4352 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4353 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4354 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4355 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4356 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4357 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4358 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4360 bool temp3
= false ;
4363 bool temp7
= false ;
4364 PyObject
* obj0
= 0 ;
4365 PyObject
* obj1
= 0 ;
4366 PyObject
* obj2
= 0 ;
4367 PyObject
* obj3
= 0 ;
4368 PyObject
* obj4
= 0 ;
4369 PyObject
* obj5
= 0 ;
4370 PyObject
* obj6
= 0 ;
4372 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4379 arg2
= (int)SWIG_As_int(obj1
);
4380 if (PyErr_Occurred()) SWIG_fail
;
4384 arg3
= wxString_in_helper(obj2
);
4385 if (arg3
== NULL
) SWIG_fail
;
4392 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4398 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4402 arg6
= (long)SWIG_As_long(obj5
);
4403 if (PyErr_Occurred()) SWIG_fail
;
4407 arg7
= wxString_in_helper(obj6
);
4408 if (arg7
== NULL
) SWIG_fail
;
4413 if (!wxPyCheckForApp()) SWIG_fail
;
4414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4415 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4417 wxPyEndAllowThreads(__tstate
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4443 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4444 PyObject
*resultobj
;
4450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4452 if (!wxPyCheckForApp()) SWIG_fail
;
4453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 result
= (wxDialog
*)new wxDialog();
4456 wxPyEndAllowThreads(__tstate
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4466 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4467 PyObject
*resultobj
;
4468 wxDialog
*arg1
= (wxDialog
*) 0 ;
4469 wxWindow
*arg2
= (wxWindow
*) 0 ;
4470 int arg3
= (int) (int)-1 ;
4471 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4472 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4473 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4474 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4475 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4476 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4477 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4478 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4479 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4481 bool temp4
= false ;
4484 bool temp8
= false ;
4485 PyObject
* obj0
= 0 ;
4486 PyObject
* obj1
= 0 ;
4487 PyObject
* obj2
= 0 ;
4488 PyObject
* obj3
= 0 ;
4489 PyObject
* obj4
= 0 ;
4490 PyObject
* obj5
= 0 ;
4491 PyObject
* obj6
= 0 ;
4492 PyObject
* obj7
= 0 ;
4494 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4503 arg3
= (int)SWIG_As_int(obj2
);
4504 if (PyErr_Occurred()) SWIG_fail
;
4508 arg4
= wxString_in_helper(obj3
);
4509 if (arg4
== NULL
) SWIG_fail
;
4516 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4522 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4526 arg7
= (long)SWIG_As_long(obj6
);
4527 if (PyErr_Occurred()) SWIG_fail
;
4531 arg8
= wxString_in_helper(obj7
);
4532 if (arg8
== NULL
) SWIG_fail
;
4537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4538 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4540 wxPyEndAllowThreads(__tstate
);
4541 if (PyErr_Occurred()) SWIG_fail
;
4544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4568 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4569 PyObject
*resultobj
;
4570 wxDialog
*arg1
= (wxDialog
*) 0 ;
4572 PyObject
* obj0
= 0 ;
4573 PyObject
* obj1
= 0 ;
4575 (char *) "self",(char *) "returnCode", NULL
4578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4581 arg2
= (int)SWIG_As_int(obj1
);
4582 if (PyErr_Occurred()) SWIG_fail
;
4584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4585 (arg1
)->SetReturnCode(arg2
);
4587 wxPyEndAllowThreads(__tstate
);
4588 if (PyErr_Occurred()) SWIG_fail
;
4590 Py_INCREF(Py_None
); resultobj
= Py_None
;
4597 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4598 PyObject
*resultobj
;
4599 wxDialog
*arg1
= (wxDialog
*) 0 ;
4601 PyObject
* obj0
= 0 ;
4603 (char *) "self", NULL
4606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4611 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4613 wxPyEndAllowThreads(__tstate
);
4614 if (PyErr_Occurred()) SWIG_fail
;
4616 resultobj
= SWIG_From_int((int)result
);
4623 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4624 PyObject
*resultobj
;
4625 wxDialog
*arg1
= (wxDialog
*) 0 ;
4626 wxString
*arg2
= 0 ;
4628 bool temp2
= false ;
4629 PyObject
* obj0
= 0 ;
4630 PyObject
* obj1
= 0 ;
4632 (char *) "self",(char *) "message", NULL
4635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4639 arg2
= wxString_in_helper(obj1
);
4640 if (arg2
== NULL
) SWIG_fail
;
4644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4645 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4647 wxPyEndAllowThreads(__tstate
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4651 resultobj
= wxPyMake_wxSizer(result
, 0);
4667 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4668 PyObject
*resultobj
;
4669 wxDialog
*arg1
= (wxDialog
*) 0 ;
4672 PyObject
* obj0
= 0 ;
4673 PyObject
* obj1
= 0 ;
4675 (char *) "self",(char *) "flags", NULL
4678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4681 arg2
= (long)SWIG_As_long(obj1
);
4682 if (PyErr_Occurred()) SWIG_fail
;
4684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4685 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4687 wxPyEndAllowThreads(__tstate
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4691 resultobj
= wxPyMake_wxSizer(result
, 0);
4699 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4700 PyObject
*resultobj
;
4701 wxDialog
*arg1
= (wxDialog
*) 0 ;
4703 PyObject
* obj0
= 0 ;
4705 (char *) "self", NULL
4708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4715 wxPyEndAllowThreads(__tstate
);
4716 if (PyErr_Occurred()) SWIG_fail
;
4719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4727 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
*resultobj
;
4729 wxDialog
*arg1
= (wxDialog
*) 0 ;
4731 PyObject
* obj0
= 0 ;
4733 (char *) "self", NULL
4736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 result
= (int)(arg1
)->ShowModal();
4743 wxPyEndAllowThreads(__tstate
);
4744 if (PyErr_Occurred()) SWIG_fail
;
4746 resultobj
= SWIG_From_int((int)result
);
4753 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
*resultobj
;
4755 wxDialog
*arg1
= (wxDialog
*) 0 ;
4757 PyObject
* obj0
= 0 ;
4758 PyObject
* obj1
= 0 ;
4760 (char *) "self",(char *) "retCode", NULL
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4766 arg2
= (int)SWIG_As_int(obj1
);
4767 if (PyErr_Occurred()) SWIG_fail
;
4769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4770 (arg1
)->EndModal(arg2
);
4772 wxPyEndAllowThreads(__tstate
);
4773 if (PyErr_Occurred()) SWIG_fail
;
4775 Py_INCREF(Py_None
); resultobj
= Py_None
;
4782 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4783 PyObject
*resultobj
;
4784 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4785 wxVisualAttributes result
;
4786 PyObject
* obj0
= 0 ;
4788 (char *) "variant", NULL
4791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4793 arg1
= (int)SWIG_As_int(obj0
);
4794 if (PyErr_Occurred()) SWIG_fail
;
4797 if (!wxPyCheckForApp()) SWIG_fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4805 wxVisualAttributes
* resultptr
;
4806 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4807 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4815 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
4817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4818 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4820 return Py_BuildValue((char *)"");
4822 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4823 PyObject
*resultobj
;
4824 wxWindow
*arg1
= (wxWindow
*) 0 ;
4825 int arg2
= (int) (int)-1 ;
4826 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4827 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4828 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4829 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4830 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4831 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4832 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4833 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4834 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4835 wxMiniFrame
*result
;
4836 bool temp3
= false ;
4839 bool temp7
= false ;
4840 PyObject
* obj0
= 0 ;
4841 PyObject
* obj1
= 0 ;
4842 PyObject
* obj2
= 0 ;
4843 PyObject
* obj3
= 0 ;
4844 PyObject
* obj4
= 0 ;
4845 PyObject
* obj5
= 0 ;
4846 PyObject
* obj6
= 0 ;
4848 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4855 arg2
= (int)SWIG_As_int(obj1
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4860 arg3
= wxString_in_helper(obj2
);
4861 if (arg3
== NULL
) SWIG_fail
;
4868 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4874 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4878 arg6
= (long)SWIG_As_long(obj5
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4883 arg7
= wxString_in_helper(obj6
);
4884 if (arg7
== NULL
) SWIG_fail
;
4889 if (!wxPyCheckForApp()) SWIG_fail
;
4890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4891 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4893 wxPyEndAllowThreads(__tstate
);
4894 if (PyErr_Occurred()) SWIG_fail
;
4896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4919 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4920 PyObject
*resultobj
;
4921 wxMiniFrame
*result
;
4926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4928 if (!wxPyCheckForApp()) SWIG_fail
;
4929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4930 result
= (wxMiniFrame
*)new wxMiniFrame();
4932 wxPyEndAllowThreads(__tstate
);
4933 if (PyErr_Occurred()) SWIG_fail
;
4935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4942 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4943 PyObject
*resultobj
;
4944 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4945 wxWindow
*arg2
= (wxWindow
*) 0 ;
4946 int arg3
= (int) (int)-1 ;
4947 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4948 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4949 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4950 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4951 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4952 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4953 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4954 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4955 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4957 bool temp4
= false ;
4960 bool temp8
= false ;
4961 PyObject
* obj0
= 0 ;
4962 PyObject
* obj1
= 0 ;
4963 PyObject
* obj2
= 0 ;
4964 PyObject
* obj3
= 0 ;
4965 PyObject
* obj4
= 0 ;
4966 PyObject
* obj5
= 0 ;
4967 PyObject
* obj6
= 0 ;
4968 PyObject
* obj7
= 0 ;
4970 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4976 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4979 arg3
= (int)SWIG_As_int(obj2
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4984 arg4
= wxString_in_helper(obj3
);
4985 if (arg4
== NULL
) SWIG_fail
;
4992 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4998 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5002 arg7
= (long)SWIG_As_long(obj6
);
5003 if (PyErr_Occurred()) SWIG_fail
;
5007 arg8
= wxString_in_helper(obj7
);
5008 if (arg8
== NULL
) SWIG_fail
;
5013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5014 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5016 wxPyEndAllowThreads(__tstate
);
5017 if (PyErr_Occurred()) SWIG_fail
;
5020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5044 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
5046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5047 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
5049 return Py_BuildValue((char *)"");
5051 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
*resultobj
;
5053 wxBitmap
*arg1
= 0 ;
5054 wxWindow
*arg2
= (wxWindow
*) 0 ;
5056 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5057 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5058 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5059 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5060 long arg6
= (long) wxNO_BORDER
;
5061 wxSplashScreenWindow
*result
;
5064 PyObject
* obj0
= 0 ;
5065 PyObject
* obj1
= 0 ;
5066 PyObject
* obj2
= 0 ;
5067 PyObject
* obj3
= 0 ;
5068 PyObject
* obj4
= 0 ;
5069 PyObject
* obj5
= 0 ;
5071 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5076 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5079 PyErr_SetString(PyExc_TypeError
,"null reference");
5082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5084 arg3
= (int)SWIG_As_int(obj2
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5089 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5095 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5099 arg6
= (long)SWIG_As_long(obj5
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5103 if (!wxPyCheckForApp()) SWIG_fail
;
5104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5105 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
5107 wxPyEndAllowThreads(__tstate
);
5108 if (PyErr_Occurred()) SWIG_fail
;
5110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
5117 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5118 PyObject
*resultobj
;
5119 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
5120 wxBitmap
*arg2
= 0 ;
5121 PyObject
* obj0
= 0 ;
5122 PyObject
* obj1
= 0 ;
5124 (char *) "self",(char *) "bitmap", NULL
5127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5131 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5134 PyErr_SetString(PyExc_TypeError
,"null reference");
5138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5139 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5141 wxPyEndAllowThreads(__tstate
);
5142 if (PyErr_Occurred()) SWIG_fail
;
5144 Py_INCREF(Py_None
); resultobj
= Py_None
;
5151 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5152 PyObject
*resultobj
;
5153 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
5155 PyObject
* obj0
= 0 ;
5157 (char *) "self", NULL
5160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
5161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5166 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
5167 result
= (wxBitmap
*) &_result_ref
;
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5174 wxBitmap
* resultptr
= new wxBitmap(*result
);
5175 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5183 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
5185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5186 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
5188 return Py_BuildValue((char *)"");
5190 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
*resultobj
;
5192 wxBitmap
*arg1
= 0 ;
5195 wxWindow
*arg4
= (wxWindow
*) 0 ;
5196 int arg5
= (int) -1 ;
5197 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
5198 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
5199 wxSize
const &arg7_defvalue
= wxDefaultSize
;
5200 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
5201 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
5202 wxSplashScreen
*result
;
5205 PyObject
* obj0
= 0 ;
5206 PyObject
* obj1
= 0 ;
5207 PyObject
* obj2
= 0 ;
5208 PyObject
* obj3
= 0 ;
5209 PyObject
* obj4
= 0 ;
5210 PyObject
* obj5
= 0 ;
5211 PyObject
* obj6
= 0 ;
5212 PyObject
* obj7
= 0 ;
5214 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5219 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5222 PyErr_SetString(PyExc_TypeError
,"null reference");
5225 arg2
= (long)SWIG_As_long(obj1
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5227 arg3
= (int)SWIG_As_int(obj2
);
5228 if (PyErr_Occurred()) SWIG_fail
;
5229 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
5230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5232 arg5
= (int)SWIG_As_int(obj4
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5238 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
5244 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
5248 arg8
= (long)SWIG_As_long(obj7
);
5249 if (PyErr_Occurred()) SWIG_fail
;
5252 if (!wxPyCheckForApp()) SWIG_fail
;
5253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5254 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
5256 wxPyEndAllowThreads(__tstate
);
5257 if (PyErr_Occurred()) SWIG_fail
;
5259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
5266 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5267 PyObject
*resultobj
;
5268 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5270 PyObject
* obj0
= 0 ;
5272 (char *) "self", NULL
5275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
5276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5280 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
5282 wxPyEndAllowThreads(__tstate
);
5283 if (PyErr_Occurred()) SWIG_fail
;
5285 resultobj
= SWIG_From_long((long)result
);
5292 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5293 PyObject
*resultobj
;
5294 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5295 wxSplashScreenWindow
*result
;
5296 PyObject
* obj0
= 0 ;
5298 (char *) "self", NULL
5301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
5302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5306 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
5308 wxPyEndAllowThreads(__tstate
);
5309 if (PyErr_Occurred()) SWIG_fail
;
5311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
5318 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5319 PyObject
*resultobj
;
5320 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5322 PyObject
* obj0
= 0 ;
5324 (char *) "self", NULL
5327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
5328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5332 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
5334 wxPyEndAllowThreads(__tstate
);
5335 if (PyErr_Occurred()) SWIG_fail
;
5337 resultobj
= SWIG_From_int((int)result
);
5344 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
5346 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5347 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
5349 return Py_BuildValue((char *)"");
5351 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5352 PyObject
*resultobj
;
5353 wxWindow
*arg1
= (wxWindow
*) 0 ;
5354 int arg2
= (int) -1 ;
5355 long arg3
= (long) wxST_SIZEGRIP
;
5356 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5357 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5358 wxStatusBar
*result
;
5359 bool temp4
= false ;
5360 PyObject
* obj0
= 0 ;
5361 PyObject
* obj1
= 0 ;
5362 PyObject
* obj2
= 0 ;
5363 PyObject
* obj3
= 0 ;
5365 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5372 arg2
= (int)SWIG_As_int(obj1
);
5373 if (PyErr_Occurred()) SWIG_fail
;
5376 arg3
= (long)SWIG_As_long(obj2
);
5377 if (PyErr_Occurred()) SWIG_fail
;
5381 arg4
= wxString_in_helper(obj3
);
5382 if (arg4
== NULL
) SWIG_fail
;
5387 if (!wxPyCheckForApp()) SWIG_fail
;
5388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5409 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5410 PyObject
*resultobj
;
5411 wxStatusBar
*result
;
5416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5418 if (!wxPyCheckForApp()) SWIG_fail
;
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 result
= (wxStatusBar
*)new wxStatusBar();
5422 wxPyEndAllowThreads(__tstate
);
5423 if (PyErr_Occurred()) SWIG_fail
;
5425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5432 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5433 PyObject
*resultobj
;
5434 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5435 wxWindow
*arg2
= (wxWindow
*) 0 ;
5436 int arg3
= (int) -1 ;
5437 long arg4
= (long) wxST_SIZEGRIP
;
5438 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5439 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5441 bool temp5
= false ;
5442 PyObject
* obj0
= 0 ;
5443 PyObject
* obj1
= 0 ;
5444 PyObject
* obj2
= 0 ;
5445 PyObject
* obj3
= 0 ;
5446 PyObject
* obj4
= 0 ;
5448 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5454 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5457 arg3
= (int)SWIG_As_int(obj2
);
5458 if (PyErr_Occurred()) SWIG_fail
;
5461 arg4
= (long)SWIG_As_long(obj3
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5466 arg5
= wxString_in_helper(obj4
);
5467 if (arg5
== NULL
) SWIG_fail
;
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5475 wxPyEndAllowThreads(__tstate
);
5476 if (PyErr_Occurred()) SWIG_fail
;
5479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5495 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5496 PyObject
*resultobj
;
5497 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5498 int arg2
= (int) 1 ;
5499 PyObject
* obj0
= 0 ;
5500 PyObject
* obj1
= 0 ;
5502 (char *) "self",(char *) "number", NULL
5505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5509 arg2
= (int)SWIG_As_int(obj1
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5514 (arg1
)->SetFieldsCount(arg2
);
5516 wxPyEndAllowThreads(__tstate
);
5517 if (PyErr_Occurred()) SWIG_fail
;
5519 Py_INCREF(Py_None
); resultobj
= Py_None
;
5526 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5527 PyObject
*resultobj
;
5528 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5530 PyObject
* obj0
= 0 ;
5532 (char *) "self", NULL
5535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5540 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5542 wxPyEndAllowThreads(__tstate
);
5543 if (PyErr_Occurred()) SWIG_fail
;
5545 resultobj
= SWIG_From_int((int)result
);
5552 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5553 PyObject
*resultobj
;
5554 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5555 wxString
*arg2
= 0 ;
5556 int arg3
= (int) 0 ;
5557 bool temp2
= false ;
5558 PyObject
* obj0
= 0 ;
5559 PyObject
* obj1
= 0 ;
5560 PyObject
* obj2
= 0 ;
5562 (char *) "self",(char *) "text",(char *) "number", NULL
5565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5569 arg2
= wxString_in_helper(obj1
);
5570 if (arg2
== NULL
) SWIG_fail
;
5574 arg3
= (int)SWIG_As_int(obj2
);
5575 if (PyErr_Occurred()) SWIG_fail
;
5578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5579 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5581 wxPyEndAllowThreads(__tstate
);
5582 if (PyErr_Occurred()) SWIG_fail
;
5584 Py_INCREF(Py_None
); resultobj
= Py_None
;
5599 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
*resultobj
;
5601 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5602 int arg2
= (int) 0 ;
5604 PyObject
* obj0
= 0 ;
5605 PyObject
* obj1
= 0 ;
5607 (char *) "self",(char *) "number", NULL
5610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5614 arg2
= (int)SWIG_As_int(obj1
);
5615 if (PyErr_Occurred()) SWIG_fail
;
5618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5619 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5621 wxPyEndAllowThreads(__tstate
);
5622 if (PyErr_Occurred()) SWIG_fail
;
5626 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5628 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5637 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
*resultobj
;
5639 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5640 wxString
*arg2
= 0 ;
5641 int arg3
= (int) 0 ;
5642 bool temp2
= false ;
5643 PyObject
* obj0
= 0 ;
5644 PyObject
* obj1
= 0 ;
5645 PyObject
* obj2
= 0 ;
5647 (char *) "self",(char *) "text",(char *) "number", NULL
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5654 arg2
= wxString_in_helper(obj1
);
5655 if (arg2
== NULL
) SWIG_fail
;
5659 arg3
= (int)SWIG_As_int(obj2
);
5660 if (PyErr_Occurred()) SWIG_fail
;
5663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5666 wxPyEndAllowThreads(__tstate
);
5667 if (PyErr_Occurred()) SWIG_fail
;
5669 Py_INCREF(Py_None
); resultobj
= Py_None
;
5684 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5685 PyObject
*resultobj
;
5686 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5687 int arg2
= (int) 0 ;
5688 PyObject
* obj0
= 0 ;
5689 PyObject
* obj1
= 0 ;
5691 (char *) "self",(char *) "number", NULL
5694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5698 arg2
= (int)SWIG_As_int(obj1
);
5699 if (PyErr_Occurred()) SWIG_fail
;
5702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5703 (arg1
)->PopStatusText(arg2
);
5705 wxPyEndAllowThreads(__tstate
);
5706 if (PyErr_Occurred()) SWIG_fail
;
5708 Py_INCREF(Py_None
); resultobj
= Py_None
;
5715 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5716 PyObject
*resultobj
;
5717 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5719 int *arg3
= (int *) 0 ;
5720 PyObject
* obj0
= 0 ;
5721 PyObject
* obj1
= 0 ;
5723 (char *) "self",(char *) "widths", NULL
5726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5730 arg2
= PyList_Size(obj1
);
5731 arg3
= int_LIST_helper(obj1
);
5732 if (arg3
== NULL
) SWIG_fail
;
5735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5736 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5738 wxPyEndAllowThreads(__tstate
);
5739 if (PyErr_Occurred()) SWIG_fail
;
5741 Py_INCREF(Py_None
); resultobj
= Py_None
;
5743 if (arg3
) delete [] arg3
;
5748 if (arg3
) delete [] arg3
;
5754 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5755 PyObject
*resultobj
;
5756 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5758 int *arg3
= (int *) 0 ;
5759 PyObject
* obj0
= 0 ;
5760 PyObject
* obj1
= 0 ;
5762 (char *) "self",(char *) "styles", NULL
5765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
5766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5769 arg2
= PyList_Size(obj1
);
5770 arg3
= int_LIST_helper(obj1
);
5771 if (arg3
== NULL
) SWIG_fail
;
5774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5775 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
5777 wxPyEndAllowThreads(__tstate
);
5778 if (PyErr_Occurred()) SWIG_fail
;
5780 Py_INCREF(Py_None
); resultobj
= Py_None
;
5782 if (arg3
) delete [] arg3
;
5787 if (arg3
) delete [] arg3
;
5793 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5794 PyObject
*resultobj
;
5795 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5798 PyObject
* obj0
= 0 ;
5799 PyObject
* obj1
= 0 ;
5801 (char *) "self",(char *) "i", NULL
5804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5807 arg2
= (int)SWIG_As_int(obj1
);
5808 if (PyErr_Occurred()) SWIG_fail
;
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5818 resultptr
= new wxRect((wxRect
&) result
);
5819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5827 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5828 PyObject
*resultobj
;
5829 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5831 PyObject
* obj0
= 0 ;
5832 PyObject
* obj1
= 0 ;
5834 (char *) "self",(char *) "height", NULL
5837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5840 arg2
= (int)SWIG_As_int(obj1
);
5841 if (PyErr_Occurred()) SWIG_fail
;
5843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5844 (arg1
)->SetMinHeight(arg2
);
5846 wxPyEndAllowThreads(__tstate
);
5847 if (PyErr_Occurred()) SWIG_fail
;
5849 Py_INCREF(Py_None
); resultobj
= Py_None
;
5856 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5857 PyObject
*resultobj
;
5858 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5860 PyObject
* obj0
= 0 ;
5862 (char *) "self", NULL
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5870 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5872 wxPyEndAllowThreads(__tstate
);
5873 if (PyErr_Occurred()) SWIG_fail
;
5875 resultobj
= SWIG_From_int((int)result
);
5882 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5883 PyObject
*resultobj
;
5884 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5886 PyObject
* obj0
= 0 ;
5888 (char *) "self", NULL
5891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5896 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5898 wxPyEndAllowThreads(__tstate
);
5899 if (PyErr_Occurred()) SWIG_fail
;
5901 resultobj
= SWIG_From_int((int)result
);
5908 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5909 PyObject
*resultobj
;
5910 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5911 wxVisualAttributes result
;
5912 PyObject
* obj0
= 0 ;
5914 (char *) "variant", NULL
5917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5919 arg1
= (int)SWIG_As_int(obj0
);
5920 if (PyErr_Occurred()) SWIG_fail
;
5923 if (!wxPyCheckForApp()) SWIG_fail
;
5924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5925 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5927 wxPyEndAllowThreads(__tstate
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5931 wxVisualAttributes
* resultptr
;
5932 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5941 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
5943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5944 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5946 return Py_BuildValue((char *)"");
5948 static int _wrap_SplitterNameStr_set(PyObject
*) {
5949 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5954 static PyObject
*_wrap_SplitterNameStr_get() {
5959 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5961 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5968 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5969 PyObject
*resultobj
;
5970 wxWindow
*arg1
= (wxWindow
*) 0 ;
5971 int arg2
= (int) -1 ;
5972 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5973 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5974 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5975 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5976 long arg5
= (long) wxSP_3D
;
5977 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5978 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5979 wxSplitterWindow
*result
;
5982 bool temp6
= false ;
5983 PyObject
* obj0
= 0 ;
5984 PyObject
* obj1
= 0 ;
5985 PyObject
* obj2
= 0 ;
5986 PyObject
* obj3
= 0 ;
5987 PyObject
* obj4
= 0 ;
5988 PyObject
* obj5
= 0 ;
5990 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5997 arg2
= (int)SWIG_As_int(obj1
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6003 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6009 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6013 arg5
= (long)SWIG_As_long(obj4
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6018 arg6
= wxString_in_helper(obj5
);
6019 if (arg6
== NULL
) SWIG_fail
;
6024 if (!wxPyCheckForApp()) SWIG_fail
;
6025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6026 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6028 wxPyEndAllowThreads(__tstate
);
6029 if (PyErr_Occurred()) SWIG_fail
;
6031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
6046 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6047 PyObject
*resultobj
;
6048 wxSplitterWindow
*result
;
6053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
6055 if (!wxPyCheckForApp()) SWIG_fail
;
6056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6057 result
= (wxSplitterWindow
*)new wxSplitterWindow();
6059 wxPyEndAllowThreads(__tstate
);
6060 if (PyErr_Occurred()) SWIG_fail
;
6062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
6069 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6070 PyObject
*resultobj
;
6071 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6072 wxWindow
*arg2
= (wxWindow
*) 0 ;
6073 int arg3
= (int) -1 ;
6074 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6075 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6076 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6077 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6078 long arg6
= (long) wxSP_3D
;
6079 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
6080 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6084 bool temp7
= false ;
6085 PyObject
* obj0
= 0 ;
6086 PyObject
* obj1
= 0 ;
6087 PyObject
* obj2
= 0 ;
6088 PyObject
* obj3
= 0 ;
6089 PyObject
* obj4
= 0 ;
6090 PyObject
* obj5
= 0 ;
6091 PyObject
* obj6
= 0 ;
6093 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6099 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6102 arg3
= (int)SWIG_As_int(obj2
);
6103 if (PyErr_Occurred()) SWIG_fail
;
6108 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6114 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6118 arg6
= (long)SWIG_As_long(obj5
);
6119 if (PyErr_Occurred()) SWIG_fail
;
6123 arg7
= wxString_in_helper(obj6
);
6124 if (arg7
== NULL
) SWIG_fail
;
6129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6130 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6132 wxPyEndAllowThreads(__tstate
);
6133 if (PyErr_Occurred()) SWIG_fail
;
6136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6152 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
*resultobj
;
6154 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6156 PyObject
* obj0
= 0 ;
6158 (char *) "self", NULL
6161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
6162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6166 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
6168 wxPyEndAllowThreads(__tstate
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6172 resultobj
= wxPyMake_wxObject(result
, 0);
6180 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6181 PyObject
*resultobj
;
6182 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6184 PyObject
* obj0
= 0 ;
6186 (char *) "self", NULL
6189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
6190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6194 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
6196 wxPyEndAllowThreads(__tstate
);
6197 if (PyErr_Occurred()) SWIG_fail
;
6200 resultobj
= wxPyMake_wxObject(result
, 0);
6208 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6209 PyObject
*resultobj
;
6210 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6212 PyObject
* obj0
= 0 ;
6213 PyObject
* obj1
= 0 ;
6215 (char *) "self",(char *) "mode", NULL
6218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
6219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6221 arg2
= (int)SWIG_As_int(obj1
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6225 (arg1
)->SetSplitMode(arg2
);
6227 wxPyEndAllowThreads(__tstate
);
6228 if (PyErr_Occurred()) SWIG_fail
;
6230 Py_INCREF(Py_None
); resultobj
= Py_None
;
6237 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6238 PyObject
*resultobj
;
6239 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6241 PyObject
* obj0
= 0 ;
6243 (char *) "self", NULL
6246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
6247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6251 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
6253 wxPyEndAllowThreads(__tstate
);
6254 if (PyErr_Occurred()) SWIG_fail
;
6256 resultobj
= SWIG_From_int((int)result
);
6263 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6264 PyObject
*resultobj
;
6265 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6266 wxWindow
*arg2
= (wxWindow
*) 0 ;
6267 PyObject
* obj0
= 0 ;
6268 PyObject
* obj1
= 0 ;
6270 (char *) "self",(char *) "window", NULL
6273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
6274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6276 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6280 (arg1
)->Initialize(arg2
);
6282 wxPyEndAllowThreads(__tstate
);
6283 if (PyErr_Occurred()) SWIG_fail
;
6285 Py_INCREF(Py_None
); resultobj
= Py_None
;
6292 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6293 PyObject
*resultobj
;
6294 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6295 wxWindow
*arg2
= (wxWindow
*) 0 ;
6296 wxWindow
*arg3
= (wxWindow
*) 0 ;
6297 int arg4
= (int) 0 ;
6299 PyObject
* obj0
= 0 ;
6300 PyObject
* obj1
= 0 ;
6301 PyObject
* obj2
= 0 ;
6302 PyObject
* obj3
= 0 ;
6304 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6312 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6315 arg4
= (int)SWIG_As_int(obj3
);
6316 if (PyErr_Occurred()) SWIG_fail
;
6319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6320 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
6322 wxPyEndAllowThreads(__tstate
);
6323 if (PyErr_Occurred()) SWIG_fail
;
6326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6334 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6335 PyObject
*resultobj
;
6336 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6337 wxWindow
*arg2
= (wxWindow
*) 0 ;
6338 wxWindow
*arg3
= (wxWindow
*) 0 ;
6339 int arg4
= (int) 0 ;
6341 PyObject
* obj0
= 0 ;
6342 PyObject
* obj1
= 0 ;
6343 PyObject
* obj2
= 0 ;
6344 PyObject
* obj3
= 0 ;
6346 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6354 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6357 arg4
= (int)SWIG_As_int(obj3
);
6358 if (PyErr_Occurred()) SWIG_fail
;
6361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6362 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6364 wxPyEndAllowThreads(__tstate
);
6365 if (PyErr_Occurred()) SWIG_fail
;
6368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6376 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
*resultobj
;
6378 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6379 wxWindow
*arg2
= (wxWindow
*) NULL
;
6381 PyObject
* obj0
= 0 ;
6382 PyObject
* obj1
= 0 ;
6384 (char *) "self",(char *) "toRemove", NULL
6387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6391 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6396 result
= (bool)(arg1
)->Unsplit(arg2
);
6398 wxPyEndAllowThreads(__tstate
);
6399 if (PyErr_Occurred()) SWIG_fail
;
6402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6410 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6411 PyObject
*resultobj
;
6412 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6413 wxWindow
*arg2
= (wxWindow
*) 0 ;
6414 wxWindow
*arg3
= (wxWindow
*) 0 ;
6416 PyObject
* obj0
= 0 ;
6417 PyObject
* obj1
= 0 ;
6418 PyObject
* obj2
= 0 ;
6420 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6426 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6428 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6432 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6434 wxPyEndAllowThreads(__tstate
);
6435 if (PyErr_Occurred()) SWIG_fail
;
6438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6446 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6447 PyObject
*resultobj
;
6448 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6449 PyObject
* obj0
= 0 ;
6451 (char *) "self", NULL
6454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 (arg1
)->UpdateSize();
6461 wxPyEndAllowThreads(__tstate
);
6462 if (PyErr_Occurred()) SWIG_fail
;
6464 Py_INCREF(Py_None
); resultobj
= Py_None
;
6471 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6472 PyObject
*resultobj
;
6473 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6475 PyObject
* obj0
= 0 ;
6477 (char *) "self", NULL
6480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6485 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6487 wxPyEndAllowThreads(__tstate
);
6488 if (PyErr_Occurred()) SWIG_fail
;
6491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6499 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
*resultobj
;
6501 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6503 PyObject
* obj0
= 0 ;
6504 PyObject
* obj1
= 0 ;
6506 (char *) "self",(char *) "width", NULL
6509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6512 arg2
= (int)SWIG_As_int(obj1
);
6513 if (PyErr_Occurred()) SWIG_fail
;
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6516 (arg1
)->SetSashSize(arg2
);
6518 wxPyEndAllowThreads(__tstate
);
6519 if (PyErr_Occurred()) SWIG_fail
;
6521 Py_INCREF(Py_None
); resultobj
= Py_None
;
6528 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6529 PyObject
*resultobj
;
6530 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6532 PyObject
* obj0
= 0 ;
6533 PyObject
* obj1
= 0 ;
6535 (char *) "self",(char *) "width", NULL
6538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6541 arg2
= (int)SWIG_As_int(obj1
);
6542 if (PyErr_Occurred()) SWIG_fail
;
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 (arg1
)->SetBorderSize(arg2
);
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) SWIG_fail
;
6550 Py_INCREF(Py_None
); resultobj
= Py_None
;
6557 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
*resultobj
;
6559 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6561 PyObject
* obj0
= 0 ;
6563 (char *) "self", NULL
6566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6571 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6573 wxPyEndAllowThreads(__tstate
);
6574 if (PyErr_Occurred()) SWIG_fail
;
6576 resultobj
= SWIG_From_int((int)result
);
6583 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
*resultobj
;
6585 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6587 PyObject
* obj0
= 0 ;
6589 (char *) "self", NULL
6592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6597 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6599 wxPyEndAllowThreads(__tstate
);
6600 if (PyErr_Occurred()) SWIG_fail
;
6602 resultobj
= SWIG_From_int((int)result
);
6609 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6610 PyObject
*resultobj
;
6611 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6613 bool arg3
= (bool) true ;
6614 PyObject
* obj0
= 0 ;
6615 PyObject
* obj1
= 0 ;
6616 PyObject
* obj2
= 0 ;
6618 (char *) "self",(char *) "position",(char *) "redraw", NULL
6621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6624 arg2
= (int)SWIG_As_int(obj1
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6627 arg3
= (bool)SWIG_As_bool(obj2
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6632 (arg1
)->SetSashPosition(arg2
,arg3
);
6634 wxPyEndAllowThreads(__tstate
);
6635 if (PyErr_Occurred()) SWIG_fail
;
6637 Py_INCREF(Py_None
); resultobj
= Py_None
;
6644 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6645 PyObject
*resultobj
;
6646 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6648 PyObject
* obj0
= 0 ;
6650 (char *) "self", NULL
6653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6658 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6660 wxPyEndAllowThreads(__tstate
);
6661 if (PyErr_Occurred()) SWIG_fail
;
6663 resultobj
= SWIG_From_int((int)result
);
6670 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6671 PyObject
*resultobj
;
6672 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6674 PyObject
* obj0
= 0 ;
6675 PyObject
* obj1
= 0 ;
6677 (char *) "self",(char *) "min", NULL
6680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6683 arg2
= (int)SWIG_As_int(obj1
);
6684 if (PyErr_Occurred()) SWIG_fail
;
6686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6687 (arg1
)->SetMinimumPaneSize(arg2
);
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6692 Py_INCREF(Py_None
); resultobj
= Py_None
;
6699 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
*resultobj
;
6701 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6703 PyObject
* obj0
= 0 ;
6705 (char *) "self", NULL
6708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6713 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6715 wxPyEndAllowThreads(__tstate
);
6716 if (PyErr_Occurred()) SWIG_fail
;
6718 resultobj
= SWIG_From_int((int)result
);
6725 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6726 PyObject
*resultobj
;
6727 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6730 int arg4
= (int) 5 ;
6732 PyObject
* obj0
= 0 ;
6733 PyObject
* obj1
= 0 ;
6734 PyObject
* obj2
= 0 ;
6735 PyObject
* obj3
= 0 ;
6737 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6743 arg2
= (int)SWIG_As_int(obj1
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6745 arg3
= (int)SWIG_As_int(obj2
);
6746 if (PyErr_Occurred()) SWIG_fail
;
6748 arg4
= (int)SWIG_As_int(obj3
);
6749 if (PyErr_Occurred()) SWIG_fail
;
6752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6753 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6755 wxPyEndAllowThreads(__tstate
);
6756 if (PyErr_Occurred()) SWIG_fail
;
6759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6767 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6768 PyObject
*resultobj
;
6769 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6770 PyObject
* obj0
= 0 ;
6772 (char *) "self", NULL
6775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 (arg1
)->SizeWindows();
6782 wxPyEndAllowThreads(__tstate
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6785 Py_INCREF(Py_None
); resultobj
= Py_None
;
6792 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6793 PyObject
*resultobj
;
6794 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6796 PyObject
* obj0
= 0 ;
6797 PyObject
* obj1
= 0 ;
6799 (char *) "self",(char *) "needUpdating", NULL
6802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6805 arg2
= (bool)SWIG_As_bool(obj1
);
6806 if (PyErr_Occurred()) SWIG_fail
;
6808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6809 (arg1
)->SetNeedUpdating(arg2
);
6811 wxPyEndAllowThreads(__tstate
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6814 Py_INCREF(Py_None
); resultobj
= Py_None
;
6821 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6822 PyObject
*resultobj
;
6823 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6825 PyObject
* obj0
= 0 ;
6827 (char *) "self", NULL
6830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6835 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6837 wxPyEndAllowThreads(__tstate
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6849 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
*resultobj
;
6851 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6852 wxVisualAttributes result
;
6853 PyObject
* obj0
= 0 ;
6855 (char *) "variant", NULL
6858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6860 arg1
= (int)SWIG_As_int(obj0
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6864 if (!wxPyCheckForApp()) SWIG_fail
;
6865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6866 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6872 wxVisualAttributes
* resultptr
;
6873 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6882 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
6884 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6885 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6887 return Py_BuildValue((char *)"");
6889 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
*resultobj
;
6891 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6892 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6893 wxSplitterEvent
*result
;
6894 PyObject
* obj0
= 0 ;
6895 PyObject
* obj1
= 0 ;
6897 (char *) "type",(char *) "splitter", NULL
6900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6902 arg1
= (wxEventType
)SWIG_As_int(obj0
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6906 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6911 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6913 wxPyEndAllowThreads(__tstate
);
6914 if (PyErr_Occurred()) SWIG_fail
;
6916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6923 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6924 PyObject
*resultobj
;
6925 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6927 PyObject
* obj0
= 0 ;
6928 PyObject
* obj1
= 0 ;
6930 (char *) "self",(char *) "pos", NULL
6933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6936 arg2
= (int)SWIG_As_int(obj1
);
6937 if (PyErr_Occurred()) SWIG_fail
;
6939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6940 (arg1
)->SetSashPosition(arg2
);
6942 wxPyEndAllowThreads(__tstate
);
6943 if (PyErr_Occurred()) SWIG_fail
;
6945 Py_INCREF(Py_None
); resultobj
= Py_None
;
6952 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6953 PyObject
*resultobj
;
6954 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6956 PyObject
* obj0
= 0 ;
6958 (char *) "self", NULL
6961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6966 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6968 wxPyEndAllowThreads(__tstate
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6971 resultobj
= SWIG_From_int((int)result
);
6978 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6979 PyObject
*resultobj
;
6980 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6982 PyObject
* obj0
= 0 ;
6984 (char *) "self", NULL
6987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6992 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6994 wxPyEndAllowThreads(__tstate
);
6995 if (PyErr_Occurred()) SWIG_fail
;
6998 resultobj
= wxPyMake_wxObject(result
, 0);
7006 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7007 PyObject
*resultobj
;
7008 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
7010 PyObject
* obj0
= 0 ;
7012 (char *) "self", NULL
7015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
7016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
7017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7020 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
7022 wxPyEndAllowThreads(__tstate
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7025 resultobj
= SWIG_From_int((int)result
);
7032 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7033 PyObject
*resultobj
;
7034 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
7036 PyObject
* obj0
= 0 ;
7038 (char *) "self", NULL
7041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
7042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
7043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7046 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
7048 wxPyEndAllowThreads(__tstate
);
7049 if (PyErr_Occurred()) SWIG_fail
;
7051 resultobj
= SWIG_From_int((int)result
);
7058 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
7060 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7061 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
7063 return Py_BuildValue((char *)"");
7065 static int _wrap_SashNameStr_set(PyObject
*) {
7066 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
7071 static PyObject
*_wrap_SashNameStr_get() {
7076 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
7078 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
7085 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
7086 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
7091 static PyObject
*_wrap_SashLayoutNameStr_get() {
7096 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
7098 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
7105 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7106 PyObject
*resultobj
;
7107 wxWindow
*arg1
= (wxWindow
*) 0 ;
7108 int arg2
= (int) -1 ;
7109 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7110 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7111 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7112 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7113 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7114 wxString
const &arg6_defvalue
= wxPySashNameStr
;
7115 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7116 wxSashWindow
*result
;
7119 bool temp6
= false ;
7120 PyObject
* obj0
= 0 ;
7121 PyObject
* obj1
= 0 ;
7122 PyObject
* obj2
= 0 ;
7123 PyObject
* obj3
= 0 ;
7124 PyObject
* obj4
= 0 ;
7125 PyObject
* obj5
= 0 ;
7127 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7134 arg2
= (int)SWIG_As_int(obj1
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7140 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7146 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7150 arg5
= (long)SWIG_As_long(obj4
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7155 arg6
= wxString_in_helper(obj5
);
7156 if (arg6
== NULL
) SWIG_fail
;
7161 if (!wxPyCheckForApp()) SWIG_fail
;
7162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7163 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7165 wxPyEndAllowThreads(__tstate
);
7166 if (PyErr_Occurred()) SWIG_fail
;
7168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7183 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7184 PyObject
*resultobj
;
7185 wxSashWindow
*result
;
7190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
7192 if (!wxPyCheckForApp()) SWIG_fail
;
7193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7194 result
= (wxSashWindow
*)new wxSashWindow();
7196 wxPyEndAllowThreads(__tstate
);
7197 if (PyErr_Occurred()) SWIG_fail
;
7199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7206 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
;
7208 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7209 wxWindow
*arg2
= (wxWindow
*) 0 ;
7210 int arg3
= (int) -1 ;
7211 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7212 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7213 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7214 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7215 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7216 wxString
const &arg7_defvalue
= wxPySashNameStr
;
7217 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7221 bool temp7
= false ;
7222 PyObject
* obj0
= 0 ;
7223 PyObject
* obj1
= 0 ;
7224 PyObject
* obj2
= 0 ;
7225 PyObject
* obj3
= 0 ;
7226 PyObject
* obj4
= 0 ;
7227 PyObject
* obj5
= 0 ;
7228 PyObject
* obj6
= 0 ;
7230 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7236 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7239 arg3
= (int)SWIG_As_int(obj2
);
7240 if (PyErr_Occurred()) SWIG_fail
;
7245 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7251 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7255 arg6
= (long)SWIG_As_long(obj5
);
7256 if (PyErr_Occurred()) SWIG_fail
;
7260 arg7
= wxString_in_helper(obj6
);
7261 if (arg7
== NULL
) SWIG_fail
;
7266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7267 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7269 wxPyEndAllowThreads(__tstate
);
7270 if (PyErr_Occurred()) SWIG_fail
;
7273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7289 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7290 PyObject
*resultobj
;
7291 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7294 PyObject
* obj0
= 0 ;
7295 PyObject
* obj1
= 0 ;
7296 PyObject
* obj2
= 0 ;
7298 (char *) "self",(char *) "edge",(char *) "sash", NULL
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7304 arg2
= (int)SWIG_As_int(obj1
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7306 arg3
= (bool)SWIG_As_bool(obj2
);
7307 if (PyErr_Occurred()) SWIG_fail
;
7309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7310 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
7312 wxPyEndAllowThreads(__tstate
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7315 Py_INCREF(Py_None
); resultobj
= Py_None
;
7322 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
*resultobj
;
7324 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7327 PyObject
* obj0
= 0 ;
7328 PyObject
* obj1
= 0 ;
7330 (char *) "self",(char *) "edge", NULL
7333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7336 arg2
= (int)SWIG_As_int(obj1
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7340 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
7342 wxPyEndAllowThreads(__tstate
);
7343 if (PyErr_Occurred()) SWIG_fail
;
7346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7354 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7355 PyObject
*resultobj
;
7356 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7359 PyObject
* obj0
= 0 ;
7360 PyObject
* obj1
= 0 ;
7361 PyObject
* obj2
= 0 ;
7363 (char *) "self",(char *) "edge",(char *) "border", NULL
7366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7369 arg2
= (int)SWIG_As_int(obj1
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7371 arg3
= (bool)SWIG_As_bool(obj2
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7375 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7380 Py_INCREF(Py_None
); resultobj
= Py_None
;
7387 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
*resultobj
;
7389 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7392 PyObject
* obj0
= 0 ;
7393 PyObject
* obj1
= 0 ;
7395 (char *) "self",(char *) "edge", NULL
7398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7401 arg2
= (int)SWIG_As_int(obj1
);
7402 if (PyErr_Occurred()) SWIG_fail
;
7404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7405 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7407 wxPyEndAllowThreads(__tstate
);
7408 if (PyErr_Occurred()) SWIG_fail
;
7411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7419 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7420 PyObject
*resultobj
;
7421 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7424 PyObject
* obj0
= 0 ;
7425 PyObject
* obj1
= 0 ;
7427 (char *) "self",(char *) "edge", NULL
7430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7433 arg2
= (int)SWIG_As_int(obj1
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7437 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7439 wxPyEndAllowThreads(__tstate
);
7440 if (PyErr_Occurred()) SWIG_fail
;
7442 resultobj
= SWIG_From_int((int)result
);
7449 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7450 PyObject
*resultobj
;
7451 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7453 PyObject
* obj0
= 0 ;
7454 PyObject
* obj1
= 0 ;
7456 (char *) "self",(char *) "width", NULL
7459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7462 arg2
= (int)SWIG_As_int(obj1
);
7463 if (PyErr_Occurred()) SWIG_fail
;
7465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7466 (arg1
)->SetDefaultBorderSize(arg2
);
7468 wxPyEndAllowThreads(__tstate
);
7469 if (PyErr_Occurred()) SWIG_fail
;
7471 Py_INCREF(Py_None
); resultobj
= Py_None
;
7478 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7479 PyObject
*resultobj
;
7480 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7482 PyObject
* obj0
= 0 ;
7484 (char *) "self", NULL
7487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7492 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7494 wxPyEndAllowThreads(__tstate
);
7495 if (PyErr_Occurred()) SWIG_fail
;
7497 resultobj
= SWIG_From_int((int)result
);
7504 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7505 PyObject
*resultobj
;
7506 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7508 PyObject
* obj0
= 0 ;
7509 PyObject
* obj1
= 0 ;
7511 (char *) "self",(char *) "width", NULL
7514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7517 arg2
= (int)SWIG_As_int(obj1
);
7518 if (PyErr_Occurred()) SWIG_fail
;
7520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7521 (arg1
)->SetExtraBorderSize(arg2
);
7523 wxPyEndAllowThreads(__tstate
);
7524 if (PyErr_Occurred()) SWIG_fail
;
7526 Py_INCREF(Py_None
); resultobj
= Py_None
;
7533 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7534 PyObject
*resultobj
;
7535 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7537 PyObject
* obj0
= 0 ;
7539 (char *) "self", NULL
7542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7547 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7549 wxPyEndAllowThreads(__tstate
);
7550 if (PyErr_Occurred()) SWIG_fail
;
7552 resultobj
= SWIG_From_int((int)result
);
7559 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7560 PyObject
*resultobj
;
7561 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7563 PyObject
* obj0
= 0 ;
7564 PyObject
* obj1
= 0 ;
7566 (char *) "self",(char *) "min", NULL
7569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7572 arg2
= (int)SWIG_As_int(obj1
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7576 (arg1
)->SetMinimumSizeX(arg2
);
7578 wxPyEndAllowThreads(__tstate
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7581 Py_INCREF(Py_None
); resultobj
= Py_None
;
7588 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
*resultobj
;
7590 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7592 PyObject
* obj0
= 0 ;
7593 PyObject
* obj1
= 0 ;
7595 (char *) "self",(char *) "min", NULL
7598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7601 arg2
= (int)SWIG_As_int(obj1
);
7602 if (PyErr_Occurred()) SWIG_fail
;
7604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7605 (arg1
)->SetMinimumSizeY(arg2
);
7607 wxPyEndAllowThreads(__tstate
);
7608 if (PyErr_Occurred()) SWIG_fail
;
7610 Py_INCREF(Py_None
); resultobj
= Py_None
;
7617 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7618 PyObject
*resultobj
;
7619 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7621 PyObject
* obj0
= 0 ;
7623 (char *) "self", NULL
7626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7633 wxPyEndAllowThreads(__tstate
);
7634 if (PyErr_Occurred()) SWIG_fail
;
7636 resultobj
= SWIG_From_int((int)result
);
7643 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
*resultobj
;
7645 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7647 PyObject
* obj0
= 0 ;
7649 (char *) "self", NULL
7652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7657 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7659 wxPyEndAllowThreads(__tstate
);
7660 if (PyErr_Occurred()) SWIG_fail
;
7662 resultobj
= SWIG_From_int((int)result
);
7669 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7670 PyObject
*resultobj
;
7671 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7673 PyObject
* obj0
= 0 ;
7674 PyObject
* obj1
= 0 ;
7676 (char *) "self",(char *) "max", NULL
7679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7682 arg2
= (int)SWIG_As_int(obj1
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7686 (arg1
)->SetMaximumSizeX(arg2
);
7688 wxPyEndAllowThreads(__tstate
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7691 Py_INCREF(Py_None
); resultobj
= Py_None
;
7698 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7699 PyObject
*resultobj
;
7700 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7702 PyObject
* obj0
= 0 ;
7703 PyObject
* obj1
= 0 ;
7705 (char *) "self",(char *) "max", NULL
7708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7711 arg2
= (int)SWIG_As_int(obj1
);
7712 if (PyErr_Occurred()) SWIG_fail
;
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 (arg1
)->SetMaximumSizeY(arg2
);
7717 wxPyEndAllowThreads(__tstate
);
7718 if (PyErr_Occurred()) SWIG_fail
;
7720 Py_INCREF(Py_None
); resultobj
= Py_None
;
7727 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
*resultobj
;
7729 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7731 PyObject
* obj0
= 0 ;
7733 (char *) "self", NULL
7736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7746 resultobj
= SWIG_From_int((int)result
);
7753 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
*resultobj
;
7755 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7757 PyObject
* obj0
= 0 ;
7759 (char *) "self", NULL
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7767 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7769 wxPyEndAllowThreads(__tstate
);
7770 if (PyErr_Occurred()) SWIG_fail
;
7772 resultobj
= SWIG_From_int((int)result
);
7779 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7780 PyObject
*resultobj
;
7781 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7784 int arg4
= (int) 2 ;
7786 PyObject
* obj0
= 0 ;
7787 PyObject
* obj1
= 0 ;
7788 PyObject
* obj2
= 0 ;
7789 PyObject
* obj3
= 0 ;
7791 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7797 arg2
= (int)SWIG_As_int(obj1
);
7798 if (PyErr_Occurred()) SWIG_fail
;
7799 arg3
= (int)SWIG_As_int(obj2
);
7800 if (PyErr_Occurred()) SWIG_fail
;
7802 arg4
= (int)SWIG_As_int(obj3
);
7803 if (PyErr_Occurred()) SWIG_fail
;
7806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7807 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7809 wxPyEndAllowThreads(__tstate
);
7810 if (PyErr_Occurred()) SWIG_fail
;
7812 resultobj
= SWIG_From_int((int)result
);
7819 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7820 PyObject
*resultobj
;
7821 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7822 PyObject
* obj0
= 0 ;
7824 (char *) "self", NULL
7827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7832 (arg1
)->SizeWindows();
7834 wxPyEndAllowThreads(__tstate
);
7835 if (PyErr_Occurred()) SWIG_fail
;
7837 Py_INCREF(Py_None
); resultobj
= Py_None
;
7844 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
7846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7847 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7849 return Py_BuildValue((char *)"");
7851 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7852 PyObject
*resultobj
;
7853 int arg1
= (int) 0 ;
7854 int arg2
= (int) wxSASH_NONE
;
7855 wxSashEvent
*result
;
7856 PyObject
* obj0
= 0 ;
7857 PyObject
* obj1
= 0 ;
7859 (char *) "id",(char *) "edge", NULL
7862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7864 arg1
= (int)SWIG_As_int(obj0
);
7865 if (PyErr_Occurred()) SWIG_fail
;
7868 arg2
= (int)SWIG_As_int(obj1
);
7869 if (PyErr_Occurred()) SWIG_fail
;
7872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7873 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7875 wxPyEndAllowThreads(__tstate
);
7876 if (PyErr_Occurred()) SWIG_fail
;
7878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7885 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7886 PyObject
*resultobj
;
7887 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7889 PyObject
* obj0
= 0 ;
7890 PyObject
* obj1
= 0 ;
7892 (char *) "self",(char *) "edge", NULL
7895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7898 arg2
= (int)SWIG_As_int(obj1
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7902 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7904 wxPyEndAllowThreads(__tstate
);
7905 if (PyErr_Occurred()) SWIG_fail
;
7907 Py_INCREF(Py_None
); resultobj
= Py_None
;
7914 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7915 PyObject
*resultobj
;
7916 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7918 PyObject
* obj0
= 0 ;
7920 (char *) "self", NULL
7923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7928 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7930 wxPyEndAllowThreads(__tstate
);
7931 if (PyErr_Occurred()) SWIG_fail
;
7933 resultobj
= SWIG_From_int((int)result
);
7940 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7941 PyObject
*resultobj
;
7942 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7945 PyObject
* obj0
= 0 ;
7946 PyObject
* obj1
= 0 ;
7948 (char *) "self",(char *) "rect", NULL
7951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7956 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7960 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7962 wxPyEndAllowThreads(__tstate
);
7963 if (PyErr_Occurred()) SWIG_fail
;
7965 Py_INCREF(Py_None
); resultobj
= Py_None
;
7972 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7973 PyObject
*resultobj
;
7974 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7976 PyObject
* obj0
= 0 ;
7978 (char *) "self", NULL
7981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7986 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7993 resultptr
= new wxRect((wxRect
&) result
);
7994 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8002 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8003 PyObject
*resultobj
;
8004 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
8006 PyObject
* obj0
= 0 ;
8007 PyObject
* obj1
= 0 ;
8009 (char *) "self",(char *) "status", NULL
8012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
8013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
8014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8015 arg2
= (int)SWIG_As_int(obj1
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8019 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8024 Py_INCREF(Py_None
); resultobj
= Py_None
;
8031 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8032 PyObject
*resultobj
;
8033 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
8035 PyObject
* obj0
= 0 ;
8037 (char *) "self", NULL
8040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
8041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
8042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8045 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
8047 wxPyEndAllowThreads(__tstate
);
8048 if (PyErr_Occurred()) SWIG_fail
;
8050 resultobj
= SWIG_From_int((int)result
);
8057 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
8059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8060 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
8062 return Py_BuildValue((char *)"");
8064 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8065 PyObject
*resultobj
;
8066 int arg1
= (int) 0 ;
8067 wxQueryLayoutInfoEvent
*result
;
8068 PyObject
* obj0
= 0 ;
8073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
8075 arg1
= (int)SWIG_As_int(obj0
);
8076 if (PyErr_Occurred()) SWIG_fail
;
8079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8080 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
8082 wxPyEndAllowThreads(__tstate
);
8083 if (PyErr_Occurred()) SWIG_fail
;
8085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
8092 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8093 PyObject
*resultobj
;
8094 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8096 PyObject
* obj0
= 0 ;
8097 PyObject
* obj1
= 0 ;
8099 (char *) "self",(char *) "length", NULL
8102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8105 arg2
= (int)SWIG_As_int(obj1
);
8106 if (PyErr_Occurred()) SWIG_fail
;
8108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8109 (arg1
)->SetRequestedLength(arg2
);
8111 wxPyEndAllowThreads(__tstate
);
8112 if (PyErr_Occurred()) SWIG_fail
;
8114 Py_INCREF(Py_None
); resultobj
= Py_None
;
8121 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8122 PyObject
*resultobj
;
8123 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8125 PyObject
* obj0
= 0 ;
8127 (char *) "self", NULL
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
8131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8135 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
8137 wxPyEndAllowThreads(__tstate
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8140 resultobj
= SWIG_From_int((int)result
);
8147 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8148 PyObject
*resultobj
;
8149 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8151 PyObject
* obj0
= 0 ;
8152 PyObject
* obj1
= 0 ;
8154 (char *) "self",(char *) "flags", NULL
8157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8160 arg2
= (int)SWIG_As_int(obj1
);
8161 if (PyErr_Occurred()) SWIG_fail
;
8163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8164 (arg1
)->SetFlags(arg2
);
8166 wxPyEndAllowThreads(__tstate
);
8167 if (PyErr_Occurred()) SWIG_fail
;
8169 Py_INCREF(Py_None
); resultobj
= Py_None
;
8176 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8177 PyObject
*resultobj
;
8178 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8180 PyObject
* obj0
= 0 ;
8182 (char *) "self", NULL
8185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8190 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
8192 wxPyEndAllowThreads(__tstate
);
8193 if (PyErr_Occurred()) SWIG_fail
;
8195 resultobj
= SWIG_From_int((int)result
);
8202 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8203 PyObject
*resultobj
;
8204 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8207 PyObject
* obj0
= 0 ;
8208 PyObject
* obj1
= 0 ;
8210 (char *) "self",(char *) "size", NULL
8213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8218 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8222 (arg1
)->SetSize((wxSize
const &)*arg2
);
8224 wxPyEndAllowThreads(__tstate
);
8225 if (PyErr_Occurred()) SWIG_fail
;
8227 Py_INCREF(Py_None
); resultobj
= Py_None
;
8234 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8235 PyObject
*resultobj
;
8236 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8238 PyObject
* obj0
= 0 ;
8240 (char *) "self", NULL
8243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
8244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8248 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
8250 wxPyEndAllowThreads(__tstate
);
8251 if (PyErr_Occurred()) SWIG_fail
;
8255 resultptr
= new wxSize((wxSize
&) result
);
8256 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8264 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8265 PyObject
*resultobj
;
8266 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8268 PyObject
* obj0
= 0 ;
8269 PyObject
* obj1
= 0 ;
8271 (char *) "self",(char *) "orient", NULL
8274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8277 arg2
= (int)SWIG_As_int(obj1
);
8278 if (PyErr_Occurred()) SWIG_fail
;
8280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8281 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8283 wxPyEndAllowThreads(__tstate
);
8284 if (PyErr_Occurred()) SWIG_fail
;
8286 Py_INCREF(Py_None
); resultobj
= Py_None
;
8293 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8294 PyObject
*resultobj
;
8295 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8297 PyObject
* obj0
= 0 ;
8299 (char *) "self", NULL
8302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
8303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8307 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
8309 wxPyEndAllowThreads(__tstate
);
8310 if (PyErr_Occurred()) SWIG_fail
;
8312 resultobj
= SWIG_From_int((int)result
);
8319 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8320 PyObject
*resultobj
;
8321 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8323 PyObject
* obj0
= 0 ;
8324 PyObject
* obj1
= 0 ;
8326 (char *) "self",(char *) "align", NULL
8329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8332 arg2
= (int)SWIG_As_int(obj1
);
8333 if (PyErr_Occurred()) SWIG_fail
;
8335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8336 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8338 wxPyEndAllowThreads(__tstate
);
8339 if (PyErr_Occurred()) SWIG_fail
;
8341 Py_INCREF(Py_None
); resultobj
= Py_None
;
8348 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
*resultobj
;
8350 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8352 PyObject
* obj0
= 0 ;
8354 (char *) "self", NULL
8357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
8358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8362 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8364 wxPyEndAllowThreads(__tstate
);
8365 if (PyErr_Occurred()) SWIG_fail
;
8367 resultobj
= SWIG_From_int((int)result
);
8374 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
8376 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8377 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8379 return Py_BuildValue((char *)"");
8381 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8382 PyObject
*resultobj
;
8383 int arg1
= (int) 0 ;
8384 wxCalculateLayoutEvent
*result
;
8385 PyObject
* obj0
= 0 ;
8390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8392 arg1
= (int)SWIG_As_int(obj0
);
8393 if (PyErr_Occurred()) SWIG_fail
;
8396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8397 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8399 wxPyEndAllowThreads(__tstate
);
8400 if (PyErr_Occurred()) SWIG_fail
;
8402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8409 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8410 PyObject
*resultobj
;
8411 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8413 PyObject
* obj0
= 0 ;
8414 PyObject
* obj1
= 0 ;
8416 (char *) "self",(char *) "flags", NULL
8419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8422 arg2
= (int)SWIG_As_int(obj1
);
8423 if (PyErr_Occurred()) SWIG_fail
;
8425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8426 (arg1
)->SetFlags(arg2
);
8428 wxPyEndAllowThreads(__tstate
);
8429 if (PyErr_Occurred()) SWIG_fail
;
8431 Py_INCREF(Py_None
); resultobj
= Py_None
;
8438 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8439 PyObject
*resultobj
;
8440 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8442 PyObject
* obj0
= 0 ;
8444 (char *) "self", NULL
8447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8452 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8454 wxPyEndAllowThreads(__tstate
);
8455 if (PyErr_Occurred()) SWIG_fail
;
8457 resultobj
= SWIG_From_int((int)result
);
8464 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8465 PyObject
*resultobj
;
8466 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8469 PyObject
* obj0
= 0 ;
8470 PyObject
* obj1
= 0 ;
8472 (char *) "self",(char *) "rect", NULL
8475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8480 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8484 (arg1
)->SetRect((wxRect
const &)*arg2
);
8486 wxPyEndAllowThreads(__tstate
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8489 Py_INCREF(Py_None
); resultobj
= Py_None
;
8496 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8497 PyObject
*resultobj
;
8498 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8500 PyObject
* obj0
= 0 ;
8502 (char *) "self", NULL
8505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8512 wxPyEndAllowThreads(__tstate
);
8513 if (PyErr_Occurred()) SWIG_fail
;
8517 resultptr
= new wxRect((wxRect
&) result
);
8518 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8526 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
8528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8529 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8531 return Py_BuildValue((char *)"");
8533 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
*resultobj
;
8535 wxWindow
*arg1
= (wxWindow
*) 0 ;
8536 int arg2
= (int) -1 ;
8537 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8538 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8539 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8540 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8541 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8542 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8543 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8544 wxSashLayoutWindow
*result
;
8547 bool temp6
= false ;
8548 PyObject
* obj0
= 0 ;
8549 PyObject
* obj1
= 0 ;
8550 PyObject
* obj2
= 0 ;
8551 PyObject
* obj3
= 0 ;
8552 PyObject
* obj4
= 0 ;
8553 PyObject
* obj5
= 0 ;
8555 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8562 arg2
= (int)SWIG_As_int(obj1
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8568 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8574 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8578 arg5
= (long)SWIG_As_long(obj4
);
8579 if (PyErr_Occurred()) SWIG_fail
;
8583 arg6
= wxString_in_helper(obj5
);
8584 if (arg6
== NULL
) SWIG_fail
;
8589 if (!wxPyCheckForApp()) SWIG_fail
;
8590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8591 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8593 wxPyEndAllowThreads(__tstate
);
8594 if (PyErr_Occurred()) SWIG_fail
;
8596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8611 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8612 PyObject
*resultobj
;
8613 wxSashLayoutWindow
*result
;
8618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8620 if (!wxPyCheckForApp()) SWIG_fail
;
8621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8622 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8624 wxPyEndAllowThreads(__tstate
);
8625 if (PyErr_Occurred()) SWIG_fail
;
8627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8634 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8635 PyObject
*resultobj
;
8636 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8637 wxWindow
*arg2
= (wxWindow
*) 0 ;
8638 int arg3
= (int) -1 ;
8639 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8640 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8641 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8642 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8643 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8644 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8645 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8649 bool temp7
= false ;
8650 PyObject
* obj0
= 0 ;
8651 PyObject
* obj1
= 0 ;
8652 PyObject
* obj2
= 0 ;
8653 PyObject
* obj3
= 0 ;
8654 PyObject
* obj4
= 0 ;
8655 PyObject
* obj5
= 0 ;
8656 PyObject
* obj6
= 0 ;
8658 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8667 arg3
= (int)SWIG_As_int(obj2
);
8668 if (PyErr_Occurred()) SWIG_fail
;
8673 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8679 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8683 arg6
= (long)SWIG_As_long(obj5
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8688 arg7
= wxString_in_helper(obj6
);
8689 if (arg7
== NULL
) SWIG_fail
;
8694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8695 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8697 wxPyEndAllowThreads(__tstate
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8717 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8718 PyObject
*resultobj
;
8719 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8721 PyObject
* obj0
= 0 ;
8723 (char *) "self", NULL
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8731 result
= (int)(arg1
)->GetAlignment();
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8736 resultobj
= SWIG_From_int((int)result
);
8743 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8744 PyObject
*resultobj
;
8745 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8747 PyObject
* obj0
= 0 ;
8749 (char *) "self", NULL
8752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8757 result
= (int)(arg1
)->GetOrientation();
8759 wxPyEndAllowThreads(__tstate
);
8760 if (PyErr_Occurred()) SWIG_fail
;
8762 resultobj
= SWIG_From_int((int)result
);
8769 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8770 PyObject
*resultobj
;
8771 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8773 PyObject
* obj0
= 0 ;
8774 PyObject
* obj1
= 0 ;
8776 (char *) "self",(char *) "alignment", NULL
8779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8782 arg2
= (int)SWIG_As_int(obj1
);
8783 if (PyErr_Occurred()) SWIG_fail
;
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8788 wxPyEndAllowThreads(__tstate
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8791 Py_INCREF(Py_None
); resultobj
= Py_None
;
8798 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
;
8800 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8803 PyObject
* obj0
= 0 ;
8804 PyObject
* obj1
= 0 ;
8806 (char *) "self",(char *) "size", NULL
8809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8814 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8818 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8820 wxPyEndAllowThreads(__tstate
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8823 Py_INCREF(Py_None
); resultobj
= Py_None
;
8830 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8831 PyObject
*resultobj
;
8832 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8834 PyObject
* obj0
= 0 ;
8835 PyObject
* obj1
= 0 ;
8837 (char *) "self",(char *) "orientation", NULL
8840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8843 arg2
= (int)SWIG_As_int(obj1
);
8844 if (PyErr_Occurred()) SWIG_fail
;
8846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8852 Py_INCREF(Py_None
); resultobj
= Py_None
;
8859 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
8861 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8862 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8864 return Py_BuildValue((char *)"");
8866 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8867 PyObject
*resultobj
;
8868 wxLayoutAlgorithm
*result
;
8873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8876 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8878 wxPyEndAllowThreads(__tstate
);
8879 if (PyErr_Occurred()) SWIG_fail
;
8881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8888 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8889 PyObject
*resultobj
;
8890 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8891 PyObject
* obj0
= 0 ;
8893 (char *) "self", NULL
8896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 wxPyEndAllowThreads(__tstate
);
8904 if (PyErr_Occurred()) SWIG_fail
;
8906 Py_INCREF(Py_None
); resultobj
= Py_None
;
8913 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8914 PyObject
*resultobj
;
8915 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8916 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8917 wxRect
*arg3
= (wxRect
*) NULL
;
8919 PyObject
* obj0
= 0 ;
8920 PyObject
* obj1
= 0 ;
8921 PyObject
* obj2
= 0 ;
8923 (char *) "self",(char *) "frame",(char *) "rect", NULL
8926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8932 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8937 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8939 wxPyEndAllowThreads(__tstate
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8951 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8952 PyObject
*resultobj
;
8953 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8954 wxFrame
*arg2
= (wxFrame
*) 0 ;
8955 wxWindow
*arg3
= (wxWindow
*) NULL
;
8957 PyObject
* obj0
= 0 ;
8958 PyObject
* obj1
= 0 ;
8959 PyObject
* obj2
= 0 ;
8961 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8967 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8970 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8975 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8977 wxPyEndAllowThreads(__tstate
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8989 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8990 PyObject
*resultobj
;
8991 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8992 wxWindow
*arg2
= (wxWindow
*) 0 ;
8993 wxWindow
*arg3
= (wxWindow
*) NULL
;
8995 PyObject
* obj0
= 0 ;
8996 PyObject
* obj1
= 0 ;
8997 PyObject
* obj2
= 0 ;
8999 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
9002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
9004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9005 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9008 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
9009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9013 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
9015 wxPyEndAllowThreads(__tstate
);
9016 if (PyErr_Occurred()) SWIG_fail
;
9019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9027 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
9029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9030 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
9032 return Py_BuildValue((char *)"");
9034 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9035 PyObject
*resultobj
;
9036 wxWindow
*arg1
= (wxWindow
*) 0 ;
9037 int arg2
= (int) wxBORDER_NONE
;
9038 wxPopupWindow
*result
;
9039 PyObject
* obj0
= 0 ;
9040 PyObject
* obj1
= 0 ;
9042 (char *) "parent",(char *) "flags", NULL
9045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
9046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9049 arg2
= (int)SWIG_As_int(obj1
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9053 if (!wxPyCheckForApp()) SWIG_fail
;
9054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9055 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
9057 wxPyEndAllowThreads(__tstate
);
9058 if (PyErr_Occurred()) SWIG_fail
;
9060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
9067 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9068 PyObject
*resultobj
;
9069 wxPopupWindow
*result
;
9074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
9076 if (!wxPyCheckForApp()) SWIG_fail
;
9077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9078 result
= (wxPopupWindow
*)new wxPopupWindow();
9080 wxPyEndAllowThreads(__tstate
);
9081 if (PyErr_Occurred()) SWIG_fail
;
9083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
9090 static PyObject
*_wrap_PopupWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9091 PyObject
*resultobj
;
9092 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
9093 wxWindow
*arg2
= (wxWindow
*) 0 ;
9094 int arg3
= (int) wxBORDER_NONE
;
9096 PyObject
* obj0
= 0 ;
9097 PyObject
* obj1
= 0 ;
9098 PyObject
* obj2
= 0 ;
9100 (char *) "self",(char *) "parent",(char *) "flags", NULL
9103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
9105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9109 arg3
= (int)SWIG_As_int(obj2
);
9110 if (PyErr_Occurred()) SWIG_fail
;
9113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9114 result
= (bool)(arg1
)->Create(arg2
,arg3
);
9116 wxPyEndAllowThreads(__tstate
);
9117 if (PyErr_Occurred()) SWIG_fail
;
9120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9128 static PyObject
*_wrap_PopupWindow_Position(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
*resultobj
;
9130 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
9135 PyObject
* obj0
= 0 ;
9136 PyObject
* obj1
= 0 ;
9137 PyObject
* obj2
= 0 ;
9139 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
9142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
9144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9147 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9151 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
9154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9155 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
9157 wxPyEndAllowThreads(__tstate
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9160 Py_INCREF(Py_None
); resultobj
= Py_None
;
9167 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
9169 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9170 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
9172 return Py_BuildValue((char *)"");
9174 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9175 PyObject
*resultobj
;
9176 wxWindow
*arg1
= (wxWindow
*) 0 ;
9177 int arg2
= (int) wxBORDER_NONE
;
9178 wxPyPopupTransientWindow
*result
;
9179 PyObject
* obj0
= 0 ;
9180 PyObject
* obj1
= 0 ;
9182 (char *) "parent",(char *) "style", NULL
9185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
9186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9189 arg2
= (int)SWIG_As_int(obj1
);
9190 if (PyErr_Occurred()) SWIG_fail
;
9193 if (!wxPyCheckForApp()) SWIG_fail
;
9194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9195 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
9197 wxPyEndAllowThreads(__tstate
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9207 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9208 PyObject
*resultobj
;
9209 wxPyPopupTransientWindow
*result
;
9214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
9216 if (!wxPyCheckForApp()) SWIG_fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9230 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
;
9232 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9233 PyObject
*arg2
= (PyObject
*) 0 ;
9234 PyObject
*arg3
= (PyObject
*) 0 ;
9235 PyObject
* obj0
= 0 ;
9236 PyObject
* obj1
= 0 ;
9237 PyObject
* obj2
= 0 ;
9239 (char *) "self",(char *) "self",(char *) "_class", NULL
9242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9251 wxPyEndAllowThreads(__tstate
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9254 Py_INCREF(Py_None
); resultobj
= Py_None
;
9261 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9262 PyObject
*resultobj
;
9263 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9264 wxWindow
*arg2
= (wxWindow
*) NULL
;
9265 PyObject
* obj0
= 0 ;
9266 PyObject
* obj1
= 0 ;
9268 (char *) "self",(char *) "focus", NULL
9271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
9272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9275 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9280 (arg1
)->Popup(arg2
);
9282 wxPyEndAllowThreads(__tstate
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9285 Py_INCREF(Py_None
); resultobj
= Py_None
;
9292 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9293 PyObject
*resultobj
;
9294 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9295 PyObject
* obj0
= 0 ;
9297 (char *) "self", NULL
9300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
9301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9307 wxPyEndAllowThreads(__tstate
);
9308 if (PyErr_Occurred()) SWIG_fail
;
9310 Py_INCREF(Py_None
); resultobj
= Py_None
;
9317 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
9319 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9320 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
9322 return Py_BuildValue((char *)"");
9324 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
*resultobj
;
9326 wxWindow
*arg1
= (wxWindow
*) 0 ;
9327 wxString
*arg2
= 0 ;
9328 int arg3
= (int) 100 ;
9329 wxRect
*arg4
= (wxRect
*) NULL
;
9330 wxTipWindow
*result
;
9331 bool temp2
= false ;
9332 PyObject
* obj0
= 0 ;
9333 PyObject
* obj1
= 0 ;
9334 PyObject
* obj2
= 0 ;
9335 PyObject
* obj3
= 0 ;
9337 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9344 arg2
= wxString_in_helper(obj1
);
9345 if (arg2
== NULL
) SWIG_fail
;
9349 arg3
= (int)SWIG_As_int(obj2
);
9350 if (PyErr_Occurred()) SWIG_fail
;
9353 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
9354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9357 if (!wxPyCheckForApp()) SWIG_fail
;
9358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9359 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9361 wxPyEndAllowThreads(__tstate
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
9379 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9380 PyObject
*resultobj
;
9381 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9384 PyObject
* obj0
= 0 ;
9385 PyObject
* obj1
= 0 ;
9387 (char *) "self",(char *) "rectBound", NULL
9390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9395 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9399 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
9401 wxPyEndAllowThreads(__tstate
);
9402 if (PyErr_Occurred()) SWIG_fail
;
9404 Py_INCREF(Py_None
); resultobj
= Py_None
;
9411 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9412 PyObject
*resultobj
;
9413 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9414 PyObject
* obj0
= 0 ;
9416 (char *) "self", NULL
9419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9429 Py_INCREF(Py_None
); resultobj
= Py_None
;
9436 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
9438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9439 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9441 return Py_BuildValue((char *)"");
9443 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9444 PyObject
*resultobj
;
9445 wxWindow
*arg1
= (wxWindow
*) 0 ;
9446 int arg2
= (int) wxID_ANY
;
9447 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9448 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9449 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9450 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9451 long arg5
= (long) 0 ;
9452 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9453 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9454 wxPyVScrolledWindow
*result
;
9457 bool temp6
= false ;
9458 PyObject
* obj0
= 0 ;
9459 PyObject
* obj1
= 0 ;
9460 PyObject
* obj2
= 0 ;
9461 PyObject
* obj3
= 0 ;
9462 PyObject
* obj4
= 0 ;
9463 PyObject
* obj5
= 0 ;
9465 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9472 arg2
= (int)SWIG_As_int(obj1
);
9473 if (PyErr_Occurred()) SWIG_fail
;
9478 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9484 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9488 arg5
= (long)SWIG_As_long(obj4
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9493 arg6
= wxString_in_helper(obj5
);
9494 if (arg6
== NULL
) SWIG_fail
;
9499 if (!wxPyCheckForApp()) SWIG_fail
;
9500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9501 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9521 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9522 PyObject
*resultobj
;
9523 wxPyVScrolledWindow
*result
;
9528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9530 if (!wxPyCheckForApp()) SWIG_fail
;
9531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9532 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9534 wxPyEndAllowThreads(__tstate
);
9535 if (PyErr_Occurred()) SWIG_fail
;
9537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9544 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9545 PyObject
*resultobj
;
9546 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9547 PyObject
*arg2
= (PyObject
*) 0 ;
9548 PyObject
*arg3
= (PyObject
*) 0 ;
9549 PyObject
* obj0
= 0 ;
9550 PyObject
* obj1
= 0 ;
9551 PyObject
* obj2
= 0 ;
9553 (char *) "self",(char *) "self",(char *) "_class", NULL
9556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9563 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9565 wxPyEndAllowThreads(__tstate
);
9566 if (PyErr_Occurred()) SWIG_fail
;
9568 Py_INCREF(Py_None
); resultobj
= Py_None
;
9575 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9576 PyObject
*resultobj
;
9577 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9578 wxWindow
*arg2
= (wxWindow
*) 0 ;
9579 int arg3
= (int) wxID_ANY
;
9580 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9581 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9582 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9583 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9584 long arg6
= (long) 0 ;
9585 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9586 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9590 bool temp7
= false ;
9591 PyObject
* obj0
= 0 ;
9592 PyObject
* obj1
= 0 ;
9593 PyObject
* obj2
= 0 ;
9594 PyObject
* obj3
= 0 ;
9595 PyObject
* obj4
= 0 ;
9596 PyObject
* obj5
= 0 ;
9597 PyObject
* obj6
= 0 ;
9599 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9608 arg3
= (int)SWIG_As_int(obj2
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9614 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9620 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9624 arg6
= (long)SWIG_As_long(obj5
);
9625 if (PyErr_Occurred()) SWIG_fail
;
9629 arg7
= wxString_in_helper(obj6
);
9630 if (arg7
== NULL
) SWIG_fail
;
9635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9636 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9638 wxPyEndAllowThreads(__tstate
);
9639 if (PyErr_Occurred()) SWIG_fail
;
9642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9658 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9659 PyObject
*resultobj
;
9660 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9662 PyObject
* obj0
= 0 ;
9663 PyObject
* obj1
= 0 ;
9665 (char *) "self",(char *) "count", NULL
9668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9671 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9675 (arg1
)->SetLineCount(arg2
);
9677 wxPyEndAllowThreads(__tstate
);
9678 if (PyErr_Occurred()) SWIG_fail
;
9680 Py_INCREF(Py_None
); resultobj
= Py_None
;
9687 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9688 PyObject
*resultobj
;
9689 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9692 PyObject
* obj0
= 0 ;
9693 PyObject
* obj1
= 0 ;
9695 (char *) "self",(char *) "line", NULL
9698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9701 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9705 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9707 wxPyEndAllowThreads(__tstate
);
9708 if (PyErr_Occurred()) SWIG_fail
;
9711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9719 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9720 PyObject
*resultobj
;
9721 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9724 PyObject
* obj0
= 0 ;
9725 PyObject
* obj1
= 0 ;
9727 (char *) "self",(char *) "lines", NULL
9730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9733 arg2
= (int)SWIG_As_int(obj1
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9737 result
= (bool)(arg1
)->ScrollLines(arg2
);
9739 wxPyEndAllowThreads(__tstate
);
9740 if (PyErr_Occurred()) SWIG_fail
;
9743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9751 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9752 PyObject
*resultobj
;
9753 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9756 PyObject
* obj0
= 0 ;
9757 PyObject
* obj1
= 0 ;
9759 (char *) "self",(char *) "pages", NULL
9762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9765 arg2
= (int)SWIG_As_int(obj1
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9769 result
= (bool)(arg1
)->ScrollPages(arg2
);
9771 wxPyEndAllowThreads(__tstate
);
9772 if (PyErr_Occurred()) SWIG_fail
;
9775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9783 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9784 PyObject
*resultobj
;
9785 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9787 PyObject
* obj0
= 0 ;
9788 PyObject
* obj1
= 0 ;
9790 (char *) "self",(char *) "line", NULL
9793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9796 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9797 if (PyErr_Occurred()) SWIG_fail
;
9799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9800 (arg1
)->RefreshLine(arg2
);
9802 wxPyEndAllowThreads(__tstate
);
9803 if (PyErr_Occurred()) SWIG_fail
;
9805 Py_INCREF(Py_None
); resultobj
= Py_None
;
9812 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9813 PyObject
*resultobj
;
9814 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9817 PyObject
* obj0
= 0 ;
9818 PyObject
* obj1
= 0 ;
9819 PyObject
* obj2
= 0 ;
9821 (char *) "self",(char *) "from",(char *) "to", NULL
9824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9827 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9828 if (PyErr_Occurred()) SWIG_fail
;
9829 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 (arg1
)->RefreshLines(arg2
,arg3
);
9835 wxPyEndAllowThreads(__tstate
);
9836 if (PyErr_Occurred()) SWIG_fail
;
9838 Py_INCREF(Py_None
); resultobj
= Py_None
;
9845 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9846 PyObject
*resultobj
;
9847 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9851 PyObject
* obj0
= 0 ;
9852 PyObject
* obj1
= 0 ;
9853 PyObject
* obj2
= 0 ;
9855 (char *) "self",(char *) "x",(char *) "y", NULL
9858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9861 arg2
= (int)SWIG_As_int(obj1
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9863 arg3
= (int)SWIG_As_int(obj2
);
9864 if (PyErr_Occurred()) SWIG_fail
;
9866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9867 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9869 wxPyEndAllowThreads(__tstate
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9872 resultobj
= SWIG_From_int((int)result
);
9879 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9880 PyObject
*resultobj
;
9881 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9885 PyObject
* obj0
= 0 ;
9886 PyObject
* obj1
= 0 ;
9888 (char *) "self",(char *) "pt", NULL
9891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9896 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9900 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9902 wxPyEndAllowThreads(__tstate
);
9903 if (PyErr_Occurred()) SWIG_fail
;
9905 resultobj
= SWIG_From_int((int)result
);
9912 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9913 PyObject
*resultobj
;
9914 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9915 PyObject
* obj0
= 0 ;
9917 (char *) "self", NULL
9920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9925 (arg1
)->RefreshAll();
9927 wxPyEndAllowThreads(__tstate
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9930 Py_INCREF(Py_None
); resultobj
= Py_None
;
9937 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
*resultobj
;
9939 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9941 PyObject
* obj0
= 0 ;
9943 (char *) "self", NULL
9946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9951 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9953 wxPyEndAllowThreads(__tstate
);
9954 if (PyErr_Occurred()) SWIG_fail
;
9956 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9963 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9964 PyObject
*resultobj
;
9965 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9967 PyObject
* obj0
= 0 ;
9969 (char *) "self", NULL
9972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9979 wxPyEndAllowThreads(__tstate
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9982 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9989 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9990 PyObject
*resultobj
;
9991 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9993 PyObject
* obj0
= 0 ;
9995 (char *) "self", NULL
9998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
10000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10003 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
10005 wxPyEndAllowThreads(__tstate
);
10006 if (PyErr_Occurred()) SWIG_fail
;
10008 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10015 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10016 PyObject
*resultobj
;
10017 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
10020 PyObject
* obj0
= 0 ;
10021 PyObject
* obj1
= 0 ;
10022 char *kwnames
[] = {
10023 (char *) "self",(char *) "line", NULL
10026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
10027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
10028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10029 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10030 if (PyErr_Occurred()) SWIG_fail
;
10032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10033 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
10035 wxPyEndAllowThreads(__tstate
);
10036 if (PyErr_Occurred()) SWIG_fail
;
10039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10047 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
10049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10050 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
10052 return Py_BuildValue((char *)"");
10054 static int _wrap_VListBoxNameStr_set(PyObject
*) {
10055 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
10060 static PyObject
*_wrap_VListBoxNameStr_get() {
10065 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
10067 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
10074 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10075 PyObject
*resultobj
;
10076 wxWindow
*arg1
= (wxWindow
*) 0 ;
10077 int arg2
= (int) wxID_ANY
;
10078 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10079 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10080 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10081 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10082 long arg5
= (long) 0 ;
10083 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10084 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10085 wxPyVListBox
*result
;
10088 bool temp6
= false ;
10089 PyObject
* obj0
= 0 ;
10090 PyObject
* obj1
= 0 ;
10091 PyObject
* obj2
= 0 ;
10092 PyObject
* obj3
= 0 ;
10093 PyObject
* obj4
= 0 ;
10094 PyObject
* obj5
= 0 ;
10095 char *kwnames
[] = {
10096 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10103 arg2
= (int)SWIG_As_int(obj1
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10109 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10115 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10119 arg5
= (long)SWIG_As_long(obj4
);
10120 if (PyErr_Occurred()) SWIG_fail
;
10124 arg6
= wxString_in_helper(obj5
);
10125 if (arg6
== NULL
) SWIG_fail
;
10130 if (!wxPyCheckForApp()) SWIG_fail
;
10131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10132 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10134 wxPyEndAllowThreads(__tstate
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
10152 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10153 PyObject
*resultobj
;
10154 wxPyVListBox
*result
;
10155 char *kwnames
[] = {
10159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
10161 if (!wxPyCheckForApp()) SWIG_fail
;
10162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10163 result
= (wxPyVListBox
*)new wxPyVListBox();
10165 wxPyEndAllowThreads(__tstate
);
10166 if (PyErr_Occurred()) SWIG_fail
;
10168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
10175 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10176 PyObject
*resultobj
;
10177 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10178 PyObject
*arg2
= (PyObject
*) 0 ;
10179 PyObject
*arg3
= (PyObject
*) 0 ;
10180 PyObject
* obj0
= 0 ;
10181 PyObject
* obj1
= 0 ;
10182 PyObject
* obj2
= 0 ;
10183 char *kwnames
[] = {
10184 (char *) "self",(char *) "self",(char *) "_class", NULL
10187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10194 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10196 wxPyEndAllowThreads(__tstate
);
10197 if (PyErr_Occurred()) SWIG_fail
;
10199 Py_INCREF(Py_None
); resultobj
= Py_None
;
10206 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10207 PyObject
*resultobj
;
10208 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10209 wxWindow
*arg2
= (wxWindow
*) 0 ;
10210 int arg3
= (int) wxID_ANY
;
10211 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10212 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10213 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10214 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10215 long arg6
= (long) 0 ;
10216 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10217 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10221 bool temp7
= false ;
10222 PyObject
* obj0
= 0 ;
10223 PyObject
* obj1
= 0 ;
10224 PyObject
* obj2
= 0 ;
10225 PyObject
* obj3
= 0 ;
10226 PyObject
* obj4
= 0 ;
10227 PyObject
* obj5
= 0 ;
10228 PyObject
* obj6
= 0 ;
10229 char *kwnames
[] = {
10230 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10236 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10239 arg3
= (int)SWIG_As_int(obj2
);
10240 if (PyErr_Occurred()) SWIG_fail
;
10245 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10251 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10255 arg6
= (long)SWIG_As_long(obj5
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10260 arg7
= wxString_in_helper(obj6
);
10261 if (arg7
== NULL
) SWIG_fail
;
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) SWIG_fail
;
10273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10289 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10290 PyObject
*resultobj
;
10291 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10293 PyObject
* obj0
= 0 ;
10294 char *kwnames
[] = {
10295 (char *) "self", NULL
10298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
10299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10303 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
10305 wxPyEndAllowThreads(__tstate
);
10306 if (PyErr_Occurred()) SWIG_fail
;
10308 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10315 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10316 PyObject
*resultobj
;
10317 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10319 PyObject
* obj0
= 0 ;
10320 char *kwnames
[] = {
10321 (char *) "self", NULL
10324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
10325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10329 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
10331 wxPyEndAllowThreads(__tstate
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10343 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10344 PyObject
*resultobj
;
10345 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10347 PyObject
* obj0
= 0 ;
10348 char *kwnames
[] = {
10349 (char *) "self", NULL
10352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
10353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10357 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
10359 wxPyEndAllowThreads(__tstate
);
10360 if (PyErr_Occurred()) SWIG_fail
;
10362 resultobj
= SWIG_From_int((int)result
);
10369 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10370 PyObject
*resultobj
;
10371 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10374 PyObject
* obj0
= 0 ;
10375 PyObject
* obj1
= 0 ;
10376 char *kwnames
[] = {
10377 (char *) "self",(char *) "item", NULL
10380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
10381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10383 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10387 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
10389 wxPyEndAllowThreads(__tstate
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10401 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10402 PyObject
*resultobj
;
10403 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10406 PyObject
* obj0
= 0 ;
10407 PyObject
* obj1
= 0 ;
10408 char *kwnames
[] = {
10409 (char *) "self",(char *) "item", NULL
10412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10415 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10419 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10421 wxPyEndAllowThreads(__tstate
);
10422 if (PyErr_Occurred()) SWIG_fail
;
10425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10433 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10434 PyObject
*resultobj
;
10435 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10437 PyObject
* obj0
= 0 ;
10438 char *kwnames
[] = {
10439 (char *) "self", NULL
10442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10447 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10449 wxPyEndAllowThreads(__tstate
);
10450 if (PyErr_Occurred()) SWIG_fail
;
10452 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10459 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10460 PyObject
*resultobj
;
10461 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10463 PyObject
* obj0
= 0 ;
10464 char *kwnames
[] = {
10465 (char *) "self", NULL
10468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
10469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10473 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
10475 wxPyEndAllowThreads(__tstate
);
10476 if (PyErr_Occurred()) SWIG_fail
;
10478 resultobj
= result
;
10485 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10486 PyObject
*resultobj
;
10487 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10488 unsigned long arg2
;
10490 PyObject
* obj0
= 0 ;
10491 PyObject
* obj1
= 0 ;
10492 char *kwnames
[] = {
10493 (char *) "self",(char *) "cookie", NULL
10496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10499 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
10500 if (PyErr_Occurred()) SWIG_fail
;
10502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10503 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
10505 wxPyEndAllowThreads(__tstate
);
10506 if (PyErr_Occurred()) SWIG_fail
;
10508 resultobj
= result
;
10515 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10516 PyObject
*resultobj
;
10517 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10519 PyObject
* obj0
= 0 ;
10520 char *kwnames
[] = {
10521 (char *) "self", NULL
10524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10529 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10535 wxPoint
* resultptr
;
10536 resultptr
= new wxPoint((wxPoint
&) result
);
10537 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10545 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10546 PyObject
*resultobj
;
10547 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10549 PyObject
* obj0
= 0 ;
10550 char *kwnames
[] = {
10551 (char *) "self", NULL
10554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10560 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10561 result
= (wxColour
*) &_result_ref
;
10564 wxPyEndAllowThreads(__tstate
);
10565 if (PyErr_Occurred()) SWIG_fail
;
10567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10574 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10575 PyObject
*resultobj
;
10576 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10578 PyObject
* obj0
= 0 ;
10579 PyObject
* obj1
= 0 ;
10580 char *kwnames
[] = {
10581 (char *) "self",(char *) "count", NULL
10584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10587 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10591 (arg1
)->SetItemCount(arg2
);
10593 wxPyEndAllowThreads(__tstate
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10596 Py_INCREF(Py_None
); resultobj
= Py_None
;
10603 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10604 PyObject
*resultobj
;
10605 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10606 PyObject
* obj0
= 0 ;
10607 char *kwnames
[] = {
10608 (char *) "self", NULL
10611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10618 wxPyEndAllowThreads(__tstate
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10621 Py_INCREF(Py_None
); resultobj
= Py_None
;
10628 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10629 PyObject
*resultobj
;
10630 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10632 PyObject
* obj0
= 0 ;
10633 PyObject
* obj1
= 0 ;
10634 char *kwnames
[] = {
10635 (char *) "self",(char *) "selection", NULL
10638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10641 arg2
= (int)SWIG_As_int(obj1
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10645 (arg1
)->SetSelection(arg2
);
10647 wxPyEndAllowThreads(__tstate
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10650 Py_INCREF(Py_None
); resultobj
= Py_None
;
10657 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10658 PyObject
*resultobj
;
10659 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10661 bool arg3
= (bool) true ;
10663 PyObject
* obj0
= 0 ;
10664 PyObject
* obj1
= 0 ;
10665 PyObject
* obj2
= 0 ;
10666 char *kwnames
[] = {
10667 (char *) "self",(char *) "item",(char *) "select", NULL
10670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10673 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10674 if (PyErr_Occurred()) SWIG_fail
;
10676 arg3
= (bool)SWIG_As_bool(obj2
);
10677 if (PyErr_Occurred()) SWIG_fail
;
10680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10681 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10683 wxPyEndAllowThreads(__tstate
);
10684 if (PyErr_Occurred()) SWIG_fail
;
10687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10695 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10696 PyObject
*resultobj
;
10697 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10701 PyObject
* obj0
= 0 ;
10702 PyObject
* obj1
= 0 ;
10703 PyObject
* obj2
= 0 ;
10704 char *kwnames
[] = {
10705 (char *) "self",(char *) "from",(char *) "to", NULL
10708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10711 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10712 if (PyErr_Occurred()) SWIG_fail
;
10713 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
10714 if (PyErr_Occurred()) SWIG_fail
;
10716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10717 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10719 wxPyEndAllowThreads(__tstate
);
10720 if (PyErr_Occurred()) SWIG_fail
;
10723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10731 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10732 PyObject
*resultobj
;
10733 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10735 PyObject
* obj0
= 0 ;
10736 PyObject
* obj1
= 0 ;
10737 char *kwnames
[] = {
10738 (char *) "self",(char *) "item", NULL
10741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10744 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10748 (arg1
)->Toggle(arg2
);
10750 wxPyEndAllowThreads(__tstate
);
10751 if (PyErr_Occurred()) SWIG_fail
;
10753 Py_INCREF(Py_None
); resultobj
= Py_None
;
10760 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10761 PyObject
*resultobj
;
10762 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10764 PyObject
* obj0
= 0 ;
10765 char *kwnames
[] = {
10766 (char *) "self", NULL
10769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10774 result
= (bool)(arg1
)->SelectAll();
10776 wxPyEndAllowThreads(__tstate
);
10777 if (PyErr_Occurred()) SWIG_fail
;
10780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10788 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10789 PyObject
*resultobj
;
10790 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10792 PyObject
* obj0
= 0 ;
10793 char *kwnames
[] = {
10794 (char *) "self", NULL
10797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10802 result
= (bool)(arg1
)->DeselectAll();
10804 wxPyEndAllowThreads(__tstate
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10816 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10817 PyObject
*resultobj
;
10818 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10819 wxPoint
*arg2
= 0 ;
10821 PyObject
* obj0
= 0 ;
10822 PyObject
* obj1
= 0 ;
10823 char *kwnames
[] = {
10824 (char *) "self",(char *) "pt", NULL
10827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10832 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10836 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10838 wxPyEndAllowThreads(__tstate
);
10839 if (PyErr_Occurred()) SWIG_fail
;
10841 Py_INCREF(Py_None
); resultobj
= Py_None
;
10848 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10849 PyObject
*resultobj
;
10850 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10853 PyObject
* obj0
= 0 ;
10854 PyObject
* obj1
= 0 ;
10855 PyObject
* obj2
= 0 ;
10856 char *kwnames
[] = {
10857 (char *) "self",(char *) "x",(char *) "y", NULL
10860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10863 arg2
= (int)SWIG_As_int(obj1
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10865 arg3
= (int)SWIG_As_int(obj2
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10869 (arg1
)->SetMargins(arg2
,arg3
);
10871 wxPyEndAllowThreads(__tstate
);
10872 if (PyErr_Occurred()) SWIG_fail
;
10874 Py_INCREF(Py_None
); resultobj
= Py_None
;
10881 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10882 PyObject
*resultobj
;
10883 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10884 wxColour
*arg2
= 0 ;
10886 PyObject
* obj0
= 0 ;
10887 PyObject
* obj1
= 0 ;
10888 char *kwnames
[] = {
10889 (char *) "self",(char *) "col", NULL
10892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10897 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10901 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10903 wxPyEndAllowThreads(__tstate
);
10904 if (PyErr_Occurred()) SWIG_fail
;
10906 Py_INCREF(Py_None
); resultobj
= Py_None
;
10913 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
10915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10916 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10918 return Py_BuildValue((char *)"");
10920 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
*resultobj
;
10922 wxWindow
*arg1
= (wxWindow
*) 0 ;
10923 int arg2
= (int) wxID_ANY
;
10924 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10925 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10926 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10927 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10928 long arg5
= (long) 0 ;
10929 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10930 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10931 wxPyHtmlListBox
*result
;
10934 bool temp6
= false ;
10935 PyObject
* obj0
= 0 ;
10936 PyObject
* obj1
= 0 ;
10937 PyObject
* obj2
= 0 ;
10938 PyObject
* obj3
= 0 ;
10939 PyObject
* obj4
= 0 ;
10940 PyObject
* obj5
= 0 ;
10941 char *kwnames
[] = {
10942 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10949 arg2
= (int)SWIG_As_int(obj1
);
10950 if (PyErr_Occurred()) SWIG_fail
;
10955 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10961 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10965 arg5
= (long)SWIG_As_long(obj4
);
10966 if (PyErr_Occurred()) SWIG_fail
;
10970 arg6
= wxString_in_helper(obj5
);
10971 if (arg6
== NULL
) SWIG_fail
;
10976 if (!wxPyCheckForApp()) SWIG_fail
;
10977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10978 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10980 wxPyEndAllowThreads(__tstate
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10998 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10999 PyObject
*resultobj
;
11000 wxPyHtmlListBox
*result
;
11001 char *kwnames
[] = {
11005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
11007 if (!wxPyCheckForApp()) SWIG_fail
;
11008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11009 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
11011 wxPyEndAllowThreads(__tstate
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
11021 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11022 PyObject
*resultobj
;
11023 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11024 PyObject
*arg2
= (PyObject
*) 0 ;
11025 PyObject
*arg3
= (PyObject
*) 0 ;
11026 PyObject
* obj0
= 0 ;
11027 PyObject
* obj1
= 0 ;
11028 PyObject
* obj2
= 0 ;
11029 char *kwnames
[] = {
11030 (char *) "self",(char *) "self",(char *) "_class", NULL
11033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11042 wxPyEndAllowThreads(__tstate
);
11043 if (PyErr_Occurred()) SWIG_fail
;
11045 Py_INCREF(Py_None
); resultobj
= Py_None
;
11052 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11053 PyObject
*resultobj
;
11054 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11055 wxWindow
*arg2
= (wxWindow
*) 0 ;
11056 int arg3
= (int) wxID_ANY
;
11057 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11058 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11059 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11060 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11061 long arg6
= (long) 0 ;
11062 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
11063 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11067 bool temp7
= false ;
11068 PyObject
* obj0
= 0 ;
11069 PyObject
* obj1
= 0 ;
11070 PyObject
* obj2
= 0 ;
11071 PyObject
* obj3
= 0 ;
11072 PyObject
* obj4
= 0 ;
11073 PyObject
* obj5
= 0 ;
11074 PyObject
* obj6
= 0 ;
11075 char *kwnames
[] = {
11076 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11085 arg3
= (int)SWIG_As_int(obj2
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11091 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11097 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11101 arg6
= (long)SWIG_As_long(obj5
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11106 arg7
= wxString_in_helper(obj6
);
11107 if (arg7
== NULL
) SWIG_fail
;
11112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11113 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11115 wxPyEndAllowThreads(__tstate
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11135 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11136 PyObject
*resultobj
;
11137 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11138 PyObject
* obj0
= 0 ;
11139 char *kwnames
[] = {
11140 (char *) "self", NULL
11143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
11144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11148 (arg1
)->RefreshAll();
11150 wxPyEndAllowThreads(__tstate
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11153 Py_INCREF(Py_None
); resultobj
= Py_None
;
11160 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11161 PyObject
*resultobj
;
11162 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11164 PyObject
* obj0
= 0 ;
11165 PyObject
* obj1
= 0 ;
11166 char *kwnames
[] = {
11167 (char *) "self",(char *) "count", NULL
11170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11173 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11177 (arg1
)->SetItemCount(arg2
);
11179 wxPyEndAllowThreads(__tstate
);
11180 if (PyErr_Occurred()) SWIG_fail
;
11182 Py_INCREF(Py_None
); resultobj
= Py_None
;
11189 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11190 PyObject
*resultobj
;
11191 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11192 wxFileSystem
*result
;
11193 PyObject
* obj0
= 0 ;
11194 char *kwnames
[] = {
11195 (char *) "self", NULL
11198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
11199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11204 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
11205 result
= (wxFileSystem
*) &_result_ref
;
11208 wxPyEndAllowThreads(__tstate
);
11209 if (PyErr_Occurred()) SWIG_fail
;
11211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
11218 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
11220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11221 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
11223 return Py_BuildValue((char *)"");
11225 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11226 PyObject
*resultobj
;
11227 wxPyTaskBarIcon
*result
;
11228 char *kwnames
[] = {
11232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
11234 if (!wxPyCheckForApp()) SWIG_fail
;
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
11238 wxPyEndAllowThreads(__tstate
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
11248 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11249 PyObject
*resultobj
;
11250 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11251 PyObject
*arg2
= (PyObject
*) 0 ;
11252 PyObject
*arg3
= (PyObject
*) 0 ;
11254 PyObject
* obj0
= 0 ;
11255 PyObject
* obj1
= 0 ;
11256 PyObject
* obj2
= 0 ;
11257 PyObject
* obj3
= 0 ;
11258 char *kwnames
[] = {
11259 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11267 arg4
= (int)SWIG_As_int(obj3
);
11268 if (PyErr_Occurred()) SWIG_fail
;
11270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11271 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
11273 wxPyEndAllowThreads(__tstate
);
11274 if (PyErr_Occurred()) SWIG_fail
;
11276 Py_INCREF(Py_None
); resultobj
= Py_None
;
11283 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11284 PyObject
*resultobj
;
11285 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11286 PyObject
* obj0
= 0 ;
11287 char *kwnames
[] = {
11288 (char *) "self", NULL
11291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
11292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11296 wxPyTaskBarIcon_Destroy(arg1
);
11298 wxPyEndAllowThreads(__tstate
);
11299 if (PyErr_Occurred()) SWIG_fail
;
11301 Py_INCREF(Py_None
); resultobj
= Py_None
;
11308 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11309 PyObject
*resultobj
;
11310 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11312 PyObject
* obj0
= 0 ;
11313 char *kwnames
[] = {
11314 (char *) "self", NULL
11317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
11318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11336 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11337 PyObject
*resultobj
;
11338 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11340 PyObject
* obj0
= 0 ;
11341 char *kwnames
[] = {
11342 (char *) "self", NULL
11345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
11346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11350 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
11352 wxPyEndAllowThreads(__tstate
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11364 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11365 PyObject
*resultobj
;
11366 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11368 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11369 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11371 bool temp3
= false ;
11372 PyObject
* obj0
= 0 ;
11373 PyObject
* obj1
= 0 ;
11374 PyObject
* obj2
= 0 ;
11375 char *kwnames
[] = {
11376 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11382 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11383 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11385 if (arg2
== NULL
) {
11386 PyErr_SetString(PyExc_TypeError
,"null reference");
11391 arg3
= wxString_in_helper(obj2
);
11392 if (arg3
== NULL
) SWIG_fail
;
11397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11398 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
11400 wxPyEndAllowThreads(__tstate
);
11401 if (PyErr_Occurred()) SWIG_fail
;
11404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11420 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11421 PyObject
*resultobj
;
11422 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11424 PyObject
* obj0
= 0 ;
11425 char *kwnames
[] = {
11426 (char *) "self", NULL
11429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
11430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11434 result
= (bool)(arg1
)->RemoveIcon();
11436 wxPyEndAllowThreads(__tstate
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11448 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11449 PyObject
*resultobj
;
11450 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11451 wxMenu
*arg2
= (wxMenu
*) 0 ;
11453 PyObject
* obj0
= 0 ;
11454 PyObject
* obj1
= 0 ;
11455 char *kwnames
[] = {
11456 (char *) "self",(char *) "menu", NULL
11459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
11460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
11463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11466 result
= (bool)(arg1
)->PopupMenu(arg2
);
11468 wxPyEndAllowThreads(__tstate
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11480 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
11482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11483 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
11485 return Py_BuildValue((char *)"");
11487 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11488 PyObject
*resultobj
;
11490 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
11491 wxTaskBarIconEvent
*result
;
11492 PyObject
* obj0
= 0 ;
11493 PyObject
* obj1
= 0 ;
11494 char *kwnames
[] = {
11495 (char *) "evtType",(char *) "tbIcon", NULL
11498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11499 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11500 if (PyErr_Occurred()) SWIG_fail
;
11501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
11502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11505 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
11507 wxPyEndAllowThreads(__tstate
);
11508 if (PyErr_Occurred()) SWIG_fail
;
11510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
11517 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
11519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11520 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
11522 return Py_BuildValue((char *)"");
11524 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
11525 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
11530 static PyObject
*_wrap_FileSelectorPromptStr_get() {
11535 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11537 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11544 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
11545 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
11550 static PyObject
*_wrap_DirSelectorPromptStr_get() {
11555 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11557 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11564 static int _wrap_DirDialogNameStr_set(PyObject
*) {
11565 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11570 static PyObject
*_wrap_DirDialogNameStr_get() {
11575 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11577 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11584 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
11585 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11590 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11595 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11597 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11604 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
11605 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11610 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11615 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11617 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11624 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
11625 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11630 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11635 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11637 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11644 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11645 PyObject
*resultobj
;
11646 wxColourData
*result
;
11647 char *kwnames
[] = {
11651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11654 result
= (wxColourData
*)new wxColourData();
11656 wxPyEndAllowThreads(__tstate
);
11657 if (PyErr_Occurred()) SWIG_fail
;
11659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11666 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11667 PyObject
*resultobj
;
11668 wxColourData
*arg1
= (wxColourData
*) 0 ;
11669 PyObject
* obj0
= 0 ;
11670 char *kwnames
[] = {
11671 (char *) "self", NULL
11674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11681 wxPyEndAllowThreads(__tstate
);
11682 if (PyErr_Occurred()) SWIG_fail
;
11684 Py_INCREF(Py_None
); resultobj
= Py_None
;
11691 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11692 PyObject
*resultobj
;
11693 wxColourData
*arg1
= (wxColourData
*) 0 ;
11695 PyObject
* obj0
= 0 ;
11696 char *kwnames
[] = {
11697 (char *) "self", NULL
11700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11705 result
= (bool)(arg1
)->GetChooseFull();
11707 wxPyEndAllowThreads(__tstate
);
11708 if (PyErr_Occurred()) SWIG_fail
;
11711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11719 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11720 PyObject
*resultobj
;
11721 wxColourData
*arg1
= (wxColourData
*) 0 ;
11723 PyObject
* obj0
= 0 ;
11724 char *kwnames
[] = {
11725 (char *) "self", NULL
11728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11733 result
= (arg1
)->GetColour();
11735 wxPyEndAllowThreads(__tstate
);
11736 if (PyErr_Occurred()) SWIG_fail
;
11739 wxColour
* resultptr
;
11740 resultptr
= new wxColour((wxColour
&) result
);
11741 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11749 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11750 PyObject
*resultobj
;
11751 wxColourData
*arg1
= (wxColourData
*) 0 ;
11754 PyObject
* obj0
= 0 ;
11755 PyObject
* obj1
= 0 ;
11756 char *kwnames
[] = {
11757 (char *) "self",(char *) "i", NULL
11760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11763 arg2
= (int)SWIG_As_int(obj1
);
11764 if (PyErr_Occurred()) SWIG_fail
;
11766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11767 result
= (arg1
)->GetCustomColour(arg2
);
11769 wxPyEndAllowThreads(__tstate
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11773 wxColour
* resultptr
;
11774 resultptr
= new wxColour((wxColour
&) result
);
11775 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11783 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11784 PyObject
*resultobj
;
11785 wxColourData
*arg1
= (wxColourData
*) 0 ;
11787 PyObject
* obj0
= 0 ;
11788 PyObject
* obj1
= 0 ;
11789 char *kwnames
[] = {
11790 (char *) "self",(char *) "flag", NULL
11793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11796 arg2
= (int)SWIG_As_int(obj1
);
11797 if (PyErr_Occurred()) SWIG_fail
;
11799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11800 (arg1
)->SetChooseFull(arg2
);
11802 wxPyEndAllowThreads(__tstate
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11805 Py_INCREF(Py_None
); resultobj
= Py_None
;
11812 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11813 PyObject
*resultobj
;
11814 wxColourData
*arg1
= (wxColourData
*) 0 ;
11815 wxColour
*arg2
= 0 ;
11817 PyObject
* obj0
= 0 ;
11818 PyObject
* obj1
= 0 ;
11819 char *kwnames
[] = {
11820 (char *) "self",(char *) "colour", NULL
11823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11828 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11832 (arg1
)->SetColour((wxColour
const &)*arg2
);
11834 wxPyEndAllowThreads(__tstate
);
11835 if (PyErr_Occurred()) SWIG_fail
;
11837 Py_INCREF(Py_None
); resultobj
= Py_None
;
11844 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11845 PyObject
*resultobj
;
11846 wxColourData
*arg1
= (wxColourData
*) 0 ;
11848 wxColour
*arg3
= 0 ;
11850 PyObject
* obj0
= 0 ;
11851 PyObject
* obj1
= 0 ;
11852 PyObject
* obj2
= 0 ;
11853 char *kwnames
[] = {
11854 (char *) "self",(char *) "i",(char *) "colour", NULL
11857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11860 arg2
= (int)SWIG_As_int(obj1
);
11861 if (PyErr_Occurred()) SWIG_fail
;
11864 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11868 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11870 wxPyEndAllowThreads(__tstate
);
11871 if (PyErr_Occurred()) SWIG_fail
;
11873 Py_INCREF(Py_None
); resultobj
= Py_None
;
11880 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
11882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11883 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11885 return Py_BuildValue((char *)"");
11887 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11888 PyObject
*resultobj
;
11889 wxWindow
*arg1
= (wxWindow
*) 0 ;
11890 wxColourData
*arg2
= (wxColourData
*) NULL
;
11891 wxColourDialog
*result
;
11892 PyObject
* obj0
= 0 ;
11893 PyObject
* obj1
= 0 ;
11894 char *kwnames
[] = {
11895 (char *) "parent",(char *) "data", NULL
11898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11902 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11906 if (!wxPyCheckForApp()) SWIG_fail
;
11907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11908 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11910 wxPyEndAllowThreads(__tstate
);
11911 if (PyErr_Occurred()) SWIG_fail
;
11913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11920 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11921 PyObject
*resultobj
;
11922 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11923 wxColourData
*result
;
11924 PyObject
* obj0
= 0 ;
11925 char *kwnames
[] = {
11926 (char *) "self", NULL
11929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11935 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11936 result
= (wxColourData
*) &_result_ref
;
11939 wxPyEndAllowThreads(__tstate
);
11940 if (PyErr_Occurred()) SWIG_fail
;
11942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11949 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
11951 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11952 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11954 return Py_BuildValue((char *)"");
11956 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11957 PyObject
*resultobj
;
11958 wxWindow
*arg1
= (wxWindow
*) 0 ;
11959 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11960 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11961 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11962 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11963 long arg4
= (long) 0 ;
11964 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11965 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11966 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11967 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11968 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11969 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11970 wxDirDialog
*result
;
11971 bool temp2
= false ;
11972 bool temp3
= false ;
11975 bool temp7
= false ;
11976 PyObject
* obj0
= 0 ;
11977 PyObject
* obj1
= 0 ;
11978 PyObject
* obj2
= 0 ;
11979 PyObject
* obj3
= 0 ;
11980 PyObject
* obj4
= 0 ;
11981 PyObject
* obj5
= 0 ;
11982 PyObject
* obj6
= 0 ;
11983 char *kwnames
[] = {
11984 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11992 arg2
= wxString_in_helper(obj1
);
11993 if (arg2
== NULL
) SWIG_fail
;
11999 arg3
= wxString_in_helper(obj2
);
12000 if (arg3
== NULL
) SWIG_fail
;
12005 arg4
= (long)SWIG_As_long(obj3
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12011 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12017 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12022 arg7
= wxString_in_helper(obj6
);
12023 if (arg7
== NULL
) SWIG_fail
;
12028 if (!wxPyCheckForApp()) SWIG_fail
;
12029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12030 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
12032 wxPyEndAllowThreads(__tstate
);
12033 if (PyErr_Occurred()) SWIG_fail
;
12035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
12066 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12067 PyObject
*resultobj
;
12068 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12070 PyObject
* obj0
= 0 ;
12071 char *kwnames
[] = {
12072 (char *) "self", NULL
12075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 result
= (arg1
)->GetPath();
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12087 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12089 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12098 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12099 PyObject
*resultobj
;
12100 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12102 PyObject
* obj0
= 0 ;
12103 char *kwnames
[] = {
12104 (char *) "self", NULL
12107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12112 result
= (arg1
)->GetMessage();
12114 wxPyEndAllowThreads(__tstate
);
12115 if (PyErr_Occurred()) SWIG_fail
;
12119 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12121 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12130 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12131 PyObject
*resultobj
;
12132 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12134 PyObject
* obj0
= 0 ;
12135 char *kwnames
[] = {
12136 (char *) "self", NULL
12139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12144 result
= (long)(arg1
)->GetStyle();
12146 wxPyEndAllowThreads(__tstate
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12149 resultobj
= SWIG_From_long((long)result
);
12156 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12157 PyObject
*resultobj
;
12158 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12159 wxString
*arg2
= 0 ;
12160 bool temp2
= false ;
12161 PyObject
* obj0
= 0 ;
12162 PyObject
* obj1
= 0 ;
12163 char *kwnames
[] = {
12164 (char *) "self",(char *) "message", NULL
12167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12171 arg2
= wxString_in_helper(obj1
);
12172 if (arg2
== NULL
) SWIG_fail
;
12176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12177 (arg1
)->SetMessage((wxString
const &)*arg2
);
12179 wxPyEndAllowThreads(__tstate
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12182 Py_INCREF(Py_None
); resultobj
= Py_None
;
12197 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12198 PyObject
*resultobj
;
12199 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12200 wxString
*arg2
= 0 ;
12201 bool temp2
= false ;
12202 PyObject
* obj0
= 0 ;
12203 PyObject
* obj1
= 0 ;
12204 char *kwnames
[] = {
12205 (char *) "self",(char *) "path", NULL
12208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12212 arg2
= wxString_in_helper(obj1
);
12213 if (arg2
== NULL
) SWIG_fail
;
12217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12218 (arg1
)->SetPath((wxString
const &)*arg2
);
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12223 Py_INCREF(Py_None
); resultobj
= Py_None
;
12238 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
12240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12241 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
12243 return Py_BuildValue((char *)"");
12245 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12246 PyObject
*resultobj
;
12247 wxWindow
*arg1
= (wxWindow
*) 0 ;
12248 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
12249 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12250 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12251 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12252 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12253 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12254 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
12255 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
12256 long arg6
= (long) 0 ;
12257 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12258 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12259 wxFileDialog
*result
;
12260 bool temp2
= false ;
12261 bool temp3
= false ;
12262 bool temp4
= false ;
12263 bool temp5
= false ;
12265 PyObject
* obj0
= 0 ;
12266 PyObject
* obj1
= 0 ;
12267 PyObject
* obj2
= 0 ;
12268 PyObject
* obj3
= 0 ;
12269 PyObject
* obj4
= 0 ;
12270 PyObject
* obj5
= 0 ;
12271 PyObject
* obj6
= 0 ;
12272 char *kwnames
[] = {
12273 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12281 arg2
= wxString_in_helper(obj1
);
12282 if (arg2
== NULL
) SWIG_fail
;
12288 arg3
= wxString_in_helper(obj2
);
12289 if (arg3
== NULL
) SWIG_fail
;
12295 arg4
= wxString_in_helper(obj3
);
12296 if (arg4
== NULL
) SWIG_fail
;
12302 arg5
= wxString_in_helper(obj4
);
12303 if (arg5
== NULL
) SWIG_fail
;
12308 arg6
= (long)SWIG_As_long(obj5
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12314 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12318 if (!wxPyCheckForApp()) SWIG_fail
;
12319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
12322 wxPyEndAllowThreads(__tstate
);
12323 if (PyErr_Occurred()) SWIG_fail
;
12325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
12364 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12365 PyObject
*resultobj
;
12366 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12367 wxString
*arg2
= 0 ;
12368 bool temp2
= false ;
12369 PyObject
* obj0
= 0 ;
12370 PyObject
* obj1
= 0 ;
12371 char *kwnames
[] = {
12372 (char *) "self",(char *) "message", NULL
12375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12379 arg2
= wxString_in_helper(obj1
);
12380 if (arg2
== NULL
) SWIG_fail
;
12384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12385 (arg1
)->SetMessage((wxString
const &)*arg2
);
12387 wxPyEndAllowThreads(__tstate
);
12388 if (PyErr_Occurred()) SWIG_fail
;
12390 Py_INCREF(Py_None
); resultobj
= Py_None
;
12405 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12406 PyObject
*resultobj
;
12407 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12408 wxString
*arg2
= 0 ;
12409 bool temp2
= false ;
12410 PyObject
* obj0
= 0 ;
12411 PyObject
* obj1
= 0 ;
12412 char *kwnames
[] = {
12413 (char *) "self",(char *) "path", NULL
12416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12420 arg2
= wxString_in_helper(obj1
);
12421 if (arg2
== NULL
) SWIG_fail
;
12425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12426 (arg1
)->SetPath((wxString
const &)*arg2
);
12428 wxPyEndAllowThreads(__tstate
);
12429 if (PyErr_Occurred()) SWIG_fail
;
12431 Py_INCREF(Py_None
); resultobj
= Py_None
;
12446 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12447 PyObject
*resultobj
;
12448 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12449 wxString
*arg2
= 0 ;
12450 bool temp2
= false ;
12451 PyObject
* obj0
= 0 ;
12452 PyObject
* obj1
= 0 ;
12453 char *kwnames
[] = {
12454 (char *) "self",(char *) "dir", NULL
12457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
12458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12461 arg2
= wxString_in_helper(obj1
);
12462 if (arg2
== NULL
) SWIG_fail
;
12466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12467 (arg1
)->SetDirectory((wxString
const &)*arg2
);
12469 wxPyEndAllowThreads(__tstate
);
12470 if (PyErr_Occurred()) SWIG_fail
;
12472 Py_INCREF(Py_None
); resultobj
= Py_None
;
12487 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12488 PyObject
*resultobj
;
12489 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12490 wxString
*arg2
= 0 ;
12491 bool temp2
= false ;
12492 PyObject
* obj0
= 0 ;
12493 PyObject
* obj1
= 0 ;
12494 char *kwnames
[] = {
12495 (char *) "self",(char *) "name", NULL
12498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
12499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12502 arg2
= wxString_in_helper(obj1
);
12503 if (arg2
== NULL
) SWIG_fail
;
12507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12508 (arg1
)->SetFilename((wxString
const &)*arg2
);
12510 wxPyEndAllowThreads(__tstate
);
12511 if (PyErr_Occurred()) SWIG_fail
;
12513 Py_INCREF(Py_None
); resultobj
= Py_None
;
12528 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12529 PyObject
*resultobj
;
12530 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12531 wxString
*arg2
= 0 ;
12532 bool temp2
= false ;
12533 PyObject
* obj0
= 0 ;
12534 PyObject
* obj1
= 0 ;
12535 char *kwnames
[] = {
12536 (char *) "self",(char *) "wildCard", NULL
12539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
12540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12543 arg2
= wxString_in_helper(obj1
);
12544 if (arg2
== NULL
) SWIG_fail
;
12548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12549 (arg1
)->SetWildcard((wxString
const &)*arg2
);
12551 wxPyEndAllowThreads(__tstate
);
12552 if (PyErr_Occurred()) SWIG_fail
;
12554 Py_INCREF(Py_None
); resultobj
= Py_None
;
12569 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12570 PyObject
*resultobj
;
12571 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12573 PyObject
* obj0
= 0 ;
12574 PyObject
* obj1
= 0 ;
12575 char *kwnames
[] = {
12576 (char *) "self",(char *) "style", NULL
12579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12582 arg2
= (long)SWIG_As_long(obj1
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12586 (arg1
)->SetStyle(arg2
);
12588 wxPyEndAllowThreads(__tstate
);
12589 if (PyErr_Occurred()) SWIG_fail
;
12591 Py_INCREF(Py_None
); resultobj
= Py_None
;
12598 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12599 PyObject
*resultobj
;
12600 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12602 PyObject
* obj0
= 0 ;
12603 PyObject
* obj1
= 0 ;
12604 char *kwnames
[] = {
12605 (char *) "self",(char *) "filterIndex", NULL
12608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12611 arg2
= (int)SWIG_As_int(obj1
);
12612 if (PyErr_Occurred()) SWIG_fail
;
12614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12615 (arg1
)->SetFilterIndex(arg2
);
12617 wxPyEndAllowThreads(__tstate
);
12618 if (PyErr_Occurred()) SWIG_fail
;
12620 Py_INCREF(Py_None
); resultobj
= Py_None
;
12627 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12628 PyObject
*resultobj
;
12629 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12631 PyObject
* obj0
= 0 ;
12632 char *kwnames
[] = {
12633 (char *) "self", NULL
12636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12641 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12643 wxPyEndAllowThreads(__tstate
);
12644 if (PyErr_Occurred()) SWIG_fail
;
12648 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12650 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12659 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12660 PyObject
*resultobj
;
12661 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12663 PyObject
* obj0
= 0 ;
12664 char *kwnames
[] = {
12665 (char *) "self", NULL
12668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12673 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12675 wxPyEndAllowThreads(__tstate
);
12676 if (PyErr_Occurred()) SWIG_fail
;
12680 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12682 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12691 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12692 PyObject
*resultobj
;
12693 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12695 PyObject
* obj0
= 0 ;
12696 char *kwnames
[] = {
12697 (char *) "self", NULL
12700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12705 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12707 wxPyEndAllowThreads(__tstate
);
12708 if (PyErr_Occurred()) SWIG_fail
;
12712 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12714 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12723 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12724 PyObject
*resultobj
;
12725 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12727 PyObject
* obj0
= 0 ;
12728 char *kwnames
[] = {
12729 (char *) "self", NULL
12732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12737 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12739 wxPyEndAllowThreads(__tstate
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12744 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12746 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12755 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12756 PyObject
*resultobj
;
12757 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12759 PyObject
* obj0
= 0 ;
12760 char *kwnames
[] = {
12761 (char *) "self", NULL
12764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12769 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12776 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12778 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12787 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12788 PyObject
*resultobj
;
12789 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12791 PyObject
* obj0
= 0 ;
12792 char *kwnames
[] = {
12793 (char *) "self", NULL
12796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12801 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12803 wxPyEndAllowThreads(__tstate
);
12804 if (PyErr_Occurred()) SWIG_fail
;
12806 resultobj
= SWIG_From_long((long)result
);
12813 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12814 PyObject
*resultobj
;
12815 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12817 PyObject
* obj0
= 0 ;
12818 char *kwnames
[] = {
12819 (char *) "self", NULL
12822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12827 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12829 wxPyEndAllowThreads(__tstate
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12832 resultobj
= SWIG_From_int((int)result
);
12839 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12840 PyObject
*resultobj
;
12841 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12843 PyObject
* obj0
= 0 ;
12844 char *kwnames
[] = {
12845 (char *) "self", NULL
12848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12853 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12855 wxPyEndAllowThreads(__tstate
);
12856 if (PyErr_Occurred()) SWIG_fail
;
12858 resultobj
= result
;
12865 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12866 PyObject
*resultobj
;
12867 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12869 PyObject
* obj0
= 0 ;
12870 char *kwnames
[] = {
12871 (char *) "self", NULL
12874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12879 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 resultobj
= result
;
12891 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
12893 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12894 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12896 return Py_BuildValue((char *)"");
12898 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12899 PyObject
*resultobj
;
12900 wxWindow
*arg1
= (wxWindow
*) 0 ;
12901 wxString
*arg2
= 0 ;
12902 wxString
*arg3
= 0 ;
12903 int arg4
= (int) 0 ;
12904 wxString
*arg5
= (wxString
*) NULL
;
12905 long arg6
= (long) wxCHOICEDLG_STYLE
;
12906 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12907 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12908 wxMultiChoiceDialog
*result
;
12909 bool temp2
= false ;
12910 bool temp3
= false ;
12912 PyObject
* obj0
= 0 ;
12913 PyObject
* obj1
= 0 ;
12914 PyObject
* obj2
= 0 ;
12915 PyObject
* obj3
= 0 ;
12916 PyObject
* obj4
= 0 ;
12917 PyObject
* obj5
= 0 ;
12918 char *kwnames
[] = {
12919 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12926 arg2
= wxString_in_helper(obj1
);
12927 if (arg2
== NULL
) SWIG_fail
;
12931 arg3
= wxString_in_helper(obj2
);
12932 if (arg3
== NULL
) SWIG_fail
;
12937 arg4
= PyList_Size(obj3
);
12938 arg5
= wxString_LIST_helper(obj3
);
12939 if (arg5
== NULL
) SWIG_fail
;
12943 arg6
= (long)SWIG_As_long(obj4
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12949 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12953 if (!wxPyCheckForApp()) SWIG_fail
;
12954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12955 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12957 wxPyEndAllowThreads(__tstate
);
12958 if (PyErr_Occurred()) SWIG_fail
;
12960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12970 if (arg5
) delete [] arg5
;
12983 if (arg5
) delete [] arg5
;
12989 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12990 PyObject
*resultobj
;
12991 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12992 wxArrayInt
*arg2
= 0 ;
12993 bool temp2
= false ;
12994 PyObject
* obj0
= 0 ;
12995 PyObject
* obj1
= 0 ;
12996 char *kwnames
[] = {
12997 (char *) "self",(char *) "selections", NULL
13000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
13001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
13002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13004 if (! PySequence_Check(obj1
)) {
13005 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
13008 arg2
= new wxArrayInt
;
13010 int i
, len
=PySequence_Length(obj1
);
13011 for (i
=0; i
<len
; i
++) {
13012 PyObject
* item
= PySequence_GetItem(obj1
, i
);
13013 PyObject
* number
= PyNumber_Int(item
);
13014 arg2
->Add(PyInt_AS_LONG(number
));
13020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13021 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
13023 wxPyEndAllowThreads(__tstate
);
13024 if (PyErr_Occurred()) SWIG_fail
;
13026 Py_INCREF(Py_None
); resultobj
= Py_None
;
13028 if (temp2
) delete arg2
;
13033 if (temp2
) delete arg2
;
13039 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13040 PyObject
*resultobj
;
13041 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
13043 PyObject
* obj0
= 0 ;
13044 char *kwnames
[] = {
13045 (char *) "self", NULL
13048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
13049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
13050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13053 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
13055 wxPyEndAllowThreads(__tstate
);
13056 if (PyErr_Occurred()) SWIG_fail
;
13058 resultobj
= result
;
13065 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
13067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13068 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
13070 return Py_BuildValue((char *)"");
13072 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13073 PyObject
*resultobj
;
13074 wxWindow
*arg1
= (wxWindow
*) 0 ;
13075 wxString
*arg2
= 0 ;
13076 wxString
*arg3
= 0 ;
13078 wxString
*arg5
= (wxString
*) 0 ;
13079 long arg6
= (long) wxCHOICEDLG_STYLE
;
13080 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13081 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13082 wxSingleChoiceDialog
*result
;
13083 bool temp2
= false ;
13084 bool temp3
= false ;
13086 PyObject
* obj0
= 0 ;
13087 PyObject
* obj1
= 0 ;
13088 PyObject
* obj2
= 0 ;
13089 PyObject
* obj3
= 0 ;
13090 PyObject
* obj4
= 0 ;
13091 PyObject
* obj5
= 0 ;
13092 char *kwnames
[] = {
13093 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
13096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13100 arg2
= wxString_in_helper(obj1
);
13101 if (arg2
== NULL
) SWIG_fail
;
13105 arg3
= wxString_in_helper(obj2
);
13106 if (arg3
== NULL
) SWIG_fail
;
13110 arg4
= PyList_Size(obj3
);
13111 arg5
= wxString_LIST_helper(obj3
);
13112 if (arg5
== NULL
) SWIG_fail
;
13115 arg6
= (long)SWIG_As_long(obj4
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13121 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
13125 if (!wxPyCheckForApp()) SWIG_fail
;
13126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13127 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
13129 wxPyEndAllowThreads(__tstate
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
13142 if (arg5
) delete [] arg5
;
13155 if (arg5
) delete [] arg5
;
13161 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13162 PyObject
*resultobj
;
13163 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13165 PyObject
* obj0
= 0 ;
13166 char *kwnames
[] = {
13167 (char *) "self", NULL
13170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
13171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 result
= (int)(arg1
)->GetSelection();
13177 wxPyEndAllowThreads(__tstate
);
13178 if (PyErr_Occurred()) SWIG_fail
;
13180 resultobj
= SWIG_From_int((int)result
);
13187 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13188 PyObject
*resultobj
;
13189 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13191 PyObject
* obj0
= 0 ;
13192 char *kwnames
[] = {
13193 (char *) "self", NULL
13196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13201 result
= (arg1
)->GetStringSelection();
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13219 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13220 PyObject
*resultobj
;
13221 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13223 PyObject
* obj0
= 0 ;
13224 PyObject
* obj1
= 0 ;
13225 char *kwnames
[] = {
13226 (char *) "self",(char *) "sel", NULL
13229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13232 arg2
= (int)SWIG_As_int(obj1
);
13233 if (PyErr_Occurred()) SWIG_fail
;
13235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13236 (arg1
)->SetSelection(arg2
);
13238 wxPyEndAllowThreads(__tstate
);
13239 if (PyErr_Occurred()) SWIG_fail
;
13241 Py_INCREF(Py_None
); resultobj
= Py_None
;
13248 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
13250 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13251 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
13253 return Py_BuildValue((char *)"");
13255 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13256 PyObject
*resultobj
;
13257 wxWindow
*arg1
= (wxWindow
*) 0 ;
13258 wxString
*arg2
= 0 ;
13259 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
13260 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13261 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13262 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13263 long arg5
= (long) wxTextEntryDialogStyle
;
13264 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
13265 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
13266 wxTextEntryDialog
*result
;
13267 bool temp2
= false ;
13268 bool temp3
= false ;
13269 bool temp4
= false ;
13271 PyObject
* obj0
= 0 ;
13272 PyObject
* obj1
= 0 ;
13273 PyObject
* obj2
= 0 ;
13274 PyObject
* obj3
= 0 ;
13275 PyObject
* obj4
= 0 ;
13276 PyObject
* obj5
= 0 ;
13277 char *kwnames
[] = {
13278 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13285 arg2
= wxString_in_helper(obj1
);
13286 if (arg2
== NULL
) SWIG_fail
;
13291 arg3
= wxString_in_helper(obj2
);
13292 if (arg3
== NULL
) SWIG_fail
;
13298 arg4
= wxString_in_helper(obj3
);
13299 if (arg4
== NULL
) SWIG_fail
;
13304 arg5
= (long)SWIG_As_long(obj4
);
13305 if (PyErr_Occurred()) SWIG_fail
;
13310 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13314 if (!wxPyCheckForApp()) SWIG_fail
;
13315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13316 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
13318 wxPyEndAllowThreads(__tstate
);
13319 if (PyErr_Occurred()) SWIG_fail
;
13321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
13352 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13353 PyObject
*resultobj
;
13354 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13356 PyObject
* obj0
= 0 ;
13357 char *kwnames
[] = {
13358 (char *) "self", NULL
13361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
13362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13366 result
= (arg1
)->GetValue();
13368 wxPyEndAllowThreads(__tstate
);
13369 if (PyErr_Occurred()) SWIG_fail
;
13373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13384 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13385 PyObject
*resultobj
;
13386 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13387 wxString
*arg2
= 0 ;
13388 bool temp2
= false ;
13389 PyObject
* obj0
= 0 ;
13390 PyObject
* obj1
= 0 ;
13391 char *kwnames
[] = {
13392 (char *) "self",(char *) "value", NULL
13395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13399 arg2
= wxString_in_helper(obj1
);
13400 if (arg2
== NULL
) SWIG_fail
;
13404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13405 (arg1
)->SetValue((wxString
const &)*arg2
);
13407 wxPyEndAllowThreads(__tstate
);
13408 if (PyErr_Occurred()) SWIG_fail
;
13410 Py_INCREF(Py_None
); resultobj
= Py_None
;
13425 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
13427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13428 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
13430 return Py_BuildValue((char *)"");
13432 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
13433 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
13438 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get() {
13443 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
13445 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
13452 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13453 PyObject
*resultobj
;
13454 wxWindow
*arg1
= (wxWindow
*) 0 ;
13455 wxString
*arg2
= 0 ;
13456 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
13457 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13458 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13459 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13460 long arg5
= (long) wxTextEntryDialogStyle
;
13461 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
13462 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
13463 wxPasswordEntryDialog
*result
;
13464 bool temp2
= false ;
13465 bool temp3
= false ;
13466 bool temp4
= false ;
13468 PyObject
* obj0
= 0 ;
13469 PyObject
* obj1
= 0 ;
13470 PyObject
* obj2
= 0 ;
13471 PyObject
* obj3
= 0 ;
13472 PyObject
* obj4
= 0 ;
13473 PyObject
* obj5
= 0 ;
13474 char *kwnames
[] = {
13475 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
13478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13482 arg2
= wxString_in_helper(obj1
);
13483 if (arg2
== NULL
) SWIG_fail
;
13488 arg3
= wxString_in_helper(obj2
);
13489 if (arg3
== NULL
) SWIG_fail
;
13495 arg4
= wxString_in_helper(obj3
);
13496 if (arg4
== NULL
) SWIG_fail
;
13501 arg5
= (long)SWIG_As_long(obj4
);
13502 if (PyErr_Occurred()) SWIG_fail
;
13507 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13512 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
13514 wxPyEndAllowThreads(__tstate
);
13515 if (PyErr_Occurred()) SWIG_fail
;
13517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
13548 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
13550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13551 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
13553 return Py_BuildValue((char *)"");
13555 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13556 PyObject
*resultobj
;
13557 wxFontData
*result
;
13558 char *kwnames
[] = {
13562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
13564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13565 result
= (wxFontData
*)new wxFontData();
13567 wxPyEndAllowThreads(__tstate
);
13568 if (PyErr_Occurred()) SWIG_fail
;
13570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
13577 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13578 PyObject
*resultobj
;
13579 wxFontData
*arg1
= (wxFontData
*) 0 ;
13580 PyObject
* obj0
= 0 ;
13581 char *kwnames
[] = {
13582 (char *) "self", NULL
13585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
13586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13592 wxPyEndAllowThreads(__tstate
);
13593 if (PyErr_Occurred()) SWIG_fail
;
13595 Py_INCREF(Py_None
); resultobj
= Py_None
;
13602 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13603 PyObject
*resultobj
;
13604 wxFontData
*arg1
= (wxFontData
*) 0 ;
13606 PyObject
* obj0
= 0 ;
13607 PyObject
* obj1
= 0 ;
13608 char *kwnames
[] = {
13609 (char *) "self",(char *) "enable", NULL
13612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
13613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13615 arg2
= (bool)SWIG_As_bool(obj1
);
13616 if (PyErr_Occurred()) SWIG_fail
;
13618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13619 (arg1
)->EnableEffects(arg2
);
13621 wxPyEndAllowThreads(__tstate
);
13622 if (PyErr_Occurred()) SWIG_fail
;
13624 Py_INCREF(Py_None
); resultobj
= Py_None
;
13631 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13632 PyObject
*resultobj
;
13633 wxFontData
*arg1
= (wxFontData
*) 0 ;
13635 PyObject
* obj0
= 0 ;
13636 char *kwnames
[] = {
13637 (char *) "self", NULL
13640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
13641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13645 result
= (bool)(arg1
)->GetAllowSymbols();
13647 wxPyEndAllowThreads(__tstate
);
13648 if (PyErr_Occurred()) SWIG_fail
;
13651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13659 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13660 PyObject
*resultobj
;
13661 wxFontData
*arg1
= (wxFontData
*) 0 ;
13663 PyObject
* obj0
= 0 ;
13664 char *kwnames
[] = {
13665 (char *) "self", NULL
13668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
13669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13673 result
= (arg1
)->GetColour();
13675 wxPyEndAllowThreads(__tstate
);
13676 if (PyErr_Occurred()) SWIG_fail
;
13679 wxColour
* resultptr
;
13680 resultptr
= new wxColour((wxColour
&) result
);
13681 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13689 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13690 PyObject
*resultobj
;
13691 wxFontData
*arg1
= (wxFontData
*) 0 ;
13693 PyObject
* obj0
= 0 ;
13694 char *kwnames
[] = {
13695 (char *) "self", NULL
13698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13703 result
= (arg1
)->GetChosenFont();
13705 wxPyEndAllowThreads(__tstate
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13709 wxFont
* resultptr
;
13710 resultptr
= new wxFont((wxFont
&) result
);
13711 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13719 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13720 PyObject
*resultobj
;
13721 wxFontData
*arg1
= (wxFontData
*) 0 ;
13723 PyObject
* obj0
= 0 ;
13724 char *kwnames
[] = {
13725 (char *) "self", NULL
13728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13733 result
= (bool)(arg1
)->GetEnableEffects();
13735 wxPyEndAllowThreads(__tstate
);
13736 if (PyErr_Occurred()) SWIG_fail
;
13739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13747 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13748 PyObject
*resultobj
;
13749 wxFontData
*arg1
= (wxFontData
*) 0 ;
13751 PyObject
* obj0
= 0 ;
13752 char *kwnames
[] = {
13753 (char *) "self", NULL
13756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13761 result
= (arg1
)->GetInitialFont();
13763 wxPyEndAllowThreads(__tstate
);
13764 if (PyErr_Occurred()) SWIG_fail
;
13767 wxFont
* resultptr
;
13768 resultptr
= new wxFont((wxFont
&) result
);
13769 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13777 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13778 PyObject
*resultobj
;
13779 wxFontData
*arg1
= (wxFontData
*) 0 ;
13781 PyObject
* obj0
= 0 ;
13782 char *kwnames
[] = {
13783 (char *) "self", NULL
13786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13791 result
= (bool)(arg1
)->GetShowHelp();
13793 wxPyEndAllowThreads(__tstate
);
13794 if (PyErr_Occurred()) SWIG_fail
;
13797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13805 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13806 PyObject
*resultobj
;
13807 wxFontData
*arg1
= (wxFontData
*) 0 ;
13809 PyObject
* obj0
= 0 ;
13810 PyObject
* obj1
= 0 ;
13811 char *kwnames
[] = {
13812 (char *) "self",(char *) "allowSymbols", NULL
13815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13818 arg2
= (bool)SWIG_As_bool(obj1
);
13819 if (PyErr_Occurred()) SWIG_fail
;
13821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13822 (arg1
)->SetAllowSymbols(arg2
);
13824 wxPyEndAllowThreads(__tstate
);
13825 if (PyErr_Occurred()) SWIG_fail
;
13827 Py_INCREF(Py_None
); resultobj
= Py_None
;
13834 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13835 PyObject
*resultobj
;
13836 wxFontData
*arg1
= (wxFontData
*) 0 ;
13838 PyObject
* obj0
= 0 ;
13839 PyObject
* obj1
= 0 ;
13840 char *kwnames
[] = {
13841 (char *) "self",(char *) "font", NULL
13844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13850 if (arg2
== NULL
) {
13851 PyErr_SetString(PyExc_TypeError
,"null reference");
13855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13856 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13858 wxPyEndAllowThreads(__tstate
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13861 Py_INCREF(Py_None
); resultobj
= Py_None
;
13868 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13869 PyObject
*resultobj
;
13870 wxFontData
*arg1
= (wxFontData
*) 0 ;
13871 wxColour
*arg2
= 0 ;
13873 PyObject
* obj0
= 0 ;
13874 PyObject
* obj1
= 0 ;
13875 char *kwnames
[] = {
13876 (char *) "self",(char *) "colour", NULL
13879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13884 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13888 (arg1
)->SetColour((wxColour
const &)*arg2
);
13890 wxPyEndAllowThreads(__tstate
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13893 Py_INCREF(Py_None
); resultobj
= Py_None
;
13900 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13901 PyObject
*resultobj
;
13902 wxFontData
*arg1
= (wxFontData
*) 0 ;
13904 PyObject
* obj0
= 0 ;
13905 PyObject
* obj1
= 0 ;
13906 char *kwnames
[] = {
13907 (char *) "self",(char *) "font", NULL
13910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13913 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13914 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13916 if (arg2
== NULL
) {
13917 PyErr_SetString(PyExc_TypeError
,"null reference");
13921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13922 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13924 wxPyEndAllowThreads(__tstate
);
13925 if (PyErr_Occurred()) SWIG_fail
;
13927 Py_INCREF(Py_None
); resultobj
= Py_None
;
13934 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13935 PyObject
*resultobj
;
13936 wxFontData
*arg1
= (wxFontData
*) 0 ;
13939 PyObject
* obj0
= 0 ;
13940 PyObject
* obj1
= 0 ;
13941 PyObject
* obj2
= 0 ;
13942 char *kwnames
[] = {
13943 (char *) "self",(char *) "min",(char *) "max", NULL
13946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13949 arg2
= (int)SWIG_As_int(obj1
);
13950 if (PyErr_Occurred()) SWIG_fail
;
13951 arg3
= (int)SWIG_As_int(obj2
);
13952 if (PyErr_Occurred()) SWIG_fail
;
13954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13955 (arg1
)->SetRange(arg2
,arg3
);
13957 wxPyEndAllowThreads(__tstate
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13960 Py_INCREF(Py_None
); resultobj
= Py_None
;
13967 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13968 PyObject
*resultobj
;
13969 wxFontData
*arg1
= (wxFontData
*) 0 ;
13971 PyObject
* obj0
= 0 ;
13972 PyObject
* obj1
= 0 ;
13973 char *kwnames
[] = {
13974 (char *) "self",(char *) "showHelp", NULL
13977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13980 arg2
= (bool)SWIG_As_bool(obj1
);
13981 if (PyErr_Occurred()) SWIG_fail
;
13983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13984 (arg1
)->SetShowHelp(arg2
);
13986 wxPyEndAllowThreads(__tstate
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13989 Py_INCREF(Py_None
); resultobj
= Py_None
;
13996 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
13998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13999 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
14001 return Py_BuildValue((char *)"");
14003 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14004 PyObject
*resultobj
;
14005 wxWindow
*arg1
= (wxWindow
*) 0 ;
14006 wxFontData
*arg2
= 0 ;
14007 wxFontDialog
*result
;
14008 PyObject
* obj0
= 0 ;
14009 PyObject
* obj1
= 0 ;
14010 char *kwnames
[] = {
14011 (char *) "parent",(char *) "data", NULL
14014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
14015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14017 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
14018 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14020 if (arg2
== NULL
) {
14021 PyErr_SetString(PyExc_TypeError
,"null reference");
14025 if (!wxPyCheckForApp()) SWIG_fail
;
14026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14027 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
14029 wxPyEndAllowThreads(__tstate
);
14030 if (PyErr_Occurred()) SWIG_fail
;
14032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
14039 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14040 PyObject
*resultobj
;
14041 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
14042 wxFontData
*result
;
14043 PyObject
* obj0
= 0 ;
14044 char *kwnames
[] = {
14045 (char *) "self", NULL
14048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
14049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
14050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14054 wxFontData
&_result_ref
= (arg1
)->GetFontData();
14055 result
= (wxFontData
*) &_result_ref
;
14058 wxPyEndAllowThreads(__tstate
);
14059 if (PyErr_Occurred()) SWIG_fail
;
14061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
14068 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
14070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14071 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
14073 return Py_BuildValue((char *)"");
14075 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14076 PyObject
*resultobj
;
14077 wxWindow
*arg1
= (wxWindow
*) 0 ;
14078 wxString
*arg2
= 0 ;
14079 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
14080 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14081 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
14082 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14083 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14084 wxMessageDialog
*result
;
14085 bool temp2
= false ;
14086 bool temp3
= false ;
14088 PyObject
* obj0
= 0 ;
14089 PyObject
* obj1
= 0 ;
14090 PyObject
* obj2
= 0 ;
14091 PyObject
* obj3
= 0 ;
14092 PyObject
* obj4
= 0 ;
14093 char *kwnames
[] = {
14094 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
14097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14101 arg2
= wxString_in_helper(obj1
);
14102 if (arg2
== NULL
) SWIG_fail
;
14107 arg3
= wxString_in_helper(obj2
);
14108 if (arg3
== NULL
) SWIG_fail
;
14113 arg4
= (long)SWIG_As_long(obj3
);
14114 if (PyErr_Occurred()) SWIG_fail
;
14119 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14123 if (!wxPyCheckForApp()) SWIG_fail
;
14124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14125 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
14127 wxPyEndAllowThreads(__tstate
);
14128 if (PyErr_Occurred()) SWIG_fail
;
14130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
14153 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
14155 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14156 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
14158 return Py_BuildValue((char *)"");
14160 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14161 PyObject
*resultobj
;
14162 wxString
*arg1
= 0 ;
14163 wxString
*arg2
= 0 ;
14164 int arg3
= (int) 100 ;
14165 wxWindow
*arg4
= (wxWindow
*) NULL
;
14166 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
14167 wxProgressDialog
*result
;
14168 bool temp1
= false ;
14169 bool temp2
= false ;
14170 PyObject
* obj0
= 0 ;
14171 PyObject
* obj1
= 0 ;
14172 PyObject
* obj2
= 0 ;
14173 PyObject
* obj3
= 0 ;
14174 PyObject
* obj4
= 0 ;
14175 char *kwnames
[] = {
14176 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
14179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14181 arg1
= wxString_in_helper(obj0
);
14182 if (arg1
== NULL
) SWIG_fail
;
14186 arg2
= wxString_in_helper(obj1
);
14187 if (arg2
== NULL
) SWIG_fail
;
14191 arg3
= (int)SWIG_As_int(obj2
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14195 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
14196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14199 arg5
= (int)SWIG_As_int(obj4
);
14200 if (PyErr_Occurred()) SWIG_fail
;
14203 if (!wxPyCheckForApp()) SWIG_fail
;
14204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14205 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
14207 wxPyEndAllowThreads(__tstate
);
14208 if (PyErr_Occurred()) SWIG_fail
;
14210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
14233 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14234 PyObject
*resultobj
;
14235 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
14237 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14238 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14240 bool temp3
= false ;
14241 PyObject
* obj0
= 0 ;
14242 PyObject
* obj1
= 0 ;
14243 PyObject
* obj2
= 0 ;
14244 char *kwnames
[] = {
14245 (char *) "self",(char *) "value",(char *) "newmsg", NULL
14248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
14250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14251 arg2
= (int)SWIG_As_int(obj1
);
14252 if (PyErr_Occurred()) SWIG_fail
;
14255 arg3
= wxString_in_helper(obj2
);
14256 if (arg3
== NULL
) SWIG_fail
;
14261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14262 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
14264 wxPyEndAllowThreads(__tstate
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14284 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14285 PyObject
*resultobj
;
14286 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
14287 PyObject
* obj0
= 0 ;
14288 char *kwnames
[] = {
14289 (char *) "self", NULL
14292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
14293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
14294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14299 wxPyEndAllowThreads(__tstate
);
14300 if (PyErr_Occurred()) SWIG_fail
;
14302 Py_INCREF(Py_None
); resultobj
= Py_None
;
14309 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
14311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14312 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
14314 return Py_BuildValue((char *)"");
14316 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14317 PyObject
*resultobj
;
14318 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14319 int arg2
= (int) 0 ;
14320 wxFindDialogEvent
*result
;
14321 PyObject
* obj0
= 0 ;
14322 PyObject
* obj1
= 0 ;
14323 char *kwnames
[] = {
14324 (char *) "commandType",(char *) "id", NULL
14327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14329 arg1
= (wxEventType
)SWIG_As_int(obj0
);
14330 if (PyErr_Occurred()) SWIG_fail
;
14333 arg2
= (int)SWIG_As_int(obj1
);
14334 if (PyErr_Occurred()) SWIG_fail
;
14337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14338 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
14350 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
*resultobj
;
14352 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14354 PyObject
* obj0
= 0 ;
14355 char *kwnames
[] = {
14356 (char *) "self", NULL
14359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
14360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14364 result
= (int)(arg1
)->GetFlags();
14366 wxPyEndAllowThreads(__tstate
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14369 resultobj
= SWIG_From_int((int)result
);
14376 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14377 PyObject
*resultobj
;
14378 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14380 PyObject
* obj0
= 0 ;
14381 char *kwnames
[] = {
14382 (char *) "self", NULL
14385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
14386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14391 wxString
const &_result_ref
= (arg1
)->GetFindString();
14392 result
= (wxString
*) &_result_ref
;
14395 wxPyEndAllowThreads(__tstate
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14400 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14402 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14411 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14412 PyObject
*resultobj
;
14413 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14415 PyObject
* obj0
= 0 ;
14416 char *kwnames
[] = {
14417 (char *) "self", NULL
14420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14426 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14427 result
= (wxString
*) &_result_ref
;
14430 wxPyEndAllowThreads(__tstate
);
14431 if (PyErr_Occurred()) SWIG_fail
;
14435 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14437 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14446 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14447 PyObject
*resultobj
;
14448 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14449 wxFindReplaceDialog
*result
;
14450 PyObject
* obj0
= 0 ;
14451 char *kwnames
[] = {
14452 (char *) "self", NULL
14455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
14456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14460 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
14462 wxPyEndAllowThreads(__tstate
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
14472 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14473 PyObject
*resultobj
;
14474 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14476 PyObject
* obj0
= 0 ;
14477 PyObject
* obj1
= 0 ;
14478 char *kwnames
[] = {
14479 (char *) "self",(char *) "flags", NULL
14482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14485 arg2
= (int)SWIG_As_int(obj1
);
14486 if (PyErr_Occurred()) SWIG_fail
;
14488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14489 (arg1
)->SetFlags(arg2
);
14491 wxPyEndAllowThreads(__tstate
);
14492 if (PyErr_Occurred()) SWIG_fail
;
14494 Py_INCREF(Py_None
); resultobj
= Py_None
;
14501 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14502 PyObject
*resultobj
;
14503 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14504 wxString
*arg2
= 0 ;
14505 bool temp2
= false ;
14506 PyObject
* obj0
= 0 ;
14507 PyObject
* obj1
= 0 ;
14508 char *kwnames
[] = {
14509 (char *) "self",(char *) "str", NULL
14512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14516 arg2
= wxString_in_helper(obj1
);
14517 if (arg2
== NULL
) SWIG_fail
;
14521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14522 (arg1
)->SetFindString((wxString
const &)*arg2
);
14524 wxPyEndAllowThreads(__tstate
);
14525 if (PyErr_Occurred()) SWIG_fail
;
14527 Py_INCREF(Py_None
); resultobj
= Py_None
;
14542 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14543 PyObject
*resultobj
;
14544 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14545 wxString
*arg2
= 0 ;
14546 bool temp2
= false ;
14547 PyObject
* obj0
= 0 ;
14548 PyObject
* obj1
= 0 ;
14549 char *kwnames
[] = {
14550 (char *) "self",(char *) "str", NULL
14553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14557 arg2
= wxString_in_helper(obj1
);
14558 if (arg2
== NULL
) SWIG_fail
;
14562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14563 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14565 wxPyEndAllowThreads(__tstate
);
14566 if (PyErr_Occurred()) SWIG_fail
;
14568 Py_INCREF(Py_None
); resultobj
= Py_None
;
14583 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
14585 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14586 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
14588 return Py_BuildValue((char *)"");
14590 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14591 PyObject
*resultobj
;
14592 int arg1
= (int) 0 ;
14593 wxFindReplaceData
*result
;
14594 PyObject
* obj0
= 0 ;
14595 char *kwnames
[] = {
14596 (char *) "flags", NULL
14599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14601 arg1
= (int)SWIG_As_int(obj0
);
14602 if (PyErr_Occurred()) SWIG_fail
;
14605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14606 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
14608 wxPyEndAllowThreads(__tstate
);
14609 if (PyErr_Occurred()) SWIG_fail
;
14611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
14618 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14619 PyObject
*resultobj
;
14620 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14621 PyObject
* obj0
= 0 ;
14622 char *kwnames
[] = {
14623 (char *) "self", NULL
14626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14633 wxPyEndAllowThreads(__tstate
);
14634 if (PyErr_Occurred()) SWIG_fail
;
14636 Py_INCREF(Py_None
); resultobj
= Py_None
;
14643 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14644 PyObject
*resultobj
;
14645 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14647 PyObject
* obj0
= 0 ;
14648 char *kwnames
[] = {
14649 (char *) "self", NULL
14652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
14653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14658 wxString
const &_result_ref
= (arg1
)->GetFindString();
14659 result
= (wxString
*) &_result_ref
;
14662 wxPyEndAllowThreads(__tstate
);
14663 if (PyErr_Occurred()) SWIG_fail
;
14667 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14669 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14678 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14679 PyObject
*resultobj
;
14680 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14682 PyObject
* obj0
= 0 ;
14683 char *kwnames
[] = {
14684 (char *) "self", NULL
14687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14693 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14694 result
= (wxString
*) &_result_ref
;
14697 wxPyEndAllowThreads(__tstate
);
14698 if (PyErr_Occurred()) SWIG_fail
;
14702 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14704 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14713 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14714 PyObject
*resultobj
;
14715 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14717 PyObject
* obj0
= 0 ;
14718 char *kwnames
[] = {
14719 (char *) "self", NULL
14722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14727 result
= (int)(arg1
)->GetFlags();
14729 wxPyEndAllowThreads(__tstate
);
14730 if (PyErr_Occurred()) SWIG_fail
;
14732 resultobj
= SWIG_From_int((int)result
);
14739 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14740 PyObject
*resultobj
;
14741 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14743 PyObject
* obj0
= 0 ;
14744 PyObject
* obj1
= 0 ;
14745 char *kwnames
[] = {
14746 (char *) "self",(char *) "flags", NULL
14749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14752 arg2
= (int)SWIG_As_int(obj1
);
14753 if (PyErr_Occurred()) SWIG_fail
;
14755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14756 (arg1
)->SetFlags(arg2
);
14758 wxPyEndAllowThreads(__tstate
);
14759 if (PyErr_Occurred()) SWIG_fail
;
14761 Py_INCREF(Py_None
); resultobj
= Py_None
;
14768 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14769 PyObject
*resultobj
;
14770 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14771 wxString
*arg2
= 0 ;
14772 bool temp2
= false ;
14773 PyObject
* obj0
= 0 ;
14774 PyObject
* obj1
= 0 ;
14775 char *kwnames
[] = {
14776 (char *) "self",(char *) "str", NULL
14779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14783 arg2
= wxString_in_helper(obj1
);
14784 if (arg2
== NULL
) SWIG_fail
;
14788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14789 (arg1
)->SetFindString((wxString
const &)*arg2
);
14791 wxPyEndAllowThreads(__tstate
);
14792 if (PyErr_Occurred()) SWIG_fail
;
14794 Py_INCREF(Py_None
); resultobj
= Py_None
;
14809 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14810 PyObject
*resultobj
;
14811 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14812 wxString
*arg2
= 0 ;
14813 bool temp2
= false ;
14814 PyObject
* obj0
= 0 ;
14815 PyObject
* obj1
= 0 ;
14816 char *kwnames
[] = {
14817 (char *) "self",(char *) "str", NULL
14820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14824 arg2
= wxString_in_helper(obj1
);
14825 if (arg2
== NULL
) SWIG_fail
;
14829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14830 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14832 wxPyEndAllowThreads(__tstate
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14835 Py_INCREF(Py_None
); resultobj
= Py_None
;
14850 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
14852 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14853 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14855 return Py_BuildValue((char *)"");
14857 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14858 PyObject
*resultobj
;
14859 wxWindow
*arg1
= (wxWindow
*) 0 ;
14860 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14861 wxString
*arg3
= 0 ;
14862 int arg4
= (int) 0 ;
14863 wxFindReplaceDialog
*result
;
14864 bool temp3
= false ;
14865 PyObject
* obj0
= 0 ;
14866 PyObject
* obj1
= 0 ;
14867 PyObject
* obj2
= 0 ;
14868 PyObject
* obj3
= 0 ;
14869 char *kwnames
[] = {
14870 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14876 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14879 arg3
= wxString_in_helper(obj2
);
14880 if (arg3
== NULL
) SWIG_fail
;
14884 arg4
= (int)SWIG_As_int(obj3
);
14885 if (PyErr_Occurred()) SWIG_fail
;
14888 if (!wxPyCheckForApp()) SWIG_fail
;
14889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14890 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14892 wxPyEndAllowThreads(__tstate
);
14893 if (PyErr_Occurred()) SWIG_fail
;
14895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14910 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14911 PyObject
*resultobj
;
14912 wxFindReplaceDialog
*result
;
14913 char *kwnames
[] = {
14917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14919 if (!wxPyCheckForApp()) SWIG_fail
;
14920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14921 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14923 wxPyEndAllowThreads(__tstate
);
14924 if (PyErr_Occurred()) SWIG_fail
;
14926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14933 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14934 PyObject
*resultobj
;
14935 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14936 wxWindow
*arg2
= (wxWindow
*) 0 ;
14937 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14938 wxString
*arg4
= 0 ;
14939 int arg5
= (int) 0 ;
14941 bool temp4
= false ;
14942 PyObject
* obj0
= 0 ;
14943 PyObject
* obj1
= 0 ;
14944 PyObject
* obj2
= 0 ;
14945 PyObject
* obj3
= 0 ;
14946 PyObject
* obj4
= 0 ;
14947 char *kwnames
[] = {
14948 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14954 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14956 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14959 arg4
= wxString_in_helper(obj3
);
14960 if (arg4
== NULL
) SWIG_fail
;
14964 arg5
= (int)SWIG_As_int(obj4
);
14965 if (PyErr_Occurred()) SWIG_fail
;
14968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14969 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14971 wxPyEndAllowThreads(__tstate
);
14972 if (PyErr_Occurred()) SWIG_fail
;
14975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14991 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14992 PyObject
*resultobj
;
14993 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14994 wxFindReplaceData
*result
;
14995 PyObject
* obj0
= 0 ;
14996 char *kwnames
[] = {
14997 (char *) "self", NULL
15000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
15001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
15002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15005 result
= (wxFindReplaceData
*)(arg1
)->GetData();
15007 wxPyEndAllowThreads(__tstate
);
15008 if (PyErr_Occurred()) SWIG_fail
;
15010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
15017 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15018 PyObject
*resultobj
;
15019 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
15020 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
15021 PyObject
* obj0
= 0 ;
15022 PyObject
* obj1
= 0 ;
15023 char *kwnames
[] = {
15024 (char *) "self",(char *) "data", NULL
15027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
15028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
15029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15030 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
15031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15034 (arg1
)->SetData(arg2
);
15036 wxPyEndAllowThreads(__tstate
);
15037 if (PyErr_Occurred()) SWIG_fail
;
15039 Py_INCREF(Py_None
); resultobj
= Py_None
;
15046 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
15048 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15049 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
15051 return Py_BuildValue((char *)"");
15053 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15054 PyObject
*resultobj
;
15055 wxWindow
*arg1
= (wxWindow
*) 0 ;
15056 int arg2
= (int) (int)-1 ;
15057 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15058 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15059 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15060 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15061 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15062 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15063 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
15064 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
15065 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15066 wxMDIParentFrame
*result
;
15067 bool temp3
= false ;
15070 bool temp7
= false ;
15071 PyObject
* obj0
= 0 ;
15072 PyObject
* obj1
= 0 ;
15073 PyObject
* obj2
= 0 ;
15074 PyObject
* obj3
= 0 ;
15075 PyObject
* obj4
= 0 ;
15076 PyObject
* obj5
= 0 ;
15077 PyObject
* obj6
= 0 ;
15078 char *kwnames
[] = {
15079 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15086 arg2
= (int)SWIG_As_int(obj1
);
15087 if (PyErr_Occurred()) SWIG_fail
;
15091 arg3
= wxString_in_helper(obj2
);
15092 if (arg3
== NULL
) SWIG_fail
;
15099 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15105 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15109 arg6
= (long)SWIG_As_long(obj5
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15114 arg7
= wxString_in_helper(obj6
);
15115 if (arg7
== NULL
) SWIG_fail
;
15120 if (!wxPyCheckForApp()) SWIG_fail
;
15121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15122 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15124 wxPyEndAllowThreads(__tstate
);
15125 if (PyErr_Occurred()) SWIG_fail
;
15127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
15150 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15151 PyObject
*resultobj
;
15152 wxMDIParentFrame
*result
;
15153 char *kwnames
[] = {
15157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
15159 if (!wxPyCheckForApp()) SWIG_fail
;
15160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15161 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
15163 wxPyEndAllowThreads(__tstate
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
15173 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15174 PyObject
*resultobj
;
15175 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15176 wxWindow
*arg2
= (wxWindow
*) 0 ;
15177 int arg3
= (int) (int)-1 ;
15178 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15179 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15180 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15181 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15182 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15183 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15184 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
15185 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15186 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15188 bool temp4
= false ;
15191 bool temp8
= false ;
15192 PyObject
* obj0
= 0 ;
15193 PyObject
* obj1
= 0 ;
15194 PyObject
* obj2
= 0 ;
15195 PyObject
* obj3
= 0 ;
15196 PyObject
* obj4
= 0 ;
15197 PyObject
* obj5
= 0 ;
15198 PyObject
* obj6
= 0 ;
15199 PyObject
* obj7
= 0 ;
15200 char *kwnames
[] = {
15201 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15207 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15210 arg3
= (int)SWIG_As_int(obj2
);
15211 if (PyErr_Occurred()) SWIG_fail
;
15215 arg4
= wxString_in_helper(obj3
);
15216 if (arg4
== NULL
) SWIG_fail
;
15223 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15229 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15233 arg7
= (long)SWIG_As_long(obj6
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15238 arg8
= wxString_in_helper(obj7
);
15239 if (arg8
== NULL
) SWIG_fail
;
15244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15245 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15247 wxPyEndAllowThreads(__tstate
);
15248 if (PyErr_Occurred()) SWIG_fail
;
15251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15275 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15276 PyObject
*resultobj
;
15277 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15278 PyObject
* obj0
= 0 ;
15279 char *kwnames
[] = {
15280 (char *) "self", NULL
15283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
15284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15288 (arg1
)->ActivateNext();
15290 wxPyEndAllowThreads(__tstate
);
15291 if (PyErr_Occurred()) SWIG_fail
;
15293 Py_INCREF(Py_None
); resultobj
= Py_None
;
15300 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15301 PyObject
*resultobj
;
15302 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15303 PyObject
* obj0
= 0 ;
15304 char *kwnames
[] = {
15305 (char *) "self", NULL
15308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
15309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15313 (arg1
)->ActivatePrevious();
15315 wxPyEndAllowThreads(__tstate
);
15316 if (PyErr_Occurred()) SWIG_fail
;
15318 Py_INCREF(Py_None
); resultobj
= Py_None
;
15325 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15326 PyObject
*resultobj
;
15327 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15328 PyObject
* obj0
= 0 ;
15329 char *kwnames
[] = {
15330 (char *) "self", NULL
15333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
15334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15338 (arg1
)->ArrangeIcons();
15340 wxPyEndAllowThreads(__tstate
);
15341 if (PyErr_Occurred()) SWIG_fail
;
15343 Py_INCREF(Py_None
); resultobj
= Py_None
;
15350 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15351 PyObject
*resultobj
;
15352 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15353 PyObject
* obj0
= 0 ;
15354 char *kwnames
[] = {
15355 (char *) "self", NULL
15358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
15359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15365 wxPyEndAllowThreads(__tstate
);
15366 if (PyErr_Occurred()) SWIG_fail
;
15368 Py_INCREF(Py_None
); resultobj
= Py_None
;
15375 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15376 PyObject
*resultobj
;
15377 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15378 wxMDIChildFrame
*result
;
15379 PyObject
* obj0
= 0 ;
15380 char *kwnames
[] = {
15381 (char *) "self", NULL
15384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
15385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15389 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
15391 wxPyEndAllowThreads(__tstate
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15395 resultobj
= wxPyMake_wxObject(result
, 0);
15403 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15404 PyObject
*resultobj
;
15405 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15406 wxMDIClientWindow
*result
;
15407 PyObject
* obj0
= 0 ;
15408 char *kwnames
[] = {
15409 (char *) "self", NULL
15412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
15413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15417 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
15419 wxPyEndAllowThreads(__tstate
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15423 resultobj
= wxPyMake_wxObject(result
, 0);
15431 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15432 PyObject
*resultobj
;
15433 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15435 PyObject
* obj0
= 0 ;
15436 char *kwnames
[] = {
15437 (char *) "self", NULL
15440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
15441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15445 result
= (wxWindow
*)(arg1
)->GetToolBar();
15447 wxPyEndAllowThreads(__tstate
);
15448 if (PyErr_Occurred()) SWIG_fail
;
15451 resultobj
= wxPyMake_wxObject(result
, 0);
15459 static PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15460 PyObject
*resultobj
;
15461 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15463 PyObject
* obj0
= 0 ;
15464 char *kwnames
[] = {
15465 (char *) "self", NULL
15468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames
,&obj0
)) goto fail
;
15469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15473 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
15475 wxPyEndAllowThreads(__tstate
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15479 resultobj
= wxPyMake_wxObject(result
, 0);
15487 static PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15488 PyObject
*resultobj
;
15489 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15490 wxMenu
*arg2
= (wxMenu
*) 0 ;
15491 PyObject
* obj0
= 0 ;
15492 PyObject
* obj1
= 0 ;
15493 char *kwnames
[] = {
15494 (char *) "self",(char *) "menu", NULL
15497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
15498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
15501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15504 (arg1
)->SetWindowMenu(arg2
);
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15509 Py_INCREF(Py_None
); resultobj
= Py_None
;
15516 static PyObject
*_wrap_MDIParentFrame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15517 PyObject
*resultobj
;
15518 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15519 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
15520 PyObject
* obj0
= 0 ;
15521 PyObject
* obj1
= 0 ;
15522 char *kwnames
[] = {
15523 (char *) "self",(char *) "toolbar", NULL
15526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
15527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
15530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15533 (arg1
)->SetToolBar(arg2
);
15535 wxPyEndAllowThreads(__tstate
);
15536 if (PyErr_Occurred()) SWIG_fail
;
15538 Py_INCREF(Py_None
); resultobj
= Py_None
;
15545 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15546 PyObject
*resultobj
;
15547 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15548 PyObject
* obj0
= 0 ;
15549 char *kwnames
[] = {
15550 (char *) "self", NULL
15553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
15554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15560 wxPyEndAllowThreads(__tstate
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15563 Py_INCREF(Py_None
); resultobj
= Py_None
;
15570 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
15572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15573 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
15575 return Py_BuildValue((char *)"");
15577 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15578 PyObject
*resultobj
;
15579 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15580 int arg2
= (int) (int)-1 ;
15581 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15582 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15583 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15584 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15585 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15586 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15587 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
15588 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
15589 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15590 wxMDIChildFrame
*result
;
15591 bool temp3
= false ;
15594 bool temp7
= false ;
15595 PyObject
* obj0
= 0 ;
15596 PyObject
* obj1
= 0 ;
15597 PyObject
* obj2
= 0 ;
15598 PyObject
* obj3
= 0 ;
15599 PyObject
* obj4
= 0 ;
15600 PyObject
* obj5
= 0 ;
15601 PyObject
* obj6
= 0 ;
15602 char *kwnames
[] = {
15603 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15610 arg2
= (int)SWIG_As_int(obj1
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15615 arg3
= wxString_in_helper(obj2
);
15616 if (arg3
== NULL
) SWIG_fail
;
15623 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15629 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15633 arg6
= (long)SWIG_As_long(obj5
);
15634 if (PyErr_Occurred()) SWIG_fail
;
15638 arg7
= wxString_in_helper(obj6
);
15639 if (arg7
== NULL
) SWIG_fail
;
15644 if (!wxPyCheckForApp()) SWIG_fail
;
15645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15646 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15648 wxPyEndAllowThreads(__tstate
);
15649 if (PyErr_Occurred()) SWIG_fail
;
15651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15674 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15675 PyObject
*resultobj
;
15676 wxMDIChildFrame
*result
;
15677 char *kwnames
[] = {
15681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
15683 if (!wxPyCheckForApp()) SWIG_fail
;
15684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15685 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
15687 wxPyEndAllowThreads(__tstate
);
15688 if (PyErr_Occurred()) SWIG_fail
;
15690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15697 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15698 PyObject
*resultobj
;
15699 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15700 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15701 int arg3
= (int) (int)-1 ;
15702 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15703 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15704 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15705 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15706 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15707 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15708 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
15709 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15710 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15712 bool temp4
= false ;
15715 bool temp8
= false ;
15716 PyObject
* obj0
= 0 ;
15717 PyObject
* obj1
= 0 ;
15718 PyObject
* obj2
= 0 ;
15719 PyObject
* obj3
= 0 ;
15720 PyObject
* obj4
= 0 ;
15721 PyObject
* obj5
= 0 ;
15722 PyObject
* obj6
= 0 ;
15723 PyObject
* obj7
= 0 ;
15724 char *kwnames
[] = {
15725 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15731 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15734 arg3
= (int)SWIG_As_int(obj2
);
15735 if (PyErr_Occurred()) SWIG_fail
;
15739 arg4
= wxString_in_helper(obj3
);
15740 if (arg4
== NULL
) SWIG_fail
;
15747 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15753 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15757 arg7
= (long)SWIG_As_long(obj6
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15762 arg8
= wxString_in_helper(obj7
);
15763 if (arg8
== NULL
) SWIG_fail
;
15768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15769 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15771 wxPyEndAllowThreads(__tstate
);
15772 if (PyErr_Occurred()) SWIG_fail
;
15775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15799 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15800 PyObject
*resultobj
;
15801 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15802 PyObject
* obj0
= 0 ;
15803 char *kwnames
[] = {
15804 (char *) "self", NULL
15807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15812 (arg1
)->Activate();
15814 wxPyEndAllowThreads(__tstate
);
15815 if (PyErr_Occurred()) SWIG_fail
;
15817 Py_INCREF(Py_None
); resultobj
= Py_None
;
15824 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15825 PyObject
*resultobj
;
15826 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15828 PyObject
* obj0
= 0 ;
15829 PyObject
* obj1
= 0 ;
15830 char *kwnames
[] = {
15831 (char *) "self",(char *) "maximize", NULL
15834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15837 arg2
= (bool)SWIG_As_bool(obj1
);
15838 if (PyErr_Occurred()) SWIG_fail
;
15840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15841 (arg1
)->Maximize(arg2
);
15843 wxPyEndAllowThreads(__tstate
);
15844 if (PyErr_Occurred()) SWIG_fail
;
15846 Py_INCREF(Py_None
); resultobj
= Py_None
;
15853 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15854 PyObject
*resultobj
;
15855 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15856 PyObject
* obj0
= 0 ;
15857 char *kwnames
[] = {
15858 (char *) "self", NULL
15861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15868 wxPyEndAllowThreads(__tstate
);
15869 if (PyErr_Occurred()) SWIG_fail
;
15871 Py_INCREF(Py_None
); resultobj
= Py_None
;
15878 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
15880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15881 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15883 return Py_BuildValue((char *)"");
15885 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15886 PyObject
*resultobj
;
15887 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15888 long arg2
= (long) 0 ;
15889 wxMDIClientWindow
*result
;
15890 PyObject
* obj0
= 0 ;
15891 PyObject
* obj1
= 0 ;
15892 char *kwnames
[] = {
15893 (char *) "parent",(char *) "style", NULL
15896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15900 arg2
= (long)SWIG_As_long(obj1
);
15901 if (PyErr_Occurred()) SWIG_fail
;
15904 if (!wxPyCheckForApp()) SWIG_fail
;
15905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15906 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15908 wxPyEndAllowThreads(__tstate
);
15909 if (PyErr_Occurred()) SWIG_fail
;
15911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15918 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15919 PyObject
*resultobj
;
15920 wxMDIClientWindow
*result
;
15921 char *kwnames
[] = {
15925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15927 if (!wxPyCheckForApp()) SWIG_fail
;
15928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15929 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15931 wxPyEndAllowThreads(__tstate
);
15932 if (PyErr_Occurred()) SWIG_fail
;
15934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15941 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15942 PyObject
*resultobj
;
15943 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15944 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15945 long arg3
= (long) 0 ;
15947 PyObject
* obj0
= 0 ;
15948 PyObject
* obj1
= 0 ;
15949 PyObject
* obj2
= 0 ;
15950 char *kwnames
[] = {
15951 (char *) "self",(char *) "parent",(char *) "style", NULL
15954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15957 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15960 arg3
= (long)SWIG_As_long(obj2
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15965 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15967 wxPyEndAllowThreads(__tstate
);
15968 if (PyErr_Occurred()) SWIG_fail
;
15971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15979 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
15981 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15982 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15984 return Py_BuildValue((char *)"");
15986 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15987 PyObject
*resultobj
;
15988 wxWindow
*arg1
= (wxWindow
*) 0 ;
15989 int arg2
= (int) (int)-1 ;
15990 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15991 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15992 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15993 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15994 long arg5
= (long) 0 ;
15995 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15996 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15997 wxPyWindow
*result
;
16000 bool temp6
= false ;
16001 PyObject
* obj0
= 0 ;
16002 PyObject
* obj1
= 0 ;
16003 PyObject
* obj2
= 0 ;
16004 PyObject
* obj3
= 0 ;
16005 PyObject
* obj4
= 0 ;
16006 PyObject
* obj5
= 0 ;
16007 char *kwnames
[] = {
16008 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16015 arg2
= (int)SWIG_As_int(obj1
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16021 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16027 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16031 arg5
= (long)SWIG_As_long(obj4
);
16032 if (PyErr_Occurred()) SWIG_fail
;
16036 arg6
= wxString_in_helper(obj5
);
16037 if (arg6
== NULL
) SWIG_fail
;
16042 if (!wxPyCheckForApp()) SWIG_fail
;
16043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16044 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16046 wxPyEndAllowThreads(__tstate
);
16047 if (PyErr_Occurred()) SWIG_fail
;
16049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
16064 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16065 PyObject
*resultobj
;
16066 wxPyWindow
*result
;
16067 char *kwnames
[] = {
16071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
16073 if (!wxPyCheckForApp()) SWIG_fail
;
16074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16075 result
= (wxPyWindow
*)new wxPyWindow();
16077 wxPyEndAllowThreads(__tstate
);
16078 if (PyErr_Occurred()) SWIG_fail
;
16080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
16087 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16088 PyObject
*resultobj
;
16089 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16090 PyObject
*arg2
= (PyObject
*) 0 ;
16091 PyObject
*arg3
= (PyObject
*) 0 ;
16092 PyObject
* obj0
= 0 ;
16093 PyObject
* obj1
= 0 ;
16094 PyObject
* obj2
= 0 ;
16095 char *kwnames
[] = {
16096 (char *) "self",(char *) "self",(char *) "_class", NULL
16099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16111 Py_INCREF(Py_None
); resultobj
= Py_None
;
16118 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16119 PyObject
*resultobj
;
16120 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16123 PyObject
* obj0
= 0 ;
16124 PyObject
* obj1
= 0 ;
16125 char *kwnames
[] = {
16126 (char *) "self",(char *) "size", NULL
16129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16134 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16138 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16140 wxPyEndAllowThreads(__tstate
);
16141 if (PyErr_Occurred()) SWIG_fail
;
16143 Py_INCREF(Py_None
); resultobj
= Py_None
;
16150 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16151 PyObject
*resultobj
;
16152 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16157 PyObject
* obj0
= 0 ;
16158 PyObject
* obj1
= 0 ;
16159 PyObject
* obj2
= 0 ;
16160 PyObject
* obj3
= 0 ;
16161 PyObject
* obj4
= 0 ;
16162 char *kwnames
[] = {
16163 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16169 arg2
= (int)SWIG_As_int(obj1
);
16170 if (PyErr_Occurred()) SWIG_fail
;
16171 arg3
= (int)SWIG_As_int(obj2
);
16172 if (PyErr_Occurred()) SWIG_fail
;
16173 arg4
= (int)SWIG_As_int(obj3
);
16174 if (PyErr_Occurred()) SWIG_fail
;
16175 arg5
= (int)SWIG_As_int(obj4
);
16176 if (PyErr_Occurred()) SWIG_fail
;
16178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16179 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16181 wxPyEndAllowThreads(__tstate
);
16182 if (PyErr_Occurred()) SWIG_fail
;
16184 Py_INCREF(Py_None
); resultobj
= Py_None
;
16191 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16192 PyObject
*resultobj
;
16193 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16198 int arg6
= (int) wxSIZE_AUTO
;
16199 PyObject
* obj0
= 0 ;
16200 PyObject
* obj1
= 0 ;
16201 PyObject
* obj2
= 0 ;
16202 PyObject
* obj3
= 0 ;
16203 PyObject
* obj4
= 0 ;
16204 PyObject
* obj5
= 0 ;
16205 char *kwnames
[] = {
16206 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) 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
;
16216 arg4
= (int)SWIG_As_int(obj3
);
16217 if (PyErr_Occurred()) SWIG_fail
;
16218 arg5
= (int)SWIG_As_int(obj4
);
16219 if (PyErr_Occurred()) SWIG_fail
;
16221 arg6
= (int)SWIG_As_int(obj5
);
16222 if (PyErr_Occurred()) SWIG_fail
;
16225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16226 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16228 wxPyEndAllowThreads(__tstate
);
16229 if (PyErr_Occurred()) SWIG_fail
;
16231 Py_INCREF(Py_None
); resultobj
= Py_None
;
16238 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16239 PyObject
*resultobj
;
16240 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16243 PyObject
* obj0
= 0 ;
16244 PyObject
* obj1
= 0 ;
16245 PyObject
* obj2
= 0 ;
16246 char *kwnames
[] = {
16247 (char *) "self",(char *) "width",(char *) "height", NULL
16250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16253 arg2
= (int)SWIG_As_int(obj1
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16255 arg3
= (int)SWIG_As_int(obj2
);
16256 if (PyErr_Occurred()) SWIG_fail
;
16258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16259 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16261 wxPyEndAllowThreads(__tstate
);
16262 if (PyErr_Occurred()) SWIG_fail
;
16264 Py_INCREF(Py_None
); resultobj
= Py_None
;
16271 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16272 PyObject
*resultobj
;
16273 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16276 PyObject
* obj0
= 0 ;
16277 PyObject
* obj1
= 0 ;
16278 PyObject
* obj2
= 0 ;
16279 char *kwnames
[] = {
16280 (char *) "self",(char *) "x",(char *) "y", NULL
16283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16286 arg2
= (int)SWIG_As_int(obj1
);
16287 if (PyErr_Occurred()) SWIG_fail
;
16288 arg3
= (int)SWIG_As_int(obj2
);
16289 if (PyErr_Occurred()) SWIG_fail
;
16291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16292 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16294 wxPyEndAllowThreads(__tstate
);
16295 if (PyErr_Occurred()) SWIG_fail
;
16297 Py_INCREF(Py_None
); resultobj
= Py_None
;
16304 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16305 PyObject
*resultobj
;
16306 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16307 int *arg2
= (int *) 0 ;
16308 int *arg3
= (int *) 0 ;
16313 PyObject
* obj0
= 0 ;
16314 char *kwnames
[] = {
16315 (char *) "self", NULL
16318 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16319 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16325 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16327 wxPyEndAllowThreads(__tstate
);
16328 if (PyErr_Occurred()) SWIG_fail
;
16330 Py_INCREF(Py_None
); resultobj
= Py_None
;
16331 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16332 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16333 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16334 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16341 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16342 PyObject
*resultobj
;
16343 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16344 int *arg2
= (int *) 0 ;
16345 int *arg3
= (int *) 0 ;
16350 PyObject
* obj0
= 0 ;
16351 char *kwnames
[] = {
16352 (char *) "self", NULL
16355 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16356 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16362 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16364 wxPyEndAllowThreads(__tstate
);
16365 if (PyErr_Occurred()) SWIG_fail
;
16367 Py_INCREF(Py_None
); resultobj
= Py_None
;
16368 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16369 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16370 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16371 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16378 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16379 PyObject
*resultobj
;
16380 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16381 int *arg2
= (int *) 0 ;
16382 int *arg3
= (int *) 0 ;
16387 PyObject
* obj0
= 0 ;
16388 char *kwnames
[] = {
16389 (char *) "self", NULL
16392 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16393 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16399 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16401 wxPyEndAllowThreads(__tstate
);
16402 if (PyErr_Occurred()) SWIG_fail
;
16404 Py_INCREF(Py_None
); resultobj
= Py_None
;
16405 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16406 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16407 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16408 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16415 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16416 PyObject
*resultobj
;
16417 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16419 PyObject
* obj0
= 0 ;
16420 char *kwnames
[] = {
16421 (char *) "self", NULL
16424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16429 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
16431 wxPyEndAllowThreads(__tstate
);
16432 if (PyErr_Occurred()) SWIG_fail
;
16435 wxSize
* resultptr
;
16436 resultptr
= new wxSize((wxSize
&) result
);
16437 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16445 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16446 PyObject
*resultobj
;
16447 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16449 PyObject
* obj0
= 0 ;
16450 char *kwnames
[] = {
16451 (char *) "self", NULL
16454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16459 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
16461 wxPyEndAllowThreads(__tstate
);
16462 if (PyErr_Occurred()) SWIG_fail
;
16465 wxSize
* resultptr
;
16466 resultptr
= new wxSize((wxSize
&) result
);
16467 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16475 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16476 PyObject
*resultobj
;
16477 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16478 PyObject
* obj0
= 0 ;
16479 char *kwnames
[] = {
16480 (char *) "self", NULL
16483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16488 (arg1
)->base_InitDialog();
16490 wxPyEndAllowThreads(__tstate
);
16491 if (PyErr_Occurred()) SWIG_fail
;
16493 Py_INCREF(Py_None
); resultobj
= Py_None
;
16500 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16501 PyObject
*resultobj
;
16502 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16504 PyObject
* obj0
= 0 ;
16505 char *kwnames
[] = {
16506 (char *) "self", NULL
16509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16514 result
= (bool)(arg1
)->base_TransferDataToWindow();
16516 wxPyEndAllowThreads(__tstate
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16528 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16529 PyObject
*resultobj
;
16530 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16532 PyObject
* obj0
= 0 ;
16533 char *kwnames
[] = {
16534 (char *) "self", NULL
16537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16542 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16544 wxPyEndAllowThreads(__tstate
);
16545 if (PyErr_Occurred()) SWIG_fail
;
16548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16556 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16557 PyObject
*resultobj
;
16558 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16560 PyObject
* obj0
= 0 ;
16561 char *kwnames
[] = {
16562 (char *) "self", NULL
16565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
16566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16570 result
= (bool)(arg1
)->base_Validate();
16572 wxPyEndAllowThreads(__tstate
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16584 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16585 PyObject
*resultobj
;
16586 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16588 PyObject
* obj0
= 0 ;
16589 char *kwnames
[] = {
16590 (char *) "self", NULL
16593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16598 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16612 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16613 PyObject
*resultobj
;
16614 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16616 PyObject
* obj0
= 0 ;
16617 char *kwnames
[] = {
16618 (char *) "self", NULL
16621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16626 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16628 wxPyEndAllowThreads(__tstate
);
16629 if (PyErr_Occurred()) SWIG_fail
;
16632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16640 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16641 PyObject
*resultobj
;
16642 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16644 PyObject
* obj0
= 0 ;
16645 char *kwnames
[] = {
16646 (char *) "self", NULL
16649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16654 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
16656 wxPyEndAllowThreads(__tstate
);
16657 if (PyErr_Occurred()) SWIG_fail
;
16660 wxSize
* resultptr
;
16661 resultptr
= new wxSize((wxSize
&) result
);
16662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16670 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16671 PyObject
*resultobj
;
16672 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16673 wxWindow
*arg2
= (wxWindow
*) 0 ;
16674 PyObject
* obj0
= 0 ;
16675 PyObject
* obj1
= 0 ;
16676 char *kwnames
[] = {
16677 (char *) "self",(char *) "child", NULL
16680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16683 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16687 (arg1
)->base_AddChild(arg2
);
16689 wxPyEndAllowThreads(__tstate
);
16690 if (PyErr_Occurred()) SWIG_fail
;
16692 Py_INCREF(Py_None
); resultobj
= Py_None
;
16699 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16700 PyObject
*resultobj
;
16701 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16702 wxWindow
*arg2
= (wxWindow
*) 0 ;
16703 PyObject
* obj0
= 0 ;
16704 PyObject
* obj1
= 0 ;
16705 char *kwnames
[] = {
16706 (char *) "self",(char *) "child", NULL
16709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16712 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16716 (arg1
)->base_RemoveChild(arg2
);
16718 wxPyEndAllowThreads(__tstate
);
16719 if (PyErr_Occurred()) SWIG_fail
;
16721 Py_INCREF(Py_None
); resultobj
= Py_None
;
16728 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16729 PyObject
*resultobj
;
16730 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16732 PyObject
* obj0
= 0 ;
16733 char *kwnames
[] = {
16734 (char *) "self", NULL
16737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16742 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
16744 wxPyEndAllowThreads(__tstate
);
16745 if (PyErr_Occurred()) SWIG_fail
;
16748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16756 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16757 PyObject
*resultobj
;
16758 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16759 wxColour
*arg2
= 0 ;
16761 PyObject
* obj0
= 0 ;
16762 PyObject
* obj1
= 0 ;
16763 char *kwnames
[] = {
16764 (char *) "self",(char *) "c", NULL
16767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16772 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16776 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16778 wxPyEndAllowThreads(__tstate
);
16779 if (PyErr_Occurred()) SWIG_fail
;
16781 Py_INCREF(Py_None
); resultobj
= Py_None
;
16788 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16789 PyObject
*resultobj
;
16790 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16791 wxVisualAttributes result
;
16792 PyObject
* obj0
= 0 ;
16793 char *kwnames
[] = {
16794 (char *) "self", NULL
16797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16802 result
= (arg1
)->base_GetDefaultAttributes();
16804 wxPyEndAllowThreads(__tstate
);
16805 if (PyErr_Occurred()) SWIG_fail
;
16808 wxVisualAttributes
* resultptr
;
16809 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16810 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16818 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
16820 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16821 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16823 return Py_BuildValue((char *)"");
16825 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16826 PyObject
*resultobj
;
16827 wxWindow
*arg1
= (wxWindow
*) 0 ;
16828 int arg2
= (int) (int)-1 ;
16829 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16830 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16831 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16832 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16833 long arg5
= (long) 0 ;
16834 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16835 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16839 bool temp6
= false ;
16840 PyObject
* obj0
= 0 ;
16841 PyObject
* obj1
= 0 ;
16842 PyObject
* obj2
= 0 ;
16843 PyObject
* obj3
= 0 ;
16844 PyObject
* obj4
= 0 ;
16845 PyObject
* obj5
= 0 ;
16846 char *kwnames
[] = {
16847 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16854 arg2
= (int)SWIG_As_int(obj1
);
16855 if (PyErr_Occurred()) SWIG_fail
;
16860 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16866 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16870 arg5
= (long)SWIG_As_long(obj4
);
16871 if (PyErr_Occurred()) SWIG_fail
;
16875 arg6
= wxString_in_helper(obj5
);
16876 if (arg6
== NULL
) SWIG_fail
;
16881 if (!wxPyCheckForApp()) SWIG_fail
;
16882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16883 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16885 wxPyEndAllowThreads(__tstate
);
16886 if (PyErr_Occurred()) SWIG_fail
;
16888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16903 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16904 PyObject
*resultobj
;
16906 char *kwnames
[] = {
16910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16912 if (!wxPyCheckForApp()) SWIG_fail
;
16913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16914 result
= (wxPyPanel
*)new wxPyPanel();
16916 wxPyEndAllowThreads(__tstate
);
16917 if (PyErr_Occurred()) SWIG_fail
;
16919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16926 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16927 PyObject
*resultobj
;
16928 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16929 PyObject
*arg2
= (PyObject
*) 0 ;
16930 PyObject
*arg3
= (PyObject
*) 0 ;
16931 PyObject
* obj0
= 0 ;
16932 PyObject
* obj1
= 0 ;
16933 PyObject
* obj2
= 0 ;
16934 char *kwnames
[] = {
16935 (char *) "self",(char *) "self",(char *) "_class", NULL
16938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16945 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16947 wxPyEndAllowThreads(__tstate
);
16948 if (PyErr_Occurred()) SWIG_fail
;
16950 Py_INCREF(Py_None
); resultobj
= Py_None
;
16957 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16958 PyObject
*resultobj
;
16959 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16962 PyObject
* obj0
= 0 ;
16963 PyObject
* obj1
= 0 ;
16964 char *kwnames
[] = {
16965 (char *) "self",(char *) "size", NULL
16968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16973 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16977 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16979 wxPyEndAllowThreads(__tstate
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16982 Py_INCREF(Py_None
); resultobj
= Py_None
;
16989 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16990 PyObject
*resultobj
;
16991 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16996 PyObject
* obj0
= 0 ;
16997 PyObject
* obj1
= 0 ;
16998 PyObject
* obj2
= 0 ;
16999 PyObject
* obj3
= 0 ;
17000 PyObject
* obj4
= 0 ;
17001 char *kwnames
[] = {
17002 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17008 arg2
= (int)SWIG_As_int(obj1
);
17009 if (PyErr_Occurred()) SWIG_fail
;
17010 arg3
= (int)SWIG_As_int(obj2
);
17011 if (PyErr_Occurred()) SWIG_fail
;
17012 arg4
= (int)SWIG_As_int(obj3
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17014 arg5
= (int)SWIG_As_int(obj4
);
17015 if (PyErr_Occurred()) SWIG_fail
;
17017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17018 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17020 wxPyEndAllowThreads(__tstate
);
17021 if (PyErr_Occurred()) SWIG_fail
;
17023 Py_INCREF(Py_None
); resultobj
= Py_None
;
17030 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17031 PyObject
*resultobj
;
17032 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17037 int arg6
= (int) wxSIZE_AUTO
;
17038 PyObject
* obj0
= 0 ;
17039 PyObject
* obj1
= 0 ;
17040 PyObject
* obj2
= 0 ;
17041 PyObject
* obj3
= 0 ;
17042 PyObject
* obj4
= 0 ;
17043 PyObject
* obj5
= 0 ;
17044 char *kwnames
[] = {
17045 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) 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
;
17055 arg4
= (int)SWIG_As_int(obj3
);
17056 if (PyErr_Occurred()) SWIG_fail
;
17057 arg5
= (int)SWIG_As_int(obj4
);
17058 if (PyErr_Occurred()) SWIG_fail
;
17060 arg6
= (int)SWIG_As_int(obj5
);
17061 if (PyErr_Occurred()) SWIG_fail
;
17064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17065 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17067 wxPyEndAllowThreads(__tstate
);
17068 if (PyErr_Occurred()) SWIG_fail
;
17070 Py_INCREF(Py_None
); resultobj
= Py_None
;
17077 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17078 PyObject
*resultobj
;
17079 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17082 PyObject
* obj0
= 0 ;
17083 PyObject
* obj1
= 0 ;
17084 PyObject
* obj2
= 0 ;
17085 char *kwnames
[] = {
17086 (char *) "self",(char *) "width",(char *) "height", NULL
17089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17092 arg2
= (int)SWIG_As_int(obj1
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17094 arg3
= (int)SWIG_As_int(obj2
);
17095 if (PyErr_Occurred()) SWIG_fail
;
17097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17098 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17100 wxPyEndAllowThreads(__tstate
);
17101 if (PyErr_Occurred()) SWIG_fail
;
17103 Py_INCREF(Py_None
); resultobj
= Py_None
;
17110 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17111 PyObject
*resultobj
;
17112 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17115 PyObject
* obj0
= 0 ;
17116 PyObject
* obj1
= 0 ;
17117 PyObject
* obj2
= 0 ;
17118 char *kwnames
[] = {
17119 (char *) "self",(char *) "x",(char *) "y", NULL
17122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17125 arg2
= (int)SWIG_As_int(obj1
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17127 arg3
= (int)SWIG_As_int(obj2
);
17128 if (PyErr_Occurred()) SWIG_fail
;
17130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17131 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17133 wxPyEndAllowThreads(__tstate
);
17134 if (PyErr_Occurred()) SWIG_fail
;
17136 Py_INCREF(Py_None
); resultobj
= Py_None
;
17143 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17144 PyObject
*resultobj
;
17145 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17146 int *arg2
= (int *) 0 ;
17147 int *arg3
= (int *) 0 ;
17152 PyObject
* obj0
= 0 ;
17153 char *kwnames
[] = {
17154 (char *) "self", NULL
17157 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17158 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17164 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17166 wxPyEndAllowThreads(__tstate
);
17167 if (PyErr_Occurred()) SWIG_fail
;
17169 Py_INCREF(Py_None
); resultobj
= Py_None
;
17170 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17171 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17172 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17173 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17180 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17181 PyObject
*resultobj
;
17182 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17183 int *arg2
= (int *) 0 ;
17184 int *arg3
= (int *) 0 ;
17189 PyObject
* obj0
= 0 ;
17190 char *kwnames
[] = {
17191 (char *) "self", NULL
17194 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17195 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17201 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17203 wxPyEndAllowThreads(__tstate
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17206 Py_INCREF(Py_None
); resultobj
= Py_None
;
17207 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17208 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17209 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17210 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17217 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17218 PyObject
*resultobj
;
17219 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17220 int *arg2
= (int *) 0 ;
17221 int *arg3
= (int *) 0 ;
17226 PyObject
* obj0
= 0 ;
17227 char *kwnames
[] = {
17228 (char *) "self", NULL
17231 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17232 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17238 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17240 wxPyEndAllowThreads(__tstate
);
17241 if (PyErr_Occurred()) SWIG_fail
;
17243 Py_INCREF(Py_None
); resultobj
= Py_None
;
17244 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17245 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17246 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17247 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17254 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17255 PyObject
*resultobj
;
17256 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17258 PyObject
* obj0
= 0 ;
17259 char *kwnames
[] = {
17260 (char *) "self", NULL
17263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17268 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
17270 wxPyEndAllowThreads(__tstate
);
17271 if (PyErr_Occurred()) SWIG_fail
;
17274 wxSize
* resultptr
;
17275 resultptr
= new wxSize((wxSize
&) result
);
17276 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17284 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17285 PyObject
*resultobj
;
17286 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17288 PyObject
* obj0
= 0 ;
17289 char *kwnames
[] = {
17290 (char *) "self", NULL
17293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17298 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
17300 wxPyEndAllowThreads(__tstate
);
17301 if (PyErr_Occurred()) SWIG_fail
;
17304 wxSize
* resultptr
;
17305 resultptr
= new wxSize((wxSize
&) result
);
17306 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17314 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17315 PyObject
*resultobj
;
17316 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17317 PyObject
* obj0
= 0 ;
17318 char *kwnames
[] = {
17319 (char *) "self", NULL
17322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17327 (arg1
)->base_InitDialog();
17329 wxPyEndAllowThreads(__tstate
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17332 Py_INCREF(Py_None
); resultobj
= Py_None
;
17339 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17340 PyObject
*resultobj
;
17341 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17343 PyObject
* obj0
= 0 ;
17344 char *kwnames
[] = {
17345 (char *) "self", NULL
17348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17353 result
= (bool)(arg1
)->base_TransferDataToWindow();
17355 wxPyEndAllowThreads(__tstate
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17367 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17368 PyObject
*resultobj
;
17369 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17371 PyObject
* obj0
= 0 ;
17372 char *kwnames
[] = {
17373 (char *) "self", NULL
17376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17381 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17383 wxPyEndAllowThreads(__tstate
);
17384 if (PyErr_Occurred()) SWIG_fail
;
17387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17395 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17396 PyObject
*resultobj
;
17397 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17399 PyObject
* obj0
= 0 ;
17400 char *kwnames
[] = {
17401 (char *) "self", NULL
17404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
17405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17409 result
= (bool)(arg1
)->base_Validate();
17411 wxPyEndAllowThreads(__tstate
);
17412 if (PyErr_Occurred()) SWIG_fail
;
17415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17423 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17424 PyObject
*resultobj
;
17425 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17427 PyObject
* obj0
= 0 ;
17428 char *kwnames
[] = {
17429 (char *) "self", NULL
17432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17437 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
17439 wxPyEndAllowThreads(__tstate
);
17440 if (PyErr_Occurred()) SWIG_fail
;
17443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17451 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17452 PyObject
*resultobj
;
17453 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17455 PyObject
* obj0
= 0 ;
17456 char *kwnames
[] = {
17457 (char *) "self", NULL
17460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17465 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17467 wxPyEndAllowThreads(__tstate
);
17468 if (PyErr_Occurred()) SWIG_fail
;
17471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17479 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
;
17481 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17483 PyObject
* obj0
= 0 ;
17484 char *kwnames
[] = {
17485 (char *) "self", NULL
17488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17493 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
17495 wxPyEndAllowThreads(__tstate
);
17496 if (PyErr_Occurred()) SWIG_fail
;
17499 wxSize
* resultptr
;
17500 resultptr
= new wxSize((wxSize
&) result
);
17501 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17509 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17510 PyObject
*resultobj
;
17511 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17512 wxWindow
*arg2
= (wxWindow
*) 0 ;
17513 PyObject
* obj0
= 0 ;
17514 PyObject
* obj1
= 0 ;
17515 char *kwnames
[] = {
17516 (char *) "self",(char *) "child", NULL
17519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17526 (arg1
)->base_AddChild(arg2
);
17528 wxPyEndAllowThreads(__tstate
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17531 Py_INCREF(Py_None
); resultobj
= Py_None
;
17538 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17539 PyObject
*resultobj
;
17540 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17541 wxWindow
*arg2
= (wxWindow
*) 0 ;
17542 PyObject
* obj0
= 0 ;
17543 PyObject
* obj1
= 0 ;
17544 char *kwnames
[] = {
17545 (char *) "self",(char *) "child", NULL
17548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17555 (arg1
)->base_RemoveChild(arg2
);
17557 wxPyEndAllowThreads(__tstate
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17560 Py_INCREF(Py_None
); resultobj
= Py_None
;
17567 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17568 PyObject
*resultobj
;
17569 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17571 PyObject
* obj0
= 0 ;
17572 char *kwnames
[] = {
17573 (char *) "self", NULL
17576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17581 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
17583 wxPyEndAllowThreads(__tstate
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17595 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17596 PyObject
*resultobj
;
17597 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17598 wxColour
*arg2
= 0 ;
17600 PyObject
* obj0
= 0 ;
17601 PyObject
* obj1
= 0 ;
17602 char *kwnames
[] = {
17603 (char *) "self",(char *) "c", NULL
17606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17611 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17615 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17617 wxPyEndAllowThreads(__tstate
);
17618 if (PyErr_Occurred()) SWIG_fail
;
17620 Py_INCREF(Py_None
); resultobj
= Py_None
;
17627 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17628 PyObject
*resultobj
;
17629 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17630 wxVisualAttributes result
;
17631 PyObject
* obj0
= 0 ;
17632 char *kwnames
[] = {
17633 (char *) "self", NULL
17636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17641 result
= (arg1
)->base_GetDefaultAttributes();
17643 wxPyEndAllowThreads(__tstate
);
17644 if (PyErr_Occurred()) SWIG_fail
;
17647 wxVisualAttributes
* resultptr
;
17648 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17649 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17657 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
17659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17660 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
17662 return Py_BuildValue((char *)"");
17664 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17665 PyObject
*resultobj
;
17666 wxWindow
*arg1
= (wxWindow
*) 0 ;
17667 int arg2
= (int) (int)-1 ;
17668 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17669 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17670 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17671 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17672 long arg5
= (long) 0 ;
17673 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17674 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17675 wxPyScrolledWindow
*result
;
17678 bool temp6
= false ;
17679 PyObject
* obj0
= 0 ;
17680 PyObject
* obj1
= 0 ;
17681 PyObject
* obj2
= 0 ;
17682 PyObject
* obj3
= 0 ;
17683 PyObject
* obj4
= 0 ;
17684 PyObject
* obj5
= 0 ;
17685 char *kwnames
[] = {
17686 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17693 arg2
= (int)SWIG_As_int(obj1
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17699 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17705 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17709 arg5
= (long)SWIG_As_long(obj4
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17714 arg6
= wxString_in_helper(obj5
);
17715 if (arg6
== NULL
) SWIG_fail
;
17720 if (!wxPyCheckForApp()) SWIG_fail
;
17721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17722 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17724 wxPyEndAllowThreads(__tstate
);
17725 if (PyErr_Occurred()) SWIG_fail
;
17727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17742 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17743 PyObject
*resultobj
;
17744 wxPyScrolledWindow
*result
;
17745 char *kwnames
[] = {
17749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
17751 if (!wxPyCheckForApp()) SWIG_fail
;
17752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17753 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
17755 wxPyEndAllowThreads(__tstate
);
17756 if (PyErr_Occurred()) SWIG_fail
;
17758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17765 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17766 PyObject
*resultobj
;
17767 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17768 PyObject
*arg2
= (PyObject
*) 0 ;
17769 PyObject
*arg3
= (PyObject
*) 0 ;
17770 PyObject
* obj0
= 0 ;
17771 PyObject
* obj1
= 0 ;
17772 PyObject
* obj2
= 0 ;
17773 char *kwnames
[] = {
17774 (char *) "self",(char *) "self",(char *) "_class", NULL
17777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17784 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17786 wxPyEndAllowThreads(__tstate
);
17787 if (PyErr_Occurred()) SWIG_fail
;
17789 Py_INCREF(Py_None
); resultobj
= Py_None
;
17796 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17797 PyObject
*resultobj
;
17798 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17801 PyObject
* obj0
= 0 ;
17802 PyObject
* obj1
= 0 ;
17803 char *kwnames
[] = {
17804 (char *) "self",(char *) "size", NULL
17807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17812 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17816 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17818 wxPyEndAllowThreads(__tstate
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17821 Py_INCREF(Py_None
); resultobj
= Py_None
;
17828 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17829 PyObject
*resultobj
;
17830 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17835 PyObject
* obj0
= 0 ;
17836 PyObject
* obj1
= 0 ;
17837 PyObject
* obj2
= 0 ;
17838 PyObject
* obj3
= 0 ;
17839 PyObject
* obj4
= 0 ;
17840 char *kwnames
[] = {
17841 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17847 arg2
= (int)SWIG_As_int(obj1
);
17848 if (PyErr_Occurred()) SWIG_fail
;
17849 arg3
= (int)SWIG_As_int(obj2
);
17850 if (PyErr_Occurred()) SWIG_fail
;
17851 arg4
= (int)SWIG_As_int(obj3
);
17852 if (PyErr_Occurred()) SWIG_fail
;
17853 arg5
= (int)SWIG_As_int(obj4
);
17854 if (PyErr_Occurred()) SWIG_fail
;
17856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17857 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17859 wxPyEndAllowThreads(__tstate
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17862 Py_INCREF(Py_None
); resultobj
= Py_None
;
17869 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17870 PyObject
*resultobj
;
17871 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17876 int arg6
= (int) wxSIZE_AUTO
;
17877 PyObject
* obj0
= 0 ;
17878 PyObject
* obj1
= 0 ;
17879 PyObject
* obj2
= 0 ;
17880 PyObject
* obj3
= 0 ;
17881 PyObject
* obj4
= 0 ;
17882 PyObject
* obj5
= 0 ;
17883 char *kwnames
[] = {
17884 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) 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
;
17894 arg4
= (int)SWIG_As_int(obj3
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17896 arg5
= (int)SWIG_As_int(obj4
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17899 arg6
= (int)SWIG_As_int(obj5
);
17900 if (PyErr_Occurred()) SWIG_fail
;
17903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17904 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17906 wxPyEndAllowThreads(__tstate
);
17907 if (PyErr_Occurred()) SWIG_fail
;
17909 Py_INCREF(Py_None
); resultobj
= Py_None
;
17916 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17917 PyObject
*resultobj
;
17918 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17921 PyObject
* obj0
= 0 ;
17922 PyObject
* obj1
= 0 ;
17923 PyObject
* obj2
= 0 ;
17924 char *kwnames
[] = {
17925 (char *) "self",(char *) "width",(char *) "height", NULL
17928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17931 arg2
= (int)SWIG_As_int(obj1
);
17932 if (PyErr_Occurred()) SWIG_fail
;
17933 arg3
= (int)SWIG_As_int(obj2
);
17934 if (PyErr_Occurred()) SWIG_fail
;
17936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17937 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17939 wxPyEndAllowThreads(__tstate
);
17940 if (PyErr_Occurred()) SWIG_fail
;
17942 Py_INCREF(Py_None
); resultobj
= Py_None
;
17949 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17950 PyObject
*resultobj
;
17951 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17954 PyObject
* obj0
= 0 ;
17955 PyObject
* obj1
= 0 ;
17956 PyObject
* obj2
= 0 ;
17957 char *kwnames
[] = {
17958 (char *) "self",(char *) "x",(char *) "y", NULL
17961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17964 arg2
= (int)SWIG_As_int(obj1
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17966 arg3
= (int)SWIG_As_int(obj2
);
17967 if (PyErr_Occurred()) SWIG_fail
;
17969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17970 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17972 wxPyEndAllowThreads(__tstate
);
17973 if (PyErr_Occurred()) SWIG_fail
;
17975 Py_INCREF(Py_None
); resultobj
= Py_None
;
17982 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17983 PyObject
*resultobj
;
17984 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17985 int *arg2
= (int *) 0 ;
17986 int *arg3
= (int *) 0 ;
17991 PyObject
* obj0
= 0 ;
17992 char *kwnames
[] = {
17993 (char *) "self", NULL
17996 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17997 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18003 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
18005 wxPyEndAllowThreads(__tstate
);
18006 if (PyErr_Occurred()) SWIG_fail
;
18008 Py_INCREF(Py_None
); resultobj
= Py_None
;
18009 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18010 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18011 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18012 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18019 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18020 PyObject
*resultobj
;
18021 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18022 int *arg2
= (int *) 0 ;
18023 int *arg3
= (int *) 0 ;
18028 PyObject
* obj0
= 0 ;
18029 char *kwnames
[] = {
18030 (char *) "self", NULL
18033 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18034 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18040 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
18042 wxPyEndAllowThreads(__tstate
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18045 Py_INCREF(Py_None
); resultobj
= Py_None
;
18046 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18047 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18048 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18049 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18056 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18057 PyObject
*resultobj
;
18058 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18059 int *arg2
= (int *) 0 ;
18060 int *arg3
= (int *) 0 ;
18065 PyObject
* obj0
= 0 ;
18066 char *kwnames
[] = {
18067 (char *) "self", NULL
18070 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18071 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18077 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
18079 wxPyEndAllowThreads(__tstate
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18082 Py_INCREF(Py_None
); resultobj
= Py_None
;
18083 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18084 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18085 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18086 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18093 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18094 PyObject
*resultobj
;
18095 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18097 PyObject
* obj0
= 0 ;
18098 char *kwnames
[] = {
18099 (char *) "self", NULL
18102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18107 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
18109 wxPyEndAllowThreads(__tstate
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18113 wxSize
* resultptr
;
18114 resultptr
= new wxSize((wxSize
&) result
);
18115 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18123 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18124 PyObject
*resultobj
;
18125 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18127 PyObject
* obj0
= 0 ;
18128 char *kwnames
[] = {
18129 (char *) "self", NULL
18132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18137 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
18139 wxPyEndAllowThreads(__tstate
);
18140 if (PyErr_Occurred()) SWIG_fail
;
18143 wxSize
* resultptr
;
18144 resultptr
= new wxSize((wxSize
&) result
);
18145 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18153 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18154 PyObject
*resultobj
;
18155 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18156 PyObject
* obj0
= 0 ;
18157 char *kwnames
[] = {
18158 (char *) "self", NULL
18161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18166 (arg1
)->base_InitDialog();
18168 wxPyEndAllowThreads(__tstate
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18171 Py_INCREF(Py_None
); resultobj
= Py_None
;
18178 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18179 PyObject
*resultobj
;
18180 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18182 PyObject
* obj0
= 0 ;
18183 char *kwnames
[] = {
18184 (char *) "self", NULL
18187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18192 result
= (bool)(arg1
)->base_TransferDataToWindow();
18194 wxPyEndAllowThreads(__tstate
);
18195 if (PyErr_Occurred()) SWIG_fail
;
18198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18206 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18207 PyObject
*resultobj
;
18208 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18210 PyObject
* obj0
= 0 ;
18211 char *kwnames
[] = {
18212 (char *) "self", NULL
18215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18220 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18222 wxPyEndAllowThreads(__tstate
);
18223 if (PyErr_Occurred()) SWIG_fail
;
18226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18234 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18235 PyObject
*resultobj
;
18236 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18238 PyObject
* obj0
= 0 ;
18239 char *kwnames
[] = {
18240 (char *) "self", NULL
18243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
18244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18248 result
= (bool)(arg1
)->base_Validate();
18250 wxPyEndAllowThreads(__tstate
);
18251 if (PyErr_Occurred()) SWIG_fail
;
18254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18262 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18263 PyObject
*resultobj
;
18264 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18266 PyObject
* obj0
= 0 ;
18267 char *kwnames
[] = {
18268 (char *) "self", NULL
18271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18276 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
18278 wxPyEndAllowThreads(__tstate
);
18279 if (PyErr_Occurred()) SWIG_fail
;
18282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18290 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18291 PyObject
*resultobj
;
18292 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18294 PyObject
* obj0
= 0 ;
18295 char *kwnames
[] = {
18296 (char *) "self", NULL
18299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18304 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18306 wxPyEndAllowThreads(__tstate
);
18307 if (PyErr_Occurred()) SWIG_fail
;
18310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18318 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18319 PyObject
*resultobj
;
18320 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18322 PyObject
* obj0
= 0 ;
18323 char *kwnames
[] = {
18324 (char *) "self", NULL
18327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18332 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
18334 wxPyEndAllowThreads(__tstate
);
18335 if (PyErr_Occurred()) SWIG_fail
;
18338 wxSize
* resultptr
;
18339 resultptr
= new wxSize((wxSize
&) result
);
18340 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18348 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18349 PyObject
*resultobj
;
18350 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18351 wxWindow
*arg2
= (wxWindow
*) 0 ;
18352 PyObject
* obj0
= 0 ;
18353 PyObject
* obj1
= 0 ;
18354 char *kwnames
[] = {
18355 (char *) "self",(char *) "child", NULL
18358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18361 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18365 (arg1
)->base_AddChild(arg2
);
18367 wxPyEndAllowThreads(__tstate
);
18368 if (PyErr_Occurred()) SWIG_fail
;
18370 Py_INCREF(Py_None
); resultobj
= Py_None
;
18377 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18378 PyObject
*resultobj
;
18379 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18380 wxWindow
*arg2
= (wxWindow
*) 0 ;
18381 PyObject
* obj0
= 0 ;
18382 PyObject
* obj1
= 0 ;
18383 char *kwnames
[] = {
18384 (char *) "self",(char *) "child", NULL
18387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18390 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18394 (arg1
)->base_RemoveChild(arg2
);
18396 wxPyEndAllowThreads(__tstate
);
18397 if (PyErr_Occurred()) SWIG_fail
;
18399 Py_INCREF(Py_None
); resultobj
= Py_None
;
18406 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18407 PyObject
*resultobj
;
18408 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18410 PyObject
* obj0
= 0 ;
18411 char *kwnames
[] = {
18412 (char *) "self", NULL
18415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18420 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
18422 wxPyEndAllowThreads(__tstate
);
18423 if (PyErr_Occurred()) SWIG_fail
;
18426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18434 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18435 PyObject
*resultobj
;
18436 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18437 wxColour
*arg2
= 0 ;
18439 PyObject
* obj0
= 0 ;
18440 PyObject
* obj1
= 0 ;
18441 char *kwnames
[] = {
18442 (char *) "self",(char *) "c", NULL
18445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18450 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18454 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
18456 wxPyEndAllowThreads(__tstate
);
18457 if (PyErr_Occurred()) SWIG_fail
;
18459 Py_INCREF(Py_None
); resultobj
= Py_None
;
18466 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18467 PyObject
*resultobj
;
18468 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18469 wxVisualAttributes result
;
18470 PyObject
* obj0
= 0 ;
18471 char *kwnames
[] = {
18472 (char *) "self", NULL
18475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18480 result
= (arg1
)->base_GetDefaultAttributes();
18482 wxPyEndAllowThreads(__tstate
);
18483 if (PyErr_Occurred()) SWIG_fail
;
18486 wxVisualAttributes
* resultptr
;
18487 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18488 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18496 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
18498 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18499 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
18501 return Py_BuildValue((char *)"");
18503 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
18504 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
18509 static PyObject
*_wrap_PrintoutTitleStr_get() {
18514 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18516 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18523 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
18524 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
18529 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
18534 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18536 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18543 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
18544 PyObject
*resultobj
;
18545 wxPrintData
*result
;
18547 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
18549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18550 result
= (wxPrintData
*)new wxPrintData();
18552 wxPyEndAllowThreads(__tstate
);
18553 if (PyErr_Occurred()) SWIG_fail
;
18555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18562 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
18563 PyObject
*resultobj
;
18564 wxPrintData
*arg1
= 0 ;
18565 wxPrintData
*result
;
18566 PyObject
* obj0
= 0 ;
18568 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
18569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18570 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18572 if (arg1
== NULL
) {
18573 PyErr_SetString(PyExc_TypeError
,"null reference");
18577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18578 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
18580 wxPyEndAllowThreads(__tstate
);
18581 if (PyErr_Occurred()) SWIG_fail
;
18583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18590 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
18595 argc
= PyObject_Length(args
);
18596 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
18597 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18600 return _wrap_new_PrintData__SWIG_0(self
,args
);
18606 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
18614 return _wrap_new_PrintData__SWIG_1(self
,args
);
18618 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintData'");
18623 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18624 PyObject
*resultobj
;
18625 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18626 PyObject
* obj0
= 0 ;
18627 char *kwnames
[] = {
18628 (char *) "self", NULL
18631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
18632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18638 wxPyEndAllowThreads(__tstate
);
18639 if (PyErr_Occurred()) SWIG_fail
;
18641 Py_INCREF(Py_None
); resultobj
= Py_None
;
18648 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18649 PyObject
*resultobj
;
18650 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18652 PyObject
* obj0
= 0 ;
18653 char *kwnames
[] = {
18654 (char *) "self", NULL
18657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18662 result
= (int)(arg1
)->GetNoCopies();
18664 wxPyEndAllowThreads(__tstate
);
18665 if (PyErr_Occurred()) SWIG_fail
;
18667 resultobj
= SWIG_From_int((int)result
);
18674 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18675 PyObject
*resultobj
;
18676 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18678 PyObject
* obj0
= 0 ;
18679 char *kwnames
[] = {
18680 (char *) "self", NULL
18683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
18684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18688 result
= (bool)(arg1
)->GetCollate();
18690 wxPyEndAllowThreads(__tstate
);
18691 if (PyErr_Occurred()) SWIG_fail
;
18694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18702 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18703 PyObject
*resultobj
;
18704 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18706 PyObject
* obj0
= 0 ;
18707 char *kwnames
[] = {
18708 (char *) "self", NULL
18711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
18712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18716 result
= (int)(arg1
)->GetOrientation();
18718 wxPyEndAllowThreads(__tstate
);
18719 if (PyErr_Occurred()) SWIG_fail
;
18721 resultobj
= SWIG_From_int((int)result
);
18728 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18729 PyObject
*resultobj
;
18730 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18732 PyObject
* obj0
= 0 ;
18733 char *kwnames
[] = {
18734 (char *) "self", NULL
18737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
18738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18742 result
= (bool)(arg1
)->Ok();
18744 wxPyEndAllowThreads(__tstate
);
18745 if (PyErr_Occurred()) SWIG_fail
;
18748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18756 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18757 PyObject
*resultobj
;
18758 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18760 PyObject
* obj0
= 0 ;
18761 char *kwnames
[] = {
18762 (char *) "self", NULL
18765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18771 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18772 result
= (wxString
*) &_result_ref
;
18775 wxPyEndAllowThreads(__tstate
);
18776 if (PyErr_Occurred()) SWIG_fail
;
18780 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18782 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18791 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18792 PyObject
*resultobj
;
18793 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18795 PyObject
* obj0
= 0 ;
18796 char *kwnames
[] = {
18797 (char *) "self", NULL
18800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18805 result
= (bool)(arg1
)->GetColour();
18807 wxPyEndAllowThreads(__tstate
);
18808 if (PyErr_Occurred()) SWIG_fail
;
18811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18819 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18820 PyObject
*resultobj
;
18821 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18823 PyObject
* obj0
= 0 ;
18824 char *kwnames
[] = {
18825 (char *) "self", NULL
18828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18833 result
= (int)(arg1
)->GetDuplex();
18835 wxPyEndAllowThreads(__tstate
);
18836 if (PyErr_Occurred()) SWIG_fail
;
18838 resultobj
= SWIG_From_int((int)result
);
18845 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18846 PyObject
*resultobj
;
18847 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18849 PyObject
* obj0
= 0 ;
18850 char *kwnames
[] = {
18851 (char *) "self", NULL
18854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18859 result
= (int)(arg1
)->GetPaperId();
18861 wxPyEndAllowThreads(__tstate
);
18862 if (PyErr_Occurred()) SWIG_fail
;
18864 resultobj
= SWIG_From_int((int)result
);
18871 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18872 PyObject
*resultobj
;
18873 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18875 PyObject
* obj0
= 0 ;
18876 char *kwnames
[] = {
18877 (char *) "self", NULL
18880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18886 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18887 result
= (wxSize
*) &_result_ref
;
18890 wxPyEndAllowThreads(__tstate
);
18891 if (PyErr_Occurred()) SWIG_fail
;
18893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18900 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18901 PyObject
*resultobj
;
18902 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18904 PyObject
* obj0
= 0 ;
18905 char *kwnames
[] = {
18906 (char *) "self", NULL
18909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18914 result
= (int)(arg1
)->GetQuality();
18916 wxPyEndAllowThreads(__tstate
);
18917 if (PyErr_Occurred()) SWIG_fail
;
18919 resultobj
= SWIG_From_int((int)result
);
18926 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18927 PyObject
*resultobj
;
18928 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18930 PyObject
* obj0
= 0 ;
18931 char *kwnames
[] = {
18932 (char *) "self", NULL
18935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
18936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18940 result
= (int)(arg1
)->GetBin();
18942 wxPyEndAllowThreads(__tstate
);
18943 if (PyErr_Occurred()) SWIG_fail
;
18945 resultobj
= SWIG_From_int((int)result
);
18952 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18953 PyObject
*resultobj
;
18954 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18956 PyObject
* obj0
= 0 ;
18957 char *kwnames
[] = {
18958 (char *) "self", NULL
18961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18966 result
= (int)((wxPrintData
const *)arg1
)->GetPrintMode();
18968 wxPyEndAllowThreads(__tstate
);
18969 if (PyErr_Occurred()) SWIG_fail
;
18971 resultobj
= SWIG_From_int((int)result
);
18978 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18979 PyObject
*resultobj
;
18980 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18982 PyObject
* obj0
= 0 ;
18983 PyObject
* obj1
= 0 ;
18984 char *kwnames
[] = {
18985 (char *) "self",(char *) "v", NULL
18988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18991 arg2
= (int)SWIG_As_int(obj1
);
18992 if (PyErr_Occurred()) SWIG_fail
;
18994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18995 (arg1
)->SetNoCopies(arg2
);
18997 wxPyEndAllowThreads(__tstate
);
18998 if (PyErr_Occurred()) SWIG_fail
;
19000 Py_INCREF(Py_None
); resultobj
= Py_None
;
19007 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19008 PyObject
*resultobj
;
19009 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19011 PyObject
* obj0
= 0 ;
19012 PyObject
* obj1
= 0 ;
19013 char *kwnames
[] = {
19014 (char *) "self",(char *) "flag", NULL
19017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
19018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19020 arg2
= (bool)SWIG_As_bool(obj1
);
19021 if (PyErr_Occurred()) SWIG_fail
;
19023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19024 (arg1
)->SetCollate(arg2
);
19026 wxPyEndAllowThreads(__tstate
);
19027 if (PyErr_Occurred()) SWIG_fail
;
19029 Py_INCREF(Py_None
); resultobj
= Py_None
;
19036 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19037 PyObject
*resultobj
;
19038 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19040 PyObject
* obj0
= 0 ;
19041 PyObject
* obj1
= 0 ;
19042 char *kwnames
[] = {
19043 (char *) "self",(char *) "orient", NULL
19046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19049 arg2
= (int)SWIG_As_int(obj1
);
19050 if (PyErr_Occurred()) SWIG_fail
;
19052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19053 (arg1
)->SetOrientation(arg2
);
19055 wxPyEndAllowThreads(__tstate
);
19056 if (PyErr_Occurred()) SWIG_fail
;
19058 Py_INCREF(Py_None
); resultobj
= Py_None
;
19065 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19066 PyObject
*resultobj
;
19067 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19068 wxString
*arg2
= 0 ;
19069 bool temp2
= false ;
19070 PyObject
* obj0
= 0 ;
19071 PyObject
* obj1
= 0 ;
19072 char *kwnames
[] = {
19073 (char *) "self",(char *) "name", NULL
19076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
19077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19080 arg2
= wxString_in_helper(obj1
);
19081 if (arg2
== NULL
) SWIG_fail
;
19085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19086 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
19088 wxPyEndAllowThreads(__tstate
);
19089 if (PyErr_Occurred()) SWIG_fail
;
19091 Py_INCREF(Py_None
); resultobj
= Py_None
;
19106 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
;
19108 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19110 PyObject
* obj0
= 0 ;
19111 PyObject
* obj1
= 0 ;
19112 char *kwnames
[] = {
19113 (char *) "self",(char *) "colour", NULL
19116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19119 arg2
= (bool)SWIG_As_bool(obj1
);
19120 if (PyErr_Occurred()) SWIG_fail
;
19122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19123 (arg1
)->SetColour(arg2
);
19125 wxPyEndAllowThreads(__tstate
);
19126 if (PyErr_Occurred()) SWIG_fail
;
19128 Py_INCREF(Py_None
); resultobj
= Py_None
;
19135 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19136 PyObject
*resultobj
;
19137 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19139 PyObject
* obj0
= 0 ;
19140 PyObject
* obj1
= 0 ;
19141 char *kwnames
[] = {
19142 (char *) "self",(char *) "duplex", NULL
19145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
19146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19148 arg2
= (int)SWIG_As_int(obj1
);
19149 if (PyErr_Occurred()) SWIG_fail
;
19151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19152 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
19154 wxPyEndAllowThreads(__tstate
);
19155 if (PyErr_Occurred()) SWIG_fail
;
19157 Py_INCREF(Py_None
); resultobj
= Py_None
;
19164 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19165 PyObject
*resultobj
;
19166 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19168 PyObject
* obj0
= 0 ;
19169 PyObject
* obj1
= 0 ;
19170 char *kwnames
[] = {
19171 (char *) "self",(char *) "sizeId", NULL
19174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
19175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19177 arg2
= (int)SWIG_As_int(obj1
);
19178 if (PyErr_Occurred()) SWIG_fail
;
19180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19181 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
19183 wxPyEndAllowThreads(__tstate
);
19184 if (PyErr_Occurred()) SWIG_fail
;
19186 Py_INCREF(Py_None
); resultobj
= Py_None
;
19193 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19194 PyObject
*resultobj
;
19195 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19198 PyObject
* obj0
= 0 ;
19199 PyObject
* obj1
= 0 ;
19200 char *kwnames
[] = {
19201 (char *) "self",(char *) "sz", NULL
19204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19209 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19213 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
19215 wxPyEndAllowThreads(__tstate
);
19216 if (PyErr_Occurred()) SWIG_fail
;
19218 Py_INCREF(Py_None
); resultobj
= Py_None
;
19225 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19226 PyObject
*resultobj
;
19227 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19229 PyObject
* obj0
= 0 ;
19230 PyObject
* obj1
= 0 ;
19231 char *kwnames
[] = {
19232 (char *) "self",(char *) "quality", NULL
19235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
19236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19238 arg2
= (int)SWIG_As_int(obj1
);
19239 if (PyErr_Occurred()) SWIG_fail
;
19241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19242 (arg1
)->SetQuality(arg2
);
19244 wxPyEndAllowThreads(__tstate
);
19245 if (PyErr_Occurred()) SWIG_fail
;
19247 Py_INCREF(Py_None
); resultobj
= Py_None
;
19254 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19255 PyObject
*resultobj
;
19256 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19258 PyObject
* obj0
= 0 ;
19259 PyObject
* obj1
= 0 ;
19260 char *kwnames
[] = {
19261 (char *) "self",(char *) "bin", NULL
19264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
19265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19267 arg2
= (int)SWIG_As_int(obj1
);
19268 if (PyErr_Occurred()) SWIG_fail
;
19270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19271 (arg1
)->SetBin((wxPrintBin
)arg2
);
19273 wxPyEndAllowThreads(__tstate
);
19274 if (PyErr_Occurred()) SWIG_fail
;
19276 Py_INCREF(Py_None
); resultobj
= Py_None
;
19283 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19284 PyObject
*resultobj
;
19285 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19287 PyObject
* obj0
= 0 ;
19288 PyObject
* obj1
= 0 ;
19289 char *kwnames
[] = {
19290 (char *) "self",(char *) "printMode", NULL
19293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19296 arg2
= (int)SWIG_As_int(obj1
);
19297 if (PyErr_Occurred()) SWIG_fail
;
19299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19300 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19302 wxPyEndAllowThreads(__tstate
);
19303 if (PyErr_Occurred()) SWIG_fail
;
19305 Py_INCREF(Py_None
); resultobj
= Py_None
;
19312 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19313 PyObject
*resultobj
;
19314 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19316 PyObject
* obj0
= 0 ;
19317 char *kwnames
[] = {
19318 (char *) "self", NULL
19321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
19322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19326 result
= ((wxPrintData
const *)arg1
)->GetFilename();
19328 wxPyEndAllowThreads(__tstate
);
19329 if (PyErr_Occurred()) SWIG_fail
;
19333 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19335 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19344 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19345 PyObject
*resultobj
;
19346 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19347 wxString
*arg2
= 0 ;
19348 bool temp2
= false ;
19349 PyObject
* obj0
= 0 ;
19350 PyObject
* obj1
= 0 ;
19351 char *kwnames
[] = {
19352 (char *) "self",(char *) "filename", NULL
19355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
19356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19359 arg2
= wxString_in_helper(obj1
);
19360 if (arg2
== NULL
) SWIG_fail
;
19364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19365 (arg1
)->SetFilename((wxString
const &)*arg2
);
19367 wxPyEndAllowThreads(__tstate
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19370 Py_INCREF(Py_None
); resultobj
= Py_None
;
19385 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19386 PyObject
*resultobj
;
19387 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19389 PyObject
* obj0
= 0 ;
19390 char *kwnames
[] = {
19391 (char *) "self", NULL
19394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
19395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19400 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
19401 result
= (wxString
*) &_result_ref
;
19404 wxPyEndAllowThreads(__tstate
);
19405 if (PyErr_Occurred()) SWIG_fail
;
19409 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19411 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19420 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19421 PyObject
*resultobj
;
19422 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19424 PyObject
* obj0
= 0 ;
19425 char *kwnames
[] = {
19426 (char *) "self", NULL
19429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
19430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19435 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
19436 result
= (wxString
*) &_result_ref
;
19439 wxPyEndAllowThreads(__tstate
);
19440 if (PyErr_Occurred()) SWIG_fail
;
19444 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19446 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19455 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19456 PyObject
*resultobj
;
19457 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19459 PyObject
* obj0
= 0 ;
19460 char *kwnames
[] = {
19461 (char *) "self", NULL
19464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
19465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19470 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
19471 result
= (wxString
*) &_result_ref
;
19474 wxPyEndAllowThreads(__tstate
);
19475 if (PyErr_Occurred()) SWIG_fail
;
19479 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19481 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19490 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19491 PyObject
*resultobj
;
19492 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19494 PyObject
* obj0
= 0 ;
19495 char *kwnames
[] = {
19496 (char *) "self", NULL
19499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
19500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19505 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
19506 result
= (wxString
*) &_result_ref
;
19509 wxPyEndAllowThreads(__tstate
);
19510 if (PyErr_Occurred()) SWIG_fail
;
19514 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19516 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19525 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19526 PyObject
*resultobj
;
19527 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19529 PyObject
* obj0
= 0 ;
19530 char *kwnames
[] = {
19531 (char *) "self", NULL
19534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
19535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19539 result
= (double)(arg1
)->GetPrinterScaleX();
19541 wxPyEndAllowThreads(__tstate
);
19542 if (PyErr_Occurred()) SWIG_fail
;
19544 resultobj
= SWIG_From_double((double)result
);
19551 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19552 PyObject
*resultobj
;
19553 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19555 PyObject
* obj0
= 0 ;
19556 char *kwnames
[] = {
19557 (char *) "self", NULL
19560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
19561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19565 result
= (double)(arg1
)->GetPrinterScaleY();
19567 wxPyEndAllowThreads(__tstate
);
19568 if (PyErr_Occurred()) SWIG_fail
;
19570 resultobj
= SWIG_From_double((double)result
);
19577 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19578 PyObject
*resultobj
;
19579 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19581 PyObject
* obj0
= 0 ;
19582 char *kwnames
[] = {
19583 (char *) "self", NULL
19586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
19587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19591 result
= (long)(arg1
)->GetPrinterTranslateX();
19593 wxPyEndAllowThreads(__tstate
);
19594 if (PyErr_Occurred()) SWIG_fail
;
19596 resultobj
= SWIG_From_long((long)result
);
19603 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19604 PyObject
*resultobj
;
19605 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19607 PyObject
* obj0
= 0 ;
19608 char *kwnames
[] = {
19609 (char *) "self", NULL
19612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
19613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19617 result
= (long)(arg1
)->GetPrinterTranslateY();
19619 wxPyEndAllowThreads(__tstate
);
19620 if (PyErr_Occurred()) SWIG_fail
;
19622 resultobj
= SWIG_From_long((long)result
);
19629 static PyObject
*_wrap_PrintData_SetPrinterCommand(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 *) "command", NULL
19640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",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
)->SetPrinterCommand((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_SetPrinterOptions(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 *) "options", NULL
19681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",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
)->SetPrinterOptions((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_SetPreviewCommand(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 *) "command", NULL
19722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",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
)->SetPreviewCommand((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_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19753 PyObject
*resultobj
;
19754 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19755 wxString
*arg2
= 0 ;
19756 bool temp2
= false ;
19757 PyObject
* obj0
= 0 ;
19758 PyObject
* obj1
= 0 ;
19759 char *kwnames
[] = {
19760 (char *) "self",(char *) "path", NULL
19763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
19764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19767 arg2
= wxString_in_helper(obj1
);
19768 if (arg2
== NULL
) SWIG_fail
;
19772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19773 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
19775 wxPyEndAllowThreads(__tstate
);
19776 if (PyErr_Occurred()) SWIG_fail
;
19778 Py_INCREF(Py_None
); resultobj
= Py_None
;
19793 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19794 PyObject
*resultobj
;
19795 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19797 PyObject
* obj0
= 0 ;
19798 PyObject
* obj1
= 0 ;
19799 char *kwnames
[] = {
19800 (char *) "self",(char *) "x", NULL
19803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
19804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19806 arg2
= (double)SWIG_As_double(obj1
);
19807 if (PyErr_Occurred()) SWIG_fail
;
19809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19810 (arg1
)->SetPrinterScaleX(arg2
);
19812 wxPyEndAllowThreads(__tstate
);
19813 if (PyErr_Occurred()) SWIG_fail
;
19815 Py_INCREF(Py_None
); resultobj
= Py_None
;
19822 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19823 PyObject
*resultobj
;
19824 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19826 PyObject
* obj0
= 0 ;
19827 PyObject
* obj1
= 0 ;
19828 char *kwnames
[] = {
19829 (char *) "self",(char *) "y", NULL
19832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
19833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19835 arg2
= (double)SWIG_As_double(obj1
);
19836 if (PyErr_Occurred()) SWIG_fail
;
19838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19839 (arg1
)->SetPrinterScaleY(arg2
);
19841 wxPyEndAllowThreads(__tstate
);
19842 if (PyErr_Occurred()) SWIG_fail
;
19844 Py_INCREF(Py_None
); resultobj
= Py_None
;
19851 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19852 PyObject
*resultobj
;
19853 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19856 PyObject
* obj0
= 0 ;
19857 PyObject
* obj1
= 0 ;
19858 PyObject
* obj2
= 0 ;
19859 char *kwnames
[] = {
19860 (char *) "self",(char *) "x",(char *) "y", NULL
19863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19866 arg2
= (double)SWIG_As_double(obj1
);
19867 if (PyErr_Occurred()) SWIG_fail
;
19868 arg3
= (double)SWIG_As_double(obj2
);
19869 if (PyErr_Occurred()) SWIG_fail
;
19871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19872 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19874 wxPyEndAllowThreads(__tstate
);
19875 if (PyErr_Occurred()) SWIG_fail
;
19877 Py_INCREF(Py_None
); resultobj
= Py_None
;
19884 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19885 PyObject
*resultobj
;
19886 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19888 PyObject
* obj0
= 0 ;
19889 PyObject
* obj1
= 0 ;
19890 char *kwnames
[] = {
19891 (char *) "self",(char *) "x", NULL
19894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19897 arg2
= (long)SWIG_As_long(obj1
);
19898 if (PyErr_Occurred()) SWIG_fail
;
19900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19901 (arg1
)->SetPrinterTranslateX(arg2
);
19903 wxPyEndAllowThreads(__tstate
);
19904 if (PyErr_Occurred()) SWIG_fail
;
19906 Py_INCREF(Py_None
); resultobj
= Py_None
;
19913 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19914 PyObject
*resultobj
;
19915 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19917 PyObject
* obj0
= 0 ;
19918 PyObject
* obj1
= 0 ;
19919 char *kwnames
[] = {
19920 (char *) "self",(char *) "y", NULL
19923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19926 arg2
= (long)SWIG_As_long(obj1
);
19927 if (PyErr_Occurred()) SWIG_fail
;
19929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19930 (arg1
)->SetPrinterTranslateY(arg2
);
19932 wxPyEndAllowThreads(__tstate
);
19933 if (PyErr_Occurred()) SWIG_fail
;
19935 Py_INCREF(Py_None
); resultobj
= Py_None
;
19942 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19943 PyObject
*resultobj
;
19944 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19947 PyObject
* obj0
= 0 ;
19948 PyObject
* obj1
= 0 ;
19949 PyObject
* obj2
= 0 ;
19950 char *kwnames
[] = {
19951 (char *) "self",(char *) "x",(char *) "y", NULL
19954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19957 arg2
= (long)SWIG_As_long(obj1
);
19958 if (PyErr_Occurred()) SWIG_fail
;
19959 arg3
= (long)SWIG_As_long(obj2
);
19960 if (PyErr_Occurred()) SWIG_fail
;
19962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19963 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19965 wxPyEndAllowThreads(__tstate
);
19966 if (PyErr_Occurred()) SWIG_fail
;
19968 Py_INCREF(Py_None
); resultobj
= Py_None
;
19975 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
19977 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19978 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19980 return Py_BuildValue((char *)"");
19982 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
19983 PyObject
*resultobj
;
19984 wxPageSetupDialogData
*result
;
19986 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
19988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19989 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19991 wxPyEndAllowThreads(__tstate
);
19992 if (PyErr_Occurred()) SWIG_fail
;
19994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
20001 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
20002 PyObject
*resultobj
;
20003 wxPageSetupDialogData
*arg1
= 0 ;
20004 wxPageSetupDialogData
*result
;
20005 PyObject
* obj0
= 0 ;
20007 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
20008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20009 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20011 if (arg1
== NULL
) {
20012 PyErr_SetString(PyExc_TypeError
,"null reference");
20016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20017 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
20019 wxPyEndAllowThreads(__tstate
);
20020 if (PyErr_Occurred()) SWIG_fail
;
20022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
20029 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
20034 argc
= PyObject_Length(args
);
20035 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20036 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20039 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
20045 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
20053 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
20057 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PageSetupDialogData'");
20062 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20063 PyObject
*resultobj
;
20064 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20065 PyObject
* obj0
= 0 ;
20066 char *kwnames
[] = {
20067 (char *) "self", NULL
20070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
20071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20077 wxPyEndAllowThreads(__tstate
);
20078 if (PyErr_Occurred()) SWIG_fail
;
20080 Py_INCREF(Py_None
); resultobj
= Py_None
;
20087 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20088 PyObject
*resultobj
;
20089 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20091 PyObject
* obj0
= 0 ;
20092 PyObject
* obj1
= 0 ;
20093 char *kwnames
[] = {
20094 (char *) "self",(char *) "flag", NULL
20097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20100 arg2
= (bool)SWIG_As_bool(obj1
);
20101 if (PyErr_Occurred()) SWIG_fail
;
20103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20104 (arg1
)->EnableHelp(arg2
);
20106 wxPyEndAllowThreads(__tstate
);
20107 if (PyErr_Occurred()) SWIG_fail
;
20109 Py_INCREF(Py_None
); resultobj
= Py_None
;
20116 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20117 PyObject
*resultobj
;
20118 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20120 PyObject
* obj0
= 0 ;
20121 PyObject
* obj1
= 0 ;
20122 char *kwnames
[] = {
20123 (char *) "self",(char *) "flag", NULL
20126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20129 arg2
= (bool)SWIG_As_bool(obj1
);
20130 if (PyErr_Occurred()) SWIG_fail
;
20132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20133 (arg1
)->EnableMargins(arg2
);
20135 wxPyEndAllowThreads(__tstate
);
20136 if (PyErr_Occurred()) SWIG_fail
;
20138 Py_INCREF(Py_None
); resultobj
= Py_None
;
20145 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20146 PyObject
*resultobj
;
20147 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20149 PyObject
* obj0
= 0 ;
20150 PyObject
* obj1
= 0 ;
20151 char *kwnames
[] = {
20152 (char *) "self",(char *) "flag", NULL
20155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
20156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20158 arg2
= (bool)SWIG_As_bool(obj1
);
20159 if (PyErr_Occurred()) SWIG_fail
;
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 (arg1
)->EnableOrientation(arg2
);
20164 wxPyEndAllowThreads(__tstate
);
20165 if (PyErr_Occurred()) SWIG_fail
;
20167 Py_INCREF(Py_None
); resultobj
= Py_None
;
20174 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20175 PyObject
*resultobj
;
20176 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20178 PyObject
* obj0
= 0 ;
20179 PyObject
* obj1
= 0 ;
20180 char *kwnames
[] = {
20181 (char *) "self",(char *) "flag", NULL
20184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
20185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20187 arg2
= (bool)SWIG_As_bool(obj1
);
20188 if (PyErr_Occurred()) SWIG_fail
;
20190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20191 (arg1
)->EnablePaper(arg2
);
20193 wxPyEndAllowThreads(__tstate
);
20194 if (PyErr_Occurred()) SWIG_fail
;
20196 Py_INCREF(Py_None
); resultobj
= Py_None
;
20203 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20204 PyObject
*resultobj
;
20205 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20207 PyObject
* obj0
= 0 ;
20208 PyObject
* obj1
= 0 ;
20209 char *kwnames
[] = {
20210 (char *) "self",(char *) "flag", NULL
20213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
20214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20216 arg2
= (bool)SWIG_As_bool(obj1
);
20217 if (PyErr_Occurred()) SWIG_fail
;
20219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20220 (arg1
)->EnablePrinter(arg2
);
20222 wxPyEndAllowThreads(__tstate
);
20223 if (PyErr_Occurred()) SWIG_fail
;
20225 Py_INCREF(Py_None
); resultobj
= Py_None
;
20232 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20233 PyObject
*resultobj
;
20234 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20236 PyObject
* obj0
= 0 ;
20237 char *kwnames
[] = {
20238 (char *) "self", NULL
20241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
20242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20246 result
= (bool)(arg1
)->GetDefaultMinMargins();
20248 wxPyEndAllowThreads(__tstate
);
20249 if (PyErr_Occurred()) SWIG_fail
;
20252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20260 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20261 PyObject
*resultobj
;
20262 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20264 PyObject
* obj0
= 0 ;
20265 char *kwnames
[] = {
20266 (char *) "self", NULL
20269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
20270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20274 result
= (bool)(arg1
)->GetEnableMargins();
20276 wxPyEndAllowThreads(__tstate
);
20277 if (PyErr_Occurred()) SWIG_fail
;
20280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20288 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20289 PyObject
*resultobj
;
20290 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20292 PyObject
* obj0
= 0 ;
20293 char *kwnames
[] = {
20294 (char *) "self", NULL
20297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
20298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20302 result
= (bool)(arg1
)->GetEnableOrientation();
20304 wxPyEndAllowThreads(__tstate
);
20305 if (PyErr_Occurred()) SWIG_fail
;
20308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20316 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20317 PyObject
*resultobj
;
20318 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20320 PyObject
* obj0
= 0 ;
20321 char *kwnames
[] = {
20322 (char *) "self", NULL
20325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
20326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20330 result
= (bool)(arg1
)->GetEnablePaper();
20332 wxPyEndAllowThreads(__tstate
);
20333 if (PyErr_Occurred()) SWIG_fail
;
20336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20344 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20345 PyObject
*resultobj
;
20346 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20348 PyObject
* obj0
= 0 ;
20349 char *kwnames
[] = {
20350 (char *) "self", NULL
20353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
20354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20358 result
= (bool)(arg1
)->GetEnablePrinter();
20360 wxPyEndAllowThreads(__tstate
);
20361 if (PyErr_Occurred()) SWIG_fail
;
20364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20372 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20373 PyObject
*resultobj
;
20374 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20376 PyObject
* obj0
= 0 ;
20377 char *kwnames
[] = {
20378 (char *) "self", NULL
20381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20386 result
= (bool)(arg1
)->GetEnableHelp();
20388 wxPyEndAllowThreads(__tstate
);
20389 if (PyErr_Occurred()) SWIG_fail
;
20392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20400 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20401 PyObject
*resultobj
;
20402 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20404 PyObject
* obj0
= 0 ;
20405 char *kwnames
[] = {
20406 (char *) "self", NULL
20409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
20410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20414 result
= (bool)(arg1
)->GetDefaultInfo();
20416 wxPyEndAllowThreads(__tstate
);
20417 if (PyErr_Occurred()) SWIG_fail
;
20420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20428 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20429 PyObject
*resultobj
;
20430 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20432 PyObject
* obj0
= 0 ;
20433 char *kwnames
[] = {
20434 (char *) "self", NULL
20437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20442 result
= (arg1
)->GetMarginTopLeft();
20444 wxPyEndAllowThreads(__tstate
);
20445 if (PyErr_Occurred()) SWIG_fail
;
20448 wxPoint
* resultptr
;
20449 resultptr
= new wxPoint((wxPoint
&) result
);
20450 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20458 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20459 PyObject
*resultobj
;
20460 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20462 PyObject
* obj0
= 0 ;
20463 char *kwnames
[] = {
20464 (char *) "self", NULL
20467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20472 result
= (arg1
)->GetMarginBottomRight();
20474 wxPyEndAllowThreads(__tstate
);
20475 if (PyErr_Occurred()) SWIG_fail
;
20478 wxPoint
* resultptr
;
20479 resultptr
= new wxPoint((wxPoint
&) result
);
20480 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20488 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20489 PyObject
*resultobj
;
20490 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20492 PyObject
* obj0
= 0 ;
20493 char *kwnames
[] = {
20494 (char *) "self", NULL
20497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20502 result
= (arg1
)->GetMinMarginTopLeft();
20504 wxPyEndAllowThreads(__tstate
);
20505 if (PyErr_Occurred()) SWIG_fail
;
20508 wxPoint
* resultptr
;
20509 resultptr
= new wxPoint((wxPoint
&) result
);
20510 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20518 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20519 PyObject
*resultobj
;
20520 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20522 PyObject
* obj0
= 0 ;
20523 char *kwnames
[] = {
20524 (char *) "self", NULL
20527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20532 result
= (arg1
)->GetMinMarginBottomRight();
20534 wxPyEndAllowThreads(__tstate
);
20535 if (PyErr_Occurred()) SWIG_fail
;
20538 wxPoint
* resultptr
;
20539 resultptr
= new wxPoint((wxPoint
&) result
);
20540 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20548 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20549 PyObject
*resultobj
;
20550 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20552 PyObject
* obj0
= 0 ;
20553 char *kwnames
[] = {
20554 (char *) "self", NULL
20557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20562 result
= (int)(arg1
)->GetPaperId();
20564 wxPyEndAllowThreads(__tstate
);
20565 if (PyErr_Occurred()) SWIG_fail
;
20567 resultobj
= SWIG_From_int((int)result
);
20574 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20575 PyObject
*resultobj
;
20576 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20578 PyObject
* obj0
= 0 ;
20579 char *kwnames
[] = {
20580 (char *) "self", NULL
20583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20588 result
= (arg1
)->GetPaperSize();
20590 wxPyEndAllowThreads(__tstate
);
20591 if (PyErr_Occurred()) SWIG_fail
;
20594 wxSize
* resultptr
;
20595 resultptr
= new wxSize((wxSize
&) result
);
20596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20604 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20605 PyObject
*resultobj
;
20606 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20607 wxPrintData
*result
;
20608 PyObject
* obj0
= 0 ;
20609 char *kwnames
[] = {
20610 (char *) "self", NULL
20613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20619 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20620 result
= (wxPrintData
*) &_result_ref
;
20623 wxPyEndAllowThreads(__tstate
);
20624 if (PyErr_Occurred()) SWIG_fail
;
20626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20633 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20634 PyObject
*resultobj
;
20635 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20637 PyObject
* obj0
= 0 ;
20638 char *kwnames
[] = {
20639 (char *) "self", NULL
20642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20647 result
= (bool)(arg1
)->Ok();
20649 wxPyEndAllowThreads(__tstate
);
20650 if (PyErr_Occurred()) SWIG_fail
;
20653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20661 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20662 PyObject
*resultobj
;
20663 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20665 PyObject
* obj0
= 0 ;
20666 PyObject
* obj1
= 0 ;
20667 char *kwnames
[] = {
20668 (char *) "self",(char *) "flag", NULL
20671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
20672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20674 arg2
= (bool)SWIG_As_bool(obj1
);
20675 if (PyErr_Occurred()) SWIG_fail
;
20677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20678 (arg1
)->SetDefaultInfo(arg2
);
20680 wxPyEndAllowThreads(__tstate
);
20681 if (PyErr_Occurred()) SWIG_fail
;
20683 Py_INCREF(Py_None
); resultobj
= Py_None
;
20690 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20691 PyObject
*resultobj
;
20692 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20694 PyObject
* obj0
= 0 ;
20695 PyObject
* obj1
= 0 ;
20696 char *kwnames
[] = {
20697 (char *) "self",(char *) "flag", NULL
20700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20703 arg2
= (bool)SWIG_As_bool(obj1
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20707 (arg1
)->SetDefaultMinMargins(arg2
);
20709 wxPyEndAllowThreads(__tstate
);
20710 if (PyErr_Occurred()) SWIG_fail
;
20712 Py_INCREF(Py_None
); resultobj
= Py_None
;
20719 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20720 PyObject
*resultobj
;
20721 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20722 wxPoint
*arg2
= 0 ;
20724 PyObject
* obj0
= 0 ;
20725 PyObject
* obj1
= 0 ;
20726 char *kwnames
[] = {
20727 (char *) "self",(char *) "pt", NULL
20730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20735 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20739 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
20741 wxPyEndAllowThreads(__tstate
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20744 Py_INCREF(Py_None
); resultobj
= Py_None
;
20751 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20752 PyObject
*resultobj
;
20753 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20754 wxPoint
*arg2
= 0 ;
20756 PyObject
* obj0
= 0 ;
20757 PyObject
* obj1
= 0 ;
20758 char *kwnames
[] = {
20759 (char *) "self",(char *) "pt", NULL
20762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20767 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20771 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20773 wxPyEndAllowThreads(__tstate
);
20774 if (PyErr_Occurred()) SWIG_fail
;
20776 Py_INCREF(Py_None
); resultobj
= Py_None
;
20783 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20784 PyObject
*resultobj
;
20785 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20786 wxPoint
*arg2
= 0 ;
20788 PyObject
* obj0
= 0 ;
20789 PyObject
* obj1
= 0 ;
20790 char *kwnames
[] = {
20791 (char *) "self",(char *) "pt", NULL
20794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20799 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20803 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20805 wxPyEndAllowThreads(__tstate
);
20806 if (PyErr_Occurred()) SWIG_fail
;
20808 Py_INCREF(Py_None
); resultobj
= Py_None
;
20815 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20816 PyObject
*resultobj
;
20817 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20818 wxPoint
*arg2
= 0 ;
20820 PyObject
* obj0
= 0 ;
20821 PyObject
* obj1
= 0 ;
20822 char *kwnames
[] = {
20823 (char *) "self",(char *) "pt", NULL
20826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20831 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20835 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20837 wxPyEndAllowThreads(__tstate
);
20838 if (PyErr_Occurred()) SWIG_fail
;
20840 Py_INCREF(Py_None
); resultobj
= Py_None
;
20847 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20848 PyObject
*resultobj
;
20849 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20851 PyObject
* obj0
= 0 ;
20852 PyObject
* obj1
= 0 ;
20853 char *kwnames
[] = {
20854 (char *) "self",(char *) "id", NULL
20857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20860 arg2
= (int)SWIG_As_int(obj1
);
20861 if (PyErr_Occurred()) SWIG_fail
;
20863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20864 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20866 wxPyEndAllowThreads(__tstate
);
20867 if (PyErr_Occurred()) SWIG_fail
;
20869 Py_INCREF(Py_None
); resultobj
= Py_None
;
20876 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20877 PyObject
*resultobj
;
20878 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20881 PyObject
* obj0
= 0 ;
20882 PyObject
* obj1
= 0 ;
20883 char *kwnames
[] = {
20884 (char *) "self",(char *) "size", NULL
20887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20892 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20896 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20898 wxPyEndAllowThreads(__tstate
);
20899 if (PyErr_Occurred()) SWIG_fail
;
20901 Py_INCREF(Py_None
); resultobj
= Py_None
;
20908 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20909 PyObject
*resultobj
;
20910 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20911 wxPrintData
*arg2
= 0 ;
20912 PyObject
* obj0
= 0 ;
20913 PyObject
* obj1
= 0 ;
20914 char *kwnames
[] = {
20915 (char *) "self",(char *) "printData", NULL
20918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20922 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20924 if (arg2
== NULL
) {
20925 PyErr_SetString(PyExc_TypeError
,"null reference");
20929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20930 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20932 wxPyEndAllowThreads(__tstate
);
20933 if (PyErr_Occurred()) SWIG_fail
;
20935 Py_INCREF(Py_None
); resultobj
= Py_None
;
20942 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
20944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20945 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20947 return Py_BuildValue((char *)"");
20949 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20950 PyObject
*resultobj
;
20951 wxWindow
*arg1
= (wxWindow
*) 0 ;
20952 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20953 wxPageSetupDialog
*result
;
20954 PyObject
* obj0
= 0 ;
20955 PyObject
* obj1
= 0 ;
20956 char *kwnames
[] = {
20957 (char *) "parent",(char *) "data", NULL
20960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20964 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20968 if (!wxPyCheckForApp()) SWIG_fail
;
20969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20970 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20972 wxPyEndAllowThreads(__tstate
);
20973 if (PyErr_Occurred()) SWIG_fail
;
20975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20982 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20983 PyObject
*resultobj
;
20984 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20985 wxPageSetupDialogData
*result
;
20986 PyObject
* obj0
= 0 ;
20987 char *kwnames
[] = {
20988 (char *) "self", NULL
20991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20997 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20998 result
= (wxPageSetupDialogData
*) &_result_ref
;
21001 wxPyEndAllowThreads(__tstate
);
21002 if (PyErr_Occurred()) SWIG_fail
;
21004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
21011 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21012 PyObject
*resultobj
;
21013 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
21014 wxPageSetupDialogData
*result
;
21015 PyObject
* obj0
= 0 ;
21016 char *kwnames
[] = {
21017 (char *) "self", NULL
21020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
21021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
21022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21026 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
21027 result
= (wxPageSetupDialogData
*) &_result_ref
;
21030 wxPyEndAllowThreads(__tstate
);
21031 if (PyErr_Occurred()) SWIG_fail
;
21033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
21040 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21041 PyObject
*resultobj
;
21042 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
21044 PyObject
* obj0
= 0 ;
21045 char *kwnames
[] = {
21046 (char *) "self", NULL
21049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
21051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21054 result
= (int)(arg1
)->ShowModal();
21056 wxPyEndAllowThreads(__tstate
);
21057 if (PyErr_Occurred()) SWIG_fail
;
21059 resultobj
= SWIG_From_int((int)result
);
21066 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
21068 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21069 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
21071 return Py_BuildValue((char *)"");
21073 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
21074 PyObject
*resultobj
;
21075 wxPrintDialogData
*result
;
21077 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
21079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21080 result
= (wxPrintDialogData
*)new wxPrintDialogData();
21082 wxPyEndAllowThreads(__tstate
);
21083 if (PyErr_Occurred()) SWIG_fail
;
21085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
21092 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
21093 PyObject
*resultobj
;
21094 wxPrintData
*arg1
= 0 ;
21095 wxPrintDialogData
*result
;
21096 PyObject
* obj0
= 0 ;
21098 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
21099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
21100 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21102 if (arg1
== NULL
) {
21103 PyErr_SetString(PyExc_TypeError
,"null reference");
21107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21108 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
21110 wxPyEndAllowThreads(__tstate
);
21111 if (PyErr_Occurred()) SWIG_fail
;
21113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
21120 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
21125 argc
= PyObject_Length(args
);
21126 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
21127 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21130 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
21136 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
21144 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
21148 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
21153 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21154 PyObject
*resultobj
;
21155 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21156 PyObject
* obj0
= 0 ;
21157 char *kwnames
[] = {
21158 (char *) "self", NULL
21161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
21162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21168 wxPyEndAllowThreads(__tstate
);
21169 if (PyErr_Occurred()) SWIG_fail
;
21171 Py_INCREF(Py_None
); resultobj
= Py_None
;
21178 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21179 PyObject
*resultobj
;
21180 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21182 PyObject
* obj0
= 0 ;
21183 char *kwnames
[] = {
21184 (char *) "self", NULL
21187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
21188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21192 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
21194 wxPyEndAllowThreads(__tstate
);
21195 if (PyErr_Occurred()) SWIG_fail
;
21197 resultobj
= SWIG_From_int((int)result
);
21204 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21205 PyObject
*resultobj
;
21206 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21208 PyObject
* obj0
= 0 ;
21209 char *kwnames
[] = {
21210 (char *) "self", NULL
21213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
21214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21218 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
21220 wxPyEndAllowThreads(__tstate
);
21221 if (PyErr_Occurred()) SWIG_fail
;
21223 resultobj
= SWIG_From_int((int)result
);
21230 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21231 PyObject
*resultobj
;
21232 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21234 PyObject
* obj0
= 0 ;
21235 char *kwnames
[] = {
21236 (char *) "self", NULL
21239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
21240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21244 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
21246 wxPyEndAllowThreads(__tstate
);
21247 if (PyErr_Occurred()) SWIG_fail
;
21249 resultobj
= SWIG_From_int((int)result
);
21256 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21257 PyObject
*resultobj
;
21258 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21260 PyObject
* obj0
= 0 ;
21261 char *kwnames
[] = {
21262 (char *) "self", NULL
21265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
21266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21270 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
21272 wxPyEndAllowThreads(__tstate
);
21273 if (PyErr_Occurred()) SWIG_fail
;
21275 resultobj
= SWIG_From_int((int)result
);
21282 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21283 PyObject
*resultobj
;
21284 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21286 PyObject
* obj0
= 0 ;
21287 char *kwnames
[] = {
21288 (char *) "self", NULL
21291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
21292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21296 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
21298 wxPyEndAllowThreads(__tstate
);
21299 if (PyErr_Occurred()) SWIG_fail
;
21301 resultobj
= SWIG_From_int((int)result
);
21308 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21309 PyObject
*resultobj
;
21310 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21312 PyObject
* obj0
= 0 ;
21313 char *kwnames
[] = {
21314 (char *) "self", NULL
21317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
21318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21322 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
21324 wxPyEndAllowThreads(__tstate
);
21325 if (PyErr_Occurred()) SWIG_fail
;
21328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21336 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21337 PyObject
*resultobj
;
21338 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21340 PyObject
* obj0
= 0 ;
21341 char *kwnames
[] = {
21342 (char *) "self", NULL
21345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
21346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21350 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
21352 wxPyEndAllowThreads(__tstate
);
21353 if (PyErr_Occurred()) SWIG_fail
;
21356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21364 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21365 PyObject
*resultobj
;
21366 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21368 PyObject
* obj0
= 0 ;
21369 char *kwnames
[] = {
21370 (char *) "self", NULL
21373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
21374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21378 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
21380 wxPyEndAllowThreads(__tstate
);
21381 if (PyErr_Occurred()) SWIG_fail
;
21384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21392 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21393 PyObject
*resultobj
;
21394 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21396 PyObject
* obj0
= 0 ;
21397 char *kwnames
[] = {
21398 (char *) "self", NULL
21401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
21402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21406 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
21408 wxPyEndAllowThreads(__tstate
);
21409 if (PyErr_Occurred()) SWIG_fail
;
21412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21420 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21421 PyObject
*resultobj
;
21422 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21424 PyObject
* obj0
= 0 ;
21425 char *kwnames
[] = {
21426 (char *) "self", NULL
21429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
21430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21434 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
21436 wxPyEndAllowThreads(__tstate
);
21437 if (PyErr_Occurred()) SWIG_fail
;
21440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21448 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21449 PyObject
*resultobj
;
21450 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21452 PyObject
* obj0
= 0 ;
21453 PyObject
* obj1
= 0 ;
21454 char *kwnames
[] = {
21455 (char *) "self",(char *) "flag", NULL
21458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21461 arg2
= (bool)SWIG_As_bool(obj1
);
21462 if (PyErr_Occurred()) SWIG_fail
;
21464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21465 (arg1
)->SetSetupDialog(arg2
);
21467 wxPyEndAllowThreads(__tstate
);
21468 if (PyErr_Occurred()) SWIG_fail
;
21470 Py_INCREF(Py_None
); resultobj
= Py_None
;
21477 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21478 PyObject
*resultobj
;
21479 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21481 PyObject
* obj0
= 0 ;
21482 PyObject
* obj1
= 0 ;
21483 char *kwnames
[] = {
21484 (char *) "self",(char *) "v", NULL
21487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21490 arg2
= (int)SWIG_As_int(obj1
);
21491 if (PyErr_Occurred()) SWIG_fail
;
21493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21494 (arg1
)->SetFromPage(arg2
);
21496 wxPyEndAllowThreads(__tstate
);
21497 if (PyErr_Occurred()) SWIG_fail
;
21499 Py_INCREF(Py_None
); resultobj
= Py_None
;
21506 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21507 PyObject
*resultobj
;
21508 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21510 PyObject
* obj0
= 0 ;
21511 PyObject
* obj1
= 0 ;
21512 char *kwnames
[] = {
21513 (char *) "self",(char *) "v", NULL
21516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21519 arg2
= (int)SWIG_As_int(obj1
);
21520 if (PyErr_Occurred()) SWIG_fail
;
21522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21523 (arg1
)->SetToPage(arg2
);
21525 wxPyEndAllowThreads(__tstate
);
21526 if (PyErr_Occurred()) SWIG_fail
;
21528 Py_INCREF(Py_None
); resultobj
= Py_None
;
21535 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21536 PyObject
*resultobj
;
21537 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21539 PyObject
* obj0
= 0 ;
21540 PyObject
* obj1
= 0 ;
21541 char *kwnames
[] = {
21542 (char *) "self",(char *) "v", NULL
21545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21548 arg2
= (int)SWIG_As_int(obj1
);
21549 if (PyErr_Occurred()) SWIG_fail
;
21551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21552 (arg1
)->SetMinPage(arg2
);
21554 wxPyEndAllowThreads(__tstate
);
21555 if (PyErr_Occurred()) SWIG_fail
;
21557 Py_INCREF(Py_None
); resultobj
= Py_None
;
21564 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21565 PyObject
*resultobj
;
21566 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21568 PyObject
* obj0
= 0 ;
21569 PyObject
* obj1
= 0 ;
21570 char *kwnames
[] = {
21571 (char *) "self",(char *) "v", NULL
21574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21577 arg2
= (int)SWIG_As_int(obj1
);
21578 if (PyErr_Occurred()) SWIG_fail
;
21580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21581 (arg1
)->SetMaxPage(arg2
);
21583 wxPyEndAllowThreads(__tstate
);
21584 if (PyErr_Occurred()) SWIG_fail
;
21586 Py_INCREF(Py_None
); resultobj
= Py_None
;
21593 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21594 PyObject
*resultobj
;
21595 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21597 PyObject
* obj0
= 0 ;
21598 PyObject
* obj1
= 0 ;
21599 char *kwnames
[] = {
21600 (char *) "self",(char *) "v", NULL
21603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21606 arg2
= (int)SWIG_As_int(obj1
);
21607 if (PyErr_Occurred()) SWIG_fail
;
21609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21610 (arg1
)->SetNoCopies(arg2
);
21612 wxPyEndAllowThreads(__tstate
);
21613 if (PyErr_Occurred()) SWIG_fail
;
21615 Py_INCREF(Py_None
); resultobj
= Py_None
;
21622 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21623 PyObject
*resultobj
;
21624 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21626 PyObject
* obj0
= 0 ;
21627 PyObject
* obj1
= 0 ;
21628 char *kwnames
[] = {
21629 (char *) "self",(char *) "flag", NULL
21632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
21633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21635 arg2
= (bool)SWIG_As_bool(obj1
);
21636 if (PyErr_Occurred()) SWIG_fail
;
21638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21639 (arg1
)->SetAllPages(arg2
);
21641 wxPyEndAllowThreads(__tstate
);
21642 if (PyErr_Occurred()) SWIG_fail
;
21644 Py_INCREF(Py_None
); resultobj
= Py_None
;
21651 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21652 PyObject
*resultobj
;
21653 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21655 PyObject
* obj0
= 0 ;
21656 PyObject
* obj1
= 0 ;
21657 char *kwnames
[] = {
21658 (char *) "self",(char *) "flag", NULL
21661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21664 arg2
= (bool)SWIG_As_bool(obj1
);
21665 if (PyErr_Occurred()) SWIG_fail
;
21667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21668 (arg1
)->SetSelection(arg2
);
21670 wxPyEndAllowThreads(__tstate
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21673 Py_INCREF(Py_None
); resultobj
= Py_None
;
21680 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21681 PyObject
*resultobj
;
21682 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21684 PyObject
* obj0
= 0 ;
21685 PyObject
* obj1
= 0 ;
21686 char *kwnames
[] = {
21687 (char *) "self",(char *) "flag", NULL
21690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21693 arg2
= (bool)SWIG_As_bool(obj1
);
21694 if (PyErr_Occurred()) SWIG_fail
;
21696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21697 (arg1
)->SetCollate(arg2
);
21699 wxPyEndAllowThreads(__tstate
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21702 Py_INCREF(Py_None
); resultobj
= Py_None
;
21709 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21710 PyObject
*resultobj
;
21711 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21713 PyObject
* obj0
= 0 ;
21714 PyObject
* obj1
= 0 ;
21715 char *kwnames
[] = {
21716 (char *) "self",(char *) "flag", NULL
21719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21722 arg2
= (bool)SWIG_As_bool(obj1
);
21723 if (PyErr_Occurred()) SWIG_fail
;
21725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21726 (arg1
)->SetPrintToFile(arg2
);
21728 wxPyEndAllowThreads(__tstate
);
21729 if (PyErr_Occurred()) SWIG_fail
;
21731 Py_INCREF(Py_None
); resultobj
= Py_None
;
21738 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21739 PyObject
*resultobj
;
21740 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21742 PyObject
* obj0
= 0 ;
21743 PyObject
* obj1
= 0 ;
21744 char *kwnames
[] = {
21745 (char *) "self",(char *) "flag", NULL
21748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21751 arg2
= (bool)SWIG_As_bool(obj1
);
21752 if (PyErr_Occurred()) SWIG_fail
;
21754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21755 (arg1
)->EnablePrintToFile(arg2
);
21757 wxPyEndAllowThreads(__tstate
);
21758 if (PyErr_Occurred()) SWIG_fail
;
21760 Py_INCREF(Py_None
); resultobj
= Py_None
;
21767 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21768 PyObject
*resultobj
;
21769 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21771 PyObject
* obj0
= 0 ;
21772 PyObject
* obj1
= 0 ;
21773 char *kwnames
[] = {
21774 (char *) "self",(char *) "flag", NULL
21777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21780 arg2
= (bool)SWIG_As_bool(obj1
);
21781 if (PyErr_Occurred()) SWIG_fail
;
21783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21784 (arg1
)->EnableSelection(arg2
);
21786 wxPyEndAllowThreads(__tstate
);
21787 if (PyErr_Occurred()) SWIG_fail
;
21789 Py_INCREF(Py_None
); resultobj
= Py_None
;
21796 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21797 PyObject
*resultobj
;
21798 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21800 PyObject
* obj0
= 0 ;
21801 PyObject
* obj1
= 0 ;
21802 char *kwnames
[] = {
21803 (char *) "self",(char *) "flag", NULL
21806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21809 arg2
= (bool)SWIG_As_bool(obj1
);
21810 if (PyErr_Occurred()) SWIG_fail
;
21812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21813 (arg1
)->EnablePageNumbers(arg2
);
21815 wxPyEndAllowThreads(__tstate
);
21816 if (PyErr_Occurred()) SWIG_fail
;
21818 Py_INCREF(Py_None
); resultobj
= Py_None
;
21825 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21826 PyObject
*resultobj
;
21827 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21829 PyObject
* obj0
= 0 ;
21830 PyObject
* obj1
= 0 ;
21831 char *kwnames
[] = {
21832 (char *) "self",(char *) "flag", NULL
21835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21838 arg2
= (bool)SWIG_As_bool(obj1
);
21839 if (PyErr_Occurred()) SWIG_fail
;
21841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21842 (arg1
)->EnableHelp(arg2
);
21844 wxPyEndAllowThreads(__tstate
);
21845 if (PyErr_Occurred()) SWIG_fail
;
21847 Py_INCREF(Py_None
); resultobj
= Py_None
;
21854 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21855 PyObject
*resultobj
;
21856 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21858 PyObject
* obj0
= 0 ;
21859 char *kwnames
[] = {
21860 (char *) "self", NULL
21863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21868 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21870 wxPyEndAllowThreads(__tstate
);
21871 if (PyErr_Occurred()) SWIG_fail
;
21874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21882 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21883 PyObject
*resultobj
;
21884 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21886 PyObject
* obj0
= 0 ;
21887 char *kwnames
[] = {
21888 (char *) "self", NULL
21891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21896 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21898 wxPyEndAllowThreads(__tstate
);
21899 if (PyErr_Occurred()) SWIG_fail
;
21902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21910 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21911 PyObject
*resultobj
;
21912 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21914 PyObject
* obj0
= 0 ;
21915 char *kwnames
[] = {
21916 (char *) "self", NULL
21919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21924 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21926 wxPyEndAllowThreads(__tstate
);
21927 if (PyErr_Occurred()) SWIG_fail
;
21930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21938 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21939 PyObject
*resultobj
;
21940 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21942 PyObject
* obj0
= 0 ;
21943 char *kwnames
[] = {
21944 (char *) "self", NULL
21947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21952 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21954 wxPyEndAllowThreads(__tstate
);
21955 if (PyErr_Occurred()) SWIG_fail
;
21958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21966 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21967 PyObject
*resultobj
;
21968 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21970 PyObject
* obj0
= 0 ;
21971 char *kwnames
[] = {
21972 (char *) "self", NULL
21975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21980 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21982 wxPyEndAllowThreads(__tstate
);
21983 if (PyErr_Occurred()) SWIG_fail
;
21986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21994 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21995 PyObject
*resultobj
;
21996 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21997 wxPrintData
*result
;
21998 PyObject
* obj0
= 0 ;
21999 char *kwnames
[] = {
22000 (char *) "self", NULL
22003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
22004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
22005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22009 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22010 result
= (wxPrintData
*) &_result_ref
;
22013 wxPyEndAllowThreads(__tstate
);
22014 if (PyErr_Occurred()) SWIG_fail
;
22016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22023 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22024 PyObject
*resultobj
;
22025 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22026 wxPrintData
*arg2
= 0 ;
22027 PyObject
* obj0
= 0 ;
22028 PyObject
* obj1
= 0 ;
22029 char *kwnames
[] = {
22030 (char *) "self",(char *) "printData", NULL
22033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
22034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
22035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22036 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
22037 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22039 if (arg2
== NULL
) {
22040 PyErr_SetString(PyExc_TypeError
,"null reference");
22044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22045 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
22047 wxPyEndAllowThreads(__tstate
);
22048 if (PyErr_Occurred()) SWIG_fail
;
22050 Py_INCREF(Py_None
); resultobj
= Py_None
;
22057 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
22059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22060 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
22062 return Py_BuildValue((char *)"");
22064 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22065 PyObject
*resultobj
;
22066 wxWindow
*arg1
= (wxWindow
*) 0 ;
22067 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
22068 wxPrintDialog
*result
;
22069 PyObject
* obj0
= 0 ;
22070 PyObject
* obj1
= 0 ;
22071 char *kwnames
[] = {
22072 (char *) "parent",(char *) "data", NULL
22075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
22080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22083 if (!wxPyCheckForApp()) SWIG_fail
;
22084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22085 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
22087 wxPyEndAllowThreads(__tstate
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
22097 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22098 PyObject
*resultobj
;
22099 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
22101 PyObject
* obj0
= 0 ;
22102 char *kwnames
[] = {
22103 (char *) "self", NULL
22106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
22107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
22108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22111 result
= (int)(arg1
)->ShowModal();
22113 wxPyEndAllowThreads(__tstate
);
22114 if (PyErr_Occurred()) SWIG_fail
;
22116 resultobj
= SWIG_From_int((int)result
);
22123 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22124 PyObject
*resultobj
;
22125 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
22126 wxPrintDialogData
*result
;
22127 PyObject
* obj0
= 0 ;
22128 char *kwnames
[] = {
22129 (char *) "self", NULL
22132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
22133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
22134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22138 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
22139 result
= (wxPrintDialogData
*) &_result_ref
;
22142 wxPyEndAllowThreads(__tstate
);
22143 if (PyErr_Occurred()) SWIG_fail
;
22145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
22152 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22153 PyObject
*resultobj
;
22154 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
22155 wxPrintData
*result
;
22156 PyObject
* obj0
= 0 ;
22157 char *kwnames
[] = {
22158 (char *) "self", NULL
22161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
22162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
22163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22167 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22168 result
= (wxPrintData
*) &_result_ref
;
22171 wxPyEndAllowThreads(__tstate
);
22172 if (PyErr_Occurred()) SWIG_fail
;
22174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22181 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22182 PyObject
*resultobj
;
22183 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
22185 PyObject
* obj0
= 0 ;
22186 char *kwnames
[] = {
22187 (char *) "self", NULL
22190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
22191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
22192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22195 result
= (wxDC
*)(arg1
)->GetPrintDC();
22197 wxPyEndAllowThreads(__tstate
);
22198 if (PyErr_Occurred()) SWIG_fail
;
22201 resultobj
= wxPyMake_wxObject(result
, 1);
22209 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
22211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22212 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
22214 return Py_BuildValue((char *)"");
22216 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22217 PyObject
*resultobj
;
22218 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
22220 PyObject
* obj0
= 0 ;
22221 char *kwnames
[] = {
22222 (char *) "data", NULL
22225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
22227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
22228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22231 if (!wxPyCheckForApp()) SWIG_fail
;
22232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22233 result
= (wxPrinter
*)new wxPrinter(arg1
);
22235 wxPyEndAllowThreads(__tstate
);
22236 if (PyErr_Occurred()) SWIG_fail
;
22238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
22245 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22246 PyObject
*resultobj
;
22247 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22248 PyObject
* obj0
= 0 ;
22249 char *kwnames
[] = {
22250 (char *) "self", NULL
22253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
22254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22260 wxPyEndAllowThreads(__tstate
);
22261 if (PyErr_Occurred()) SWIG_fail
;
22263 Py_INCREF(Py_None
); resultobj
= Py_None
;
22270 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22271 PyObject
*resultobj
;
22272 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22273 wxWindow
*arg2
= (wxWindow
*) 0 ;
22274 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22276 PyObject
* obj0
= 0 ;
22277 PyObject
* obj1
= 0 ;
22278 PyObject
* obj2
= 0 ;
22279 char *kwnames
[] = {
22280 (char *) "self",(char *) "parent",(char *) "printout", NULL
22283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22286 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22288 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22292 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
22294 wxPyEndAllowThreads(__tstate
);
22295 if (PyErr_Occurred()) SWIG_fail
;
22298 resultobj
= wxPyMake_wxObject(result
, 0);
22306 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22307 PyObject
*resultobj
;
22308 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22309 wxWindow
*arg2
= (wxWindow
*) 0 ;
22310 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22311 wxString
*arg4
= 0 ;
22312 bool temp4
= false ;
22313 PyObject
* obj0
= 0 ;
22314 PyObject
* obj1
= 0 ;
22315 PyObject
* obj2
= 0 ;
22316 PyObject
* obj3
= 0 ;
22317 char *kwnames
[] = {
22318 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
22321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22326 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22329 arg4
= wxString_in_helper(obj3
);
22330 if (arg4
== NULL
) SWIG_fail
;
22334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22335 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
22337 wxPyEndAllowThreads(__tstate
);
22338 if (PyErr_Occurred()) SWIG_fail
;
22340 Py_INCREF(Py_None
); resultobj
= Py_None
;
22355 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22356 PyObject
*resultobj
;
22357 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22358 wxWindow
*arg2
= (wxWindow
*) 0 ;
22360 PyObject
* obj0
= 0 ;
22361 PyObject
* obj1
= 0 ;
22362 char *kwnames
[] = {
22363 (char *) "self",(char *) "parent", NULL
22366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
22367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22369 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22373 result
= (bool)(arg1
)->Setup(arg2
);
22375 wxPyEndAllowThreads(__tstate
);
22376 if (PyErr_Occurred()) SWIG_fail
;
22379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22387 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22388 PyObject
*resultobj
;
22389 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22390 wxWindow
*arg2
= (wxWindow
*) 0 ;
22391 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22392 bool arg4
= (bool) true ;
22394 PyObject
* obj0
= 0 ;
22395 PyObject
* obj1
= 0 ;
22396 PyObject
* obj2
= 0 ;
22397 PyObject
* obj3
= 0 ;
22398 char *kwnames
[] = {
22399 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
22402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22407 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22410 arg4
= (bool)SWIG_As_bool(obj3
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22415 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
22417 wxPyEndAllowThreads(__tstate
);
22418 if (PyErr_Occurred()) SWIG_fail
;
22421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22429 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22430 PyObject
*resultobj
;
22431 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22432 wxWindow
*arg2
= (wxWindow
*) 0 ;
22434 PyObject
* obj0
= 0 ;
22435 PyObject
* obj1
= 0 ;
22436 char *kwnames
[] = {
22437 (char *) "self",(char *) "parent", NULL
22440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22443 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22447 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
22449 wxPyEndAllowThreads(__tstate
);
22450 if (PyErr_Occurred()) SWIG_fail
;
22453 resultobj
= wxPyMake_wxObject(result
, 0);
22461 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22462 PyObject
*resultobj
;
22463 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22464 wxPrintDialogData
*result
;
22465 PyObject
* obj0
= 0 ;
22466 char *kwnames
[] = {
22467 (char *) "self", NULL
22470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
22471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22476 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
22477 result
= (wxPrintDialogData
*) &_result_ref
;
22480 wxPyEndAllowThreads(__tstate
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
22490 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22491 PyObject
*resultobj
;
22492 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22494 PyObject
* obj0
= 0 ;
22495 char *kwnames
[] = {
22496 (char *) "self", NULL
22499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
22500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22504 result
= (bool)(arg1
)->GetAbort();
22506 wxPyEndAllowThreads(__tstate
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22518 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22519 PyObject
*resultobj
;
22521 char *kwnames
[] = {
22525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
22527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22528 result
= (int)wxPrinter::GetLastError();
22530 wxPyEndAllowThreads(__tstate
);
22531 if (PyErr_Occurred()) SWIG_fail
;
22533 resultobj
= SWIG_From_int((int)result
);
22540 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
22542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22543 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
22545 return Py_BuildValue((char *)"");
22547 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22548 PyObject
*resultobj
;
22549 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
22550 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22551 wxPyPrintout
*result
;
22552 bool temp1
= false ;
22553 PyObject
* obj0
= 0 ;
22554 char *kwnames
[] = {
22555 (char *) "title", NULL
22558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
22561 arg1
= wxString_in_helper(obj0
);
22562 if (arg1
== NULL
) SWIG_fail
;
22567 if (!wxPyCheckForApp()) SWIG_fail
;
22568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22569 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
22571 wxPyEndAllowThreads(__tstate
);
22572 if (PyErr_Occurred()) SWIG_fail
;
22575 resultobj
= wxPyMake_wxObject(result
, 1);
22591 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22592 PyObject
*resultobj
;
22593 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22594 PyObject
*arg2
= (PyObject
*) 0 ;
22595 PyObject
*arg3
= (PyObject
*) 0 ;
22596 PyObject
* obj0
= 0 ;
22597 PyObject
* obj1
= 0 ;
22598 PyObject
* obj2
= 0 ;
22599 char *kwnames
[] = {
22600 (char *) "self",(char *) "self",(char *) "_class", NULL
22603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22610 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22612 wxPyEndAllowThreads(__tstate
);
22613 if (PyErr_Occurred()) SWIG_fail
;
22615 Py_INCREF(Py_None
); resultobj
= Py_None
;
22622 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22623 PyObject
*resultobj
;
22624 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22626 PyObject
* obj0
= 0 ;
22627 char *kwnames
[] = {
22628 (char *) "self", NULL
22631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
22632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22636 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
22638 wxPyEndAllowThreads(__tstate
);
22639 if (PyErr_Occurred()) SWIG_fail
;
22643 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22645 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22654 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22655 PyObject
*resultobj
;
22656 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22658 PyObject
* obj0
= 0 ;
22659 char *kwnames
[] = {
22660 (char *) "self", NULL
22663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
22664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22668 result
= (wxDC
*)(arg1
)->GetDC();
22670 wxPyEndAllowThreads(__tstate
);
22671 if (PyErr_Occurred()) SWIG_fail
;
22674 resultobj
= wxPyMake_wxObject(result
, 0);
22682 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22683 PyObject
*resultobj
;
22684 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22685 wxDC
*arg2
= (wxDC
*) 0 ;
22686 PyObject
* obj0
= 0 ;
22687 PyObject
* obj1
= 0 ;
22688 char *kwnames
[] = {
22689 (char *) "self",(char *) "dc", NULL
22692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22695 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22699 (arg1
)->SetDC(arg2
);
22701 wxPyEndAllowThreads(__tstate
);
22702 if (PyErr_Occurred()) SWIG_fail
;
22704 Py_INCREF(Py_None
); resultobj
= Py_None
;
22711 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22712 PyObject
*resultobj
;
22713 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22716 PyObject
* obj0
= 0 ;
22717 PyObject
* obj1
= 0 ;
22718 PyObject
* obj2
= 0 ;
22719 char *kwnames
[] = {
22720 (char *) "self",(char *) "w",(char *) "h", NULL
22723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22726 arg2
= (int)SWIG_As_int(obj1
);
22727 if (PyErr_Occurred()) SWIG_fail
;
22728 arg3
= (int)SWIG_As_int(obj2
);
22729 if (PyErr_Occurred()) SWIG_fail
;
22731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22732 (arg1
)->SetPageSizePixels(arg2
,arg3
);
22734 wxPyEndAllowThreads(__tstate
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22737 Py_INCREF(Py_None
); resultobj
= Py_None
;
22744 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22745 PyObject
*resultobj
;
22746 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22747 int *arg2
= (int *) 0 ;
22748 int *arg3
= (int *) 0 ;
22753 PyObject
* obj0
= 0 ;
22754 char *kwnames
[] = {
22755 (char *) "self", NULL
22758 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22759 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
22761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22765 (arg1
)->GetPageSizePixels(arg2
,arg3
);
22767 wxPyEndAllowThreads(__tstate
);
22768 if (PyErr_Occurred()) SWIG_fail
;
22770 Py_INCREF(Py_None
); resultobj
= Py_None
;
22771 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22772 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22773 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22774 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22781 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22782 PyObject
*resultobj
;
22783 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22786 PyObject
* obj0
= 0 ;
22787 PyObject
* obj1
= 0 ;
22788 PyObject
* obj2
= 0 ;
22789 char *kwnames
[] = {
22790 (char *) "self",(char *) "w",(char *) "h", NULL
22793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22796 arg2
= (int)SWIG_As_int(obj1
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22798 arg3
= (int)SWIG_As_int(obj2
);
22799 if (PyErr_Occurred()) SWIG_fail
;
22801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22802 (arg1
)->SetPageSizeMM(arg2
,arg3
);
22804 wxPyEndAllowThreads(__tstate
);
22805 if (PyErr_Occurred()) SWIG_fail
;
22807 Py_INCREF(Py_None
); resultobj
= Py_None
;
22814 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22815 PyObject
*resultobj
;
22816 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22817 int *arg2
= (int *) 0 ;
22818 int *arg3
= (int *) 0 ;
22823 PyObject
* obj0
= 0 ;
22824 char *kwnames
[] = {
22825 (char *) "self", NULL
22828 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22829 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22835 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22837 wxPyEndAllowThreads(__tstate
);
22838 if (PyErr_Occurred()) SWIG_fail
;
22840 Py_INCREF(Py_None
); resultobj
= Py_None
;
22841 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22842 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22843 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22844 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22851 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22852 PyObject
*resultobj
;
22853 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22856 PyObject
* obj0
= 0 ;
22857 PyObject
* obj1
= 0 ;
22858 PyObject
* obj2
= 0 ;
22859 char *kwnames
[] = {
22860 (char *) "self",(char *) "x",(char *) "y", NULL
22863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22866 arg2
= (int)SWIG_As_int(obj1
);
22867 if (PyErr_Occurred()) SWIG_fail
;
22868 arg3
= (int)SWIG_As_int(obj2
);
22869 if (PyErr_Occurred()) SWIG_fail
;
22871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22872 (arg1
)->SetPPIScreen(arg2
,arg3
);
22874 wxPyEndAllowThreads(__tstate
);
22875 if (PyErr_Occurred()) SWIG_fail
;
22877 Py_INCREF(Py_None
); resultobj
= Py_None
;
22884 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22885 PyObject
*resultobj
;
22886 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22887 int *arg2
= (int *) 0 ;
22888 int *arg3
= (int *) 0 ;
22893 PyObject
* obj0
= 0 ;
22894 char *kwnames
[] = {
22895 (char *) "self", NULL
22898 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22899 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22905 (arg1
)->GetPPIScreen(arg2
,arg3
);
22907 wxPyEndAllowThreads(__tstate
);
22908 if (PyErr_Occurred()) SWIG_fail
;
22910 Py_INCREF(Py_None
); resultobj
= Py_None
;
22911 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22912 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22913 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22914 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22921 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22922 PyObject
*resultobj
;
22923 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22926 PyObject
* obj0
= 0 ;
22927 PyObject
* obj1
= 0 ;
22928 PyObject
* obj2
= 0 ;
22929 char *kwnames
[] = {
22930 (char *) "self",(char *) "x",(char *) "y", NULL
22933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22936 arg2
= (int)SWIG_As_int(obj1
);
22937 if (PyErr_Occurred()) SWIG_fail
;
22938 arg3
= (int)SWIG_As_int(obj2
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22942 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22944 wxPyEndAllowThreads(__tstate
);
22945 if (PyErr_Occurred()) SWIG_fail
;
22947 Py_INCREF(Py_None
); resultobj
= Py_None
;
22954 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22955 PyObject
*resultobj
;
22956 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22957 int *arg2
= (int *) 0 ;
22958 int *arg3
= (int *) 0 ;
22963 PyObject
* obj0
= 0 ;
22964 char *kwnames
[] = {
22965 (char *) "self", NULL
22968 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22969 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22975 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22977 wxPyEndAllowThreads(__tstate
);
22978 if (PyErr_Occurred()) SWIG_fail
;
22980 Py_INCREF(Py_None
); resultobj
= Py_None
;
22981 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22982 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22983 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22984 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22991 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22992 PyObject
*resultobj
;
22993 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22995 PyObject
* obj0
= 0 ;
22996 char *kwnames
[] = {
22997 (char *) "self", NULL
23000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
23001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23005 result
= (bool)(arg1
)->IsPreview();
23007 wxPyEndAllowThreads(__tstate
);
23008 if (PyErr_Occurred()) SWIG_fail
;
23011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23019 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23020 PyObject
*resultobj
;
23021 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23023 PyObject
* obj0
= 0 ;
23024 PyObject
* obj1
= 0 ;
23025 char *kwnames
[] = {
23026 (char *) "self",(char *) "p", NULL
23029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
23030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23032 arg2
= (bool)SWIG_As_bool(obj1
);
23033 if (PyErr_Occurred()) SWIG_fail
;
23035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23036 (arg1
)->SetIsPreview(arg2
);
23038 wxPyEndAllowThreads(__tstate
);
23039 if (PyErr_Occurred()) SWIG_fail
;
23041 Py_INCREF(Py_None
); resultobj
= Py_None
;
23048 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23049 PyObject
*resultobj
;
23050 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23054 PyObject
* obj0
= 0 ;
23055 PyObject
* obj1
= 0 ;
23056 PyObject
* obj2
= 0 ;
23057 char *kwnames
[] = {
23058 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
23061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23064 arg2
= (int)SWIG_As_int(obj1
);
23065 if (PyErr_Occurred()) SWIG_fail
;
23066 arg3
= (int)SWIG_As_int(obj2
);
23067 if (PyErr_Occurred()) SWIG_fail
;
23069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23070 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
23072 wxPyEndAllowThreads(__tstate
);
23073 if (PyErr_Occurred()) SWIG_fail
;
23076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23084 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23085 PyObject
*resultobj
;
23086 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23087 PyObject
* obj0
= 0 ;
23088 char *kwnames
[] = {
23089 (char *) "self", NULL
23092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
23093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23097 (arg1
)->base_OnEndDocument();
23099 wxPyEndAllowThreads(__tstate
);
23100 if (PyErr_Occurred()) SWIG_fail
;
23102 Py_INCREF(Py_None
); resultobj
= Py_None
;
23109 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23110 PyObject
*resultobj
;
23111 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23112 PyObject
* obj0
= 0 ;
23113 char *kwnames
[] = {
23114 (char *) "self", NULL
23117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
23118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23122 (arg1
)->base_OnBeginPrinting();
23124 wxPyEndAllowThreads(__tstate
);
23125 if (PyErr_Occurred()) SWIG_fail
;
23127 Py_INCREF(Py_None
); resultobj
= Py_None
;
23134 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23135 PyObject
*resultobj
;
23136 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23137 PyObject
* obj0
= 0 ;
23138 char *kwnames
[] = {
23139 (char *) "self", NULL
23142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
23143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23147 (arg1
)->base_OnEndPrinting();
23149 wxPyEndAllowThreads(__tstate
);
23150 if (PyErr_Occurred()) SWIG_fail
;
23152 Py_INCREF(Py_None
); resultobj
= Py_None
;
23159 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23160 PyObject
*resultobj
;
23161 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23162 PyObject
* obj0
= 0 ;
23163 char *kwnames
[] = {
23164 (char *) "self", NULL
23167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
23168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23172 (arg1
)->base_OnPreparePrinting();
23174 wxPyEndAllowThreads(__tstate
);
23175 if (PyErr_Occurred()) SWIG_fail
;
23177 Py_INCREF(Py_None
); resultobj
= Py_None
;
23184 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23185 PyObject
*resultobj
;
23186 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23189 PyObject
* obj0
= 0 ;
23190 PyObject
* obj1
= 0 ;
23191 char *kwnames
[] = {
23192 (char *) "self",(char *) "page", NULL
23195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23198 arg2
= (int)SWIG_As_int(obj1
);
23199 if (PyErr_Occurred()) SWIG_fail
;
23201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23202 result
= (bool)(arg1
)->base_HasPage(arg2
);
23204 wxPyEndAllowThreads(__tstate
);
23205 if (PyErr_Occurred()) SWIG_fail
;
23208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23216 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23217 PyObject
*resultobj
;
23218 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23219 int *arg2
= (int *) 0 ;
23220 int *arg3
= (int *) 0 ;
23221 int *arg4
= (int *) 0 ;
23222 int *arg5
= (int *) 0 ;
23231 PyObject
* obj0
= 0 ;
23232 char *kwnames
[] = {
23233 (char *) "self", NULL
23236 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23237 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23238 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
23239 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
23240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
23241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23245 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
23247 wxPyEndAllowThreads(__tstate
);
23248 if (PyErr_Occurred()) SWIG_fail
;
23250 Py_INCREF(Py_None
); resultobj
= Py_None
;
23251 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23252 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23253 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23254 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23255 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
23256 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
23257 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
23258 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
23265 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
23267 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23268 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
23270 return Py_BuildValue((char *)"");
23272 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23273 PyObject
*resultobj
;
23274 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23275 wxWindow
*arg2
= (wxWindow
*) 0 ;
23276 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23277 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23278 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23279 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23280 long arg5
= (long) 0 ;
23281 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
23282 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
23283 wxPreviewCanvas
*result
;
23286 bool temp6
= false ;
23287 PyObject
* obj0
= 0 ;
23288 PyObject
* obj1
= 0 ;
23289 PyObject
* obj2
= 0 ;
23290 PyObject
* obj3
= 0 ;
23291 PyObject
* obj4
= 0 ;
23292 PyObject
* obj5
= 0 ;
23293 char *kwnames
[] = {
23294 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23300 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23305 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23311 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23315 arg5
= (long)SWIG_As_long(obj4
);
23316 if (PyErr_Occurred()) SWIG_fail
;
23320 arg6
= wxString_in_helper(obj5
);
23321 if (arg6
== NULL
) SWIG_fail
;
23326 if (!wxPyCheckForApp()) SWIG_fail
;
23327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23328 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
23330 wxPyEndAllowThreads(__tstate
);
23331 if (PyErr_Occurred()) SWIG_fail
;
23333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
23348 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
23350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23351 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
23353 return Py_BuildValue((char *)"");
23355 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23356 PyObject
*resultobj
;
23357 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23358 wxFrame
*arg2
= (wxFrame
*) 0 ;
23359 wxString
*arg3
= 0 ;
23360 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23361 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23362 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23363 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23364 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
23365 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23366 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23367 wxPreviewFrame
*result
;
23368 bool temp3
= false ;
23371 bool temp7
= false ;
23372 PyObject
* obj0
= 0 ;
23373 PyObject
* obj1
= 0 ;
23374 PyObject
* obj2
= 0 ;
23375 PyObject
* obj3
= 0 ;
23376 PyObject
* obj4
= 0 ;
23377 PyObject
* obj5
= 0 ;
23378 PyObject
* obj6
= 0 ;
23379 char *kwnames
[] = {
23380 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23389 arg3
= wxString_in_helper(obj2
);
23390 if (arg3
== NULL
) SWIG_fail
;
23396 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23402 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23406 arg6
= (long)SWIG_As_long(obj5
);
23407 if (PyErr_Occurred()) SWIG_fail
;
23411 arg7
= wxString_in_helper(obj6
);
23412 if (arg7
== NULL
) SWIG_fail
;
23417 if (!wxPyCheckForApp()) SWIG_fail
;
23418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23419 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23421 wxPyEndAllowThreads(__tstate
);
23422 if (PyErr_Occurred()) SWIG_fail
;
23424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
23447 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23448 PyObject
*resultobj
;
23449 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23450 PyObject
* obj0
= 0 ;
23451 char *kwnames
[] = {
23452 (char *) "self", NULL
23455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
23456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23460 (arg1
)->Initialize();
23462 wxPyEndAllowThreads(__tstate
);
23463 if (PyErr_Occurred()) SWIG_fail
;
23465 Py_INCREF(Py_None
); resultobj
= Py_None
;
23472 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23473 PyObject
*resultobj
;
23474 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23475 PyObject
* obj0
= 0 ;
23476 char *kwnames
[] = {
23477 (char *) "self", NULL
23480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
23481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23485 (arg1
)->CreateControlBar();
23487 wxPyEndAllowThreads(__tstate
);
23488 if (PyErr_Occurred()) SWIG_fail
;
23490 Py_INCREF(Py_None
); resultobj
= Py_None
;
23497 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23498 PyObject
*resultobj
;
23499 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23500 PyObject
* obj0
= 0 ;
23501 char *kwnames
[] = {
23502 (char *) "self", NULL
23505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
23506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23510 (arg1
)->CreateCanvas();
23512 wxPyEndAllowThreads(__tstate
);
23513 if (PyErr_Occurred()) SWIG_fail
;
23515 Py_INCREF(Py_None
); resultobj
= Py_None
;
23522 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23523 PyObject
*resultobj
;
23524 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23525 wxPreviewControlBar
*result
;
23526 PyObject
* obj0
= 0 ;
23527 char *kwnames
[] = {
23528 (char *) "self", NULL
23531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
23532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23536 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
23538 wxPyEndAllowThreads(__tstate
);
23539 if (PyErr_Occurred()) SWIG_fail
;
23541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
23548 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
23550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23551 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
23553 return Py_BuildValue((char *)"");
23555 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23556 PyObject
*resultobj
;
23557 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23559 wxWindow
*arg3
= (wxWindow
*) 0 ;
23560 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23561 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23562 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23563 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23564 long arg6
= (long) wxTAB_TRAVERSAL
;
23565 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
23566 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23567 wxPreviewControlBar
*result
;
23570 bool temp7
= false ;
23571 PyObject
* obj0
= 0 ;
23572 PyObject
* obj1
= 0 ;
23573 PyObject
* obj2
= 0 ;
23574 PyObject
* obj3
= 0 ;
23575 PyObject
* obj4
= 0 ;
23576 PyObject
* obj5
= 0 ;
23577 PyObject
* obj6
= 0 ;
23578 char *kwnames
[] = {
23579 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23585 arg2
= (long)SWIG_As_long(obj1
);
23586 if (PyErr_Occurred()) SWIG_fail
;
23587 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
23588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23592 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23598 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23602 arg6
= (long)SWIG_As_long(obj5
);
23603 if (PyErr_Occurred()) SWIG_fail
;
23607 arg7
= wxString_in_helper(obj6
);
23608 if (arg7
== NULL
) SWIG_fail
;
23613 if (!wxPyCheckForApp()) SWIG_fail
;
23614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23615 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23617 wxPyEndAllowThreads(__tstate
);
23618 if (PyErr_Occurred()) SWIG_fail
;
23620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
23635 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23636 PyObject
*resultobj
;
23637 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23639 PyObject
* obj0
= 0 ;
23640 char *kwnames
[] = {
23641 (char *) "self", NULL
23644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
23645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23649 result
= (int)(arg1
)->GetZoomControl();
23651 wxPyEndAllowThreads(__tstate
);
23652 if (PyErr_Occurred()) SWIG_fail
;
23654 resultobj
= SWIG_From_int((int)result
);
23661 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23662 PyObject
*resultobj
;
23663 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23665 PyObject
* obj0
= 0 ;
23666 PyObject
* obj1
= 0 ;
23667 char *kwnames
[] = {
23668 (char *) "self",(char *) "zoom", NULL
23671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
23672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23674 arg2
= (int)SWIG_As_int(obj1
);
23675 if (PyErr_Occurred()) SWIG_fail
;
23677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23678 (arg1
)->SetZoomControl(arg2
);
23680 wxPyEndAllowThreads(__tstate
);
23681 if (PyErr_Occurred()) SWIG_fail
;
23683 Py_INCREF(Py_None
); resultobj
= Py_None
;
23690 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23691 PyObject
*resultobj
;
23692 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23693 wxPrintPreview
*result
;
23694 PyObject
* obj0
= 0 ;
23695 char *kwnames
[] = {
23696 (char *) "self", NULL
23699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
23700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23704 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
23706 wxPyEndAllowThreads(__tstate
);
23707 if (PyErr_Occurred()) SWIG_fail
;
23709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
23716 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23717 PyObject
*resultobj
;
23718 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23719 PyObject
* obj0
= 0 ;
23720 char *kwnames
[] = {
23721 (char *) "self", NULL
23724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
23725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23731 wxPyEndAllowThreads(__tstate
);
23732 if (PyErr_Occurred()) SWIG_fail
;
23734 Py_INCREF(Py_None
); resultobj
= Py_None
;
23741 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23742 PyObject
*resultobj
;
23743 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23744 PyObject
* obj0
= 0 ;
23745 char *kwnames
[] = {
23746 (char *) "self", NULL
23749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
23750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23754 (arg1
)->OnPrevious();
23756 wxPyEndAllowThreads(__tstate
);
23757 if (PyErr_Occurred()) SWIG_fail
;
23759 Py_INCREF(Py_None
); resultobj
= Py_None
;
23766 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23767 PyObject
*resultobj
;
23768 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23769 PyObject
* obj0
= 0 ;
23770 char *kwnames
[] = {
23771 (char *) "self", NULL
23774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
23775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23781 wxPyEndAllowThreads(__tstate
);
23782 if (PyErr_Occurred()) SWIG_fail
;
23784 Py_INCREF(Py_None
); resultobj
= Py_None
;
23791 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23792 PyObject
*resultobj
;
23793 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23794 PyObject
* obj0
= 0 ;
23795 char *kwnames
[] = {
23796 (char *) "self", NULL
23799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
23800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23806 wxPyEndAllowThreads(__tstate
);
23807 if (PyErr_Occurred()) SWIG_fail
;
23809 Py_INCREF(Py_None
); resultobj
= Py_None
;
23816 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23817 PyObject
*resultobj
;
23818 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23819 PyObject
* obj0
= 0 ;
23820 char *kwnames
[] = {
23821 (char *) "self", NULL
23824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23831 wxPyEndAllowThreads(__tstate
);
23832 if (PyErr_Occurred()) SWIG_fail
;
23834 Py_INCREF(Py_None
); resultobj
= Py_None
;
23841 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
23843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23844 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23846 return Py_BuildValue((char *)"");
23848 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
23849 PyObject
*resultobj
;
23850 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23851 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23852 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23853 wxPrintPreview
*result
;
23854 PyObject
* obj0
= 0 ;
23855 PyObject
* obj1
= 0 ;
23856 PyObject
* obj2
= 0 ;
23858 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23861 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23864 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23868 if (!wxPyCheckForApp()) SWIG_fail
;
23869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23870 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23872 wxPyEndAllowThreads(__tstate
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23882 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
23883 PyObject
*resultobj
;
23884 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23885 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23886 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23887 wxPrintPreview
*result
;
23888 PyObject
* obj0
= 0 ;
23889 PyObject
* obj1
= 0 ;
23890 PyObject
* obj2
= 0 ;
23892 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23895 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23897 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23900 if (!wxPyCheckForApp()) SWIG_fail
;
23901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23902 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23904 wxPyEndAllowThreads(__tstate
);
23905 if (PyErr_Occurred()) SWIG_fail
;
23907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23914 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23919 argc
= PyObject_Length(args
);
23920 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23921 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23923 if ((argc
>= 2) && (argc
<= 3)) {
23927 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23937 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23946 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23950 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23958 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23967 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23977 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23987 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23995 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
24001 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
24006 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24007 PyObject
*resultobj
;
24008 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24011 PyObject
* obj0
= 0 ;
24012 PyObject
* obj1
= 0 ;
24013 char *kwnames
[] = {
24014 (char *) "self",(char *) "pageNum", NULL
24017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24020 arg2
= (int)SWIG_As_int(obj1
);
24021 if (PyErr_Occurred()) SWIG_fail
;
24023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24024 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
24026 wxPyEndAllowThreads(__tstate
);
24027 if (PyErr_Occurred()) SWIG_fail
;
24030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24038 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24039 PyObject
*resultobj
;
24040 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24042 PyObject
* obj0
= 0 ;
24043 char *kwnames
[] = {
24044 (char *) "self", NULL
24047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
24048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24052 result
= (int)(arg1
)->GetCurrentPage();
24054 wxPyEndAllowThreads(__tstate
);
24055 if (PyErr_Occurred()) SWIG_fail
;
24057 resultobj
= SWIG_From_int((int)result
);
24064 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24065 PyObject
*resultobj
;
24066 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24067 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24068 PyObject
* obj0
= 0 ;
24069 PyObject
* obj1
= 0 ;
24070 char *kwnames
[] = {
24071 (char *) "self",(char *) "printout", NULL
24074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
24075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24077 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24081 (arg1
)->SetPrintout(arg2
);
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24086 Py_INCREF(Py_None
); resultobj
= Py_None
;
24093 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24094 PyObject
*resultobj
;
24095 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24096 wxPyPrintout
*result
;
24097 PyObject
* obj0
= 0 ;
24098 char *kwnames
[] = {
24099 (char *) "self", NULL
24102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
24103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24107 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
24109 wxPyEndAllowThreads(__tstate
);
24110 if (PyErr_Occurred()) SWIG_fail
;
24113 resultobj
= wxPyMake_wxObject(result
, 0);
24121 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24122 PyObject
*resultobj
;
24123 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24124 wxPyPrintout
*result
;
24125 PyObject
* obj0
= 0 ;
24126 char *kwnames
[] = {
24127 (char *) "self", NULL
24130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
24131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24135 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
24137 wxPyEndAllowThreads(__tstate
);
24138 if (PyErr_Occurred()) SWIG_fail
;
24141 resultobj
= wxPyMake_wxObject(result
, 0);
24149 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24150 PyObject
*resultobj
;
24151 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24152 wxFrame
*arg2
= (wxFrame
*) 0 ;
24153 PyObject
* obj0
= 0 ;
24154 PyObject
* obj1
= 0 ;
24155 char *kwnames
[] = {
24156 (char *) "self",(char *) "frame", NULL
24159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
24160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24162 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24166 (arg1
)->SetFrame(arg2
);
24168 wxPyEndAllowThreads(__tstate
);
24169 if (PyErr_Occurred()) SWIG_fail
;
24171 Py_INCREF(Py_None
); resultobj
= Py_None
;
24178 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24179 PyObject
*resultobj
;
24180 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24181 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24182 PyObject
* obj0
= 0 ;
24183 PyObject
* obj1
= 0 ;
24184 char *kwnames
[] = {
24185 (char *) "self",(char *) "canvas", NULL
24188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24191 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24195 (arg1
)->SetCanvas(arg2
);
24197 wxPyEndAllowThreads(__tstate
);
24198 if (PyErr_Occurred()) SWIG_fail
;
24200 Py_INCREF(Py_None
); resultobj
= Py_None
;
24207 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24208 PyObject
*resultobj
;
24209 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24211 PyObject
* obj0
= 0 ;
24212 char *kwnames
[] = {
24213 (char *) "self", NULL
24216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
24217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24221 result
= (wxFrame
*)(arg1
)->GetFrame();
24223 wxPyEndAllowThreads(__tstate
);
24224 if (PyErr_Occurred()) SWIG_fail
;
24227 resultobj
= wxPyMake_wxObject(result
, 0);
24235 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24236 PyObject
*resultobj
;
24237 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24238 wxPreviewCanvas
*result
;
24239 PyObject
* obj0
= 0 ;
24240 char *kwnames
[] = {
24241 (char *) "self", NULL
24244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
24245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24249 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
24261 static PyObject
*_wrap_PrintPreview_PaintPage(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_PaintPage",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
)->PaintPage(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_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24303 PyObject
*resultobj
;
24304 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24305 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24308 PyObject
* obj0
= 0 ;
24309 PyObject
* obj1
= 0 ;
24310 PyObject
* obj2
= 0 ;
24311 char *kwnames
[] = {
24312 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24320 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24321 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24323 if (arg3
== NULL
) {
24324 PyErr_SetString(PyExc_TypeError
,"null reference");
24328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24329 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
24331 wxPyEndAllowThreads(__tstate
);
24332 if (PyErr_Occurred()) SWIG_fail
;
24335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24343 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24344 PyObject
*resultobj
;
24345 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24348 PyObject
* obj0
= 0 ;
24349 PyObject
* obj1
= 0 ;
24350 char *kwnames
[] = {
24351 (char *) "self",(char *) "pageNum", NULL
24354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24357 arg2
= (int)SWIG_As_int(obj1
);
24358 if (PyErr_Occurred()) SWIG_fail
;
24360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24361 result
= (bool)(arg1
)->RenderPage(arg2
);
24363 wxPyEndAllowThreads(__tstate
);
24364 if (PyErr_Occurred()) SWIG_fail
;
24367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24375 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24376 PyObject
*resultobj
;
24377 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24378 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24379 PyObject
* obj0
= 0 ;
24380 PyObject
* obj1
= 0 ;
24381 char *kwnames
[] = {
24382 (char *) "self",(char *) "canvas", NULL
24385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
24386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24388 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24392 (arg1
)->AdjustScrollbars(arg2
);
24394 wxPyEndAllowThreads(__tstate
);
24395 if (PyErr_Occurred()) SWIG_fail
;
24397 Py_INCREF(Py_None
); resultobj
= Py_None
;
24404 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24405 PyObject
*resultobj
;
24406 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24407 wxPrintDialogData
*result
;
24408 PyObject
* obj0
= 0 ;
24409 char *kwnames
[] = {
24410 (char *) "self", NULL
24413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24419 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24420 result
= (wxPrintDialogData
*) &_result_ref
;
24423 wxPyEndAllowThreads(__tstate
);
24424 if (PyErr_Occurred()) SWIG_fail
;
24426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24433 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24434 PyObject
*resultobj
;
24435 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24437 PyObject
* obj0
= 0 ;
24438 PyObject
* obj1
= 0 ;
24439 char *kwnames
[] = {
24440 (char *) "self",(char *) "percent", NULL
24443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24446 arg2
= (int)SWIG_As_int(obj1
);
24447 if (PyErr_Occurred()) SWIG_fail
;
24449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24450 (arg1
)->SetZoom(arg2
);
24452 wxPyEndAllowThreads(__tstate
);
24453 if (PyErr_Occurred()) SWIG_fail
;
24455 Py_INCREF(Py_None
); resultobj
= Py_None
;
24462 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24463 PyObject
*resultobj
;
24464 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24466 PyObject
* obj0
= 0 ;
24467 char *kwnames
[] = {
24468 (char *) "self", NULL
24471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
24472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24476 result
= (int)(arg1
)->GetZoom();
24478 wxPyEndAllowThreads(__tstate
);
24479 if (PyErr_Occurred()) SWIG_fail
;
24481 resultobj
= SWIG_From_int((int)result
);
24488 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24489 PyObject
*resultobj
;
24490 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24492 PyObject
* obj0
= 0 ;
24493 char *kwnames
[] = {
24494 (char *) "self", NULL
24497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
24498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24502 result
= (int)(arg1
)->GetMaxPage();
24504 wxPyEndAllowThreads(__tstate
);
24505 if (PyErr_Occurred()) SWIG_fail
;
24507 resultobj
= SWIG_From_int((int)result
);
24514 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24515 PyObject
*resultobj
;
24516 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24518 PyObject
* obj0
= 0 ;
24519 char *kwnames
[] = {
24520 (char *) "self", NULL
24523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
24524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24528 result
= (int)(arg1
)->GetMinPage();
24530 wxPyEndAllowThreads(__tstate
);
24531 if (PyErr_Occurred()) SWIG_fail
;
24533 resultobj
= SWIG_From_int((int)result
);
24540 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24541 PyObject
*resultobj
;
24542 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24544 PyObject
* obj0
= 0 ;
24545 char *kwnames
[] = {
24546 (char *) "self", NULL
24549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
24550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24554 result
= (bool)(arg1
)->Ok();
24556 wxPyEndAllowThreads(__tstate
);
24557 if (PyErr_Occurred()) SWIG_fail
;
24560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24568 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24569 PyObject
*resultobj
;
24570 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24572 PyObject
* obj0
= 0 ;
24573 PyObject
* obj1
= 0 ;
24574 char *kwnames
[] = {
24575 (char *) "self",(char *) "ok", NULL
24578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
24579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24581 arg2
= (bool)SWIG_As_bool(obj1
);
24582 if (PyErr_Occurred()) SWIG_fail
;
24584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24585 (arg1
)->SetOk(arg2
);
24587 wxPyEndAllowThreads(__tstate
);
24588 if (PyErr_Occurred()) SWIG_fail
;
24590 Py_INCREF(Py_None
); resultobj
= Py_None
;
24597 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24598 PyObject
*resultobj
;
24599 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24602 PyObject
* obj0
= 0 ;
24603 PyObject
* obj1
= 0 ;
24604 char *kwnames
[] = {
24605 (char *) "self",(char *) "interactive", NULL
24608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24611 arg2
= (bool)SWIG_As_bool(obj1
);
24612 if (PyErr_Occurred()) SWIG_fail
;
24614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24615 result
= (bool)(arg1
)->Print(arg2
);
24617 wxPyEndAllowThreads(__tstate
);
24618 if (PyErr_Occurred()) SWIG_fail
;
24621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24629 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24630 PyObject
*resultobj
;
24631 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24632 PyObject
* obj0
= 0 ;
24633 char *kwnames
[] = {
24634 (char *) "self", NULL
24637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24642 (arg1
)->DetermineScaling();
24644 wxPyEndAllowThreads(__tstate
);
24645 if (PyErr_Occurred()) SWIG_fail
;
24647 Py_INCREF(Py_None
); resultobj
= Py_None
;
24654 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24656 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24657 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
24659 return Py_BuildValue((char *)"");
24661 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
24662 PyObject
*resultobj
;
24663 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24664 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24665 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
24666 wxPyPrintPreview
*result
;
24667 PyObject
* obj0
= 0 ;
24668 PyObject
* obj1
= 0 ;
24669 PyObject
* obj2
= 0 ;
24671 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24677 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
24678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24681 if (!wxPyCheckForApp()) SWIG_fail
;
24682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24683 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24685 wxPyEndAllowThreads(__tstate
);
24686 if (PyErr_Occurred()) SWIG_fail
;
24688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24695 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
24696 PyObject
*resultobj
;
24697 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24698 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24699 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
24700 wxPyPrintPreview
*result
;
24701 PyObject
* obj0
= 0 ;
24702 PyObject
* obj1
= 0 ;
24703 PyObject
* obj2
= 0 ;
24705 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24710 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
24711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24713 if (!wxPyCheckForApp()) SWIG_fail
;
24714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24715 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24717 wxPyEndAllowThreads(__tstate
);
24718 if (PyErr_Occurred()) SWIG_fail
;
24720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24727 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
24732 argc
= PyObject_Length(args
);
24733 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
24734 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24736 if ((argc
>= 2) && (argc
<= 3)) {
24740 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24750 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24759 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24763 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
24771 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24780 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24790 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24800 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24808 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24814 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24819 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24820 PyObject
*resultobj
;
24821 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24822 PyObject
*arg2
= (PyObject
*) 0 ;
24823 PyObject
*arg3
= (PyObject
*) 0 ;
24824 PyObject
* obj0
= 0 ;
24825 PyObject
* obj1
= 0 ;
24826 PyObject
* obj2
= 0 ;
24827 char *kwnames
[] = {
24828 (char *) "self",(char *) "self",(char *) "_class", NULL
24831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24838 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24840 wxPyEndAllowThreads(__tstate
);
24841 if (PyErr_Occurred()) SWIG_fail
;
24843 Py_INCREF(Py_None
); resultobj
= Py_None
;
24850 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24851 PyObject
*resultobj
;
24852 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24855 PyObject
* obj0
= 0 ;
24856 PyObject
* obj1
= 0 ;
24857 char *kwnames
[] = {
24858 (char *) "self",(char *) "pageNum", NULL
24861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24864 arg2
= (int)SWIG_As_int(obj1
);
24865 if (PyErr_Occurred()) SWIG_fail
;
24867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24868 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
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_PaintPage(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_PaintPage",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_PaintPage(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_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24924 PyObject
*resultobj
;
24925 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24926 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24929 PyObject
* obj0
= 0 ;
24930 PyObject
* obj1
= 0 ;
24931 PyObject
* obj2
= 0 ;
24932 char *kwnames
[] = {
24933 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24939 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24941 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24942 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24944 if (arg3
== NULL
) {
24945 PyErr_SetString(PyExc_TypeError
,"null reference");
24949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24950 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24952 wxPyEndAllowThreads(__tstate
);
24953 if (PyErr_Occurred()) SWIG_fail
;
24956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24964 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24965 PyObject
*resultobj
;
24966 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24969 PyObject
* obj0
= 0 ;
24970 PyObject
* obj1
= 0 ;
24971 char *kwnames
[] = {
24972 (char *) "self",(char *) "pageNum", NULL
24975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24978 arg2
= (int)SWIG_As_int(obj1
);
24979 if (PyErr_Occurred()) SWIG_fail
;
24981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24982 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24984 wxPyEndAllowThreads(__tstate
);
24985 if (PyErr_Occurred()) SWIG_fail
;
24988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24996 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24997 PyObject
*resultobj
;
24998 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
25000 PyObject
* obj0
= 0 ;
25001 PyObject
* obj1
= 0 ;
25002 char *kwnames
[] = {
25003 (char *) "self",(char *) "percent", NULL
25006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
25007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
25008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25009 arg2
= (int)SWIG_As_int(obj1
);
25010 if (PyErr_Occurred()) SWIG_fail
;
25012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25013 (arg1
)->base_SetZoom(arg2
);
25015 wxPyEndAllowThreads(__tstate
);
25016 if (PyErr_Occurred()) SWIG_fail
;
25018 Py_INCREF(Py_None
); resultobj
= Py_None
;
25025 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25026 PyObject
*resultobj
;
25027 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
25030 PyObject
* obj0
= 0 ;
25031 PyObject
* obj1
= 0 ;
25032 char *kwnames
[] = {
25033 (char *) "self",(char *) "interactive", NULL
25036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
25037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
25038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25039 arg2
= (bool)SWIG_As_bool(obj1
);
25040 if (PyErr_Occurred()) SWIG_fail
;
25042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25043 result
= (bool)(arg1
)->base_Print(arg2
);
25045 wxPyEndAllowThreads(__tstate
);
25046 if (PyErr_Occurred()) SWIG_fail
;
25049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25057 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25058 PyObject
*resultobj
;
25059 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
25060 PyObject
* obj0
= 0 ;
25061 char *kwnames
[] = {
25062 (char *) "self", NULL
25065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
25066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
25067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25070 (arg1
)->base_DetermineScaling();
25072 wxPyEndAllowThreads(__tstate
);
25073 if (PyErr_Occurred()) SWIG_fail
;
25075 Py_INCREF(Py_None
); resultobj
= Py_None
;
25082 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
25084 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25085 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
25087 return Py_BuildValue((char *)"");
25089 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25090 PyObject
*resultobj
;
25091 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25092 wxFrame
*arg2
= (wxFrame
*) 0 ;
25093 wxString
*arg3
= 0 ;
25094 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25095 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25096 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25097 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25098 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
25099 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
25100 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25101 wxPyPreviewFrame
*result
;
25102 bool temp3
= false ;
25105 bool temp7
= false ;
25106 PyObject
* obj0
= 0 ;
25107 PyObject
* obj1
= 0 ;
25108 PyObject
* obj2
= 0 ;
25109 PyObject
* obj3
= 0 ;
25110 PyObject
* obj4
= 0 ;
25111 PyObject
* obj5
= 0 ;
25112 PyObject
* obj6
= 0 ;
25113 char *kwnames
[] = {
25114 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
25119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25120 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
25121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25123 arg3
= wxString_in_helper(obj2
);
25124 if (arg3
== NULL
) SWIG_fail
;
25130 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25136 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25140 arg6
= (long)SWIG_As_long(obj5
);
25141 if (PyErr_Occurred()) SWIG_fail
;
25145 arg7
= wxString_in_helper(obj6
);
25146 if (arg7
== NULL
) SWIG_fail
;
25151 if (!wxPyCheckForApp()) SWIG_fail
;
25152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25153 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25155 wxPyEndAllowThreads(__tstate
);
25156 if (PyErr_Occurred()) SWIG_fail
;
25158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
25181 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25182 PyObject
*resultobj
;
25183 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25184 PyObject
*arg2
= (PyObject
*) 0 ;
25185 PyObject
*arg3
= (PyObject
*) 0 ;
25186 PyObject
* obj0
= 0 ;
25187 PyObject
* obj1
= 0 ;
25188 PyObject
* obj2
= 0 ;
25189 char *kwnames
[] = {
25190 (char *) "self",(char *) "self",(char *) "_class", NULL
25193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25200 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25202 wxPyEndAllowThreads(__tstate
);
25203 if (PyErr_Occurred()) SWIG_fail
;
25205 Py_INCREF(Py_None
); resultobj
= Py_None
;
25212 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25213 PyObject
*resultobj
;
25214 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25215 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
25216 PyObject
* obj0
= 0 ;
25217 PyObject
* obj1
= 0 ;
25218 char *kwnames
[] = {
25219 (char *) "self",(char *) "canvas", NULL
25222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
25223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25225 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
25226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25229 (arg1
)->SetPreviewCanvas(arg2
);
25231 wxPyEndAllowThreads(__tstate
);
25232 if (PyErr_Occurred()) SWIG_fail
;
25234 Py_INCREF(Py_None
); resultobj
= Py_None
;
25241 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25242 PyObject
*resultobj
;
25243 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25244 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
25245 PyObject
* obj0
= 0 ;
25246 PyObject
* obj1
= 0 ;
25247 char *kwnames
[] = {
25248 (char *) "self",(char *) "bar", NULL
25251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
25252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25254 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
25255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25258 (arg1
)->SetControlBar(arg2
);
25260 wxPyEndAllowThreads(__tstate
);
25261 if (PyErr_Occurred()) SWIG_fail
;
25263 Py_INCREF(Py_None
); resultobj
= Py_None
;
25270 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25271 PyObject
*resultobj
;
25272 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25273 PyObject
* obj0
= 0 ;
25274 char *kwnames
[] = {
25275 (char *) "self", NULL
25278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
25279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25283 (arg1
)->base_Initialize();
25285 wxPyEndAllowThreads(__tstate
);
25286 if (PyErr_Occurred()) SWIG_fail
;
25288 Py_INCREF(Py_None
); resultobj
= Py_None
;
25295 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25296 PyObject
*resultobj
;
25297 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25298 PyObject
* obj0
= 0 ;
25299 char *kwnames
[] = {
25300 (char *) "self", NULL
25303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25308 (arg1
)->base_CreateCanvas();
25310 wxPyEndAllowThreads(__tstate
);
25311 if (PyErr_Occurred()) SWIG_fail
;
25313 Py_INCREF(Py_None
); resultobj
= Py_None
;
25320 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25321 PyObject
*resultobj
;
25322 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25323 PyObject
* obj0
= 0 ;
25324 char *kwnames
[] = {
25325 (char *) "self", NULL
25328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25333 (arg1
)->base_CreateControlBar();
25335 wxPyEndAllowThreads(__tstate
);
25336 if (PyErr_Occurred()) SWIG_fail
;
25338 Py_INCREF(Py_None
); resultobj
= Py_None
;
25345 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25347 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25348 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
25350 return Py_BuildValue((char *)"");
25352 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25353 PyObject
*resultobj
;
25354 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25356 wxWindow
*arg3
= (wxWindow
*) 0 ;
25357 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25358 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25359 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25360 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25361 long arg6
= (long) 0 ;
25362 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25363 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25364 wxPyPreviewControlBar
*result
;
25367 bool temp7
= false ;
25368 PyObject
* obj0
= 0 ;
25369 PyObject
* obj1
= 0 ;
25370 PyObject
* obj2
= 0 ;
25371 PyObject
* obj3
= 0 ;
25372 PyObject
* obj4
= 0 ;
25373 PyObject
* obj5
= 0 ;
25374 PyObject
* obj6
= 0 ;
25375 char *kwnames
[] = {
25376 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
25381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25382 arg2
= (long)SWIG_As_long(obj1
);
25383 if (PyErr_Occurred()) SWIG_fail
;
25384 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
25385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25389 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25395 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25399 arg6
= (long)SWIG_As_long(obj5
);
25400 if (PyErr_Occurred()) SWIG_fail
;
25404 arg7
= wxString_in_helper(obj6
);
25405 if (arg7
== NULL
) SWIG_fail
;
25410 if (!wxPyCheckForApp()) SWIG_fail
;
25411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25412 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25414 wxPyEndAllowThreads(__tstate
);
25415 if (PyErr_Occurred()) SWIG_fail
;
25417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
25432 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25433 PyObject
*resultobj
;
25434 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25435 PyObject
*arg2
= (PyObject
*) 0 ;
25436 PyObject
*arg3
= (PyObject
*) 0 ;
25437 PyObject
* obj0
= 0 ;
25438 PyObject
* obj1
= 0 ;
25439 PyObject
* obj2
= 0 ;
25440 char *kwnames
[] = {
25441 (char *) "self",(char *) "self",(char *) "_class", NULL
25444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25451 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25453 wxPyEndAllowThreads(__tstate
);
25454 if (PyErr_Occurred()) SWIG_fail
;
25456 Py_INCREF(Py_None
); resultobj
= Py_None
;
25463 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25464 PyObject
*resultobj
;
25465 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25466 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
25467 PyObject
* obj0
= 0 ;
25468 PyObject
* obj1
= 0 ;
25469 char *kwnames
[] = {
25470 (char *) "self",(char *) "preview", NULL
25473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
25474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
25477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25480 (arg1
)->SetPrintPreview(arg2
);
25482 wxPyEndAllowThreads(__tstate
);
25483 if (PyErr_Occurred()) SWIG_fail
;
25485 Py_INCREF(Py_None
); resultobj
= Py_None
;
25492 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25493 PyObject
*resultobj
;
25494 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25495 PyObject
* obj0
= 0 ;
25496 char *kwnames
[] = {
25497 (char *) "self", NULL
25500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
25501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25505 (arg1
)->base_CreateButtons();
25507 wxPyEndAllowThreads(__tstate
);
25508 if (PyErr_Occurred()) SWIG_fail
;
25510 Py_INCREF(Py_None
); resultobj
= Py_None
;
25517 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25518 PyObject
*resultobj
;
25519 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25521 PyObject
* obj0
= 0 ;
25522 PyObject
* obj1
= 0 ;
25523 char *kwnames
[] = {
25524 (char *) "self",(char *) "zoom", NULL
25527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25530 arg2
= (int)SWIG_As_int(obj1
);
25531 if (PyErr_Occurred()) SWIG_fail
;
25533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25534 (arg1
)->base_SetZoomControl(arg2
);
25536 wxPyEndAllowThreads(__tstate
);
25537 if (PyErr_Occurred()) SWIG_fail
;
25539 Py_INCREF(Py_None
); resultobj
= Py_None
;
25546 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25549 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
25551 return Py_BuildValue((char *)"");
25553 static PyMethodDef SwigMethods
[] = {
25554 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25555 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25556 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25557 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25558 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25559 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
25560 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25561 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25562 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25563 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25564 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25565 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25566 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25567 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25568 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25569 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25570 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25571 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25572 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25573 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25574 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
25575 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
25576 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25577 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25578 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25579 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25580 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25581 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25582 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25583 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25584 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25585 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25586 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25587 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25588 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25589 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25590 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25591 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25592 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25593 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25594 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25595 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25596 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25597 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25598 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25599 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25600 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25601 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25602 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
25603 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25604 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25605 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25606 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25607 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25608 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25609 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25610 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25611 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25612 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25613 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25614 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25615 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25616 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25617 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25618 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25619 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25620 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25621 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25622 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25623 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25624 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25625 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25626 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
25627 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25628 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25629 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25630 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25631 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25632 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25633 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25634 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25635 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25636 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25637 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25638 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
25639 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25640 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25641 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25642 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
25643 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25644 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25645 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25646 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
25647 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25648 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25649 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25650 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25651 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
25652 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25653 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25654 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25655 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25656 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25657 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25658 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25659 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25660 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25661 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25662 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25663 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25664 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25665 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25666 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25667 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25668 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
25669 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25670 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25671 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25672 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25673 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25674 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25675 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25676 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25677 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25678 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25679 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25680 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25681 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25682 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25683 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25684 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25685 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25686 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25687 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25688 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25689 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25690 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25691 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25692 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25693 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25694 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25695 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25696 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
25697 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25698 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25699 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25700 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25701 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25702 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25703 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
25704 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25705 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25706 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25707 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25708 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25709 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25710 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25711 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25712 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25713 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25714 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25715 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25716 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25717 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25718 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25719 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25720 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25721 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25722 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25723 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25724 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25725 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25726 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
25727 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25728 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25729 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25730 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25731 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25732 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25733 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25734 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
25735 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25736 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25737 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25738 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25739 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25740 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25741 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25742 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25743 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25744 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25745 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25746 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
25747 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25748 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25749 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25750 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25751 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25752 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
25753 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25754 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25755 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25756 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25757 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25758 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25759 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25760 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25761 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
25762 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25763 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25764 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25765 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25766 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25767 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
25768 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25769 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25770 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25771 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25772 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
25773 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25774 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25775 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25776 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25777 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25778 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
25779 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25780 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25781 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25782 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
25783 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25784 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25785 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25786 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25787 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25788 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25789 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25790 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25791 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25792 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25793 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25794 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25795 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25796 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25797 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25798 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25799 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25800 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25801 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25802 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25803 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25804 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25805 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25806 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25807 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25808 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25809 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25810 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25811 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25812 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25813 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25814 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25815 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25816 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25817 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25818 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25819 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25820 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25821 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25822 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25823 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25824 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25825 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25826 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
25827 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25828 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25829 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25830 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25831 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25832 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25833 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25834 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
25835 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25836 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25837 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25838 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25839 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25840 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25841 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25842 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25843 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
25844 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25845 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
25846 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25847 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25848 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25849 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25850 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25851 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25852 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25853 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25854 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
25855 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25856 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25857 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
25858 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25859 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25860 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25861 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25862 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25863 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25864 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
25865 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25866 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25867 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25868 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25869 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25870 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25871 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25872 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25873 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25874 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25875 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25876 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25877 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25878 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25879 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25880 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25881 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25882 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
25883 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25884 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25885 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25886 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25887 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25888 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25889 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25890 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25891 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25892 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25893 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25894 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25895 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
25896 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25897 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
25898 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25899 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25900 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25901 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25902 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25903 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25904 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25905 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25906 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25907 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25908 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25909 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25910 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25911 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25912 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25913 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
25914 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25915 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25916 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
25917 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25918 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
25919 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25920 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25921 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25922 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
25923 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25924 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25925 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25926 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25927 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25928 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25929 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25930 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25931 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
25932 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25933 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25934 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25935 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25936 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25937 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25938 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25939 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25940 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
25941 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25942 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25943 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25944 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25945 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25946 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
25947 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25948 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25949 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25950 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25951 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25952 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25953 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25954 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25955 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25956 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25957 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25958 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25959 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction
) _wrap_MDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25960 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25961 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
25962 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25963 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25964 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25965 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25966 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25967 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25968 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
25969 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25970 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25971 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25972 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
25973 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25974 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25975 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25976 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25977 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25978 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25979 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25980 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25981 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25982 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25983 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25984 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25985 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25986 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25987 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25988 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25989 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25990 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25991 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25992 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25993 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25994 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25995 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25996 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25997 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25998 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
25999 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26000 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26001 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26002 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26003 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26004 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26005 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26006 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26007 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26008 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26009 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26010 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26011 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26012 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26013 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26014 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26015 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26016 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26017 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26018 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26019 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26020 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26021 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26022 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26023 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26024 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
26025 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26026 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26027 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26028 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26029 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26030 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26031 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26032 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26033 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26034 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26035 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26036 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26037 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26038 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26039 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26040 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26041 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26042 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26043 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26044 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26045 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26046 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26047 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26048 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26049 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26050 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
26051 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
26052 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26053 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26054 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26055 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26056 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26057 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26058 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26059 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26060 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26061 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26062 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26063 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26064 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26065 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26066 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26067 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26068 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26069 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26070 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26071 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26072 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26073 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26074 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26075 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26076 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26077 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26078 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26079 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26080 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26081 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26082 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26083 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26084 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26085 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26086 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26087 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26088 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26089 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26090 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26091 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26092 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26093 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26094 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26095 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26096 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
26097 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
26098 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26099 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26100 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26101 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26102 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26103 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26104 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26105 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26106 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26107 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26108 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26109 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26110 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26111 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26112 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26113 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26114 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26115 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26116 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26117 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26118 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26119 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26120 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26121 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26122 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26123 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26124 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26125 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26126 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26127 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26128 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
26129 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26130 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26131 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26132 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26133 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
26134 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
26135 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26136 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26137 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26138 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26139 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26140 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26141 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26142 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26143 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26144 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26145 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26146 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26147 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26148 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26149 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26150 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26151 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26152 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26153 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26154 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26155 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26156 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26157 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26158 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26159 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26160 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26161 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26162 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26163 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26164 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26165 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26166 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26167 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
26168 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26169 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26170 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26171 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26172 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26173 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
26174 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26175 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26176 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26177 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26178 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26179 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26180 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26181 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26182 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26183 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26184 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
26185 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26186 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26187 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26188 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26189 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26190 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26191 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26192 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26193 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26194 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26195 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26196 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26197 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26198 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26199 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26200 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26201 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26202 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26203 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26204 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26205 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26206 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26207 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
26208 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26209 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
26210 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26211 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26212 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26213 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26214 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26215 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
26216 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26217 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26218 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26219 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26220 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26221 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26222 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26223 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26224 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26225 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
26226 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
26227 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26228 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26229 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26230 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26231 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26232 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26233 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26234 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26235 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26236 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26237 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26238 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26239 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26240 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26241 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26242 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26243 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26244 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26245 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26246 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26247 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26248 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26249 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
26250 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
26251 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26252 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26253 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26254 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26255 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26256 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26257 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26258 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26259 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
26260 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26261 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26262 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26263 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26264 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26265 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26266 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26267 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
26268 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26269 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26270 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26271 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26272 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26273 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
26274 { NULL
, NULL
, 0, NULL
}
26278 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26280 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
26281 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26283 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
26284 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26286 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
26287 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
26289 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
26290 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
26292 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
26293 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
26295 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
26296 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
26298 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
26299 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
26301 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
26302 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26304 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
26305 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
26307 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
26308 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
26310 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
26311 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26313 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
26314 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
26316 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
26317 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26319 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
26320 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26322 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
26323 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
26325 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
26326 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26328 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
26329 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26331 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
26332 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
26334 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
26335 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
26337 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
26338 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
26340 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
26341 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
26343 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
26344 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
26346 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
26347 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
26349 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
26350 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
26352 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
26353 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26355 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
26356 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26358 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
26359 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26361 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
26362 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26364 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
26365 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26367 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
26368 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
26370 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
26371 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
26373 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
26374 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26376 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
26377 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
26379 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
26380 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26382 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
26383 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
26385 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
26386 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
26388 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
26389 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26391 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
26392 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26394 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
26395 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26397 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
26398 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
26400 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
26401 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
26403 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
26404 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26406 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
26407 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26409 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
26410 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
26412 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
26413 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26415 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
26416 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26418 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
26419 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26421 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
26422 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
26424 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
26425 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
26427 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
26428 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
26430 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
26431 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
26433 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
26434 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
26436 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
26437 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26439 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
26440 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26442 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
26443 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26445 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
26446 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26448 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
26449 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26451 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
26452 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26454 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
26455 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26457 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
26458 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
26460 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
26461 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
26463 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
26464 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26466 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
26467 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26469 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
26470 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26472 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
26473 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
26475 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
26476 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26478 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
26479 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
26481 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
26482 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
26484 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
26485 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
26487 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
26488 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
26490 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
26491 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26493 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
26494 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
26496 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
26497 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
26499 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
26500 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26502 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
26503 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
26505 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
26506 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26508 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
26509 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26511 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
26512 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26514 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
26515 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
26517 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
26518 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26520 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
26521 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
26523 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
26524 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26526 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
26527 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26529 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
26530 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26532 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26533 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26535 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26536 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26538 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
26539 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
26541 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
26542 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26544 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
26545 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26547 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
26548 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26550 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
26551 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26553 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
26554 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26556 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
26557 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26559 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
26560 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26562 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
26563 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
26565 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
26566 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
26568 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
26569 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
26571 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
26572 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26574 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
26575 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
26577 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
26578 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
26580 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
26581 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
26583 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
26584 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
26586 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
26587 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26589 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
26590 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26592 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
26593 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26595 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
26596 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
26598 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26599 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26601 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26602 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26604 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26605 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26607 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26608 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26610 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26611 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26613 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26614 return (void *)((wxObject
*) ((wxSizer
*) x
));
26616 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26617 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26619 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26620 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26622 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
26623 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26625 static void *_p_wxEventTo_p_wxObject(void *x
) {
26626 return (void *)((wxObject
*) ((wxEvent
*) x
));
26628 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
26629 return (void *)((wxObject
*) ((wxFontData
*) x
));
26631 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
26632 return (void *)((wxObject
*) ((wxPrintData
*) x
));
26634 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26635 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26637 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26638 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26640 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26641 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26643 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
26644 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
26646 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
26647 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
26649 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
26650 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26652 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26653 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26655 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26656 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26658 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26659 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26661 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26662 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26664 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26665 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26667 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26668 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26670 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
26671 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26673 static void *_p_wxControlTo_p_wxObject(void *x
) {
26674 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26676 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26677 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26679 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
26680 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26682 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26683 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26685 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
26686 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
26688 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26689 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26691 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
26692 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26694 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
26695 return (void *)((wxObject
*) ((wxColourData
*) x
));
26697 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26698 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26700 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26701 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26703 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
26704 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
26706 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
26707 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26709 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
26710 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26712 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
26713 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26715 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
26716 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26718 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
26719 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26721 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
26722 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
26724 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
26725 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26727 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
26728 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26730 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
26731 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26733 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26734 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26736 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
26737 return (void *)((wxObject
*) ((wxPrinter
*) x
));
26739 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26740 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26742 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26743 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26745 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26746 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26748 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26749 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26751 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26752 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26754 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26755 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26757 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26758 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26760 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26761 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26763 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26764 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26766 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26767 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26769 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26770 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26772 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26773 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26775 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26776 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26778 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26779 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26781 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26782 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26784 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26785 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26787 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26788 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26790 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26791 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26793 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26794 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26796 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26797 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26799 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26800 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26802 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26803 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26805 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
26806 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26808 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
26809 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26811 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
26812 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26814 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26815 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26817 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
26818 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26820 static void *_p_wxImageTo_p_wxObject(void *x
) {
26821 return (void *)((wxObject
*) ((wxImage
*) x
));
26823 static void *_p_wxFrameTo_p_wxObject(void *x
) {
26824 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26826 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26827 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26829 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26830 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26832 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26833 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26835 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26836 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26838 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26839 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26841 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26842 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26844 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26845 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26847 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26848 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26850 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26851 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26853 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26854 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26856 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26857 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26859 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26860 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26862 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26863 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26865 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26866 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26868 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26869 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26871 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26872 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26874 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26875 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26877 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26878 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26880 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26881 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26883 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26884 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26886 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26887 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26889 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26890 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26892 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26893 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26895 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26896 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26898 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26899 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26901 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26902 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26904 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26905 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26907 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26908 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26910 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26911 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26913 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26914 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26916 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26917 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26919 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26920 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
26922 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26923 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
26925 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26926 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26928 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26929 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26931 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26932 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26934 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26935 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26937 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26938 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26940 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26941 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26943 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26944 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26946 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26947 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26949 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26950 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26952 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26953 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26955 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26956 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26958 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26959 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26961 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26962 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26964 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26965 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26967 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26968 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26970 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26971 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26973 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26974 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26976 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26977 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26979 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26980 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26982 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26983 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26985 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26986 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26988 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
26989 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26991 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26992 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26994 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
26995 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26997 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26998 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
27000 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
27001 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
27003 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
27004 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
27006 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
27007 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
27009 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
27010 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
27012 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
27013 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
27015 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
27016 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
27018 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
27019 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
27021 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
27022 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
27024 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
27025 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
27027 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
27028 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
27030 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
27031 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
27033 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
27034 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
27036 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
27037 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
27039 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
27040 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
27042 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
27043 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
27045 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
27046 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
27048 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
27049 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
27051 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
27052 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
27054 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
27055 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
27057 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
27058 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
27060 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
27061 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
27063 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
27064 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
27066 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
27067 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
27069 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
27070 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
27072 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
27073 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
27075 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
27076 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
27078 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
27079 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
27081 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
27082 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
27084 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
27085 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
27087 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
27088 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
27090 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
27091 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
27093 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
27094 return (void *)((wxWindow
*) ((wxPanel
*) x
));
27096 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
27097 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
27099 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
27100 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
27102 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
27103 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
27105 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
27106 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
27108 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
27109 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
27111 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
27112 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
27114 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
27115 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
27117 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
27118 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
27120 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
27121 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
27123 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
27124 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
27126 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
27127 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
27129 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
27130 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
27132 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
27133 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
27135 static void *_p_wxControlTo_p_wxWindow(void *x
) {
27136 return (void *)((wxWindow
*) ((wxControl
*) x
));
27138 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
27139 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
27141 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
27142 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
27144 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
27145 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
27147 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
27148 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
27150 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
27151 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
27153 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
27154 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
27156 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
27157 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
27159 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
27160 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
27162 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
27163 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
27165 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
27166 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27168 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
27169 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
27171 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
27172 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
27174 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
27175 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
27177 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
27178 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
27180 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
27181 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
27183 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
27184 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
27186 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
27187 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
27189 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
27190 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
27192 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
27193 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
27195 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
27196 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
27198 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
27199 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
27201 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
27202 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
27204 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
27205 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
27207 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
27208 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
27210 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
27211 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
27213 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
27214 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
27216 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
27217 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
27219 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
27220 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
27222 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
27223 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
27225 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
27226 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
27228 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
27229 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
27231 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
27232 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
27234 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
27235 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
27237 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
27238 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
27240 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
27241 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
27243 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
27244 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
27246 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
27247 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
27249 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
27250 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27252 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
27253 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27255 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
27256 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
27258 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
27259 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27261 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
27262 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27264 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
27265 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
27267 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
27268 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27270 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
27271 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27273 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
27274 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
27276 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
27277 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27279 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
27280 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27282 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
27283 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
27285 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
27286 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27288 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}};
27289 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}};
27290 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}};
27291 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}};
27292 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}};
27293 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}};
27294 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}};
27295 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}};
27296 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}};
27297 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}};
27298 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}};
27299 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}};
27300 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}};
27301 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}};
27302 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}};
27303 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}};
27304 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}};
27305 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}};
27306 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}};
27307 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}};
27308 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}};
27309 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}};
27310 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}};
27311 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}};
27312 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}};
27313 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}};
27314 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}};
27315 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}};
27316 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}};
27317 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}};
27318 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}};
27319 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}};
27320 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}};
27321 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}};
27322 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}};
27323 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}};
27324 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}};
27325 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}};
27326 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}};
27327 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}};
27328 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}};
27329 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}};
27330 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}};
27331 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}};
27332 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}};
27333 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}};
27334 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}};
27335 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}};
27336 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}};
27337 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}};
27338 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}};
27339 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}};
27340 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}};
27341 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}};
27342 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}};
27343 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}};
27344 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}};
27345 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}};
27346 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}};
27347 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}};
27348 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}};
27349 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}};
27350 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}};
27351 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}};
27352 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}};
27353 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}};
27354 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}};
27355 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}};
27356 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}};
27357 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}};
27358 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}};
27359 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}};
27360 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}};
27361 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}};
27362 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}};
27363 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}};
27364 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}};
27365 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}};
27366 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}};
27367 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}};
27368 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}};
27369 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}};
27370 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}};
27371 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}};
27372 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}};
27373 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}};
27374 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}};
27376 static swig_type_info
*swig_types_initial
[] = {
27377 _swigt__p_wxQueryLayoutInfoEvent
,
27378 _swigt__p_wxPreviewFrame
,
27379 _swigt__p_wxPyPreviewFrame
,
27380 _swigt__p_wxPyPanel
,
27382 _swigt__p_wxFontData
,
27384 _swigt__p_wxPrintData
,
27385 _swigt__p_wxTaskBarIcon
,
27386 _swigt__p_wxPyTaskBarIcon
,
27387 _swigt__p_wxIconBundle
,
27388 _swigt__p_wxLayoutAlgorithm
,
27389 _swigt__p_wxFindDialogEvent
,
27390 _swigt__p_wxPreviewCanvas
,
27392 _swigt__p_wxSplitterEvent
,
27393 _swigt__p_wxRegion
,
27394 _swigt__p_wxFindReplaceData
,
27399 _swigt__p_wxVisualAttributes
,
27400 _swigt__p_wxMDIChildFrame
,
27401 _swigt__p_wxColourData
,
27402 _swigt__p_wxNotifyEvent
,
27403 _swigt__p_wxPyWindow
,
27404 _swigt__p_wxSplashScreen
,
27405 _swigt__p_wxFindReplaceDialog
,
27406 _swigt__p_wxProgressDialog
,
27407 _swigt__p_wxMessageDialog
,
27408 _swigt__p_wxPasswordEntryDialog
,
27409 _swigt__p_wxSingleChoiceDialog
,
27410 _swigt__p_wxMultiChoiceDialog
,
27411 _swigt__p_wxFileDialog
,
27412 _swigt__p_wxTextEntryDialog
,
27413 _swigt__p_wxPrinter
,
27414 _swigt__p_wxArrayInt
,
27415 _swigt__p_wxEvtHandler
,
27416 _swigt__p_wxCalculateLayoutEvent
,
27417 _swigt__p_wxPyHtmlListBox
,
27418 _swigt__p_wxPyVListBox
,
27421 _swigt__p_wxMiniFrame
,
27423 _swigt__p_wxPyPrintout
,
27424 _swigt__p_wxTaskBarIconEvent
,
27425 _swigt__p_wxScrollWinEvent
,
27426 _swigt__p_wxStatusBar
,
27427 _swigt__p_wxMDIParentFrame
,
27429 _swigt__p_wxObject
,
27430 _swigt__p_wxMDIClientWindow
,
27431 _swigt__p_wxTipWindow
,
27432 _swigt__p_wxSashLayoutWindow
,
27433 _swigt__p_wxSplitterWindow
,
27434 _swigt__p_wxSplashScreenWindow
,
27435 _swigt__p_wxPyVScrolledWindow
,
27436 _swigt__p_wxPyPopupTransientWindow
,
27437 _swigt__p_wxPopupWindow
,
27438 _swigt__p_wxSashWindow
,
27439 _swigt__p_wxTopLevelWindow
,
27440 _swigt__p_wxWindow
,
27441 _swigt__p_wxScrolledWindow
,
27442 _swigt__p_wxMenuBar
,
27443 _swigt__p_wxPyScrolledWindow
,
27444 _swigt__p_wxPrintPreview
,
27445 _swigt__p_wxSashEvent
,
27446 _swigt__p_wxString
,
27447 _swigt__p_wxPyPrintPreview
,
27448 _swigt__p_wxFontDialog
,
27449 _swigt__p_wxDirDialog
,
27450 _swigt__p_wxColourDialog
,
27451 _swigt__p_wxDialog
,
27453 _swigt__p_wxPageSetupDialog
,
27454 _swigt__p_wxPrintDialog
,
27455 _swigt__p_wxFileSystem
,
27456 _swigt__p_wxBitmap
,
27457 _swigt__p_wxCommandEvent
,
27458 _swigt__p_wxPreviewControlBar
,
27459 _swigt__p_wxPyPreviewControlBar
,
27460 _swigt__p_wxColour
,
27461 _swigt__p_wxToolBar
,
27462 _swigt__p_wxPageSetupDialogData
,
27463 _swigt__p_wxPrintDialogData
,
27468 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27470 static swig_const_info swig_const_table
[] = {
27471 {0, 0, 0, 0.0, 0, 0}};
27480 SWIGEXPORT(void) SWIG_init(void) {
27481 static PyObject
*SWIG_globals
= 0;
27482 static int typeinit
= 0;
27485 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
27486 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27487 d
= PyModule_GetDict(m
);
27490 for (i
= 0; swig_types_initial
[i
]; i
++) {
27491 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
27495 SWIG_InstallConstants(d
,swig_const_table
);
27497 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
27498 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
27499 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
27500 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
27501 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
27502 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP
));
27503 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)wxICONIZE
));
27504 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE
));
27505 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE
));
27506 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX
));
27507 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME
));
27508 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU
));
27509 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX
));
27510 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX
));
27511 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ
));
27512 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT
));
27513 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX
));
27514 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER
));
27515 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT
));
27516 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE
));
27517 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE
));
27518 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW
));
27519 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT
));
27520 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU
));
27521 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR
));
27522 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED
));
27523 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int((int)wxFRAME_DRAWER
));
27524 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL
));
27525 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS
));
27526 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS
));
27527 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)wxNO_3D
));
27528 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR
));
27529 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR
));
27530 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR
));
27531 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER
));
27532 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION
));
27533 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL
));
27534 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG
));
27535 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO
));
27536 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR
));
27537 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT
));
27538 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN
));
27539 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE
));
27540 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT
));
27541 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT
));
27542 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL
));
27543 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT
));
27544 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED
));
27545 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
27546 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER
));
27547 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH
));
27548 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT
));
27549 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE
));
27550 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH
));
27551 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER
));
27552 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME
));
27553 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER
));
27554 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)wxSP_3D
));
27555 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL
));
27556 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL
));
27557 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE
));
27558 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING
));
27559 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN
));
27560 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
27561 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
27562 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
27563 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
27564 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
27565 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
27566 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE
));
27567 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING
));
27568 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN
));
27569 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER
));
27570 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER
));
27571 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH
));
27572 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER
));
27573 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)wxSW_3D
));
27574 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP
));
27575 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT
));
27576 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM
));
27577 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT
));
27578 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE
));
27579 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK
));
27580 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE
));
27581 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
27582 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL
));
27583 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL
));
27584 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE
));
27585 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP
));
27586 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT
));
27587 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT
));
27588 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM
));
27589 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y
));
27590 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X
));
27591 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH
));
27592 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY
));
27593 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
27594 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
27595 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
27597 // Map renamed classes back to their common name for OOR
27598 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27599 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27600 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27602 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
27603 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
27604 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
27605 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
27606 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
27607 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
27608 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
27609 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
27610 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
27611 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
27612 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
27613 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
27614 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
27615 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE
));
27616 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int((int)wxTextEntryDialogStyle
));
27617 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
27618 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN
));
27619 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD
));
27620 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE
));
27621 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG
));
27622 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN
));
27623 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE
));
27624 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD
));
27625 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
27626 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
27627 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
27628 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
27629 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
27630 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27631 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27632 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27633 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27634 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27635 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27636 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27637 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
27638 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
27639 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
27640 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE
));
27641 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW
));
27642 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE
));
27643 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER
));
27644 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM
));
27645 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)wxPRINTBIN_DEFAULT
));
27646 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)wxPRINTBIN_ONLYONE
));
27647 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)wxPRINTBIN_LOWER
));
27648 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)wxPRINTBIN_MIDDLE
));
27649 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)wxPRINTBIN_MANUAL
));
27650 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)wxPRINTBIN_ENVELOPE
));
27651 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)wxPRINTBIN_ENVMANUAL
));
27652 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)wxPRINTBIN_AUTO
));
27653 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)wxPRINTBIN_TRACTOR
));
27654 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)wxPRINTBIN_SMALLFMT
));
27655 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)wxPRINTBIN_LARGEFMT
));
27656 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)wxPRINTBIN_LARGECAPACITY
));
27657 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)wxPRINTBIN_CASSETTE
));
27658 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)wxPRINTBIN_FORMSOURCE
));
27659 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)wxPRINTBIN_USER
));
27660 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR
));
27661 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED
));
27662 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR
));
27663 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT
));
27664 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS
));
27665 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT
));
27666 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM
));
27667 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST
));
27668 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST
));
27669 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO
));
27670 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT
));
27671 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE
));
27672 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT
));
27673 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS
));
27674 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT
));
27675 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM
));
27676 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST
));
27677 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST
));
27678 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO
));
27680 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");