1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
212 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
213 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
214 #define SWIGTYPE_p_wxPyPanel swig_types[3]
215 #define SWIGTYPE_p_wxMenu swig_types[4]
216 #define SWIGTYPE_p_wxFontData swig_types[5]
217 #define SWIGTYPE_p_wxEvent swig_types[6]
218 #define SWIGTYPE_p_wxPrintData swig_types[7]
219 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
220 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
221 #define SWIGTYPE_p_wxIconBundle swig_types[10]
222 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
223 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
224 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
225 #define SWIGTYPE_p_wxFont swig_types[14]
226 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
227 #define SWIGTYPE_p_wxRegion swig_types[16]
228 #define SWIGTYPE_p_wxFindReplaceData swig_types[17]
229 #define SWIGTYPE_p_int swig_types[18]
230 #define SWIGTYPE_p_wxSize swig_types[19]
231 #define SWIGTYPE_p_wxDC swig_types[20]
232 #define SWIGTYPE_p_wxIcon swig_types[21]
233 #define SWIGTYPE_p_wxVisualAttributes swig_types[22]
234 #define SWIGTYPE_p_wxMDIChildFrame swig_types[23]
235 #define SWIGTYPE_p_wxColourData swig_types[24]
236 #define SWIGTYPE_p_wxNotifyEvent swig_types[25]
237 #define SWIGTYPE_p_wxPyWindow swig_types[26]
238 #define SWIGTYPE_p_wxSplashScreen swig_types[27]
239 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[28]
240 #define SWIGTYPE_p_wxProgressDialog swig_types[29]
241 #define SWIGTYPE_p_wxMessageDialog swig_types[30]
242 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31]
243 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
244 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
245 #define SWIGTYPE_p_wxFileDialog swig_types[34]
246 #define SWIGTYPE_p_wxTextEntryDialog swig_types[35]
247 #define SWIGTYPE_p_wxPrinter swig_types[36]
248 #define SWIGTYPE_p_wxArrayInt swig_types[37]
249 #define SWIGTYPE_p_wxEvtHandler swig_types[38]
250 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[39]
251 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[40]
252 #define SWIGTYPE_p_wxPyVListBox swig_types[41]
253 #define SWIGTYPE_p_wxRect swig_types[42]
254 #define SWIGTYPE_p_char swig_types[43]
255 #define SWIGTYPE_p_wxMiniFrame swig_types[44]
256 #define SWIGTYPE_p_wxFrame swig_types[45]
257 #define SWIGTYPE_p_wxPyPrintout swig_types[46]
258 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[47]
259 #define SWIGTYPE_p_wxScrollWinEvent swig_types[48]
260 #define SWIGTYPE_p_wxStatusBar swig_types[49]
261 #define SWIGTYPE_p_wxMDIParentFrame swig_types[50]
262 #define SWIGTYPE_p_wxPoint swig_types[51]
263 #define SWIGTYPE_p_wxObject swig_types[52]
264 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
265 #define SWIGTYPE_p_wxTipWindow swig_types[54]
266 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55]
267 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[56]
268 #define SWIGTYPE_p_wxSplitterWindow swig_types[57]
269 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[58]
270 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[59]
271 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
272 #define SWIGTYPE_p_wxSashWindow swig_types[61]
273 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
274 #define SWIGTYPE_p_wxWindow swig_types[63]
275 #define SWIGTYPE_p_wxScrolledWindow swig_types[64]
276 #define SWIGTYPE_p_wxMenuBar swig_types[65]
277 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[66]
278 #define SWIGTYPE_p_wxPrintPreview swig_types[67]
279 #define SWIGTYPE_p_wxSashEvent swig_types[68]
280 #define SWIGTYPE_p_wxString swig_types[69]
281 #define SWIGTYPE_p_wxPyPrintPreview swig_types[70]
282 #define SWIGTYPE_p_wxFontDialog swig_types[71]
283 #define SWIGTYPE_p_wxDirDialog swig_types[72]
284 #define SWIGTYPE_p_wxColourDialog swig_types[73]
285 #define SWIGTYPE_p_wxDialog swig_types[74]
286 #define SWIGTYPE_p_wxPanel swig_types[75]
287 #define SWIGTYPE_p_wxPageSetupDialog swig_types[76]
288 #define SWIGTYPE_p_wxPrintDialog swig_types[77]
289 #define SWIGTYPE_p_wxFileSystem swig_types[78]
290 #define SWIGTYPE_p_wxBitmap swig_types[79]
291 #define SWIGTYPE_p_wxCommandEvent swig_types[80]
292 #define SWIGTYPE_p_wxPreviewControlBar swig_types[81]
293 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[82]
294 #define SWIGTYPE_p_wxColour swig_types[83]
295 #define SWIGTYPE_p_wxToolBar swig_types[84]
296 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
297 #define SWIGTYPE_p_wxPrintDialogData swig_types[86]
298 static swig_type_info
*swig_types
[88];
300 /* -------- TYPES TABLE (END) -------- */
303 /*-----------------------------------------------
304 @(target):= _windows_.so
305 ------------------------------------------------*/
306 #define SWIG_init init_windows_
308 #define SWIG_name "_windows_"
310 /* Auxiliar swig macros that appear in the header */
312 #define SWIG_OLDOBJ 1
313 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
314 #define SWIG_PYSTR SWIG_NEWOBJ + 1
317 #define SWIGSTATICINLINE(a) static inline a
318 #define SWIGSTATIC(a) static a
319 #define swig_new_array(size,Type) (new Type[(size)])
320 #define swig_delete(cptr) delete cptr
321 #define swig_delete_array(cptr) delete[] cptr
322 #define swig_const_cast(a,Type) const_cast<Type >(a)
323 #define swig_static_cast(a,Type) static_cast<Type >(a)
324 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
325 #define swig_new_copy(ptr,Type) (new Type(*ptr))
326 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
330 #define SWIGSTATICINLINE(a) static a
331 #define SWIGSTATIC(a) static a
332 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
333 #define swig_delete(cptr) free((char*)cptr)
334 #define swig_delete_array(cptr) free((char*)cptr)
335 #define swig_const_cast(a,Type) (Type)(a)
336 #define swig_static_cast(a,Type) (Type)(a)
337 #define swig_reinterpret_cast(a,Type) (Type)(a)
338 #define swig_numeric_cast(a,Type) (Type)(a)
339 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
341 #endif /* __cplusplus */
344 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
345 #define SWIG_From_signed_SS_char PyInt_FromLong
347 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
348 #define SWIG_From_unsigned_SS_char PyInt_FromLong
350 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
351 #define SWIG_From_short PyInt_FromLong
353 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
354 #define SWIG_From_unsigned_SS_short PyInt_FromLong
356 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
357 #define SWIG_From_int PyInt_FromLong
359 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
360 #define SWIG_From_long PyInt_FromLong
362 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
363 #define SWIG_From_float PyFloat_FromDouble
365 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
366 #define SWIG_From_double PyFloat_FromDouble
370 #include "wx/wxPython/wxPython.h"
371 #include "wx/wxPython/pyclasses.h"
374 static const wxString
wxPyEmptyString(wxEmptyString
);
375 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
382 SWIGSTATICINLINE(int)
383 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
386 if (value
< min_value
) {
388 PyErr_Format(PyExc_OverflowError
,
389 "value %ld is less than '%s' minimum %ld",
390 value
, errmsg
, min_value
);
393 } else if (value
> max_value
) {
395 PyErr_Format(PyExc_OverflowError
,
396 "value %ld is greater than '%s' maximum %ld",
397 value
, errmsg
, max_value
);
405 // See my_fragments.i
406 SWIGSTATICINLINE(int)
407 SWIG_AsVal_long(PyObject
* obj
, long* val
)
409 if (PyNumber_Check(obj
)) {
410 if (val
) *val
= PyInt_AsLong(obj
);
414 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
415 obj
->ob_type
->tp_name
);
416 PyErr_SetObject(PyExc_TypeError
, errmsg
);
423 #if INT_MAX != LONG_MAX
424 SWIGSTATICINLINE(int)
425 SWIG_AsVal_int(PyObject
*obj
, int *val
)
427 const char* errmsg
= val
? "int" : 0;
429 if (SWIG_AsVal_long(obj
, &v
)) {
430 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
431 if (val
) *val
= swig_numeric_cast(v
, int);
440 PyErr_SetString(PyExc_TypeError
, "an int is expected");
445 SWIGSTATICINLINE(int)
446 SWIG_AsVal_int(PyObject
*obj
, int *val
)
448 return SWIG_AsVal_long(obj
,(long*)val
);
453 SWIGSTATICINLINE(int)
454 SWIG_As_int(PyObject
* obj
)
457 if (!SWIG_AsVal_int(obj
, &v
)) {
459 this is needed to make valgrind/purify happier. the other
460 solution is throw an exception, but since this code should work
463 memset((void*)&v
, 0, sizeof(int));
469 SWIGSTATICINLINE(long)
470 SWIG_As_long(PyObject
* obj
)
473 if (!SWIG_AsVal_long(obj
, &v
)) {
475 this is needed to make valgrind/purify happier. the other
476 solution is throw an exception, but since this code should work
479 memset((void*)&v
, 0, sizeof(long));
485 SWIGSTATICINLINE(int)
486 SWIG_Check_int(PyObject
* obj
)
488 return SWIG_AsVal_int(obj
, (int*)0);
492 SWIGSTATICINLINE(int)
493 SWIG_Check_long(PyObject
* obj
)
495 return SWIG_AsVal_long(obj
, (long*)0);
499 SWIGSTATICINLINE(int)
500 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
502 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
503 if (obj
== Py_True
) {
504 if (val
) *val
= true;
507 if (obj
== Py_False
) {
508 if (val
) *val
= false;
512 if (SWIG_AsVal_int(obj
, &res
)) {
513 if (val
) *val
= (bool)res
;
517 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
523 SWIGSTATICINLINE(bool)
524 SWIG_As_bool(PyObject
* obj
)
527 if (!SWIG_AsVal_bool(obj
, &v
)) {
529 this is needed to make valgrind/purify happier. the other
530 solution is throw an exception, but since this code should work
533 memset((void*)&v
, 0, sizeof(bool));
539 SWIGSTATICINLINE(int)
540 SWIG_Check_bool(PyObject
* obj
)
542 return SWIG_AsVal_bool(obj
, (bool*)0);
546 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
552 } else if (target
== Py_None
) {
556 if (!PyTuple_Check(target
)) {
558 target
= PyTuple_New(1);
559 PyTuple_SetItem(target
, 0, o2
);
562 PyTuple_SetItem(o3
, 0, o
);
565 target
= PySequence_Concat(o2
, o3
);
574 // See my_fragments.i
575 SWIGSTATICINLINE(int)
576 SWIG_AsVal_double(PyObject
*obj
, double* val
)
578 if (PyNumber_Check(obj
)) {
579 if (val
) *val
= PyFloat_AsDouble(obj
);
583 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
584 obj
->ob_type
->tp_name
);
585 PyErr_SetObject(PyExc_TypeError
, errmsg
);
592 SWIGSTATICINLINE(double)
593 SWIG_As_double(PyObject
* obj
)
596 if (!SWIG_AsVal_double(obj
, &v
)) {
598 this is needed to make valgrind/purify happier. the other
599 solution is throw an exception, but since this code should work
602 memset((void*)&v
, 0, sizeof(double));
608 SWIGSTATICINLINE(int)
609 SWIG_Check_double(PyObject
* obj
)
611 return SWIG_AsVal_double(obj
, (double*)0);
614 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
615 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
616 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
617 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
620 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
622 self
->GetFieldRect(i
, r
);
625 static const wxString
wxPySplitterNameStr(wxT("splitter"));
626 static const wxString
wxPySashNameStr(wxT("sashWindow"));
627 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
629 #include <wx/popupwin.h>
632 class wxPopupWindow
: public wxWindow
{
634 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
635 wxPopupWindow() { wxPyRaiseNotImplemented(); }
638 class wxPyPopupTransientWindow
: public wxPopupWindow
641 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
642 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
646 #include <wx/tipwin.h>
648 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
649 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
652 #include <wx/tipwin.h>
655 #include <wx/vscroll.h>
658 class wxPyVScrolledWindow
: public wxVScrolledWindow
660 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
662 wxPyVScrolledWindow() : wxVScrolledWindow() {}
664 wxPyVScrolledWindow(wxWindow
*parent
,
665 wxWindowID id
= wxID_ANY
,
666 const wxPoint
& pos
= wxDefaultPosition
,
667 const wxSize
& size
= wxDefaultSize
,
669 const wxString
& name
= wxPyPanelNameStr
)
670 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
673 // Overridable virtuals
675 // this function must be overridden in the derived class and it should
676 // return the height of the given line in pixels
677 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
680 // this function doesn't have to be overridden but it may be useful to do
681 // it if calculating the lines heights is a relatively expensive operation
682 // as it gives the user code a possibility to calculate several of them at
685 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
686 // shouldn't rely on the latter being called for all lines in the interval
687 // specified here. It is also possible that OnGetLineHeight() will be
688 // called for the lines outside of this interval, so this is really just a
689 // hint, not a promise.
691 // finally note that lineMin is inclusive, while lineMax is exclusive, as
693 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
696 // when the number of lines changes, we try to estimate the total height
697 // of all lines which is a rather expensive operation in terms of lines
698 // access, so if the user code may estimate the average height
699 // better/faster than we do, it should override this function to implement
702 // this function should return the best guess for the total height it may
704 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
707 // Also expose some other interesting protected methods
710 // find the index of the line we need to show at the top of the window such
711 // that the last (fully or partially) visible line is the given one
712 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
713 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
715 // get the total height of the lines between lineMin (inclusive) and
716 // lineMax (exclusive)
717 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
718 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
724 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
726 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
727 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
728 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
731 // See my_fragments.i
732 SWIGSTATICINLINE(int)
733 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
736 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
737 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
741 *val
= (unsigned long)v
;
746 SWIGSTATICINLINE(unsigned long)
747 SWIG_As_unsigned_SS_long(PyObject
* obj
)
750 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
752 this is needed to make valgrind/purify happier. the other
753 solution is throw an exception, but since this code should work
756 memset((void*)&v
, 0, sizeof(unsigned long));
762 SWIGSTATICINLINE(int)
763 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
765 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
769 SWIGSTATICINLINE(PyObject
* )
770 SWIG_From_unsigned_SS_long(unsigned long value
)
772 return (value
> LONG_MAX
) ?
773 PyLong_FromUnsignedLong(value
)
774 : PyInt_FromLong(swig_numeric_cast(value
,long));
778 #include <wx/vlbox.h>
780 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
782 class wxPyVListBox
: public wxVListBox
784 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
786 wxPyVListBox() : wxVListBox() {}
788 wxPyVListBox(wxWindow
*parent
,
789 wxWindowID id
= wxID_ANY
,
790 const wxPoint
& pos
= wxDefaultPosition
,
791 const wxSize
& size
= wxDefaultSize
,
793 const wxString
& name
= wxPyVListBoxNameStr
)
794 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
797 // Overridable virtuals
799 // the derived class must implement this function to actually draw the item
800 // with the given index on the provided DC
801 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
802 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
805 // the derived class must implement this method to return the height of the
807 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
808 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
811 // this method may be used to draw separators between the lines; note that
812 // the rectangle may be modified, typically to deflate it a bit before
813 // passing to OnDrawItem()
815 // the base class version doesn't do anything
816 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
817 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
820 // this method is used to draw the items background and, maybe, a border
823 // the base class version implements a reasonable default behaviour which
824 // consists in drawing the selected item with the standard background
825 // colour and drawing a border around the item if it is either selected or
827 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
828 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
834 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
836 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
837 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
838 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
839 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
842 PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
843 unsigned long cookie
= 0;
844 int selected
= self
->GetFirstSelected(cookie
);
845 bool blocked
= wxPyBeginBlockThreads();
846 PyObject
* tup
= PyTuple_New(2);
847 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
848 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
849 wxPyEndBlockThreads(blocked
);
852 PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
853 int selected
= self
->GetNextSelected(cookie
);
854 bool blocked
= wxPyBeginBlockThreads();
855 PyObject
* tup
= PyTuple_New(2);
856 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
857 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
858 wxPyEndBlockThreads(blocked
);
862 #include <wx/htmllbox.h>
865 class wxPyHtmlListBox
: public wxHtmlListBox
867 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
869 wxPyHtmlListBox() : wxHtmlListBox() {}
871 wxPyHtmlListBox(wxWindow
*parent
,
872 wxWindowID id
= wxID_ANY
,
873 const wxPoint
& pos
= wxDefaultPosition
,
874 const wxSize
& size
= wxDefaultSize
,
876 const wxString
& name
= wxPyVListBoxNameStr
)
877 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
880 // Overridable virtuals
882 // this method must be implemented in the derived class and should return
883 // the body (i.e. without <html>) of the HTML for the given item
884 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
886 // this function may be overridden to decorate HTML returned by OnGetItem()
887 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
890 // // this method allows to customize the selection appearance: it may be used
891 // // to specify the colour of the text which normally has the given colour
892 // // colFg when it is inside the selection
894 // // by default, the original colour is not used at all and all text has the
895 // // same (default for this system) colour inside selection
896 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
898 // // this is the same as GetSelectedTextColour() but allows to customize the
899 // // background colour -- this is even more rarely used as you can change it
900 // // globally using SetSelectionBackground()
901 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
908 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
910 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
911 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
917 #ifndef wxHAS_TASK_BAR_ICON
918 // implement dummy classes for platforms that don't have it
920 class wxTaskBarIcon
: public wxEvtHandler
923 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
927 class wxTaskBarIconEvent
: public wxEvent
930 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
931 { wxPyRaiseNotImplemented(); }
932 virtual wxEvent
* Clone() const { return NULL
; }
933 bool IsOk() const { return false; }
934 bool IsIconInstalled() const { return false; }
935 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
936 bool RemoveIcon() { return false; }
937 bool PopupMenu(wxMenu
*menu
) { return false; }
941 wxEVT_TASKBAR_MOVE
= 0,
942 wxEVT_TASKBAR_LEFT_DOWN
= 0,
943 wxEVT_TASKBAR_LEFT_UP
= 0,
944 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
945 wxEVT_TASKBAR_RIGHT_UP
= 0,
946 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
947 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
952 // Otherwise make a class that can virtualize CreatePopupMenu
953 class wxPyTaskBarIcon
: public wxTaskBarIcon
955 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
);
957 wxPyTaskBarIcon() : wxTaskBarIcon()
960 wxMenu
* CreatePopupMenu() {
963 bool blocked
= wxPyBeginBlockThreads();
964 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
967 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
969 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
974 wxPyEndBlockThreads(blocked
);
976 rval
= wxTaskBarIcon::CreatePopupMenu();
983 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
987 void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
991 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
992 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
993 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
994 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
995 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
996 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
997 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
999 self
->GetFilenames(arr
);
1000 return wxArrayString2PyList_helper(arr
);
1002 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
1004 self
->GetPaths(arr
);
1005 return wxArrayString2PyList_helper(arr
);
1007 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
1008 return wxArrayInt2PyList_helper(self
->GetSelections());
1010 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
1011 return new wxSingleChoiceDialog(parent
, message
, caption
,
1012 choices
, choices_array
, NULL
, style
, pos
);
1014 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
1018 // C++ version of Python aware wxWindow
1019 class wxPyWindow
: public wxWindow
1021 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
1023 wxPyWindow() : wxWindow() {}
1024 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
1025 const wxPoint
& pos
= wxDefaultPosition
,
1026 const wxSize
& size
= wxDefaultSize
,
1028 const wxString
& name
= wxPyPanelNameStr
)
1029 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
1031 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
1033 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1034 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1035 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1036 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1038 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1039 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1040 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1042 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1043 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1045 DEC_PYCALLBACK__(InitDialog
);
1046 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1047 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1048 DEC_PYCALLBACK_BOOL_(Validate
);
1050 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1051 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1052 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1054 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1055 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1057 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1058 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1059 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1064 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
1066 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
1067 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
1068 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
1069 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
1071 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
1072 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
1073 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
1075 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
1076 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
1078 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
1079 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
1080 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
1081 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
1083 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
1084 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
1085 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
1087 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
1088 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
1090 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
1091 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
1092 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
1095 // C++ version of Python aware wxPanel
1096 class wxPyPanel
: public wxPanel
1098 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
1100 wxPyPanel() : wxPanel() {}
1101 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
1102 const wxPoint
& pos
= wxDefaultPosition
,
1103 const wxSize
& size
= wxDefaultSize
,
1105 const wxString
& name
= wxPyPanelNameStr
)
1106 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
1108 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
1111 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1112 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1113 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1114 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1116 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1117 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1118 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1120 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1121 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1123 DEC_PYCALLBACK__(InitDialog
);
1124 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1125 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1126 DEC_PYCALLBACK_BOOL_(Validate
);
1128 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1129 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1130 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1132 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1133 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1135 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1136 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1137 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1142 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
1144 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
1145 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
1146 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
1147 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
1149 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
1150 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
1151 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
1153 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
1154 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
1156 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
1157 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
1158 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
1159 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
1161 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
1162 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
1163 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
1165 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
1166 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
1168 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
1169 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
1170 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
1173 // C++ version of Python aware wxScrolledWindow
1174 class wxPyScrolledWindow
: public wxScrolledWindow
1176 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1178 wxPyScrolledWindow() : wxScrolledWindow() {}
1179 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1180 const wxPoint
& pos
= wxDefaultPosition
,
1181 const wxSize
& size
= wxDefaultSize
,
1183 const wxString
& name
= wxPyPanelNameStr
)
1184 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1186 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
1188 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1189 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1190 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1191 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1193 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1194 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1195 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1197 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1198 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1200 DEC_PYCALLBACK__(InitDialog
);
1201 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1202 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1203 DEC_PYCALLBACK_BOOL_(Validate
);
1205 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1206 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1207 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1209 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1210 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1212 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1213 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1214 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1219 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1221 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1222 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1223 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1224 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1226 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1227 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1228 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1230 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1231 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1233 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1234 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1235 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1236 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1238 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1239 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1240 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1242 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1243 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1245 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1246 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1247 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
1251 #include "wx/wxPython/printfw.h"
1254 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1255 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1258 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
1260 // Since this one would be tough and ugly to do with the Macros...
1261 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1262 bool hadErr
= false;
1265 bool blocked
= wxPyBeginBlockThreads();
1266 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1267 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1268 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1271 val
= PyTuple_GetItem(result
, 0);
1272 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1275 val
= PyTuple_GetItem(result
, 1);
1276 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1279 val
= PyTuple_GetItem(result
, 2);
1280 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1283 val
= PyTuple_GetItem(result
, 3);
1284 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1291 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1296 wxPyEndBlockThreads(blocked
);
1298 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1301 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1302 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1306 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1307 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1308 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1309 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1310 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1311 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1312 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1318 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1319 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1320 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1323 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1324 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1327 bool blocked = wxPyBeginBlockThreads(); \
1328 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1329 PyObject* win = wxPyMake_wxObject(a,false); \
1330 PyObject* dc = wxPyMake_wxObject(&b,false); \
1331 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
1335 wxPyEndBlockThreads(blocked); \
1337 rval = PCLASS::CBNAME(a, b); \
1340 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1341 return PCLASS::CBNAME(a, b); \
1347 class wxPyPrintPreview
: public wxPrintPreview
1349 DECLARE_CLASS(wxPyPrintPreview
)
1351 wxPyPrintPreview(wxPyPrintout
* printout
,
1352 wxPyPrintout
* printoutForPrinting
,
1353 wxPrintDialogData
* data
=NULL
)
1354 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1356 wxPyPrintPreview(wxPyPrintout
* printout
,
1357 wxPyPrintout
* printoutForPrinting
,
1358 wxPrintData
* data
=NULL
)
1359 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1362 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1363 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1364 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1365 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1366 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1367 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1368 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1373 // Stupid renamed classes... Fix this in 2.5...
1374 #if defined(__WXMSW__)
1375 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1376 #elif defined(__WXMAC__)
1377 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1379 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1382 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1383 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1384 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1385 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1386 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1387 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1388 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1391 class wxPyPreviewFrame
: public wxPreviewFrame
1393 DECLARE_CLASS(wxPyPreviewFrame
);
1395 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1396 const wxString
& title
,
1397 const wxPoint
& pos
= wxDefaultPosition
,
1398 const wxSize
& size
= wxDefaultSize
,
1399 long style
= wxDEFAULT_FRAME_STYLE
,
1400 const wxString
& name
= wxPyFrameNameStr
)
1401 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1404 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1405 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1407 DEC_PYCALLBACK_VOID_(Initialize
);
1408 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1409 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1414 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1416 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1417 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1418 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1421 class wxPyPreviewControlBar
: public wxPreviewControlBar
1423 DECLARE_CLASS(wxPyPreviewControlBar
);
1425 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1428 const wxPoint
& pos
= wxDefaultPosition
,
1429 const wxSize
& size
= wxDefaultSize
,
1431 const wxString
& name
= wxPyPanelNameStr
)
1432 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1435 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1437 DEC_PYCALLBACK_VOID_(CreateButtons
);
1438 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1443 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1444 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1445 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1450 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1451 PyObject
*resultobj
;
1452 wxWindow
*arg1
= (wxWindow
*) 0 ;
1453 int arg2
= (int) (int)-1 ;
1454 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1455 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1456 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1457 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1458 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1459 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1460 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1464 bool temp6
= false ;
1465 PyObject
* obj0
= 0 ;
1466 PyObject
* obj1
= 0 ;
1467 PyObject
* obj2
= 0 ;
1468 PyObject
* obj3
= 0 ;
1469 PyObject
* obj4
= 0 ;
1470 PyObject
* obj5
= 0 ;
1472 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1479 arg2
= (int)SWIG_As_int(obj1
);
1480 if (PyErr_Occurred()) SWIG_fail
;
1485 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1491 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1495 arg5
= (long)SWIG_As_long(obj4
);
1496 if (PyErr_Occurred()) SWIG_fail
;
1500 arg6
= wxString_in_helper(obj5
);
1501 if (arg6
== NULL
) SWIG_fail
;
1506 if (!wxPyCheckForApp()) SWIG_fail
;
1507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1508 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1510 wxPyEndAllowThreads(__tstate
);
1511 if (PyErr_Occurred()) SWIG_fail
;
1513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1528 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1529 PyObject
*resultobj
;
1535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1537 if (!wxPyCheckForApp()) SWIG_fail
;
1538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1539 result
= (wxPanel
*)new wxPanel();
1541 wxPyEndAllowThreads(__tstate
);
1542 if (PyErr_Occurred()) SWIG_fail
;
1544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1551 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1552 PyObject
*resultobj
;
1553 wxPanel
*arg1
= (wxPanel
*) 0 ;
1554 wxWindow
*arg2
= (wxWindow
*) 0 ;
1555 int arg3
= (int) (int)-1 ;
1556 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1557 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1558 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1559 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1560 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1561 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1562 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1566 bool temp7
= false ;
1567 PyObject
* obj0
= 0 ;
1568 PyObject
* obj1
= 0 ;
1569 PyObject
* obj2
= 0 ;
1570 PyObject
* obj3
= 0 ;
1571 PyObject
* obj4
= 0 ;
1572 PyObject
* obj5
= 0 ;
1573 PyObject
* obj6
= 0 ;
1575 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1584 arg3
= (int)SWIG_As_int(obj2
);
1585 if (PyErr_Occurred()) SWIG_fail
;
1590 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1596 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1600 arg6
= (long)SWIG_As_long(obj5
);
1601 if (PyErr_Occurred()) SWIG_fail
;
1605 arg7
= wxString_in_helper(obj6
);
1606 if (arg7
== NULL
) SWIG_fail
;
1611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1612 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1614 wxPyEndAllowThreads(__tstate
);
1615 if (PyErr_Occurred()) SWIG_fail
;
1618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1634 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1635 PyObject
*resultobj
;
1636 wxPanel
*arg1
= (wxPanel
*) 0 ;
1637 PyObject
* obj0
= 0 ;
1639 (char *) "self", NULL
1642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1647 (arg1
)->InitDialog();
1649 wxPyEndAllowThreads(__tstate
);
1650 if (PyErr_Occurred()) SWIG_fail
;
1652 Py_INCREF(Py_None
); resultobj
= Py_None
;
1659 static PyObject
*_wrap_Panel_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1660 PyObject
*resultobj
;
1661 wxPanel
*arg1
= (wxPanel
*) 0 ;
1662 PyObject
* obj0
= 0 ;
1664 (char *) "self", NULL
1667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocus",kwnames
,&obj0
)) goto fail
;
1668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1674 wxPyEndAllowThreads(__tstate
);
1675 if (PyErr_Occurred()) SWIG_fail
;
1677 Py_INCREF(Py_None
); resultobj
= Py_None
;
1684 static PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1685 PyObject
*resultobj
;
1686 wxPanel
*arg1
= (wxPanel
*) 0 ;
1687 PyObject
* obj0
= 0 ;
1689 (char *) "self", NULL
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames
,&obj0
)) goto fail
;
1693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1697 (arg1
)->SetFocusIgnoringChildren();
1699 wxPyEndAllowThreads(__tstate
);
1700 if (PyErr_Occurred()) SWIG_fail
;
1702 Py_INCREF(Py_None
); resultobj
= Py_None
;
1709 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1710 PyObject
*resultobj
;
1711 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1712 wxVisualAttributes result
;
1713 PyObject
* obj0
= 0 ;
1715 (char *) "variant", NULL
1718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1720 arg1
= (int)SWIG_As_int(obj0
);
1721 if (PyErr_Occurred()) SWIG_fail
;
1724 if (!wxPyCheckForApp()) SWIG_fail
;
1725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1726 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1728 wxPyEndAllowThreads(__tstate
);
1729 if (PyErr_Occurred()) SWIG_fail
;
1732 wxVisualAttributes
* resultptr
;
1733 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1734 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1742 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
1744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1745 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1747 return Py_BuildValue((char *)"");
1749 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1750 PyObject
*resultobj
;
1751 wxWindow
*arg1
= (wxWindow
*) 0 ;
1752 int arg2
= (int) (int)-1 ;
1753 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1754 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1755 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1756 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1757 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1758 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1759 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1760 wxScrolledWindow
*result
;
1763 bool temp6
= false ;
1764 PyObject
* obj0
= 0 ;
1765 PyObject
* obj1
= 0 ;
1766 PyObject
* obj2
= 0 ;
1767 PyObject
* obj3
= 0 ;
1768 PyObject
* obj4
= 0 ;
1769 PyObject
* obj5
= 0 ;
1771 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1778 arg2
= (int)SWIG_As_int(obj1
);
1779 if (PyErr_Occurred()) SWIG_fail
;
1784 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1790 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1794 arg5
= (long)SWIG_As_long(obj4
);
1795 if (PyErr_Occurred()) SWIG_fail
;
1799 arg6
= wxString_in_helper(obj5
);
1800 if (arg6
== NULL
) SWIG_fail
;
1805 if (!wxPyCheckForApp()) SWIG_fail
;
1806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1807 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1809 wxPyEndAllowThreads(__tstate
);
1810 if (PyErr_Occurred()) SWIG_fail
;
1812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1827 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1828 PyObject
*resultobj
;
1829 wxScrolledWindow
*result
;
1834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1836 if (!wxPyCheckForApp()) SWIG_fail
;
1837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1838 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1840 wxPyEndAllowThreads(__tstate
);
1841 if (PyErr_Occurred()) SWIG_fail
;
1843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1850 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
*resultobj
;
1852 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1853 wxWindow
*arg2
= (wxWindow
*) 0 ;
1854 int arg3
= (int) (int)-1 ;
1855 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1856 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1857 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1858 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1859 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1860 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1861 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1865 bool temp7
= false ;
1866 PyObject
* obj0
= 0 ;
1867 PyObject
* obj1
= 0 ;
1868 PyObject
* obj2
= 0 ;
1869 PyObject
* obj3
= 0 ;
1870 PyObject
* obj4
= 0 ;
1871 PyObject
* obj5
= 0 ;
1872 PyObject
* obj6
= 0 ;
1874 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1883 arg3
= (int)SWIG_As_int(obj2
);
1884 if (PyErr_Occurred()) SWIG_fail
;
1889 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1895 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1899 arg6
= (long)SWIG_As_long(obj5
);
1900 if (PyErr_Occurred()) SWIG_fail
;
1904 arg7
= wxString_in_helper(obj6
);
1905 if (arg7
== NULL
) SWIG_fail
;
1910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1911 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1913 wxPyEndAllowThreads(__tstate
);
1914 if (PyErr_Occurred()) SWIG_fail
;
1917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1933 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1934 PyObject
*resultobj
;
1935 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1940 int arg6
= (int) 0 ;
1941 int arg7
= (int) 0 ;
1942 bool arg8
= (bool) false ;
1943 PyObject
* obj0
= 0 ;
1944 PyObject
* obj1
= 0 ;
1945 PyObject
* obj2
= 0 ;
1946 PyObject
* obj3
= 0 ;
1947 PyObject
* obj4
= 0 ;
1948 PyObject
* obj5
= 0 ;
1949 PyObject
* obj6
= 0 ;
1950 PyObject
* obj7
= 0 ;
1952 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1958 arg2
= (int)SWIG_As_int(obj1
);
1959 if (PyErr_Occurred()) SWIG_fail
;
1960 arg3
= (int)SWIG_As_int(obj2
);
1961 if (PyErr_Occurred()) SWIG_fail
;
1962 arg4
= (int)SWIG_As_int(obj3
);
1963 if (PyErr_Occurred()) SWIG_fail
;
1964 arg5
= (int)SWIG_As_int(obj4
);
1965 if (PyErr_Occurred()) SWIG_fail
;
1967 arg6
= (int)SWIG_As_int(obj5
);
1968 if (PyErr_Occurred()) SWIG_fail
;
1971 arg7
= (int)SWIG_As_int(obj6
);
1972 if (PyErr_Occurred()) SWIG_fail
;
1975 arg8
= (bool)SWIG_As_bool(obj7
);
1976 if (PyErr_Occurred()) SWIG_fail
;
1979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1980 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1982 wxPyEndAllowThreads(__tstate
);
1983 if (PyErr_Occurred()) SWIG_fail
;
1985 Py_INCREF(Py_None
); resultobj
= Py_None
;
1992 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1993 PyObject
*resultobj
;
1994 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1997 PyObject
* obj0
= 0 ;
1998 PyObject
* obj1
= 0 ;
1999 PyObject
* obj2
= 0 ;
2001 (char *) "self",(char *) "x",(char *) "y", NULL
2004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2007 arg2
= (int)SWIG_As_int(obj1
);
2008 if (PyErr_Occurred()) SWIG_fail
;
2009 arg3
= (int)SWIG_As_int(obj2
);
2010 if (PyErr_Occurred()) SWIG_fail
;
2012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2013 (arg1
)->Scroll(arg2
,arg3
);
2015 wxPyEndAllowThreads(__tstate
);
2016 if (PyErr_Occurred()) SWIG_fail
;
2018 Py_INCREF(Py_None
); resultobj
= Py_None
;
2025 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
*resultobj
;
2027 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2030 PyObject
* obj0
= 0 ;
2031 PyObject
* obj1
= 0 ;
2033 (char *) "self",(char *) "orient", NULL
2036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2039 arg2
= (int)SWIG_As_int(obj1
);
2040 if (PyErr_Occurred()) SWIG_fail
;
2042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2043 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
2045 wxPyEndAllowThreads(__tstate
);
2046 if (PyErr_Occurred()) SWIG_fail
;
2048 resultobj
= SWIG_From_int((int)result
);
2055 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2056 PyObject
*resultobj
;
2057 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2060 PyObject
* obj0
= 0 ;
2061 PyObject
* obj1
= 0 ;
2062 PyObject
* obj2
= 0 ;
2064 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2070 arg2
= (int)SWIG_As_int(obj1
);
2071 if (PyErr_Occurred()) SWIG_fail
;
2072 arg3
= (int)SWIG_As_int(obj2
);
2073 if (PyErr_Occurred()) SWIG_fail
;
2075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2076 (arg1
)->SetScrollPageSize(arg2
,arg3
);
2078 wxPyEndAllowThreads(__tstate
);
2079 if (PyErr_Occurred()) SWIG_fail
;
2081 Py_INCREF(Py_None
); resultobj
= Py_None
;
2088 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2089 PyObject
*resultobj
;
2090 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2093 PyObject
* obj0
= 0 ;
2094 PyObject
* obj1
= 0 ;
2095 PyObject
* obj2
= 0 ;
2097 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2103 arg2
= (int)SWIG_As_int(obj1
);
2104 if (PyErr_Occurred()) SWIG_fail
;
2105 arg3
= (int)SWIG_As_int(obj2
);
2106 if (PyErr_Occurred()) SWIG_fail
;
2108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2109 (arg1
)->SetScrollRate(arg2
,arg3
);
2111 wxPyEndAllowThreads(__tstate
);
2112 if (PyErr_Occurred()) SWIG_fail
;
2114 Py_INCREF(Py_None
); resultobj
= Py_None
;
2121 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2122 PyObject
*resultobj
;
2123 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2124 int *arg2
= (int *) 0 ;
2125 int *arg3
= (int *) 0 ;
2130 PyObject
* obj0
= 0 ;
2132 (char *) "self", NULL
2135 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2136 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
2138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2142 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
2144 wxPyEndAllowThreads(__tstate
);
2145 if (PyErr_Occurred()) SWIG_fail
;
2147 Py_INCREF(Py_None
); resultobj
= Py_None
;
2148 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2149 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2150 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2151 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2158 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2159 PyObject
*resultobj
;
2160 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2163 PyObject
* obj0
= 0 ;
2164 PyObject
* obj1
= 0 ;
2165 PyObject
* obj2
= 0 ;
2167 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2173 arg2
= (bool)SWIG_As_bool(obj1
);
2174 if (PyErr_Occurred()) SWIG_fail
;
2175 arg3
= (bool)SWIG_As_bool(obj2
);
2176 if (PyErr_Occurred()) SWIG_fail
;
2178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2179 (arg1
)->EnableScrolling(arg2
,arg3
);
2181 wxPyEndAllowThreads(__tstate
);
2182 if (PyErr_Occurred()) SWIG_fail
;
2184 Py_INCREF(Py_None
); resultobj
= Py_None
;
2191 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2192 PyObject
*resultobj
;
2193 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2194 int *arg2
= (int *) 0 ;
2195 int *arg3
= (int *) 0 ;
2200 PyObject
* obj0
= 0 ;
2202 (char *) "self", NULL
2205 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2206 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
2208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2212 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
2214 wxPyEndAllowThreads(__tstate
);
2215 if (PyErr_Occurred()) SWIG_fail
;
2217 Py_INCREF(Py_None
); resultobj
= Py_None
;
2218 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2219 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2220 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2221 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2228 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2229 PyObject
*resultobj
;
2230 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2233 PyObject
* obj0
= 0 ;
2234 PyObject
* obj1
= 0 ;
2235 PyObject
* obj2
= 0 ;
2237 (char *) "self",(char *) "xs",(char *) "ys", NULL
2240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2243 arg2
= (double)SWIG_As_double(obj1
);
2244 if (PyErr_Occurred()) SWIG_fail
;
2245 arg3
= (double)SWIG_As_double(obj2
);
2246 if (PyErr_Occurred()) SWIG_fail
;
2248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2249 (arg1
)->SetScale(arg2
,arg3
);
2251 wxPyEndAllowThreads(__tstate
);
2252 if (PyErr_Occurred()) SWIG_fail
;
2254 Py_INCREF(Py_None
); resultobj
= Py_None
;
2261 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2262 PyObject
*resultobj
;
2263 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2265 PyObject
* obj0
= 0 ;
2267 (char *) "self", NULL
2270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2275 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2277 wxPyEndAllowThreads(__tstate
);
2278 if (PyErr_Occurred()) SWIG_fail
;
2280 resultobj
= SWIG_From_double((double)result
);
2287 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2288 PyObject
*resultobj
;
2289 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2291 PyObject
* obj0
= 0 ;
2293 (char *) "self", NULL
2296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2301 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2303 wxPyEndAllowThreads(__tstate
);
2304 if (PyErr_Occurred()) SWIG_fail
;
2306 resultobj
= SWIG_From_double((double)result
);
2313 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2314 PyObject
*resultobj
;
2315 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2319 PyObject
* obj0
= 0 ;
2320 PyObject
* obj1
= 0 ;
2322 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2327 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2331 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2333 wxPyEndAllowThreads(__tstate
);
2334 if (PyErr_Occurred()) SWIG_fail
;
2337 wxPoint
* resultptr
;
2338 resultptr
= new wxPoint((wxPoint
&) result
);
2339 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2347 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2348 PyObject
*resultobj
;
2349 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2352 int *arg4
= (int *) 0 ;
2353 int *arg5
= (int *) 0 ;
2358 PyObject
* obj0
= 0 ;
2359 PyObject
* obj1
= 0 ;
2360 PyObject
* obj2
= 0 ;
2362 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2363 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2364 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2367 arg2
= (int)SWIG_As_int(obj1
);
2368 if (PyErr_Occurred()) SWIG_fail
;
2369 arg3
= (int)SWIG_As_int(obj2
);
2370 if (PyErr_Occurred()) SWIG_fail
;
2372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2373 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2375 wxPyEndAllowThreads(__tstate
);
2376 if (PyErr_Occurred()) SWIG_fail
;
2378 Py_INCREF(Py_None
); resultobj
= Py_None
;
2379 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2380 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
2381 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2382 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
2389 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2394 argc
= PyObject_Length(args
);
2395 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2396 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2402 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2411 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2414 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2422 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2430 _v
= SWIG_Check_int(argv
[1]);
2432 _v
= SWIG_Check_int(argv
[2]);
2434 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2440 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2445 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2446 PyObject
*resultobj
;
2447 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2451 PyObject
* obj0
= 0 ;
2452 PyObject
* obj1
= 0 ;
2454 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2459 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2463 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2465 wxPyEndAllowThreads(__tstate
);
2466 if (PyErr_Occurred()) SWIG_fail
;
2469 wxPoint
* resultptr
;
2470 resultptr
= new wxPoint((wxPoint
&) result
);
2471 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2479 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2480 PyObject
*resultobj
;
2481 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2484 int *arg4
= (int *) 0 ;
2485 int *arg5
= (int *) 0 ;
2490 PyObject
* obj0
= 0 ;
2491 PyObject
* obj1
= 0 ;
2492 PyObject
* obj2
= 0 ;
2494 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2495 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2496 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2499 arg2
= (int)SWIG_As_int(obj1
);
2500 if (PyErr_Occurred()) SWIG_fail
;
2501 arg3
= (int)SWIG_As_int(obj2
);
2502 if (PyErr_Occurred()) SWIG_fail
;
2504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2505 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2507 wxPyEndAllowThreads(__tstate
);
2508 if (PyErr_Occurred()) SWIG_fail
;
2510 Py_INCREF(Py_None
); resultobj
= Py_None
;
2511 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2512 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
2513 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2514 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
2521 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2526 argc
= PyObject_Length(args
);
2527 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2528 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2534 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2543 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2546 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2554 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2562 _v
= SWIG_Check_int(argv
[1]);
2564 _v
= SWIG_Check_int(argv
[2]);
2566 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2572 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2577 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2578 PyObject
*resultobj
;
2579 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2580 PyObject
* obj0
= 0 ;
2582 (char *) "self", NULL
2585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2590 (arg1
)->AdjustScrollbars();
2592 wxPyEndAllowThreads(__tstate
);
2593 if (PyErr_Occurred()) SWIG_fail
;
2595 Py_INCREF(Py_None
); resultobj
= Py_None
;
2602 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2603 PyObject
*resultobj
;
2604 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2605 wxScrollWinEvent
*arg2
= 0 ;
2607 PyObject
* obj0
= 0 ;
2608 PyObject
* obj1
= 0 ;
2610 (char *) "self",(char *) "event", NULL
2613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2617 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2620 PyErr_SetString(PyExc_TypeError
,"null reference");
2624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2625 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2627 wxPyEndAllowThreads(__tstate
);
2628 if (PyErr_Occurred()) SWIG_fail
;
2630 resultobj
= SWIG_From_int((int)result
);
2637 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2638 PyObject
*resultobj
;
2639 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2640 wxWindow
*arg2
= (wxWindow
*) 0 ;
2641 PyObject
* obj0
= 0 ;
2642 PyObject
* obj1
= 0 ;
2644 (char *) "self",(char *) "target", NULL
2647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2654 (arg1
)->SetTargetWindow(arg2
);
2656 wxPyEndAllowThreads(__tstate
);
2657 if (PyErr_Occurred()) SWIG_fail
;
2659 Py_INCREF(Py_None
); resultobj
= Py_None
;
2666 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
*resultobj
;
2668 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2670 PyObject
* obj0
= 0 ;
2672 (char *) "self", NULL
2675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2680 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2682 wxPyEndAllowThreads(__tstate
);
2683 if (PyErr_Occurred()) SWIG_fail
;
2686 resultobj
= wxPyMake_wxObject(result
, 0);
2694 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2695 PyObject
*resultobj
;
2696 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2699 PyObject
* obj0
= 0 ;
2700 PyObject
* obj1
= 0 ;
2702 (char *) "self",(char *) "rect", NULL
2705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2710 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2714 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2716 wxPyEndAllowThreads(__tstate
);
2717 if (PyErr_Occurred()) SWIG_fail
;
2719 Py_INCREF(Py_None
); resultobj
= Py_None
;
2726 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2727 PyObject
*resultobj
;
2728 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2730 PyObject
* obj0
= 0 ;
2732 (char *) "self", NULL
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2740 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2742 wxPyEndAllowThreads(__tstate
);
2743 if (PyErr_Occurred()) SWIG_fail
;
2747 resultptr
= new wxRect((wxRect
&) result
);
2748 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2756 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2757 PyObject
*resultobj
;
2758 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2760 PyObject
* obj0
= 0 ;
2761 PyObject
* obj1
= 0 ;
2763 (char *) "self",(char *) "dc", NULL
2766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
2767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2770 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2773 PyErr_SetString(PyExc_TypeError
,"null reference");
2777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2778 (arg1
)->DoPrepareDC(*arg2
);
2780 wxPyEndAllowThreads(__tstate
);
2781 if (PyErr_Occurred()) SWIG_fail
;
2783 Py_INCREF(Py_None
); resultobj
= Py_None
;
2790 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2791 PyObject
*resultobj
;
2792 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2793 wxVisualAttributes result
;
2794 PyObject
* obj0
= 0 ;
2796 (char *) "variant", NULL
2799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2801 arg1
= (int)SWIG_As_int(obj0
);
2802 if (PyErr_Occurred()) SWIG_fail
;
2805 if (!wxPyCheckForApp()) SWIG_fail
;
2806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2807 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2809 wxPyEndAllowThreads(__tstate
);
2810 if (PyErr_Occurred()) SWIG_fail
;
2813 wxVisualAttributes
* resultptr
;
2814 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2815 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2823 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
2825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2826 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2828 return Py_BuildValue((char *)"");
2830 static int _wrap_FrameNameStr_set(PyObject
*) {
2831 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2836 static PyObject
*_wrap_FrameNameStr_get() {
2841 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2843 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2850 static int _wrap_DialogNameStr_set(PyObject
*) {
2851 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2856 static PyObject
*_wrap_DialogNameStr_get() {
2861 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2863 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2870 static int _wrap_StatusLineNameStr_set(PyObject
*) {
2871 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2876 static PyObject
*_wrap_StatusLineNameStr_get() {
2881 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2883 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2890 static int _wrap_ToolBarNameStr_set(PyObject
*) {
2891 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2896 static PyObject
*_wrap_ToolBarNameStr_get() {
2901 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2903 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2910 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2911 PyObject
*resultobj
;
2912 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2913 bool arg2
= (bool) true ;
2914 PyObject
* obj0
= 0 ;
2915 PyObject
* obj1
= 0 ;
2917 (char *) "self",(char *) "maximize", NULL
2920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2924 arg2
= (bool)SWIG_As_bool(obj1
);
2925 if (PyErr_Occurred()) SWIG_fail
;
2928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2929 (arg1
)->Maximize(arg2
);
2931 wxPyEndAllowThreads(__tstate
);
2932 if (PyErr_Occurred()) SWIG_fail
;
2934 Py_INCREF(Py_None
); resultobj
= Py_None
;
2941 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
*resultobj
;
2943 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2944 PyObject
* obj0
= 0 ;
2946 (char *) "self", NULL
2949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2956 wxPyEndAllowThreads(__tstate
);
2957 if (PyErr_Occurred()) SWIG_fail
;
2959 Py_INCREF(Py_None
); resultobj
= Py_None
;
2966 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2967 PyObject
*resultobj
;
2968 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2969 bool arg2
= (bool) true ;
2970 PyObject
* obj0
= 0 ;
2971 PyObject
* obj1
= 0 ;
2973 (char *) "self",(char *) "iconize", NULL
2976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2980 arg2
= (bool)SWIG_As_bool(obj1
);
2981 if (PyErr_Occurred()) SWIG_fail
;
2984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2985 (arg1
)->Iconize(arg2
);
2987 wxPyEndAllowThreads(__tstate
);
2988 if (PyErr_Occurred()) SWIG_fail
;
2990 Py_INCREF(Py_None
); resultobj
= Py_None
;
2997 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2998 PyObject
*resultobj
;
2999 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3001 PyObject
* obj0
= 0 ;
3003 (char *) "self", NULL
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
3007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3011 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
3013 wxPyEndAllowThreads(__tstate
);
3014 if (PyErr_Occurred()) SWIG_fail
;
3017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3025 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3026 PyObject
*resultobj
;
3027 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3029 PyObject
* obj0
= 0 ;
3031 (char *) "self", NULL
3034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
3035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3039 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
3041 wxPyEndAllowThreads(__tstate
);
3042 if (PyErr_Occurred()) SWIG_fail
;
3045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3053 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3054 PyObject
*resultobj
;
3055 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3057 PyObject
* obj0
= 0 ;
3059 (char *) "self", NULL
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
3063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3067 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
3069 wxPyEndAllowThreads(__tstate
);
3070 if (PyErr_Occurred()) SWIG_fail
;
3074 resultptr
= new wxIcon((wxIcon
&) result
);
3075 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
3083 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3084 PyObject
*resultobj
;
3085 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3087 PyObject
* obj0
= 0 ;
3088 PyObject
* obj1
= 0 ;
3090 (char *) "self",(char *) "icon", NULL
3093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3096 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3097 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3100 PyErr_SetString(PyExc_TypeError
,"null reference");
3104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3105 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
3107 wxPyEndAllowThreads(__tstate
);
3108 if (PyErr_Occurred()) SWIG_fail
;
3110 Py_INCREF(Py_None
); resultobj
= Py_None
;
3117 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3118 PyObject
*resultobj
;
3119 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3120 wxIconBundle
*arg2
= 0 ;
3121 PyObject
* obj0
= 0 ;
3122 PyObject
* obj1
= 0 ;
3124 (char *) "self",(char *) "icons", NULL
3127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
3128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
3131 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3134 PyErr_SetString(PyExc_TypeError
,"null reference");
3138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3139 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
3141 wxPyEndAllowThreads(__tstate
);
3142 if (PyErr_Occurred()) SWIG_fail
;
3144 Py_INCREF(Py_None
); resultobj
= Py_None
;
3151 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3152 PyObject
*resultobj
;
3153 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3155 long arg3
= (long) wxFULLSCREEN_ALL
;
3157 PyObject
* obj0
= 0 ;
3158 PyObject
* obj1
= 0 ;
3159 PyObject
* obj2
= 0 ;
3161 (char *) "self",(char *) "show",(char *) "style", NULL
3164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3167 arg2
= (bool)SWIG_As_bool(obj1
);
3168 if (PyErr_Occurred()) SWIG_fail
;
3170 arg3
= (long)SWIG_As_long(obj2
);
3171 if (PyErr_Occurred()) SWIG_fail
;
3174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3175 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
3177 wxPyEndAllowThreads(__tstate
);
3178 if (PyErr_Occurred()) SWIG_fail
;
3181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3189 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3190 PyObject
*resultobj
;
3191 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3193 PyObject
* obj0
= 0 ;
3195 (char *) "self", NULL
3198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
3199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3203 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
3205 wxPyEndAllowThreads(__tstate
);
3206 if (PyErr_Occurred()) SWIG_fail
;
3209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3217 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3218 PyObject
*resultobj
;
3219 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3220 wxString
*arg2
= 0 ;
3221 bool temp2
= false ;
3222 PyObject
* obj0
= 0 ;
3223 PyObject
* obj1
= 0 ;
3225 (char *) "self",(char *) "title", NULL
3228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
3229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3232 arg2
= wxString_in_helper(obj1
);
3233 if (arg2
== NULL
) SWIG_fail
;
3237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3238 (arg1
)->SetTitle((wxString
const &)*arg2
);
3240 wxPyEndAllowThreads(__tstate
);
3241 if (PyErr_Occurred()) SWIG_fail
;
3243 Py_INCREF(Py_None
); resultobj
= Py_None
;
3258 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3259 PyObject
*resultobj
;
3260 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3262 PyObject
* obj0
= 0 ;
3264 (char *) "self", NULL
3267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3272 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3274 wxPyEndAllowThreads(__tstate
);
3275 if (PyErr_Occurred()) SWIG_fail
;
3279 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3281 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3290 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3291 PyObject
*resultobj
;
3292 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3293 wxRegion
*arg2
= 0 ;
3295 PyObject
* obj0
= 0 ;
3296 PyObject
* obj1
= 0 ;
3298 (char *) "self",(char *) "region", NULL
3301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3304 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3305 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3308 PyErr_SetString(PyExc_TypeError
,"null reference");
3312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3313 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3315 wxPyEndAllowThreads(__tstate
);
3316 if (PyErr_Occurred()) SWIG_fail
;
3319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3327 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3328 PyObject
*resultobj
;
3329 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3330 int arg2
= (int) wxUSER_ATTENTION_INFO
;
3331 PyObject
* obj0
= 0 ;
3332 PyObject
* obj1
= 0 ;
3334 (char *) "self",(char *) "flags", NULL
3337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
3338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3341 arg2
= (int)SWIG_As_int(obj1
);
3342 if (PyErr_Occurred()) SWIG_fail
;
3345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3346 (arg1
)->RequestUserAttention(arg2
);
3348 wxPyEndAllowThreads(__tstate
);
3349 if (PyErr_Occurred()) SWIG_fail
;
3351 Py_INCREF(Py_None
); resultobj
= Py_None
;
3358 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3359 PyObject
*resultobj
;
3360 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3362 PyObject
* obj0
= 0 ;
3364 (char *) "self", NULL
3367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
3368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3372 result
= (bool)(arg1
)->IsActive();
3374 wxPyEndAllowThreads(__tstate
);
3375 if (PyErr_Occurred()) SWIG_fail
;
3378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3386 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3387 PyObject
*resultobj
;
3388 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3390 PyObject
* obj0
= 0 ;
3391 PyObject
* obj1
= 0 ;
3393 (char *) "self",(char *) "on", NULL
3396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
3397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3399 arg2
= (bool)SWIG_As_bool(obj1
);
3400 if (PyErr_Occurred()) SWIG_fail
;
3402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3403 (arg1
)->MacSetMetalAppearance(arg2
);
3405 wxPyEndAllowThreads(__tstate
);
3406 if (PyErr_Occurred()) SWIG_fail
;
3408 Py_INCREF(Py_None
); resultobj
= Py_None
;
3415 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3416 PyObject
*resultobj
;
3417 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3419 PyObject
* obj0
= 0 ;
3421 (char *) "self", NULL
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
3425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3429 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
3431 wxPyEndAllowThreads(__tstate
);
3432 if (PyErr_Occurred()) SWIG_fail
;
3435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3443 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
3445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3446 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3448 return Py_BuildValue((char *)"");
3450 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3451 PyObject
*resultobj
;
3452 wxWindow
*arg1
= (wxWindow
*) 0 ;
3453 int arg2
= (int) (int)-1 ;
3454 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3455 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3456 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3457 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3458 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3459 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3460 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3461 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3462 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3464 bool temp3
= false ;
3467 bool temp7
= false ;
3468 PyObject
* obj0
= 0 ;
3469 PyObject
* obj1
= 0 ;
3470 PyObject
* obj2
= 0 ;
3471 PyObject
* obj3
= 0 ;
3472 PyObject
* obj4
= 0 ;
3473 PyObject
* obj5
= 0 ;
3474 PyObject
* obj6
= 0 ;
3476 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3483 arg2
= (int)SWIG_As_int(obj1
);
3484 if (PyErr_Occurred()) SWIG_fail
;
3488 arg3
= wxString_in_helper(obj2
);
3489 if (arg3
== NULL
) SWIG_fail
;
3496 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3502 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3506 arg6
= (long)SWIG_As_long(obj5
);
3507 if (PyErr_Occurred()) SWIG_fail
;
3511 arg7
= wxString_in_helper(obj6
);
3512 if (arg7
== NULL
) SWIG_fail
;
3517 if (!wxPyCheckForApp()) SWIG_fail
;
3518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3519 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3521 wxPyEndAllowThreads(__tstate
);
3522 if (PyErr_Occurred()) SWIG_fail
;
3524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3547 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3548 PyObject
*resultobj
;
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3556 if (!wxPyCheckForApp()) SWIG_fail
;
3557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3558 result
= (wxFrame
*)new wxFrame();
3560 wxPyEndAllowThreads(__tstate
);
3561 if (PyErr_Occurred()) SWIG_fail
;
3563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3570 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
*resultobj
;
3572 wxFrame
*arg1
= (wxFrame
*) 0 ;
3573 wxWindow
*arg2
= (wxWindow
*) 0 ;
3574 int arg3
= (int) (int)-1 ;
3575 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3576 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3577 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3578 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3579 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3580 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3581 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3582 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3583 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3585 bool temp4
= false ;
3588 bool temp8
= false ;
3589 PyObject
* obj0
= 0 ;
3590 PyObject
* obj1
= 0 ;
3591 PyObject
* obj2
= 0 ;
3592 PyObject
* obj3
= 0 ;
3593 PyObject
* obj4
= 0 ;
3594 PyObject
* obj5
= 0 ;
3595 PyObject
* obj6
= 0 ;
3596 PyObject
* obj7
= 0 ;
3598 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3604 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3607 arg3
= (int)SWIG_As_int(obj2
);
3608 if (PyErr_Occurred()) SWIG_fail
;
3612 arg4
= wxString_in_helper(obj3
);
3613 if (arg4
== NULL
) SWIG_fail
;
3620 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3626 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3630 arg7
= (long)SWIG_As_long(obj6
);
3631 if (PyErr_Occurred()) SWIG_fail
;
3635 arg8
= wxString_in_helper(obj7
);
3636 if (arg8
== NULL
) SWIG_fail
;
3641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3642 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3644 wxPyEndAllowThreads(__tstate
);
3645 if (PyErr_Occurred()) SWIG_fail
;
3648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3672 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
*resultobj
;
3674 wxFrame
*arg1
= (wxFrame
*) 0 ;
3676 PyObject
* obj0
= 0 ;
3678 (char *) "self", NULL
3681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3686 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3688 wxPyEndAllowThreads(__tstate
);
3689 if (PyErr_Occurred()) SWIG_fail
;
3692 wxPoint
* resultptr
;
3693 resultptr
= new wxPoint((wxPoint
&) result
);
3694 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3702 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3703 PyObject
*resultobj
;
3704 wxFrame
*arg1
= (wxFrame
*) 0 ;
3705 PyObject
* obj0
= 0 ;
3707 (char *) "self", NULL
3710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3715 (arg1
)->SendSizeEvent();
3717 wxPyEndAllowThreads(__tstate
);
3718 if (PyErr_Occurred()) SWIG_fail
;
3720 Py_INCREF(Py_None
); resultobj
= Py_None
;
3727 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3728 PyObject
*resultobj
;
3729 wxFrame
*arg1
= (wxFrame
*) 0 ;
3730 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3731 PyObject
* obj0
= 0 ;
3732 PyObject
* obj1
= 0 ;
3734 (char *) "self",(char *) "menubar", NULL
3737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3740 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3744 (arg1
)->SetMenuBar(arg2
);
3746 wxPyEndAllowThreads(__tstate
);
3747 if (PyErr_Occurred()) SWIG_fail
;
3749 Py_INCREF(Py_None
); resultobj
= Py_None
;
3756 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3757 PyObject
*resultobj
;
3758 wxFrame
*arg1
= (wxFrame
*) 0 ;
3760 PyObject
* obj0
= 0 ;
3762 (char *) "self", NULL
3765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3770 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3772 wxPyEndAllowThreads(__tstate
);
3773 if (PyErr_Occurred()) SWIG_fail
;
3776 resultobj
= wxPyMake_wxObject(result
, 0);
3784 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3785 PyObject
*resultobj
;
3786 wxFrame
*arg1
= (wxFrame
*) 0 ;
3789 PyObject
* obj0
= 0 ;
3790 PyObject
* obj1
= 0 ;
3792 (char *) "self",(char *) "winid", NULL
3795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3798 arg2
= (int)SWIG_As_int(obj1
);
3799 if (PyErr_Occurred()) SWIG_fail
;
3801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3802 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3804 wxPyEndAllowThreads(__tstate
);
3805 if (PyErr_Occurred()) SWIG_fail
;
3808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3816 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
*resultobj
;
3818 wxFrame
*arg1
= (wxFrame
*) 0 ;
3819 int arg2
= (int) 1 ;
3820 long arg3
= (long) wxST_SIZEGRIP
;
3821 int arg4
= (int) 0 ;
3822 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3823 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3824 wxStatusBar
*result
;
3825 bool temp5
= false ;
3826 PyObject
* obj0
= 0 ;
3827 PyObject
* obj1
= 0 ;
3828 PyObject
* obj2
= 0 ;
3829 PyObject
* obj3
= 0 ;
3830 PyObject
* obj4
= 0 ;
3832 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3839 arg2
= (int)SWIG_As_int(obj1
);
3840 if (PyErr_Occurred()) SWIG_fail
;
3843 arg3
= (long)SWIG_As_long(obj2
);
3844 if (PyErr_Occurred()) SWIG_fail
;
3847 arg4
= (int)SWIG_As_int(obj3
);
3848 if (PyErr_Occurred()) SWIG_fail
;
3852 arg5
= wxString_in_helper(obj4
);
3853 if (arg5
== NULL
) SWIG_fail
;
3858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3859 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3861 wxPyEndAllowThreads(__tstate
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3865 resultobj
= wxPyMake_wxObject(result
, 0);
3881 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3882 PyObject
*resultobj
;
3883 wxFrame
*arg1
= (wxFrame
*) 0 ;
3884 wxStatusBar
*result
;
3885 PyObject
* obj0
= 0 ;
3887 (char *) "self", NULL
3890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3895 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3897 wxPyEndAllowThreads(__tstate
);
3898 if (PyErr_Occurred()) SWIG_fail
;
3901 resultobj
= wxPyMake_wxObject(result
, 0);
3909 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
*resultobj
;
3911 wxFrame
*arg1
= (wxFrame
*) 0 ;
3912 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3913 PyObject
* obj0
= 0 ;
3914 PyObject
* obj1
= 0 ;
3916 (char *) "self",(char *) "statBar", NULL
3919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3922 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3926 (arg1
)->SetStatusBar(arg2
);
3928 wxPyEndAllowThreads(__tstate
);
3929 if (PyErr_Occurred()) SWIG_fail
;
3931 Py_INCREF(Py_None
); resultobj
= Py_None
;
3938 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3939 PyObject
*resultobj
;
3940 wxFrame
*arg1
= (wxFrame
*) 0 ;
3941 wxString
*arg2
= 0 ;
3942 int arg3
= (int) 0 ;
3943 bool temp2
= false ;
3944 PyObject
* obj0
= 0 ;
3945 PyObject
* obj1
= 0 ;
3946 PyObject
* obj2
= 0 ;
3948 (char *) "self",(char *) "text",(char *) "number", NULL
3951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3955 arg2
= wxString_in_helper(obj1
);
3956 if (arg2
== NULL
) SWIG_fail
;
3960 arg3
= (int)SWIG_As_int(obj2
);
3961 if (PyErr_Occurred()) SWIG_fail
;
3964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3967 wxPyEndAllowThreads(__tstate
);
3968 if (PyErr_Occurred()) SWIG_fail
;
3970 Py_INCREF(Py_None
); resultobj
= Py_None
;
3985 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3986 PyObject
*resultobj
;
3987 wxFrame
*arg1
= (wxFrame
*) 0 ;
3989 int *arg3
= (int *) 0 ;
3990 PyObject
* obj0
= 0 ;
3991 PyObject
* obj1
= 0 ;
3993 (char *) "self",(char *) "widths", NULL
3996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4000 arg2
= PyList_Size(obj1
);
4001 arg3
= int_LIST_helper(obj1
);
4002 if (arg3
== NULL
) SWIG_fail
;
4005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4006 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
4008 wxPyEndAllowThreads(__tstate
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4011 Py_INCREF(Py_None
); resultobj
= Py_None
;
4013 if (arg3
) delete [] arg3
;
4018 if (arg3
) delete [] arg3
;
4024 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4025 PyObject
*resultobj
;
4026 wxFrame
*arg1
= (wxFrame
*) 0 ;
4027 wxString
*arg2
= 0 ;
4028 int arg3
= (int) 0 ;
4029 bool temp2
= false ;
4030 PyObject
* obj0
= 0 ;
4031 PyObject
* obj1
= 0 ;
4032 PyObject
* obj2
= 0 ;
4034 (char *) "self",(char *) "text",(char *) "number", NULL
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4041 arg2
= wxString_in_helper(obj1
);
4042 if (arg2
== NULL
) SWIG_fail
;
4046 arg3
= (int)SWIG_As_int(obj2
);
4047 if (PyErr_Occurred()) SWIG_fail
;
4050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4051 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
4053 wxPyEndAllowThreads(__tstate
);
4054 if (PyErr_Occurred()) SWIG_fail
;
4056 Py_INCREF(Py_None
); resultobj
= Py_None
;
4071 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4072 PyObject
*resultobj
;
4073 wxFrame
*arg1
= (wxFrame
*) 0 ;
4074 int arg2
= (int) 0 ;
4075 PyObject
* obj0
= 0 ;
4076 PyObject
* obj1
= 0 ;
4078 (char *) "self",(char *) "number", NULL
4081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
4082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4085 arg2
= (int)SWIG_As_int(obj1
);
4086 if (PyErr_Occurred()) SWIG_fail
;
4089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4090 (arg1
)->PopStatusText(arg2
);
4092 wxPyEndAllowThreads(__tstate
);
4093 if (PyErr_Occurred()) SWIG_fail
;
4095 Py_INCREF(Py_None
); resultobj
= Py_None
;
4102 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
*resultobj
;
4104 wxFrame
*arg1
= (wxFrame
*) 0 ;
4106 PyObject
* obj0
= 0 ;
4107 PyObject
* obj1
= 0 ;
4109 (char *) "self",(char *) "n", NULL
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
4113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4115 arg2
= (int)SWIG_As_int(obj1
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4119 (arg1
)->SetStatusBarPane(arg2
);
4121 wxPyEndAllowThreads(__tstate
);
4122 if (PyErr_Occurred()) SWIG_fail
;
4124 Py_INCREF(Py_None
); resultobj
= Py_None
;
4131 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
*resultobj
;
4133 wxFrame
*arg1
= (wxFrame
*) 0 ;
4135 PyObject
* obj0
= 0 ;
4137 (char *) "self", NULL
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
4141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4145 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
4147 wxPyEndAllowThreads(__tstate
);
4148 if (PyErr_Occurred()) SWIG_fail
;
4150 resultobj
= SWIG_From_int((int)result
);
4157 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
*resultobj
;
4159 wxFrame
*arg1
= (wxFrame
*) 0 ;
4160 long arg2
= (long) -1 ;
4161 int arg3
= (int) -1 ;
4162 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
4163 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4165 bool temp4
= false ;
4166 PyObject
* obj0
= 0 ;
4167 PyObject
* obj1
= 0 ;
4168 PyObject
* obj2
= 0 ;
4169 PyObject
* obj3
= 0 ;
4171 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
4174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4178 arg2
= (long)SWIG_As_long(obj1
);
4179 if (PyErr_Occurred()) SWIG_fail
;
4182 arg3
= (int)SWIG_As_int(obj2
);
4183 if (PyErr_Occurred()) SWIG_fail
;
4187 arg4
= wxString_in_helper(obj3
);
4188 if (arg4
== NULL
) SWIG_fail
;
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
4196 wxPyEndAllowThreads(__tstate
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4200 resultobj
= wxPyMake_wxObject(result
, 0);
4216 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
*resultobj
;
4218 wxFrame
*arg1
= (wxFrame
*) 0 ;
4220 PyObject
* obj0
= 0 ;
4222 (char *) "self", NULL
4225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
4226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) SWIG_fail
;
4236 resultobj
= wxPyMake_wxObject(result
, 0);
4244 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4245 PyObject
*resultobj
;
4246 wxFrame
*arg1
= (wxFrame
*) 0 ;
4247 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
4248 PyObject
* obj0
= 0 ;
4249 PyObject
* obj1
= 0 ;
4251 (char *) "self",(char *) "toolbar", NULL
4254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
4258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4261 (arg1
)->SetToolBar(arg2
);
4263 wxPyEndAllowThreads(__tstate
);
4264 if (PyErr_Occurred()) SWIG_fail
;
4266 Py_INCREF(Py_None
); resultobj
= Py_None
;
4273 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4274 PyObject
*resultobj
;
4275 wxFrame
*arg1
= (wxFrame
*) 0 ;
4276 wxString
*arg2
= 0 ;
4278 bool temp2
= false ;
4279 PyObject
* obj0
= 0 ;
4280 PyObject
* obj1
= 0 ;
4281 PyObject
* obj2
= 0 ;
4283 (char *) "self",(char *) "text",(char *) "show", NULL
4286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4290 arg2
= wxString_in_helper(obj1
);
4291 if (arg2
== NULL
) SWIG_fail
;
4294 arg3
= (bool)SWIG_As_bool(obj2
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4298 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4303 Py_INCREF(Py_None
); resultobj
= Py_None
;
4318 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4319 PyObject
*resultobj
;
4320 wxFrame
*arg1
= (wxFrame
*) 0 ;
4321 wxMenu
*arg2
= (wxMenu
*) NULL
;
4322 PyObject
* obj0
= 0 ;
4323 PyObject
* obj1
= 0 ;
4325 (char *) "self",(char *) "menu", NULL
4328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
4329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4332 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
4333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 (arg1
)->DoMenuUpdates(arg2
);
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) SWIG_fail
;
4342 Py_INCREF(Py_None
); resultobj
= Py_None
;
4349 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
*resultobj
;
4351 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4352 wxVisualAttributes result
;
4353 PyObject
* obj0
= 0 ;
4355 (char *) "variant", NULL
4358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4360 arg1
= (int)SWIG_As_int(obj0
);
4361 if (PyErr_Occurred()) SWIG_fail
;
4364 if (!wxPyCheckForApp()) SWIG_fail
;
4365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4366 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) SWIG_fail
;
4372 wxVisualAttributes
* resultptr
;
4373 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4374 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4382 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
4384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4385 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4387 return Py_BuildValue((char *)"");
4389 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4390 PyObject
*resultobj
;
4391 wxWindow
*arg1
= (wxWindow
*) 0 ;
4392 int arg2
= (int) (int)-1 ;
4393 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4394 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4395 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4396 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4397 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4398 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4399 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4400 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4401 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4403 bool temp3
= false ;
4406 bool temp7
= false ;
4407 PyObject
* obj0
= 0 ;
4408 PyObject
* obj1
= 0 ;
4409 PyObject
* obj2
= 0 ;
4410 PyObject
* obj3
= 0 ;
4411 PyObject
* obj4
= 0 ;
4412 PyObject
* obj5
= 0 ;
4413 PyObject
* obj6
= 0 ;
4415 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4422 arg2
= (int)SWIG_As_int(obj1
);
4423 if (PyErr_Occurred()) SWIG_fail
;
4427 arg3
= wxString_in_helper(obj2
);
4428 if (arg3
== NULL
) SWIG_fail
;
4435 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4441 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4445 arg6
= (long)SWIG_As_long(obj5
);
4446 if (PyErr_Occurred()) SWIG_fail
;
4450 arg7
= wxString_in_helper(obj6
);
4451 if (arg7
== NULL
) SWIG_fail
;
4456 if (!wxPyCheckForApp()) SWIG_fail
;
4457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4458 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4460 wxPyEndAllowThreads(__tstate
);
4461 if (PyErr_Occurred()) SWIG_fail
;
4463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4486 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
*resultobj
;
4493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4495 if (!wxPyCheckForApp()) SWIG_fail
;
4496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4497 result
= (wxDialog
*)new wxDialog();
4499 wxPyEndAllowThreads(__tstate
);
4500 if (PyErr_Occurred()) SWIG_fail
;
4502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4509 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4510 PyObject
*resultobj
;
4511 wxDialog
*arg1
= (wxDialog
*) 0 ;
4512 wxWindow
*arg2
= (wxWindow
*) 0 ;
4513 int arg3
= (int) (int)-1 ;
4514 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4515 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4516 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4517 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4518 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4519 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4520 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4521 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4522 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4524 bool temp4
= false ;
4527 bool temp8
= false ;
4528 PyObject
* obj0
= 0 ;
4529 PyObject
* obj1
= 0 ;
4530 PyObject
* obj2
= 0 ;
4531 PyObject
* obj3
= 0 ;
4532 PyObject
* obj4
= 0 ;
4533 PyObject
* obj5
= 0 ;
4534 PyObject
* obj6
= 0 ;
4535 PyObject
* obj7
= 0 ;
4537 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4543 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4546 arg3
= (int)SWIG_As_int(obj2
);
4547 if (PyErr_Occurred()) SWIG_fail
;
4551 arg4
= wxString_in_helper(obj3
);
4552 if (arg4
== NULL
) SWIG_fail
;
4559 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4565 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4569 arg7
= (long)SWIG_As_long(obj6
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4574 arg8
= wxString_in_helper(obj7
);
4575 if (arg8
== NULL
) SWIG_fail
;
4580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4581 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4583 wxPyEndAllowThreads(__tstate
);
4584 if (PyErr_Occurred()) SWIG_fail
;
4587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4611 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4612 PyObject
*resultobj
;
4613 wxDialog
*arg1
= (wxDialog
*) 0 ;
4615 PyObject
* obj0
= 0 ;
4616 PyObject
* obj1
= 0 ;
4618 (char *) "self",(char *) "returnCode", NULL
4621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4624 arg2
= (int)SWIG_As_int(obj1
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4628 (arg1
)->SetReturnCode(arg2
);
4630 wxPyEndAllowThreads(__tstate
);
4631 if (PyErr_Occurred()) SWIG_fail
;
4633 Py_INCREF(Py_None
); resultobj
= Py_None
;
4640 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4641 PyObject
*resultobj
;
4642 wxDialog
*arg1
= (wxDialog
*) 0 ;
4644 PyObject
* obj0
= 0 ;
4646 (char *) "self", NULL
4649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4654 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4656 wxPyEndAllowThreads(__tstate
);
4657 if (PyErr_Occurred()) SWIG_fail
;
4659 resultobj
= SWIG_From_int((int)result
);
4666 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
;
4668 wxDialog
*arg1
= (wxDialog
*) 0 ;
4669 wxString
*arg2
= 0 ;
4671 bool temp2
= false ;
4672 PyObject
* obj0
= 0 ;
4673 PyObject
* obj1
= 0 ;
4675 (char *) "self",(char *) "message", NULL
4678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4682 arg2
= wxString_in_helper(obj1
);
4683 if (arg2
== NULL
) SWIG_fail
;
4687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4688 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4690 wxPyEndAllowThreads(__tstate
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4694 resultobj
= wxPyMake_wxSizer(result
, 0);
4710 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4711 PyObject
*resultobj
;
4712 wxDialog
*arg1
= (wxDialog
*) 0 ;
4715 PyObject
* obj0
= 0 ;
4716 PyObject
* obj1
= 0 ;
4718 (char *) "self",(char *) "flags", NULL
4721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4724 arg2
= (long)SWIG_As_long(obj1
);
4725 if (PyErr_Occurred()) SWIG_fail
;
4727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4728 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4730 wxPyEndAllowThreads(__tstate
);
4731 if (PyErr_Occurred()) SWIG_fail
;
4734 resultobj
= wxPyMake_wxSizer(result
, 0);
4742 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4743 PyObject
*resultobj
;
4744 wxDialog
*arg1
= (wxDialog
*) 0 ;
4746 PyObject
* obj0
= 0 ;
4748 (char *) "self", NULL
4751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4770 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4771 PyObject
*resultobj
;
4772 wxDialog
*arg1
= (wxDialog
*) 0 ;
4774 PyObject
* obj0
= 0 ;
4776 (char *) "self", NULL
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4784 result
= (int)(arg1
)->ShowModal();
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4789 resultobj
= SWIG_From_int((int)result
);
4796 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4797 PyObject
*resultobj
;
4798 wxDialog
*arg1
= (wxDialog
*) 0 ;
4800 PyObject
* obj0
= 0 ;
4801 PyObject
* obj1
= 0 ;
4803 (char *) "self",(char *) "retCode", NULL
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4809 arg2
= (int)SWIG_As_int(obj1
);
4810 if (PyErr_Occurred()) SWIG_fail
;
4812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4813 (arg1
)->EndModal(arg2
);
4815 wxPyEndAllowThreads(__tstate
);
4816 if (PyErr_Occurred()) SWIG_fail
;
4818 Py_INCREF(Py_None
); resultobj
= Py_None
;
4825 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4826 PyObject
*resultobj
;
4827 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4828 wxVisualAttributes result
;
4829 PyObject
* obj0
= 0 ;
4831 (char *) "variant", NULL
4834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4836 arg1
= (int)SWIG_As_int(obj0
);
4837 if (PyErr_Occurred()) SWIG_fail
;
4840 if (!wxPyCheckForApp()) SWIG_fail
;
4841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4842 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4844 wxPyEndAllowThreads(__tstate
);
4845 if (PyErr_Occurred()) SWIG_fail
;
4848 wxVisualAttributes
* resultptr
;
4849 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4850 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4858 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
4860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4861 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4863 return Py_BuildValue((char *)"");
4865 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
*resultobj
;
4867 wxWindow
*arg1
= (wxWindow
*) 0 ;
4868 int arg2
= (int) (int)-1 ;
4869 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4870 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4871 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4872 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4873 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4874 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4875 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4876 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4877 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4878 wxMiniFrame
*result
;
4879 bool temp3
= false ;
4882 bool temp7
= false ;
4883 PyObject
* obj0
= 0 ;
4884 PyObject
* obj1
= 0 ;
4885 PyObject
* obj2
= 0 ;
4886 PyObject
* obj3
= 0 ;
4887 PyObject
* obj4
= 0 ;
4888 PyObject
* obj5
= 0 ;
4889 PyObject
* obj6
= 0 ;
4891 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4898 arg2
= (int)SWIG_As_int(obj1
);
4899 if (PyErr_Occurred()) SWIG_fail
;
4903 arg3
= wxString_in_helper(obj2
);
4904 if (arg3
== NULL
) SWIG_fail
;
4911 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4917 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4921 arg6
= (long)SWIG_As_long(obj5
);
4922 if (PyErr_Occurred()) SWIG_fail
;
4926 arg7
= wxString_in_helper(obj6
);
4927 if (arg7
== NULL
) SWIG_fail
;
4932 if (!wxPyCheckForApp()) SWIG_fail
;
4933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4934 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4936 wxPyEndAllowThreads(__tstate
);
4937 if (PyErr_Occurred()) SWIG_fail
;
4939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4962 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4963 PyObject
*resultobj
;
4964 wxMiniFrame
*result
;
4969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4971 if (!wxPyCheckForApp()) SWIG_fail
;
4972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4973 result
= (wxMiniFrame
*)new wxMiniFrame();
4975 wxPyEndAllowThreads(__tstate
);
4976 if (PyErr_Occurred()) SWIG_fail
;
4978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4985 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4986 PyObject
*resultobj
;
4987 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4988 wxWindow
*arg2
= (wxWindow
*) 0 ;
4989 int arg3
= (int) (int)-1 ;
4990 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4991 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4992 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4993 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4994 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4995 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4996 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4997 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4998 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5000 bool temp4
= false ;
5003 bool temp8
= false ;
5004 PyObject
* obj0
= 0 ;
5005 PyObject
* obj1
= 0 ;
5006 PyObject
* obj2
= 0 ;
5007 PyObject
* obj3
= 0 ;
5008 PyObject
* obj4
= 0 ;
5009 PyObject
* obj5
= 0 ;
5010 PyObject
* obj6
= 0 ;
5011 PyObject
* obj7
= 0 ;
5013 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
5018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5019 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5022 arg3
= (int)SWIG_As_int(obj2
);
5023 if (PyErr_Occurred()) SWIG_fail
;
5027 arg4
= wxString_in_helper(obj3
);
5028 if (arg4
== NULL
) SWIG_fail
;
5035 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5041 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5045 arg7
= (long)SWIG_As_long(obj6
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5050 arg8
= wxString_in_helper(obj7
);
5051 if (arg8
== NULL
) SWIG_fail
;
5056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5057 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5059 wxPyEndAllowThreads(__tstate
);
5060 if (PyErr_Occurred()) SWIG_fail
;
5063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5087 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
5089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5090 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
5092 return Py_BuildValue((char *)"");
5094 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5095 PyObject
*resultobj
;
5096 wxBitmap
*arg1
= 0 ;
5097 wxWindow
*arg2
= (wxWindow
*) 0 ;
5099 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5100 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5101 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5102 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5103 long arg6
= (long) wxNO_BORDER
;
5104 wxSplashScreenWindow
*result
;
5107 PyObject
* obj0
= 0 ;
5108 PyObject
* obj1
= 0 ;
5109 PyObject
* obj2
= 0 ;
5110 PyObject
* obj3
= 0 ;
5111 PyObject
* obj4
= 0 ;
5112 PyObject
* obj5
= 0 ;
5114 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5119 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5122 PyErr_SetString(PyExc_TypeError
,"null reference");
5125 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5127 arg3
= (int)SWIG_As_int(obj2
);
5128 if (PyErr_Occurred()) SWIG_fail
;
5132 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5138 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5142 arg6
= (long)SWIG_As_long(obj5
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5146 if (!wxPyCheckForApp()) SWIG_fail
;
5147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5148 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
5150 wxPyEndAllowThreads(__tstate
);
5151 if (PyErr_Occurred()) SWIG_fail
;
5153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
5160 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
*resultobj
;
5162 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
5163 wxBitmap
*arg2
= 0 ;
5164 PyObject
* obj0
= 0 ;
5165 PyObject
* obj1
= 0 ;
5167 (char *) "self",(char *) "bitmap", NULL
5170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5173 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5174 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5177 PyErr_SetString(PyExc_TypeError
,"null reference");
5181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5182 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5184 wxPyEndAllowThreads(__tstate
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5187 Py_INCREF(Py_None
); resultobj
= Py_None
;
5194 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
*resultobj
;
5196 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
5198 PyObject
* obj0
= 0 ;
5200 (char *) "self", NULL
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
5204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5209 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
5210 result
= (wxBitmap
*) &_result_ref
;
5213 wxPyEndAllowThreads(__tstate
);
5214 if (PyErr_Occurred()) SWIG_fail
;
5217 wxBitmap
* resultptr
= new wxBitmap(*result
);
5218 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5226 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
5228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5229 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
5231 return Py_BuildValue((char *)"");
5233 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5234 PyObject
*resultobj
;
5235 wxBitmap
*arg1
= 0 ;
5238 wxWindow
*arg4
= (wxWindow
*) 0 ;
5239 int arg5
= (int) -1 ;
5240 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
5241 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
5242 wxSize
const &arg7_defvalue
= wxDefaultSize
;
5243 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
5244 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
5245 wxSplashScreen
*result
;
5248 PyObject
* obj0
= 0 ;
5249 PyObject
* obj1
= 0 ;
5250 PyObject
* obj2
= 0 ;
5251 PyObject
* obj3
= 0 ;
5252 PyObject
* obj4
= 0 ;
5253 PyObject
* obj5
= 0 ;
5254 PyObject
* obj6
= 0 ;
5255 PyObject
* obj7
= 0 ;
5257 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5262 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5265 PyErr_SetString(PyExc_TypeError
,"null reference");
5268 arg2
= (long)SWIG_As_long(obj1
);
5269 if (PyErr_Occurred()) SWIG_fail
;
5270 arg3
= (int)SWIG_As_int(obj2
);
5271 if (PyErr_Occurred()) SWIG_fail
;
5272 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
5273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5275 arg5
= (int)SWIG_As_int(obj4
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5281 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
5287 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
5291 arg8
= (long)SWIG_As_long(obj7
);
5292 if (PyErr_Occurred()) SWIG_fail
;
5295 if (!wxPyCheckForApp()) SWIG_fail
;
5296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5297 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
5299 wxPyEndAllowThreads(__tstate
);
5300 if (PyErr_Occurred()) SWIG_fail
;
5302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
5309 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5310 PyObject
*resultobj
;
5311 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5313 PyObject
* obj0
= 0 ;
5315 (char *) "self", NULL
5318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
5319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5323 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
5325 wxPyEndAllowThreads(__tstate
);
5326 if (PyErr_Occurred()) SWIG_fail
;
5328 resultobj
= SWIG_From_long((long)result
);
5335 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
*resultobj
;
5337 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5338 wxSplashScreenWindow
*result
;
5339 PyObject
* obj0
= 0 ;
5341 (char *) "self", NULL
5344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
5345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5349 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
5351 wxPyEndAllowThreads(__tstate
);
5352 if (PyErr_Occurred()) SWIG_fail
;
5354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
5361 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
*resultobj
;
5363 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5365 PyObject
* obj0
= 0 ;
5367 (char *) "self", NULL
5370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
5371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5375 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
5377 wxPyEndAllowThreads(__tstate
);
5378 if (PyErr_Occurred()) SWIG_fail
;
5380 resultobj
= SWIG_From_int((int)result
);
5387 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
5389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5390 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
5392 return Py_BuildValue((char *)"");
5394 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5395 PyObject
*resultobj
;
5396 wxWindow
*arg1
= (wxWindow
*) 0 ;
5397 int arg2
= (int) -1 ;
5398 long arg3
= (long) wxST_SIZEGRIP
;
5399 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5400 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5401 wxStatusBar
*result
;
5402 bool temp4
= false ;
5403 PyObject
* obj0
= 0 ;
5404 PyObject
* obj1
= 0 ;
5405 PyObject
* obj2
= 0 ;
5406 PyObject
* obj3
= 0 ;
5408 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5415 arg2
= (int)SWIG_As_int(obj1
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5419 arg3
= (long)SWIG_As_long(obj2
);
5420 if (PyErr_Occurred()) SWIG_fail
;
5424 arg4
= wxString_in_helper(obj3
);
5425 if (arg4
== NULL
) SWIG_fail
;
5430 if (!wxPyCheckForApp()) SWIG_fail
;
5431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5432 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5434 wxPyEndAllowThreads(__tstate
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5452 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
*resultobj
;
5454 wxStatusBar
*result
;
5459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5461 if (!wxPyCheckForApp()) SWIG_fail
;
5462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 result
= (wxStatusBar
*)new wxStatusBar();
5465 wxPyEndAllowThreads(__tstate
);
5466 if (PyErr_Occurred()) SWIG_fail
;
5468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5475 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5476 PyObject
*resultobj
;
5477 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5478 wxWindow
*arg2
= (wxWindow
*) 0 ;
5479 int arg3
= (int) -1 ;
5480 long arg4
= (long) wxST_SIZEGRIP
;
5481 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5482 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5484 bool temp5
= false ;
5485 PyObject
* obj0
= 0 ;
5486 PyObject
* obj1
= 0 ;
5487 PyObject
* obj2
= 0 ;
5488 PyObject
* obj3
= 0 ;
5489 PyObject
* obj4
= 0 ;
5491 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5500 arg3
= (int)SWIG_As_int(obj2
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5504 arg4
= (long)SWIG_As_long(obj3
);
5505 if (PyErr_Occurred()) SWIG_fail
;
5509 arg5
= wxString_in_helper(obj4
);
5510 if (arg5
== NULL
) SWIG_fail
;
5515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5516 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5518 wxPyEndAllowThreads(__tstate
);
5519 if (PyErr_Occurred()) SWIG_fail
;
5522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5538 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
*resultobj
;
5540 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5541 int arg2
= (int) 1 ;
5542 PyObject
* obj0
= 0 ;
5543 PyObject
* obj1
= 0 ;
5545 (char *) "self",(char *) "number", NULL
5548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5552 arg2
= (int)SWIG_As_int(obj1
);
5553 if (PyErr_Occurred()) SWIG_fail
;
5556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5557 (arg1
)->SetFieldsCount(arg2
);
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5562 Py_INCREF(Py_None
); resultobj
= Py_None
;
5569 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
*resultobj
;
5571 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5573 PyObject
* obj0
= 0 ;
5575 (char *) "self", NULL
5578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5583 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5585 wxPyEndAllowThreads(__tstate
);
5586 if (PyErr_Occurred()) SWIG_fail
;
5588 resultobj
= SWIG_From_int((int)result
);
5595 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5596 PyObject
*resultobj
;
5597 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5598 wxString
*arg2
= 0 ;
5599 int arg3
= (int) 0 ;
5600 bool temp2
= false ;
5601 PyObject
* obj0
= 0 ;
5602 PyObject
* obj1
= 0 ;
5603 PyObject
* obj2
= 0 ;
5605 (char *) "self",(char *) "text",(char *) "number", NULL
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5612 arg2
= wxString_in_helper(obj1
);
5613 if (arg2
== NULL
) SWIG_fail
;
5617 arg3
= (int)SWIG_As_int(obj2
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5622 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5624 wxPyEndAllowThreads(__tstate
);
5625 if (PyErr_Occurred()) SWIG_fail
;
5627 Py_INCREF(Py_None
); resultobj
= Py_None
;
5642 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
*resultobj
;
5644 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5645 int arg2
= (int) 0 ;
5647 PyObject
* obj0
= 0 ;
5648 PyObject
* obj1
= 0 ;
5650 (char *) "self",(char *) "number", NULL
5653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5657 arg2
= (int)SWIG_As_int(obj1
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5662 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5664 wxPyEndAllowThreads(__tstate
);
5665 if (PyErr_Occurred()) SWIG_fail
;
5669 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5671 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5680 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
*resultobj
;
5682 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5683 wxString
*arg2
= 0 ;
5684 int arg3
= (int) 0 ;
5685 bool temp2
= false ;
5686 PyObject
* obj0
= 0 ;
5687 PyObject
* obj1
= 0 ;
5688 PyObject
* obj2
= 0 ;
5690 (char *) "self",(char *) "text",(char *) "number", NULL
5693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5697 arg2
= wxString_in_helper(obj1
);
5698 if (arg2
== NULL
) SWIG_fail
;
5702 arg3
= (int)SWIG_As_int(obj2
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5707 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5709 wxPyEndAllowThreads(__tstate
);
5710 if (PyErr_Occurred()) SWIG_fail
;
5712 Py_INCREF(Py_None
); resultobj
= Py_None
;
5727 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5728 PyObject
*resultobj
;
5729 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5730 int arg2
= (int) 0 ;
5731 PyObject
* obj0
= 0 ;
5732 PyObject
* obj1
= 0 ;
5734 (char *) "self",(char *) "number", NULL
5737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5741 arg2
= (int)SWIG_As_int(obj1
);
5742 if (PyErr_Occurred()) SWIG_fail
;
5745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5746 (arg1
)->PopStatusText(arg2
);
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5751 Py_INCREF(Py_None
); resultobj
= Py_None
;
5758 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5759 PyObject
*resultobj
;
5760 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5762 int *arg3
= (int *) 0 ;
5763 PyObject
* obj0
= 0 ;
5764 PyObject
* obj1
= 0 ;
5766 (char *) "self",(char *) "widths", NULL
5769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5773 arg2
= PyList_Size(obj1
);
5774 arg3
= int_LIST_helper(obj1
);
5775 if (arg3
== NULL
) SWIG_fail
;
5778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5779 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5781 wxPyEndAllowThreads(__tstate
);
5782 if (PyErr_Occurred()) SWIG_fail
;
5784 Py_INCREF(Py_None
); resultobj
= Py_None
;
5786 if (arg3
) delete [] arg3
;
5791 if (arg3
) delete [] arg3
;
5797 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
*resultobj
;
5799 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5801 int *arg3
= (int *) 0 ;
5802 PyObject
* obj0
= 0 ;
5803 PyObject
* obj1
= 0 ;
5805 (char *) "self",(char *) "styles", NULL
5808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
5809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5812 arg2
= PyList_Size(obj1
);
5813 arg3
= int_LIST_helper(obj1
);
5814 if (arg3
== NULL
) SWIG_fail
;
5817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5818 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
5820 wxPyEndAllowThreads(__tstate
);
5821 if (PyErr_Occurred()) SWIG_fail
;
5823 Py_INCREF(Py_None
); resultobj
= Py_None
;
5825 if (arg3
) delete [] arg3
;
5830 if (arg3
) delete [] arg3
;
5836 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
*resultobj
;
5838 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5841 PyObject
* obj0
= 0 ;
5842 PyObject
* obj1
= 0 ;
5844 (char *) "self",(char *) "i", NULL
5847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5850 arg2
= (int)SWIG_As_int(obj1
);
5851 if (PyErr_Occurred()) SWIG_fail
;
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5856 wxPyEndAllowThreads(__tstate
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5861 resultptr
= new wxRect((wxRect
&) result
);
5862 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5870 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5871 PyObject
*resultobj
;
5872 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5874 PyObject
* obj0
= 0 ;
5875 PyObject
* obj1
= 0 ;
5877 (char *) "self",(char *) "height", NULL
5880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5883 arg2
= (int)SWIG_As_int(obj1
);
5884 if (PyErr_Occurred()) SWIG_fail
;
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 (arg1
)->SetMinHeight(arg2
);
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5892 Py_INCREF(Py_None
); resultobj
= Py_None
;
5899 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5900 PyObject
*resultobj
;
5901 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5903 PyObject
* obj0
= 0 ;
5905 (char *) "self", NULL
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5913 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5915 wxPyEndAllowThreads(__tstate
);
5916 if (PyErr_Occurred()) SWIG_fail
;
5918 resultobj
= SWIG_From_int((int)result
);
5925 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5926 PyObject
*resultobj
;
5927 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5929 PyObject
* obj0
= 0 ;
5931 (char *) "self", NULL
5934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5939 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5941 wxPyEndAllowThreads(__tstate
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5944 resultobj
= SWIG_From_int((int)result
);
5951 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5952 PyObject
*resultobj
;
5953 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5954 wxVisualAttributes result
;
5955 PyObject
* obj0
= 0 ;
5957 (char *) "variant", NULL
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5962 arg1
= (int)SWIG_As_int(obj0
);
5963 if (PyErr_Occurred()) SWIG_fail
;
5966 if (!wxPyCheckForApp()) SWIG_fail
;
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5974 wxVisualAttributes
* resultptr
;
5975 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5976 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5984 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
5986 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5987 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5989 return Py_BuildValue((char *)"");
5991 static int _wrap_SplitterNameStr_set(PyObject
*) {
5992 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5997 static PyObject
*_wrap_SplitterNameStr_get() {
6002 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
6004 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
6011 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
*resultobj
;
6013 wxWindow
*arg1
= (wxWindow
*) 0 ;
6014 int arg2
= (int) -1 ;
6015 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6016 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6017 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6018 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6019 long arg5
= (long) wxSP_3D
;
6020 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
6021 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6022 wxSplitterWindow
*result
;
6025 bool temp6
= false ;
6026 PyObject
* obj0
= 0 ;
6027 PyObject
* obj1
= 0 ;
6028 PyObject
* obj2
= 0 ;
6029 PyObject
* obj3
= 0 ;
6030 PyObject
* obj4
= 0 ;
6031 PyObject
* obj5
= 0 ;
6033 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6040 arg2
= (int)SWIG_As_int(obj1
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6046 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6052 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6056 arg5
= (long)SWIG_As_long(obj4
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6061 arg6
= wxString_in_helper(obj5
);
6062 if (arg6
== NULL
) SWIG_fail
;
6067 if (!wxPyCheckForApp()) SWIG_fail
;
6068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6069 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6071 wxPyEndAllowThreads(__tstate
);
6072 if (PyErr_Occurred()) SWIG_fail
;
6074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
6089 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6090 PyObject
*resultobj
;
6091 wxSplitterWindow
*result
;
6096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
6098 if (!wxPyCheckForApp()) SWIG_fail
;
6099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6100 result
= (wxSplitterWindow
*)new wxSplitterWindow();
6102 wxPyEndAllowThreads(__tstate
);
6103 if (PyErr_Occurred()) SWIG_fail
;
6105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
6112 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6113 PyObject
*resultobj
;
6114 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6115 wxWindow
*arg2
= (wxWindow
*) 0 ;
6116 int arg3
= (int) -1 ;
6117 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6118 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6119 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6120 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6121 long arg6
= (long) wxSP_3D
;
6122 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
6123 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6127 bool temp7
= false ;
6128 PyObject
* obj0
= 0 ;
6129 PyObject
* obj1
= 0 ;
6130 PyObject
* obj2
= 0 ;
6131 PyObject
* obj3
= 0 ;
6132 PyObject
* obj4
= 0 ;
6133 PyObject
* obj5
= 0 ;
6134 PyObject
* obj6
= 0 ;
6136 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6145 arg3
= (int)SWIG_As_int(obj2
);
6146 if (PyErr_Occurred()) SWIG_fail
;
6151 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6157 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6161 arg6
= (long)SWIG_As_long(obj5
);
6162 if (PyErr_Occurred()) SWIG_fail
;
6166 arg7
= wxString_in_helper(obj6
);
6167 if (arg7
== NULL
) SWIG_fail
;
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6195 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
;
6197 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6199 PyObject
* obj0
= 0 ;
6201 (char *) "self", NULL
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
6205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6209 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
6211 wxPyEndAllowThreads(__tstate
);
6212 if (PyErr_Occurred()) SWIG_fail
;
6215 resultobj
= wxPyMake_wxObject(result
, 0);
6223 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6224 PyObject
*resultobj
;
6225 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6227 PyObject
* obj0
= 0 ;
6229 (char *) "self", NULL
6232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
6233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6237 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
6239 wxPyEndAllowThreads(__tstate
);
6240 if (PyErr_Occurred()) SWIG_fail
;
6243 resultobj
= wxPyMake_wxObject(result
, 0);
6251 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6252 PyObject
*resultobj
;
6253 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6255 PyObject
* obj0
= 0 ;
6256 PyObject
* obj1
= 0 ;
6258 (char *) "self",(char *) "mode", NULL
6261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
6262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6264 arg2
= (int)SWIG_As_int(obj1
);
6265 if (PyErr_Occurred()) SWIG_fail
;
6267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6268 (arg1
)->SetSplitMode(arg2
);
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6273 Py_INCREF(Py_None
); resultobj
= Py_None
;
6280 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
*resultobj
;
6282 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6284 PyObject
* obj0
= 0 ;
6286 (char *) "self", NULL
6289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
6290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6294 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
6296 wxPyEndAllowThreads(__tstate
);
6297 if (PyErr_Occurred()) SWIG_fail
;
6299 resultobj
= SWIG_From_int((int)result
);
6306 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6307 PyObject
*resultobj
;
6308 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6309 wxWindow
*arg2
= (wxWindow
*) 0 ;
6310 PyObject
* obj0
= 0 ;
6311 PyObject
* obj1
= 0 ;
6313 (char *) "self",(char *) "window", NULL
6316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
6317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6319 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 (arg1
)->Initialize(arg2
);
6325 wxPyEndAllowThreads(__tstate
);
6326 if (PyErr_Occurred()) SWIG_fail
;
6328 Py_INCREF(Py_None
); resultobj
= Py_None
;
6335 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
*resultobj
;
6337 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6338 wxWindow
*arg2
= (wxWindow
*) 0 ;
6339 wxWindow
*arg3
= (wxWindow
*) 0 ;
6340 int arg4
= (int) 0 ;
6342 PyObject
* obj0
= 0 ;
6343 PyObject
* obj1
= 0 ;
6344 PyObject
* obj2
= 0 ;
6345 PyObject
* obj3
= 0 ;
6347 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6353 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6355 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6358 arg4
= (int)SWIG_As_int(obj3
);
6359 if (PyErr_Occurred()) SWIG_fail
;
6362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6363 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
6365 wxPyEndAllowThreads(__tstate
);
6366 if (PyErr_Occurred()) SWIG_fail
;
6369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6377 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
*resultobj
;
6379 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6380 wxWindow
*arg2
= (wxWindow
*) 0 ;
6381 wxWindow
*arg3
= (wxWindow
*) 0 ;
6382 int arg4
= (int) 0 ;
6384 PyObject
* obj0
= 0 ;
6385 PyObject
* obj1
= 0 ;
6386 PyObject
* obj2
= 0 ;
6387 PyObject
* obj3
= 0 ;
6389 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6397 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6400 arg4
= (int)SWIG_As_int(obj3
);
6401 if (PyErr_Occurred()) SWIG_fail
;
6404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6405 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6407 wxPyEndAllowThreads(__tstate
);
6408 if (PyErr_Occurred()) SWIG_fail
;
6411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6419 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6420 PyObject
*resultobj
;
6421 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6422 wxWindow
*arg2
= (wxWindow
*) NULL
;
6424 PyObject
* obj0
= 0 ;
6425 PyObject
* obj1
= 0 ;
6427 (char *) "self",(char *) "toRemove", NULL
6430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6434 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6439 result
= (bool)(arg1
)->Unsplit(arg2
);
6441 wxPyEndAllowThreads(__tstate
);
6442 if (PyErr_Occurred()) SWIG_fail
;
6445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6453 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6454 PyObject
*resultobj
;
6455 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6456 wxWindow
*arg2
= (wxWindow
*) 0 ;
6457 wxWindow
*arg3
= (wxWindow
*) 0 ;
6459 PyObject
* obj0
= 0 ;
6460 PyObject
* obj1
= 0 ;
6461 PyObject
* obj2
= 0 ;
6463 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6471 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6475 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6477 wxPyEndAllowThreads(__tstate
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6489 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6490 PyObject
*resultobj
;
6491 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6492 PyObject
* obj0
= 0 ;
6494 (char *) "self", NULL
6497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6502 (arg1
)->UpdateSize();
6504 wxPyEndAllowThreads(__tstate
);
6505 if (PyErr_Occurred()) SWIG_fail
;
6507 Py_INCREF(Py_None
); resultobj
= Py_None
;
6514 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6515 PyObject
*resultobj
;
6516 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6518 PyObject
* obj0
= 0 ;
6520 (char *) "self", NULL
6523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6528 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6530 wxPyEndAllowThreads(__tstate
);
6531 if (PyErr_Occurred()) SWIG_fail
;
6534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6542 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6543 PyObject
*resultobj
;
6544 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6546 PyObject
* obj0
= 0 ;
6547 PyObject
* obj1
= 0 ;
6549 (char *) "self",(char *) "width", NULL
6552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6555 arg2
= (int)SWIG_As_int(obj1
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6559 (arg1
)->SetSashSize(arg2
);
6561 wxPyEndAllowThreads(__tstate
);
6562 if (PyErr_Occurred()) SWIG_fail
;
6564 Py_INCREF(Py_None
); resultobj
= Py_None
;
6571 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
*resultobj
;
6573 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6575 PyObject
* obj0
= 0 ;
6576 PyObject
* obj1
= 0 ;
6578 (char *) "self",(char *) "width", NULL
6581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6584 arg2
= (int)SWIG_As_int(obj1
);
6585 if (PyErr_Occurred()) SWIG_fail
;
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 (arg1
)->SetBorderSize(arg2
);
6590 wxPyEndAllowThreads(__tstate
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6593 Py_INCREF(Py_None
); resultobj
= Py_None
;
6600 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
*resultobj
;
6602 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6604 PyObject
* obj0
= 0 ;
6606 (char *) "self", NULL
6609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6614 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6616 wxPyEndAllowThreads(__tstate
);
6617 if (PyErr_Occurred()) SWIG_fail
;
6619 resultobj
= SWIG_From_int((int)result
);
6626 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6627 PyObject
*resultobj
;
6628 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6630 PyObject
* obj0
= 0 ;
6632 (char *) "self", NULL
6635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6640 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6642 wxPyEndAllowThreads(__tstate
);
6643 if (PyErr_Occurred()) SWIG_fail
;
6645 resultobj
= SWIG_From_int((int)result
);
6652 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6653 PyObject
*resultobj
;
6654 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6656 bool arg3
= (bool) true ;
6657 PyObject
* obj0
= 0 ;
6658 PyObject
* obj1
= 0 ;
6659 PyObject
* obj2
= 0 ;
6661 (char *) "self",(char *) "position",(char *) "redraw", NULL
6664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6667 arg2
= (int)SWIG_As_int(obj1
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6670 arg3
= (bool)SWIG_As_bool(obj2
);
6671 if (PyErr_Occurred()) SWIG_fail
;
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 (arg1
)->SetSashPosition(arg2
,arg3
);
6677 wxPyEndAllowThreads(__tstate
);
6678 if (PyErr_Occurred()) SWIG_fail
;
6680 Py_INCREF(Py_None
); resultobj
= Py_None
;
6687 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6688 PyObject
*resultobj
;
6689 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6691 PyObject
* obj0
= 0 ;
6693 (char *) "self", NULL
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6701 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6703 wxPyEndAllowThreads(__tstate
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6706 resultobj
= SWIG_From_int((int)result
);
6713 static PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
*resultobj
;
6715 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6717 PyObject
* obj0
= 0 ;
6718 PyObject
* obj1
= 0 ;
6720 (char *) "self",(char *) "gravity", NULL
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) goto fail
;
6724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6726 arg2
= (double)SWIG_As_double(obj1
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6730 (arg1
)->SetSashGravity(arg2
);
6732 wxPyEndAllowThreads(__tstate
);
6733 if (PyErr_Occurred()) SWIG_fail
;
6735 Py_INCREF(Py_None
); resultobj
= Py_None
;
6742 static PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6743 PyObject
*resultobj
;
6744 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6746 PyObject
* obj0
= 0 ;
6748 (char *) "self", NULL
6751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashGravity",kwnames
,&obj0
)) goto fail
;
6752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6761 resultobj
= SWIG_From_double((double)result
);
6768 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6769 PyObject
*resultobj
;
6770 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6772 PyObject
* obj0
= 0 ;
6773 PyObject
* obj1
= 0 ;
6775 (char *) "self",(char *) "min", NULL
6778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6781 arg2
= (int)SWIG_As_int(obj1
);
6782 if (PyErr_Occurred()) SWIG_fail
;
6784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6785 (arg1
)->SetMinimumPaneSize(arg2
);
6787 wxPyEndAllowThreads(__tstate
);
6788 if (PyErr_Occurred()) SWIG_fail
;
6790 Py_INCREF(Py_None
); resultobj
= Py_None
;
6797 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
*resultobj
;
6799 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6801 PyObject
* obj0
= 0 ;
6803 (char *) "self", NULL
6806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6811 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6813 wxPyEndAllowThreads(__tstate
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6816 resultobj
= SWIG_From_int((int)result
);
6823 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
*resultobj
;
6825 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6828 int arg4
= (int) 5 ;
6830 PyObject
* obj0
= 0 ;
6831 PyObject
* obj1
= 0 ;
6832 PyObject
* obj2
= 0 ;
6833 PyObject
* obj3
= 0 ;
6835 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6841 arg2
= (int)SWIG_As_int(obj1
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6843 arg3
= (int)SWIG_As_int(obj2
);
6844 if (PyErr_Occurred()) SWIG_fail
;
6846 arg4
= (int)SWIG_As_int(obj3
);
6847 if (PyErr_Occurred()) SWIG_fail
;
6850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6851 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6853 wxPyEndAllowThreads(__tstate
);
6854 if (PyErr_Occurred()) SWIG_fail
;
6857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6865 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6866 PyObject
*resultobj
;
6867 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6868 PyObject
* obj0
= 0 ;
6870 (char *) "self", NULL
6873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6878 (arg1
)->SizeWindows();
6880 wxPyEndAllowThreads(__tstate
);
6881 if (PyErr_Occurred()) SWIG_fail
;
6883 Py_INCREF(Py_None
); resultobj
= Py_None
;
6890 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6891 PyObject
*resultobj
;
6892 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6894 PyObject
* obj0
= 0 ;
6895 PyObject
* obj1
= 0 ;
6897 (char *) "self",(char *) "needUpdating", NULL
6900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6903 arg2
= (bool)SWIG_As_bool(obj1
);
6904 if (PyErr_Occurred()) SWIG_fail
;
6906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6907 (arg1
)->SetNeedUpdating(arg2
);
6909 wxPyEndAllowThreads(__tstate
);
6910 if (PyErr_Occurred()) SWIG_fail
;
6912 Py_INCREF(Py_None
); resultobj
= Py_None
;
6919 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6920 PyObject
*resultobj
;
6921 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6923 PyObject
* obj0
= 0 ;
6925 (char *) "self", NULL
6928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6933 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6935 wxPyEndAllowThreads(__tstate
);
6936 if (PyErr_Occurred()) SWIG_fail
;
6939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6947 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6948 PyObject
*resultobj
;
6949 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6950 wxVisualAttributes result
;
6951 PyObject
* obj0
= 0 ;
6953 (char *) "variant", NULL
6956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6958 arg1
= (int)SWIG_As_int(obj0
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6962 if (!wxPyCheckForApp()) SWIG_fail
;
6963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6964 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6966 wxPyEndAllowThreads(__tstate
);
6967 if (PyErr_Occurred()) SWIG_fail
;
6970 wxVisualAttributes
* resultptr
;
6971 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6972 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6980 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
6982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6983 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6985 return Py_BuildValue((char *)"");
6987 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6988 PyObject
*resultobj
;
6989 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6990 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6991 wxSplitterEvent
*result
;
6992 PyObject
* obj0
= 0 ;
6993 PyObject
* obj1
= 0 ;
6995 (char *) "type",(char *) "splitter", NULL
6998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7000 arg1
= (wxEventType
)SWIG_As_int(obj0
);
7001 if (PyErr_Occurred()) SWIG_fail
;
7004 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
7005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7009 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
7011 wxPyEndAllowThreads(__tstate
);
7012 if (PyErr_Occurred()) SWIG_fail
;
7014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
7021 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
*resultobj
;
7023 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
7025 PyObject
* obj0
= 0 ;
7026 PyObject
* obj1
= 0 ;
7028 (char *) "self",(char *) "pos", NULL
7031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
7032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
7033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7034 arg2
= (int)SWIG_As_int(obj1
);
7035 if (PyErr_Occurred()) SWIG_fail
;
7037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7038 (arg1
)->SetSashPosition(arg2
);
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7043 Py_INCREF(Py_None
); resultobj
= Py_None
;
7050 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7051 PyObject
*resultobj
;
7052 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
7054 PyObject
* obj0
= 0 ;
7056 (char *) "self", NULL
7059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
7060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
7061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7064 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
7066 wxPyEndAllowThreads(__tstate
);
7067 if (PyErr_Occurred()) SWIG_fail
;
7069 resultobj
= SWIG_From_int((int)result
);
7076 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7077 PyObject
*resultobj
;
7078 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
7080 PyObject
* obj0
= 0 ;
7082 (char *) "self", NULL
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
7086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
7087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7090 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7096 resultobj
= wxPyMake_wxObject(result
, 0);
7104 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
;
7106 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
7108 PyObject
* obj0
= 0 ;
7110 (char *) "self", NULL
7113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
7114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
7115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7118 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
7120 wxPyEndAllowThreads(__tstate
);
7121 if (PyErr_Occurred()) SWIG_fail
;
7123 resultobj
= SWIG_From_int((int)result
);
7130 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7131 PyObject
*resultobj
;
7132 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
7134 PyObject
* obj0
= 0 ;
7136 (char *) "self", NULL
7139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
7140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
7141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7144 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
7146 wxPyEndAllowThreads(__tstate
);
7147 if (PyErr_Occurred()) SWIG_fail
;
7149 resultobj
= SWIG_From_int((int)result
);
7156 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
7158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7159 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
7161 return Py_BuildValue((char *)"");
7163 static int _wrap_SashNameStr_set(PyObject
*) {
7164 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
7169 static PyObject
*_wrap_SashNameStr_get() {
7174 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
7176 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
7183 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
7184 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
7189 static PyObject
*_wrap_SashLayoutNameStr_get() {
7194 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
7196 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
7203 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7204 PyObject
*resultobj
;
7205 wxWindow
*arg1
= (wxWindow
*) 0 ;
7206 int arg2
= (int) -1 ;
7207 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7208 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7209 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7210 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7211 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7212 wxString
const &arg6_defvalue
= wxPySashNameStr
;
7213 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7214 wxSashWindow
*result
;
7217 bool temp6
= false ;
7218 PyObject
* obj0
= 0 ;
7219 PyObject
* obj1
= 0 ;
7220 PyObject
* obj2
= 0 ;
7221 PyObject
* obj3
= 0 ;
7222 PyObject
* obj4
= 0 ;
7223 PyObject
* obj5
= 0 ;
7225 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7232 arg2
= (int)SWIG_As_int(obj1
);
7233 if (PyErr_Occurred()) SWIG_fail
;
7238 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7244 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7248 arg5
= (long)SWIG_As_long(obj4
);
7249 if (PyErr_Occurred()) SWIG_fail
;
7253 arg6
= wxString_in_helper(obj5
);
7254 if (arg6
== NULL
) SWIG_fail
;
7259 if (!wxPyCheckForApp()) SWIG_fail
;
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7281 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7282 PyObject
*resultobj
;
7283 wxSashWindow
*result
;
7288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
7290 if (!wxPyCheckForApp()) SWIG_fail
;
7291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7292 result
= (wxSashWindow
*)new wxSashWindow();
7294 wxPyEndAllowThreads(__tstate
);
7295 if (PyErr_Occurred()) SWIG_fail
;
7297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7304 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7305 PyObject
*resultobj
;
7306 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7307 wxWindow
*arg2
= (wxWindow
*) 0 ;
7308 int arg3
= (int) -1 ;
7309 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7310 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7311 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7312 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7313 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7314 wxString
const &arg7_defvalue
= wxPySashNameStr
;
7315 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7319 bool temp7
= false ;
7320 PyObject
* obj0
= 0 ;
7321 PyObject
* obj1
= 0 ;
7322 PyObject
* obj2
= 0 ;
7323 PyObject
* obj3
= 0 ;
7324 PyObject
* obj4
= 0 ;
7325 PyObject
* obj5
= 0 ;
7326 PyObject
* obj6
= 0 ;
7328 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7334 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7337 arg3
= (int)SWIG_As_int(obj2
);
7338 if (PyErr_Occurred()) SWIG_fail
;
7343 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7349 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7353 arg6
= (long)SWIG_As_long(obj5
);
7354 if (PyErr_Occurred()) SWIG_fail
;
7358 arg7
= wxString_in_helper(obj6
);
7359 if (arg7
== NULL
) SWIG_fail
;
7364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7365 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7367 wxPyEndAllowThreads(__tstate
);
7368 if (PyErr_Occurred()) SWIG_fail
;
7371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7387 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
*resultobj
;
7389 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7392 PyObject
* obj0
= 0 ;
7393 PyObject
* obj1
= 0 ;
7394 PyObject
* obj2
= 0 ;
7396 (char *) "self",(char *) "edge",(char *) "sash", NULL
7399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7402 arg2
= (int)SWIG_As_int(obj1
);
7403 if (PyErr_Occurred()) SWIG_fail
;
7404 arg3
= (bool)SWIG_As_bool(obj2
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7408 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
7410 wxPyEndAllowThreads(__tstate
);
7411 if (PyErr_Occurred()) SWIG_fail
;
7413 Py_INCREF(Py_None
); resultobj
= Py_None
;
7420 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7421 PyObject
*resultobj
;
7422 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7425 PyObject
* obj0
= 0 ;
7426 PyObject
* obj1
= 0 ;
7428 (char *) "self",(char *) "edge", NULL
7431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7434 arg2
= (int)SWIG_As_int(obj1
);
7435 if (PyErr_Occurred()) SWIG_fail
;
7437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7438 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
7440 wxPyEndAllowThreads(__tstate
);
7441 if (PyErr_Occurred()) SWIG_fail
;
7444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7452 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7453 PyObject
*resultobj
;
7454 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7457 PyObject
* obj0
= 0 ;
7458 PyObject
* obj1
= 0 ;
7459 PyObject
* obj2
= 0 ;
7461 (char *) "self",(char *) "edge",(char *) "border", NULL
7464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7467 arg2
= (int)SWIG_As_int(obj1
);
7468 if (PyErr_Occurred()) SWIG_fail
;
7469 arg3
= (bool)SWIG_As_bool(obj2
);
7470 if (PyErr_Occurred()) SWIG_fail
;
7472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7473 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) SWIG_fail
;
7478 Py_INCREF(Py_None
); resultobj
= Py_None
;
7485 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
*resultobj
;
7487 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7490 PyObject
* obj0
= 0 ;
7491 PyObject
* obj1
= 0 ;
7493 (char *) "self",(char *) "edge", NULL
7496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7499 arg2
= (int)SWIG_As_int(obj1
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7503 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7505 wxPyEndAllowThreads(__tstate
);
7506 if (PyErr_Occurred()) SWIG_fail
;
7509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7517 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7518 PyObject
*resultobj
;
7519 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7522 PyObject
* obj0
= 0 ;
7523 PyObject
* obj1
= 0 ;
7525 (char *) "self",(char *) "edge", NULL
7528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7531 arg2
= (int)SWIG_As_int(obj1
);
7532 if (PyErr_Occurred()) SWIG_fail
;
7534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7535 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7540 resultobj
= SWIG_From_int((int)result
);
7547 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7548 PyObject
*resultobj
;
7549 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7551 PyObject
* obj0
= 0 ;
7552 PyObject
* obj1
= 0 ;
7554 (char *) "self",(char *) "width", NULL
7557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7560 arg2
= (int)SWIG_As_int(obj1
);
7561 if (PyErr_Occurred()) SWIG_fail
;
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 (arg1
)->SetDefaultBorderSize(arg2
);
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) SWIG_fail
;
7569 Py_INCREF(Py_None
); resultobj
= Py_None
;
7576 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
*resultobj
;
7578 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7580 PyObject
* obj0
= 0 ;
7582 (char *) "self", NULL
7585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7590 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7592 wxPyEndAllowThreads(__tstate
);
7593 if (PyErr_Occurred()) SWIG_fail
;
7595 resultobj
= SWIG_From_int((int)result
);
7602 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7603 PyObject
*resultobj
;
7604 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7606 PyObject
* obj0
= 0 ;
7607 PyObject
* obj1
= 0 ;
7609 (char *) "self",(char *) "width", NULL
7612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7615 arg2
= (int)SWIG_As_int(obj1
);
7616 if (PyErr_Occurred()) SWIG_fail
;
7618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 (arg1
)->SetExtraBorderSize(arg2
);
7621 wxPyEndAllowThreads(__tstate
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7624 Py_INCREF(Py_None
); resultobj
= Py_None
;
7631 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7632 PyObject
*resultobj
;
7633 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7635 PyObject
* obj0
= 0 ;
7637 (char *) "self", NULL
7640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7645 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7647 wxPyEndAllowThreads(__tstate
);
7648 if (PyErr_Occurred()) SWIG_fail
;
7650 resultobj
= SWIG_From_int((int)result
);
7657 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7658 PyObject
*resultobj
;
7659 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7661 PyObject
* obj0
= 0 ;
7662 PyObject
* obj1
= 0 ;
7664 (char *) "self",(char *) "min", NULL
7667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7670 arg2
= (int)SWIG_As_int(obj1
);
7671 if (PyErr_Occurred()) SWIG_fail
;
7673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7674 (arg1
)->SetMinimumSizeX(arg2
);
7676 wxPyEndAllowThreads(__tstate
);
7677 if (PyErr_Occurred()) SWIG_fail
;
7679 Py_INCREF(Py_None
); resultobj
= Py_None
;
7686 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7687 PyObject
*resultobj
;
7688 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7690 PyObject
* obj0
= 0 ;
7691 PyObject
* obj1
= 0 ;
7693 (char *) "self",(char *) "min", NULL
7696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7699 arg2
= (int)SWIG_As_int(obj1
);
7700 if (PyErr_Occurred()) SWIG_fail
;
7702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7703 (arg1
)->SetMinimumSizeY(arg2
);
7705 wxPyEndAllowThreads(__tstate
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7708 Py_INCREF(Py_None
); resultobj
= Py_None
;
7715 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
*resultobj
;
7717 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7719 PyObject
* obj0
= 0 ;
7721 (char *) "self", NULL
7724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7734 resultobj
= SWIG_From_int((int)result
);
7741 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7742 PyObject
*resultobj
;
7743 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7745 PyObject
* obj0
= 0 ;
7747 (char *) "self", NULL
7750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7755 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7757 wxPyEndAllowThreads(__tstate
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7760 resultobj
= SWIG_From_int((int)result
);
7767 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7768 PyObject
*resultobj
;
7769 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7771 PyObject
* obj0
= 0 ;
7772 PyObject
* obj1
= 0 ;
7774 (char *) "self",(char *) "max", NULL
7777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7780 arg2
= (int)SWIG_As_int(obj1
);
7781 if (PyErr_Occurred()) SWIG_fail
;
7783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7784 (arg1
)->SetMaximumSizeX(arg2
);
7786 wxPyEndAllowThreads(__tstate
);
7787 if (PyErr_Occurred()) SWIG_fail
;
7789 Py_INCREF(Py_None
); resultobj
= Py_None
;
7796 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7797 PyObject
*resultobj
;
7798 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7800 PyObject
* obj0
= 0 ;
7801 PyObject
* obj1
= 0 ;
7803 (char *) "self",(char *) "max", NULL
7806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7809 arg2
= (int)SWIG_As_int(obj1
);
7810 if (PyErr_Occurred()) SWIG_fail
;
7812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7813 (arg1
)->SetMaximumSizeY(arg2
);
7815 wxPyEndAllowThreads(__tstate
);
7816 if (PyErr_Occurred()) SWIG_fail
;
7818 Py_INCREF(Py_None
); resultobj
= Py_None
;
7825 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7826 PyObject
*resultobj
;
7827 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7829 PyObject
* obj0
= 0 ;
7831 (char *) "self", NULL
7834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7839 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7841 wxPyEndAllowThreads(__tstate
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7844 resultobj
= SWIG_From_int((int)result
);
7851 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7852 PyObject
*resultobj
;
7853 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7855 PyObject
* obj0
= 0 ;
7857 (char *) "self", NULL
7860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7865 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7870 resultobj
= SWIG_From_int((int)result
);
7877 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7878 PyObject
*resultobj
;
7879 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7882 int arg4
= (int) 2 ;
7884 PyObject
* obj0
= 0 ;
7885 PyObject
* obj1
= 0 ;
7886 PyObject
* obj2
= 0 ;
7887 PyObject
* obj3
= 0 ;
7889 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7895 arg2
= (int)SWIG_As_int(obj1
);
7896 if (PyErr_Occurred()) SWIG_fail
;
7897 arg3
= (int)SWIG_As_int(obj2
);
7898 if (PyErr_Occurred()) SWIG_fail
;
7900 arg4
= (int)SWIG_As_int(obj3
);
7901 if (PyErr_Occurred()) SWIG_fail
;
7904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7905 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7907 wxPyEndAllowThreads(__tstate
);
7908 if (PyErr_Occurred()) SWIG_fail
;
7910 resultobj
= SWIG_From_int((int)result
);
7917 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7918 PyObject
*resultobj
;
7919 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7920 PyObject
* obj0
= 0 ;
7922 (char *) "self", NULL
7925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7930 (arg1
)->SizeWindows();
7932 wxPyEndAllowThreads(__tstate
);
7933 if (PyErr_Occurred()) SWIG_fail
;
7935 Py_INCREF(Py_None
); resultobj
= Py_None
;
7942 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
7944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7945 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7947 return Py_BuildValue((char *)"");
7949 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7950 PyObject
*resultobj
;
7951 int arg1
= (int) 0 ;
7952 int arg2
= (int) wxSASH_NONE
;
7953 wxSashEvent
*result
;
7954 PyObject
* obj0
= 0 ;
7955 PyObject
* obj1
= 0 ;
7957 (char *) "id",(char *) "edge", NULL
7960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7962 arg1
= (int)SWIG_As_int(obj0
);
7963 if (PyErr_Occurred()) SWIG_fail
;
7966 arg2
= (int)SWIG_As_int(obj1
);
7967 if (PyErr_Occurred()) SWIG_fail
;
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7983 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7984 PyObject
*resultobj
;
7985 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7987 PyObject
* obj0
= 0 ;
7988 PyObject
* obj1
= 0 ;
7990 (char *) "self",(char *) "edge", NULL
7993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7996 arg2
= (int)SWIG_As_int(obj1
);
7997 if (PyErr_Occurred()) SWIG_fail
;
7999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8000 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
8002 wxPyEndAllowThreads(__tstate
);
8003 if (PyErr_Occurred()) SWIG_fail
;
8005 Py_INCREF(Py_None
); resultobj
= Py_None
;
8012 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8013 PyObject
*resultobj
;
8014 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
8016 PyObject
* obj0
= 0 ;
8018 (char *) "self", NULL
8021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
8022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
8023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8031 resultobj
= SWIG_From_int((int)result
);
8038 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8039 PyObject
*resultobj
;
8040 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
8043 PyObject
* obj0
= 0 ;
8044 PyObject
* obj1
= 0 ;
8046 (char *) "self",(char *) "rect", NULL
8049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
8051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8054 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8058 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
8060 wxPyEndAllowThreads(__tstate
);
8061 if (PyErr_Occurred()) SWIG_fail
;
8063 Py_INCREF(Py_None
); resultobj
= Py_None
;
8070 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8071 PyObject
*resultobj
;
8072 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
8074 PyObject
* obj0
= 0 ;
8076 (char *) "self", NULL
8079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
8080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
8081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8084 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
8086 wxPyEndAllowThreads(__tstate
);
8087 if (PyErr_Occurred()) SWIG_fail
;
8091 resultptr
= new wxRect((wxRect
&) result
);
8092 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8100 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8101 PyObject
*resultobj
;
8102 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
8104 PyObject
* obj0
= 0 ;
8105 PyObject
* obj1
= 0 ;
8107 (char *) "self",(char *) "status", NULL
8110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
8111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
8112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8113 arg2
= (int)SWIG_As_int(obj1
);
8114 if (PyErr_Occurred()) SWIG_fail
;
8116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8117 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
8119 wxPyEndAllowThreads(__tstate
);
8120 if (PyErr_Occurred()) SWIG_fail
;
8122 Py_INCREF(Py_None
); resultobj
= Py_None
;
8129 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8130 PyObject
*resultobj
;
8131 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
8133 PyObject
* obj0
= 0 ;
8135 (char *) "self", NULL
8138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
8139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
8140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8148 resultobj
= SWIG_From_int((int)result
);
8155 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
8157 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8158 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
8160 return Py_BuildValue((char *)"");
8162 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8163 PyObject
*resultobj
;
8164 int arg1
= (int) 0 ;
8165 wxQueryLayoutInfoEvent
*result
;
8166 PyObject
* obj0
= 0 ;
8171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
8173 arg1
= (int)SWIG_As_int(obj0
);
8174 if (PyErr_Occurred()) SWIG_fail
;
8177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8178 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
8180 wxPyEndAllowThreads(__tstate
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
8190 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8191 PyObject
*resultobj
;
8192 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8194 PyObject
* obj0
= 0 ;
8195 PyObject
* obj1
= 0 ;
8197 (char *) "self",(char *) "length", NULL
8200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8203 arg2
= (int)SWIG_As_int(obj1
);
8204 if (PyErr_Occurred()) SWIG_fail
;
8206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8207 (arg1
)->SetRequestedLength(arg2
);
8209 wxPyEndAllowThreads(__tstate
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8212 Py_INCREF(Py_None
); resultobj
= Py_None
;
8219 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
*resultobj
;
8221 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8223 PyObject
* obj0
= 0 ;
8225 (char *) "self", NULL
8228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
8229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8233 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8238 resultobj
= SWIG_From_int((int)result
);
8245 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8246 PyObject
*resultobj
;
8247 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8249 PyObject
* obj0
= 0 ;
8250 PyObject
* obj1
= 0 ;
8252 (char *) "self",(char *) "flags", NULL
8255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8258 arg2
= (int)SWIG_As_int(obj1
);
8259 if (PyErr_Occurred()) SWIG_fail
;
8261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8262 (arg1
)->SetFlags(arg2
);
8264 wxPyEndAllowThreads(__tstate
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8267 Py_INCREF(Py_None
); resultobj
= Py_None
;
8274 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8275 PyObject
*resultobj
;
8276 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8278 PyObject
* obj0
= 0 ;
8280 (char *) "self", NULL
8283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8288 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
8290 wxPyEndAllowThreads(__tstate
);
8291 if (PyErr_Occurred()) SWIG_fail
;
8293 resultobj
= SWIG_From_int((int)result
);
8300 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8301 PyObject
*resultobj
;
8302 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8305 PyObject
* obj0
= 0 ;
8306 PyObject
* obj1
= 0 ;
8308 (char *) "self",(char *) "size", NULL
8311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8316 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8320 (arg1
)->SetSize((wxSize
const &)*arg2
);
8322 wxPyEndAllowThreads(__tstate
);
8323 if (PyErr_Occurred()) SWIG_fail
;
8325 Py_INCREF(Py_None
); resultobj
= Py_None
;
8332 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8333 PyObject
*resultobj
;
8334 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8336 PyObject
* obj0
= 0 ;
8338 (char *) "self", NULL
8341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
8342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8346 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
8348 wxPyEndAllowThreads(__tstate
);
8349 if (PyErr_Occurred()) SWIG_fail
;
8353 resultptr
= new wxSize((wxSize
&) result
);
8354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8362 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8363 PyObject
*resultobj
;
8364 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8366 PyObject
* obj0
= 0 ;
8367 PyObject
* obj1
= 0 ;
8369 (char *) "self",(char *) "orient", NULL
8372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8375 arg2
= (int)SWIG_As_int(obj1
);
8376 if (PyErr_Occurred()) SWIG_fail
;
8378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8379 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8381 wxPyEndAllowThreads(__tstate
);
8382 if (PyErr_Occurred()) SWIG_fail
;
8384 Py_INCREF(Py_None
); resultobj
= Py_None
;
8391 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8392 PyObject
*resultobj
;
8393 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8395 PyObject
* obj0
= 0 ;
8397 (char *) "self", NULL
8400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
8401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8405 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
8407 wxPyEndAllowThreads(__tstate
);
8408 if (PyErr_Occurred()) SWIG_fail
;
8410 resultobj
= SWIG_From_int((int)result
);
8417 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8418 PyObject
*resultobj
;
8419 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8421 PyObject
* obj0
= 0 ;
8422 PyObject
* obj1
= 0 ;
8424 (char *) "self",(char *) "align", NULL
8427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8430 arg2
= (int)SWIG_As_int(obj1
);
8431 if (PyErr_Occurred()) SWIG_fail
;
8433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8434 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8436 wxPyEndAllowThreads(__tstate
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8439 Py_INCREF(Py_None
); resultobj
= Py_None
;
8446 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8447 PyObject
*resultobj
;
8448 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8450 PyObject
* obj0
= 0 ;
8452 (char *) "self", NULL
8455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
8456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8460 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8462 wxPyEndAllowThreads(__tstate
);
8463 if (PyErr_Occurred()) SWIG_fail
;
8465 resultobj
= SWIG_From_int((int)result
);
8472 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
8474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8475 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8477 return Py_BuildValue((char *)"");
8479 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8480 PyObject
*resultobj
;
8481 int arg1
= (int) 0 ;
8482 wxCalculateLayoutEvent
*result
;
8483 PyObject
* obj0
= 0 ;
8488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8490 arg1
= (int)SWIG_As_int(obj0
);
8491 if (PyErr_Occurred()) SWIG_fail
;
8494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8495 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8497 wxPyEndAllowThreads(__tstate
);
8498 if (PyErr_Occurred()) SWIG_fail
;
8500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8507 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8508 PyObject
*resultobj
;
8509 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8511 PyObject
* obj0
= 0 ;
8512 PyObject
* obj1
= 0 ;
8514 (char *) "self",(char *) "flags", NULL
8517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8520 arg2
= (int)SWIG_As_int(obj1
);
8521 if (PyErr_Occurred()) SWIG_fail
;
8523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8524 (arg1
)->SetFlags(arg2
);
8526 wxPyEndAllowThreads(__tstate
);
8527 if (PyErr_Occurred()) SWIG_fail
;
8529 Py_INCREF(Py_None
); resultobj
= Py_None
;
8536 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8537 PyObject
*resultobj
;
8538 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8540 PyObject
* obj0
= 0 ;
8542 (char *) "self", NULL
8545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8550 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8552 wxPyEndAllowThreads(__tstate
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8555 resultobj
= SWIG_From_int((int)result
);
8562 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8563 PyObject
*resultobj
;
8564 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8567 PyObject
* obj0
= 0 ;
8568 PyObject
* obj1
= 0 ;
8570 (char *) "self",(char *) "rect", NULL
8573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8578 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8582 (arg1
)->SetRect((wxRect
const &)*arg2
);
8584 wxPyEndAllowThreads(__tstate
);
8585 if (PyErr_Occurred()) SWIG_fail
;
8587 Py_INCREF(Py_None
); resultobj
= Py_None
;
8594 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8595 PyObject
*resultobj
;
8596 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8598 PyObject
* obj0
= 0 ;
8600 (char *) "self", NULL
8603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8608 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8610 wxPyEndAllowThreads(__tstate
);
8611 if (PyErr_Occurred()) SWIG_fail
;
8615 resultptr
= new wxRect((wxRect
&) result
);
8616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8624 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
8626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8627 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8629 return Py_BuildValue((char *)"");
8631 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8632 PyObject
*resultobj
;
8633 wxWindow
*arg1
= (wxWindow
*) 0 ;
8634 int arg2
= (int) -1 ;
8635 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8636 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8637 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8638 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8639 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8640 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8641 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8642 wxSashLayoutWindow
*result
;
8645 bool temp6
= false ;
8646 PyObject
* obj0
= 0 ;
8647 PyObject
* obj1
= 0 ;
8648 PyObject
* obj2
= 0 ;
8649 PyObject
* obj3
= 0 ;
8650 PyObject
* obj4
= 0 ;
8651 PyObject
* obj5
= 0 ;
8653 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8660 arg2
= (int)SWIG_As_int(obj1
);
8661 if (PyErr_Occurred()) SWIG_fail
;
8666 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8672 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8676 arg5
= (long)SWIG_As_long(obj4
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8681 arg6
= wxString_in_helper(obj5
);
8682 if (arg6
== NULL
) SWIG_fail
;
8687 if (!wxPyCheckForApp()) SWIG_fail
;
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8689 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8691 wxPyEndAllowThreads(__tstate
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8709 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8710 PyObject
*resultobj
;
8711 wxSashLayoutWindow
*result
;
8716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8718 if (!wxPyCheckForApp()) SWIG_fail
;
8719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8720 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8722 wxPyEndAllowThreads(__tstate
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8732 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8733 PyObject
*resultobj
;
8734 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8735 wxWindow
*arg2
= (wxWindow
*) 0 ;
8736 int arg3
= (int) -1 ;
8737 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8738 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8739 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8740 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8741 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8742 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8743 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8747 bool temp7
= false ;
8748 PyObject
* obj0
= 0 ;
8749 PyObject
* obj1
= 0 ;
8750 PyObject
* obj2
= 0 ;
8751 PyObject
* obj3
= 0 ;
8752 PyObject
* obj4
= 0 ;
8753 PyObject
* obj5
= 0 ;
8754 PyObject
* obj6
= 0 ;
8756 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8765 arg3
= (int)SWIG_As_int(obj2
);
8766 if (PyErr_Occurred()) SWIG_fail
;
8771 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8777 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8781 arg6
= (long)SWIG_As_long(obj5
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8786 arg7
= wxString_in_helper(obj6
);
8787 if (arg7
== NULL
) SWIG_fail
;
8792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8793 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8795 wxPyEndAllowThreads(__tstate
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8815 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8816 PyObject
*resultobj
;
8817 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8819 PyObject
* obj0
= 0 ;
8821 (char *) "self", NULL
8824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8829 result
= (int)(arg1
)->GetAlignment();
8831 wxPyEndAllowThreads(__tstate
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8834 resultobj
= SWIG_From_int((int)result
);
8841 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8842 PyObject
*resultobj
;
8843 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8845 PyObject
* obj0
= 0 ;
8847 (char *) "self", NULL
8850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8855 result
= (int)(arg1
)->GetOrientation();
8857 wxPyEndAllowThreads(__tstate
);
8858 if (PyErr_Occurred()) SWIG_fail
;
8860 resultobj
= SWIG_From_int((int)result
);
8867 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8868 PyObject
*resultobj
;
8869 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8871 PyObject
* obj0
= 0 ;
8872 PyObject
* obj1
= 0 ;
8874 (char *) "self",(char *) "alignment", NULL
8877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8880 arg2
= (int)SWIG_As_int(obj1
);
8881 if (PyErr_Occurred()) SWIG_fail
;
8883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8884 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8886 wxPyEndAllowThreads(__tstate
);
8887 if (PyErr_Occurred()) SWIG_fail
;
8889 Py_INCREF(Py_None
); resultobj
= Py_None
;
8896 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8897 PyObject
*resultobj
;
8898 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8901 PyObject
* obj0
= 0 ;
8902 PyObject
* obj1
= 0 ;
8904 (char *) "self",(char *) "size", NULL
8907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8912 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8916 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8918 wxPyEndAllowThreads(__tstate
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8921 Py_INCREF(Py_None
); resultobj
= Py_None
;
8928 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8929 PyObject
*resultobj
;
8930 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8932 PyObject
* obj0
= 0 ;
8933 PyObject
* obj1
= 0 ;
8935 (char *) "self",(char *) "orientation", NULL
8938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8941 arg2
= (int)SWIG_As_int(obj1
);
8942 if (PyErr_Occurred()) SWIG_fail
;
8944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8945 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8947 wxPyEndAllowThreads(__tstate
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8950 Py_INCREF(Py_None
); resultobj
= Py_None
;
8957 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
8959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8960 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8962 return Py_BuildValue((char *)"");
8964 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8965 PyObject
*resultobj
;
8966 wxLayoutAlgorithm
*result
;
8971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8974 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8976 wxPyEndAllowThreads(__tstate
);
8977 if (PyErr_Occurred()) SWIG_fail
;
8979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8986 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8987 PyObject
*resultobj
;
8988 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8989 PyObject
* obj0
= 0 ;
8991 (char *) "self", NULL
8994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9001 wxPyEndAllowThreads(__tstate
);
9002 if (PyErr_Occurred()) SWIG_fail
;
9004 Py_INCREF(Py_None
); resultobj
= Py_None
;
9011 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9012 PyObject
*resultobj
;
9013 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
9014 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
9015 wxRect
*arg3
= (wxRect
*) NULL
;
9017 PyObject
* obj0
= 0 ;
9018 PyObject
* obj1
= 0 ;
9019 PyObject
* obj2
= 0 ;
9021 (char *) "self",(char *) "frame",(char *) "rect", NULL
9024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
9026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9027 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
9028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9030 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
9031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
9037 wxPyEndAllowThreads(__tstate
);
9038 if (PyErr_Occurred()) SWIG_fail
;
9041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9049 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9050 PyObject
*resultobj
;
9051 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
9052 wxFrame
*arg2
= (wxFrame
*) 0 ;
9053 wxWindow
*arg3
= (wxWindow
*) NULL
;
9055 PyObject
* obj0
= 0 ;
9056 PyObject
* obj1
= 0 ;
9057 PyObject
* obj2
= 0 ;
9059 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
9062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
9064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
9066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9068 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
9069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9073 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
9075 wxPyEndAllowThreads(__tstate
);
9076 if (PyErr_Occurred()) SWIG_fail
;
9079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9087 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
;
9089 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
9090 wxWindow
*arg2
= (wxWindow
*) 0 ;
9091 wxWindow
*arg3
= (wxWindow
*) NULL
;
9093 PyObject
* obj0
= 0 ;
9094 PyObject
* obj1
= 0 ;
9095 PyObject
* obj2
= 0 ;
9097 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
9100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
9102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9103 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9106 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
9107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9111 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
9113 wxPyEndAllowThreads(__tstate
);
9114 if (PyErr_Occurred()) SWIG_fail
;
9117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9125 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
9127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9128 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
9130 return Py_BuildValue((char *)"");
9132 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9133 PyObject
*resultobj
;
9134 wxWindow
*arg1
= (wxWindow
*) 0 ;
9135 int arg2
= (int) wxBORDER_NONE
;
9136 wxPopupWindow
*result
;
9137 PyObject
* obj0
= 0 ;
9138 PyObject
* obj1
= 0 ;
9140 (char *) "parent",(char *) "flags", NULL
9143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
9144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9147 arg2
= (int)SWIG_As_int(obj1
);
9148 if (PyErr_Occurred()) SWIG_fail
;
9151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9152 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
9154 wxPyEndAllowThreads(__tstate
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
9164 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9165 PyObject
*resultobj
;
9166 wxPopupWindow
*result
;
9171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 result
= (wxPopupWindow
*)new wxPopupWindow();
9176 wxPyEndAllowThreads(__tstate
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
9186 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
9188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9189 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
9191 return Py_BuildValue((char *)"");
9193 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9194 PyObject
*resultobj
;
9195 wxWindow
*arg1
= (wxWindow
*) 0 ;
9196 int arg2
= (int) wxBORDER_NONE
;
9197 wxPyPopupTransientWindow
*result
;
9198 PyObject
* obj0
= 0 ;
9199 PyObject
* obj1
= 0 ;
9201 (char *) "parent",(char *) "style", NULL
9204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
9205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9208 arg2
= (int)SWIG_As_int(obj1
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9213 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
9215 wxPyEndAllowThreads(__tstate
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9225 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9226 PyObject
*resultobj
;
9227 wxPyPopupTransientWindow
*result
;
9232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
9234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9235 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
9237 wxPyEndAllowThreads(__tstate
);
9238 if (PyErr_Occurred()) SWIG_fail
;
9240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9247 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
9249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9250 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
9252 return Py_BuildValue((char *)"");
9254 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9255 PyObject
*resultobj
;
9256 wxWindow
*arg1
= (wxWindow
*) 0 ;
9257 wxString
*arg2
= 0 ;
9258 int arg3
= (int) 100 ;
9259 wxRect
*arg4
= (wxRect
*) NULL
;
9260 wxTipWindow
*result
;
9261 bool temp2
= false ;
9262 PyObject
* obj0
= 0 ;
9263 PyObject
* obj1
= 0 ;
9264 PyObject
* obj2
= 0 ;
9265 PyObject
* obj3
= 0 ;
9267 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9274 arg2
= wxString_in_helper(obj1
);
9275 if (arg2
== NULL
) SWIG_fail
;
9279 arg3
= (int)SWIG_As_int(obj2
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9283 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
9284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9287 if (!wxPyCheckForApp()) SWIG_fail
;
9288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9289 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9291 wxPyEndAllowThreads(__tstate
);
9292 if (PyErr_Occurred()) SWIG_fail
;
9294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
9309 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9310 PyObject
*resultobj
;
9311 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9314 PyObject
* obj0
= 0 ;
9315 PyObject
* obj1
= 0 ;
9317 (char *) "self",(char *) "rectBound", NULL
9320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9325 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9329 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
9331 wxPyEndAllowThreads(__tstate
);
9332 if (PyErr_Occurred()) SWIG_fail
;
9334 Py_INCREF(Py_None
); resultobj
= Py_None
;
9341 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9342 PyObject
*resultobj
;
9343 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9344 PyObject
* obj0
= 0 ;
9346 (char *) "self", NULL
9349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9356 wxPyEndAllowThreads(__tstate
);
9357 if (PyErr_Occurred()) SWIG_fail
;
9359 Py_INCREF(Py_None
); resultobj
= Py_None
;
9366 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
9368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9369 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9371 return Py_BuildValue((char *)"");
9373 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9374 PyObject
*resultobj
;
9375 wxWindow
*arg1
= (wxWindow
*) 0 ;
9376 int arg2
= (int) wxID_ANY
;
9377 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9378 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9379 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9380 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9381 long arg5
= (long) 0 ;
9382 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9383 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9384 wxPyVScrolledWindow
*result
;
9387 bool temp6
= false ;
9388 PyObject
* obj0
= 0 ;
9389 PyObject
* obj1
= 0 ;
9390 PyObject
* obj2
= 0 ;
9391 PyObject
* obj3
= 0 ;
9392 PyObject
* obj4
= 0 ;
9393 PyObject
* obj5
= 0 ;
9395 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9402 arg2
= (int)SWIG_As_int(obj1
);
9403 if (PyErr_Occurred()) SWIG_fail
;
9408 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9414 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9418 arg5
= (long)SWIG_As_long(obj4
);
9419 if (PyErr_Occurred()) SWIG_fail
;
9423 arg6
= wxString_in_helper(obj5
);
9424 if (arg6
== NULL
) SWIG_fail
;
9429 if (!wxPyCheckForApp()) SWIG_fail
;
9430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9431 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9433 wxPyEndAllowThreads(__tstate
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9451 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9452 PyObject
*resultobj
;
9453 wxPyVScrolledWindow
*result
;
9458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9460 if (!wxPyCheckForApp()) SWIG_fail
;
9461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9464 wxPyEndAllowThreads(__tstate
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9474 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9475 PyObject
*resultobj
;
9476 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9477 PyObject
*arg2
= (PyObject
*) 0 ;
9478 PyObject
*arg3
= (PyObject
*) 0 ;
9479 PyObject
* obj0
= 0 ;
9480 PyObject
* obj1
= 0 ;
9481 PyObject
* obj2
= 0 ;
9483 (char *) "self",(char *) "self",(char *) "_class", NULL
9486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9493 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9495 wxPyEndAllowThreads(__tstate
);
9496 if (PyErr_Occurred()) SWIG_fail
;
9498 Py_INCREF(Py_None
); resultobj
= Py_None
;
9505 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9506 PyObject
*resultobj
;
9507 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9508 wxWindow
*arg2
= (wxWindow
*) 0 ;
9509 int arg3
= (int) wxID_ANY
;
9510 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9511 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9512 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9513 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9514 long arg6
= (long) 0 ;
9515 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9516 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9520 bool temp7
= false ;
9521 PyObject
* obj0
= 0 ;
9522 PyObject
* obj1
= 0 ;
9523 PyObject
* obj2
= 0 ;
9524 PyObject
* obj3
= 0 ;
9525 PyObject
* obj4
= 0 ;
9526 PyObject
* obj5
= 0 ;
9527 PyObject
* obj6
= 0 ;
9529 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9535 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9538 arg3
= (int)SWIG_As_int(obj2
);
9539 if (PyErr_Occurred()) SWIG_fail
;
9544 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9550 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9554 arg6
= (long)SWIG_As_long(obj5
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9559 arg7
= wxString_in_helper(obj6
);
9560 if (arg7
== NULL
) SWIG_fail
;
9565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9566 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9568 wxPyEndAllowThreads(__tstate
);
9569 if (PyErr_Occurred()) SWIG_fail
;
9572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9588 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9589 PyObject
*resultobj
;
9590 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9592 PyObject
* obj0
= 0 ;
9593 PyObject
* obj1
= 0 ;
9595 (char *) "self",(char *) "count", NULL
9598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9601 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9605 (arg1
)->SetLineCount(arg2
);
9607 wxPyEndAllowThreads(__tstate
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9610 Py_INCREF(Py_None
); resultobj
= Py_None
;
9617 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9618 PyObject
*resultobj
;
9619 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9622 PyObject
* obj0
= 0 ;
9623 PyObject
* obj1
= 0 ;
9625 (char *) "self",(char *) "line", NULL
9628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9631 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9632 if (PyErr_Occurred()) SWIG_fail
;
9634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9635 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9637 wxPyEndAllowThreads(__tstate
);
9638 if (PyErr_Occurred()) SWIG_fail
;
9641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9649 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9650 PyObject
*resultobj
;
9651 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9654 PyObject
* obj0
= 0 ;
9655 PyObject
* obj1
= 0 ;
9657 (char *) "self",(char *) "lines", NULL
9660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9663 arg2
= (int)SWIG_As_int(obj1
);
9664 if (PyErr_Occurred()) SWIG_fail
;
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 result
= (bool)(arg1
)->ScrollLines(arg2
);
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9681 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9682 PyObject
*resultobj
;
9683 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9686 PyObject
* obj0
= 0 ;
9687 PyObject
* obj1
= 0 ;
9689 (char *) "self",(char *) "pages", NULL
9692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9695 arg2
= (int)SWIG_As_int(obj1
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9699 result
= (bool)(arg1
)->ScrollPages(arg2
);
9701 wxPyEndAllowThreads(__tstate
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9713 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9714 PyObject
*resultobj
;
9715 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9717 PyObject
* obj0
= 0 ;
9718 PyObject
* obj1
= 0 ;
9720 (char *) "self",(char *) "line", NULL
9723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9726 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9730 (arg1
)->RefreshLine(arg2
);
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9735 Py_INCREF(Py_None
); resultobj
= Py_None
;
9742 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9743 PyObject
*resultobj
;
9744 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9747 PyObject
* obj0
= 0 ;
9748 PyObject
* obj1
= 0 ;
9749 PyObject
* obj2
= 0 ;
9751 (char *) "self",(char *) "from",(char *) "to", NULL
9754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9757 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9758 if (PyErr_Occurred()) SWIG_fail
;
9759 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
9760 if (PyErr_Occurred()) SWIG_fail
;
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9763 (arg1
)->RefreshLines(arg2
,arg3
);
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9768 Py_INCREF(Py_None
); resultobj
= Py_None
;
9775 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9776 PyObject
*resultobj
;
9777 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9781 PyObject
* obj0
= 0 ;
9782 PyObject
* obj1
= 0 ;
9783 PyObject
* obj2
= 0 ;
9785 (char *) "self",(char *) "x",(char *) "y", NULL
9788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9791 arg2
= (int)SWIG_As_int(obj1
);
9792 if (PyErr_Occurred()) SWIG_fail
;
9793 arg3
= (int)SWIG_As_int(obj2
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9797 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9799 wxPyEndAllowThreads(__tstate
);
9800 if (PyErr_Occurred()) SWIG_fail
;
9802 resultobj
= SWIG_From_int((int)result
);
9809 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9810 PyObject
*resultobj
;
9811 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9815 PyObject
* obj0
= 0 ;
9816 PyObject
* obj1
= 0 ;
9818 (char *) "self",(char *) "pt", NULL
9821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9826 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9830 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9832 wxPyEndAllowThreads(__tstate
);
9833 if (PyErr_Occurred()) SWIG_fail
;
9835 resultobj
= SWIG_From_int((int)result
);
9842 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9843 PyObject
*resultobj
;
9844 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9845 PyObject
* obj0
= 0 ;
9847 (char *) "self", NULL
9850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9855 (arg1
)->RefreshAll();
9857 wxPyEndAllowThreads(__tstate
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9860 Py_INCREF(Py_None
); resultobj
= Py_None
;
9867 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9868 PyObject
*resultobj
;
9869 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9871 PyObject
* obj0
= 0 ;
9873 (char *) "self", NULL
9876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9881 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9883 wxPyEndAllowThreads(__tstate
);
9884 if (PyErr_Occurred()) SWIG_fail
;
9886 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9893 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9894 PyObject
*resultobj
;
9895 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9897 PyObject
* obj0
= 0 ;
9899 (char *) "self", NULL
9902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9907 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9909 wxPyEndAllowThreads(__tstate
);
9910 if (PyErr_Occurred()) SWIG_fail
;
9912 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9919 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9920 PyObject
*resultobj
;
9921 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9923 PyObject
* obj0
= 0 ;
9925 (char *) "self", NULL
9928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9935 wxPyEndAllowThreads(__tstate
);
9936 if (PyErr_Occurred()) SWIG_fail
;
9938 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9945 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9946 PyObject
*resultobj
;
9947 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9950 PyObject
* obj0
= 0 ;
9951 PyObject
* obj1
= 0 ;
9953 (char *) "self",(char *) "line", NULL
9956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9959 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9960 if (PyErr_Occurred()) SWIG_fail
;
9962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9963 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9965 wxPyEndAllowThreads(__tstate
);
9966 if (PyErr_Occurred()) SWIG_fail
;
9969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9977 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
9979 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9980 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9982 return Py_BuildValue((char *)"");
9984 static int _wrap_VListBoxNameStr_set(PyObject
*) {
9985 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9990 static PyObject
*_wrap_VListBoxNameStr_get() {
9995 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9997 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
10004 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
*resultobj
;
10006 wxWindow
*arg1
= (wxWindow
*) 0 ;
10007 int arg2
= (int) wxID_ANY
;
10008 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10009 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10010 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10011 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10012 long arg5
= (long) 0 ;
10013 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10014 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10015 wxPyVListBox
*result
;
10018 bool temp6
= false ;
10019 PyObject
* obj0
= 0 ;
10020 PyObject
* obj1
= 0 ;
10021 PyObject
* obj2
= 0 ;
10022 PyObject
* obj3
= 0 ;
10023 PyObject
* obj4
= 0 ;
10024 PyObject
* obj5
= 0 ;
10025 char *kwnames
[] = {
10026 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10033 arg2
= (int)SWIG_As_int(obj1
);
10034 if (PyErr_Occurred()) SWIG_fail
;
10039 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10045 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10049 arg5
= (long)SWIG_As_long(obj4
);
10050 if (PyErr_Occurred()) SWIG_fail
;
10054 arg6
= wxString_in_helper(obj5
);
10055 if (arg6
== NULL
) SWIG_fail
;
10060 if (!wxPyCheckForApp()) SWIG_fail
;
10061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10062 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10064 wxPyEndAllowThreads(__tstate
);
10065 if (PyErr_Occurred()) SWIG_fail
;
10067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
10082 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10083 PyObject
*resultobj
;
10084 wxPyVListBox
*result
;
10085 char *kwnames
[] = {
10089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
10091 if (!wxPyCheckForApp()) SWIG_fail
;
10092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10093 result
= (wxPyVListBox
*)new wxPyVListBox();
10095 wxPyEndAllowThreads(__tstate
);
10096 if (PyErr_Occurred()) SWIG_fail
;
10098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
10105 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10106 PyObject
*resultobj
;
10107 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10108 PyObject
*arg2
= (PyObject
*) 0 ;
10109 PyObject
*arg3
= (PyObject
*) 0 ;
10110 PyObject
* obj0
= 0 ;
10111 PyObject
* obj1
= 0 ;
10112 PyObject
* obj2
= 0 ;
10113 char *kwnames
[] = {
10114 (char *) "self",(char *) "self",(char *) "_class", NULL
10117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10124 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10126 wxPyEndAllowThreads(__tstate
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10129 Py_INCREF(Py_None
); resultobj
= Py_None
;
10136 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10137 PyObject
*resultobj
;
10138 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10139 wxWindow
*arg2
= (wxWindow
*) 0 ;
10140 int arg3
= (int) wxID_ANY
;
10141 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10142 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10143 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10144 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10145 long arg6
= (long) 0 ;
10146 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10147 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10151 bool temp7
= false ;
10152 PyObject
* obj0
= 0 ;
10153 PyObject
* obj1
= 0 ;
10154 PyObject
* obj2
= 0 ;
10155 PyObject
* obj3
= 0 ;
10156 PyObject
* obj4
= 0 ;
10157 PyObject
* obj5
= 0 ;
10158 PyObject
* obj6
= 0 ;
10159 char *kwnames
[] = {
10160 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10166 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10169 arg3
= (int)SWIG_As_int(obj2
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10175 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10181 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10185 arg6
= (long)SWIG_As_long(obj5
);
10186 if (PyErr_Occurred()) SWIG_fail
;
10190 arg7
= wxString_in_helper(obj6
);
10191 if (arg7
== NULL
) SWIG_fail
;
10196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10197 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10219 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10220 PyObject
*resultobj
;
10221 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10223 PyObject
* obj0
= 0 ;
10224 char *kwnames
[] = {
10225 (char *) "self", NULL
10228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
10229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10233 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
10235 wxPyEndAllowThreads(__tstate
);
10236 if (PyErr_Occurred()) SWIG_fail
;
10238 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10245 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10246 PyObject
*resultobj
;
10247 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10249 PyObject
* obj0
= 0 ;
10250 char *kwnames
[] = {
10251 (char *) "self", NULL
10254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
10255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10259 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
10261 wxPyEndAllowThreads(__tstate
);
10262 if (PyErr_Occurred()) SWIG_fail
;
10265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10273 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10274 PyObject
*resultobj
;
10275 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10277 PyObject
* obj0
= 0 ;
10278 char *kwnames
[] = {
10279 (char *) "self", NULL
10282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
10283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10287 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
10289 wxPyEndAllowThreads(__tstate
);
10290 if (PyErr_Occurred()) SWIG_fail
;
10292 resultobj
= SWIG_From_int((int)result
);
10299 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10300 PyObject
*resultobj
;
10301 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10304 PyObject
* obj0
= 0 ;
10305 PyObject
* obj1
= 0 ;
10306 char *kwnames
[] = {
10307 (char *) "self",(char *) "item", NULL
10310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
10311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10313 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10314 if (PyErr_Occurred()) SWIG_fail
;
10316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10317 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
10319 wxPyEndAllowThreads(__tstate
);
10320 if (PyErr_Occurred()) SWIG_fail
;
10323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10331 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10332 PyObject
*resultobj
;
10333 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10336 PyObject
* obj0
= 0 ;
10337 PyObject
* obj1
= 0 ;
10338 char *kwnames
[] = {
10339 (char *) "self",(char *) "item", NULL
10342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10345 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10346 if (PyErr_Occurred()) SWIG_fail
;
10348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10349 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10351 wxPyEndAllowThreads(__tstate
);
10352 if (PyErr_Occurred()) SWIG_fail
;
10355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10363 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10364 PyObject
*resultobj
;
10365 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10367 PyObject
* obj0
= 0 ;
10368 char *kwnames
[] = {
10369 (char *) "self", NULL
10372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10377 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10379 wxPyEndAllowThreads(__tstate
);
10380 if (PyErr_Occurred()) SWIG_fail
;
10382 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10389 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10390 PyObject
*resultobj
;
10391 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10393 PyObject
* obj0
= 0 ;
10394 char *kwnames
[] = {
10395 (char *) "self", NULL
10398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
10399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10403 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
10405 wxPyEndAllowThreads(__tstate
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10408 resultobj
= result
;
10415 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10416 PyObject
*resultobj
;
10417 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10418 unsigned long arg2
;
10420 PyObject
* obj0
= 0 ;
10421 PyObject
* obj1
= 0 ;
10422 char *kwnames
[] = {
10423 (char *) "self",(char *) "cookie", NULL
10426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10429 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
10430 if (PyErr_Occurred()) SWIG_fail
;
10432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10433 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
10435 wxPyEndAllowThreads(__tstate
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10438 resultobj
= result
;
10445 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10446 PyObject
*resultobj
;
10447 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10449 PyObject
* obj0
= 0 ;
10450 char *kwnames
[] = {
10451 (char *) "self", NULL
10454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10459 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10461 wxPyEndAllowThreads(__tstate
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10465 wxPoint
* resultptr
;
10466 resultptr
= new wxPoint((wxPoint
&) result
);
10467 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10475 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10476 PyObject
*resultobj
;
10477 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10479 PyObject
* obj0
= 0 ;
10480 char *kwnames
[] = {
10481 (char *) "self", NULL
10484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10491 result
= (wxColour
*) &_result_ref
;
10494 wxPyEndAllowThreads(__tstate
);
10495 if (PyErr_Occurred()) SWIG_fail
;
10497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10504 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10505 PyObject
*resultobj
;
10506 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10508 PyObject
* obj0
= 0 ;
10509 PyObject
* obj1
= 0 ;
10510 char *kwnames
[] = {
10511 (char *) "self",(char *) "count", NULL
10514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10517 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10518 if (PyErr_Occurred()) SWIG_fail
;
10520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10521 (arg1
)->SetItemCount(arg2
);
10523 wxPyEndAllowThreads(__tstate
);
10524 if (PyErr_Occurred()) SWIG_fail
;
10526 Py_INCREF(Py_None
); resultobj
= Py_None
;
10533 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10534 PyObject
*resultobj
;
10535 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10536 PyObject
* obj0
= 0 ;
10537 char *kwnames
[] = {
10538 (char *) "self", NULL
10541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10551 Py_INCREF(Py_None
); resultobj
= Py_None
;
10558 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10559 PyObject
*resultobj
;
10560 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10562 PyObject
* obj0
= 0 ;
10563 PyObject
* obj1
= 0 ;
10564 char *kwnames
[] = {
10565 (char *) "self",(char *) "selection", NULL
10568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10571 arg2
= (int)SWIG_As_int(obj1
);
10572 if (PyErr_Occurred()) SWIG_fail
;
10574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10575 (arg1
)->SetSelection(arg2
);
10577 wxPyEndAllowThreads(__tstate
);
10578 if (PyErr_Occurred()) SWIG_fail
;
10580 Py_INCREF(Py_None
); resultobj
= Py_None
;
10587 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10588 PyObject
*resultobj
;
10589 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10591 bool arg3
= (bool) true ;
10593 PyObject
* obj0
= 0 ;
10594 PyObject
* obj1
= 0 ;
10595 PyObject
* obj2
= 0 ;
10596 char *kwnames
[] = {
10597 (char *) "self",(char *) "item",(char *) "select", NULL
10600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10603 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10604 if (PyErr_Occurred()) SWIG_fail
;
10606 arg3
= (bool)SWIG_As_bool(obj2
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10611 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10613 wxPyEndAllowThreads(__tstate
);
10614 if (PyErr_Occurred()) SWIG_fail
;
10617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10625 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10626 PyObject
*resultobj
;
10627 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10631 PyObject
* obj0
= 0 ;
10632 PyObject
* obj1
= 0 ;
10633 PyObject
* obj2
= 0 ;
10634 char *kwnames
[] = {
10635 (char *) "self",(char *) "from",(char *) "to", NULL
10638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10641 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10643 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
10644 if (PyErr_Occurred()) SWIG_fail
;
10646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10647 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10649 wxPyEndAllowThreads(__tstate
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10661 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10662 PyObject
*resultobj
;
10663 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10665 PyObject
* obj0
= 0 ;
10666 PyObject
* obj1
= 0 ;
10667 char *kwnames
[] = {
10668 (char *) "self",(char *) "item", NULL
10671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10674 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10675 if (PyErr_Occurred()) SWIG_fail
;
10677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10678 (arg1
)->Toggle(arg2
);
10680 wxPyEndAllowThreads(__tstate
);
10681 if (PyErr_Occurred()) SWIG_fail
;
10683 Py_INCREF(Py_None
); resultobj
= Py_None
;
10690 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10691 PyObject
*resultobj
;
10692 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10694 PyObject
* obj0
= 0 ;
10695 char *kwnames
[] = {
10696 (char *) "self", NULL
10699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10704 result
= (bool)(arg1
)->SelectAll();
10706 wxPyEndAllowThreads(__tstate
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10718 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10719 PyObject
*resultobj
;
10720 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10722 PyObject
* obj0
= 0 ;
10723 char *kwnames
[] = {
10724 (char *) "self", NULL
10727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10732 result
= (bool)(arg1
)->DeselectAll();
10734 wxPyEndAllowThreads(__tstate
);
10735 if (PyErr_Occurred()) SWIG_fail
;
10738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10746 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10747 PyObject
*resultobj
;
10748 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10749 wxPoint
*arg2
= 0 ;
10751 PyObject
* obj0
= 0 ;
10752 PyObject
* obj1
= 0 ;
10753 char *kwnames
[] = {
10754 (char *) "self",(char *) "pt", NULL
10757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10762 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10766 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10768 wxPyEndAllowThreads(__tstate
);
10769 if (PyErr_Occurred()) SWIG_fail
;
10771 Py_INCREF(Py_None
); resultobj
= Py_None
;
10778 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
*resultobj
;
10780 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10783 PyObject
* obj0
= 0 ;
10784 PyObject
* obj1
= 0 ;
10785 PyObject
* obj2
= 0 ;
10786 char *kwnames
[] = {
10787 (char *) "self",(char *) "x",(char *) "y", NULL
10790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10793 arg2
= (int)SWIG_As_int(obj1
);
10794 if (PyErr_Occurred()) SWIG_fail
;
10795 arg3
= (int)SWIG_As_int(obj2
);
10796 if (PyErr_Occurred()) SWIG_fail
;
10798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10799 (arg1
)->SetMargins(arg2
,arg3
);
10801 wxPyEndAllowThreads(__tstate
);
10802 if (PyErr_Occurred()) SWIG_fail
;
10804 Py_INCREF(Py_None
); resultobj
= Py_None
;
10811 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10812 PyObject
*resultobj
;
10813 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10814 wxColour
*arg2
= 0 ;
10816 PyObject
* obj0
= 0 ;
10817 PyObject
* obj1
= 0 ;
10818 char *kwnames
[] = {
10819 (char *) "self",(char *) "col", NULL
10822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10827 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10831 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10833 wxPyEndAllowThreads(__tstate
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10836 Py_INCREF(Py_None
); resultobj
= Py_None
;
10843 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
10845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10846 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10848 return Py_BuildValue((char *)"");
10850 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10851 PyObject
*resultobj
;
10852 wxWindow
*arg1
= (wxWindow
*) 0 ;
10853 int arg2
= (int) wxID_ANY
;
10854 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10855 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10856 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10857 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10858 long arg5
= (long) 0 ;
10859 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10860 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10861 wxPyHtmlListBox
*result
;
10864 bool temp6
= false ;
10865 PyObject
* obj0
= 0 ;
10866 PyObject
* obj1
= 0 ;
10867 PyObject
* obj2
= 0 ;
10868 PyObject
* obj3
= 0 ;
10869 PyObject
* obj4
= 0 ;
10870 PyObject
* obj5
= 0 ;
10871 char *kwnames
[] = {
10872 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10879 arg2
= (int)SWIG_As_int(obj1
);
10880 if (PyErr_Occurred()) SWIG_fail
;
10885 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10891 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10895 arg5
= (long)SWIG_As_long(obj4
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10900 arg6
= wxString_in_helper(obj5
);
10901 if (arg6
== NULL
) SWIG_fail
;
10906 if (!wxPyCheckForApp()) SWIG_fail
;
10907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10908 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10928 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10929 PyObject
*resultobj
;
10930 wxPyHtmlListBox
*result
;
10931 char *kwnames
[] = {
10935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10937 if (!wxPyCheckForApp()) SWIG_fail
;
10938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10939 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10941 wxPyEndAllowThreads(__tstate
);
10942 if (PyErr_Occurred()) SWIG_fail
;
10944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10951 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10952 PyObject
*resultobj
;
10953 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10954 PyObject
*arg2
= (PyObject
*) 0 ;
10955 PyObject
*arg3
= (PyObject
*) 0 ;
10956 PyObject
* obj0
= 0 ;
10957 PyObject
* obj1
= 0 ;
10958 PyObject
* obj2
= 0 ;
10959 char *kwnames
[] = {
10960 (char *) "self",(char *) "self",(char *) "_class", NULL
10963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10970 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10972 wxPyEndAllowThreads(__tstate
);
10973 if (PyErr_Occurred()) SWIG_fail
;
10975 Py_INCREF(Py_None
); resultobj
= Py_None
;
10982 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10983 PyObject
*resultobj
;
10984 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10985 wxWindow
*arg2
= (wxWindow
*) 0 ;
10986 int arg3
= (int) wxID_ANY
;
10987 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10988 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10989 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10990 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10991 long arg6
= (long) 0 ;
10992 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10993 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10997 bool temp7
= false ;
10998 PyObject
* obj0
= 0 ;
10999 PyObject
* obj1
= 0 ;
11000 PyObject
* obj2
= 0 ;
11001 PyObject
* obj3
= 0 ;
11002 PyObject
* obj4
= 0 ;
11003 PyObject
* obj5
= 0 ;
11004 PyObject
* obj6
= 0 ;
11005 char *kwnames
[] = {
11006 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11012 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11015 arg3
= (int)SWIG_As_int(obj2
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11021 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11027 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11031 arg6
= (long)SWIG_As_long(obj5
);
11032 if (PyErr_Occurred()) SWIG_fail
;
11036 arg7
= wxString_in_helper(obj6
);
11037 if (arg7
== NULL
) SWIG_fail
;
11042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11043 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11045 wxPyEndAllowThreads(__tstate
);
11046 if (PyErr_Occurred()) SWIG_fail
;
11049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11065 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11066 PyObject
*resultobj
;
11067 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11068 PyObject
* obj0
= 0 ;
11069 char *kwnames
[] = {
11070 (char *) "self", NULL
11073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
11074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 (arg1
)->RefreshAll();
11080 wxPyEndAllowThreads(__tstate
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11083 Py_INCREF(Py_None
); resultobj
= Py_None
;
11090 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11091 PyObject
*resultobj
;
11092 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11094 PyObject
* obj0
= 0 ;
11095 PyObject
* obj1
= 0 ;
11096 char *kwnames
[] = {
11097 (char *) "self",(char *) "count", NULL
11100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11103 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11107 (arg1
)->SetItemCount(arg2
);
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11112 Py_INCREF(Py_None
); resultobj
= Py_None
;
11119 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11120 PyObject
*resultobj
;
11121 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11122 wxFileSystem
*result
;
11123 PyObject
* obj0
= 0 ;
11124 char *kwnames
[] = {
11125 (char *) "self", NULL
11128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
11129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
11135 result
= (wxFileSystem
*) &_result_ref
;
11138 wxPyEndAllowThreads(__tstate
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
11148 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
11150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11151 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
11153 return Py_BuildValue((char *)"");
11155 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11156 PyObject
*resultobj
;
11157 wxPyTaskBarIcon
*result
;
11158 char *kwnames
[] = {
11162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
11164 if (!wxPyCheckForApp()) SWIG_fail
;
11165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11166 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
11168 wxPyEndAllowThreads(__tstate
);
11169 if (PyErr_Occurred()) SWIG_fail
;
11171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
11178 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11179 PyObject
*resultobj
;
11180 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11181 PyObject
*arg2
= (PyObject
*) 0 ;
11182 PyObject
*arg3
= (PyObject
*) 0 ;
11184 PyObject
* obj0
= 0 ;
11185 PyObject
* obj1
= 0 ;
11186 PyObject
* obj2
= 0 ;
11187 PyObject
* obj3
= 0 ;
11188 char *kwnames
[] = {
11189 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11197 arg4
= (int)SWIG_As_int(obj3
);
11198 if (PyErr_Occurred()) SWIG_fail
;
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
11203 wxPyEndAllowThreads(__tstate
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11206 Py_INCREF(Py_None
); resultobj
= Py_None
;
11213 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11214 PyObject
*resultobj
;
11215 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11216 PyObject
* obj0
= 0 ;
11217 char *kwnames
[] = {
11218 (char *) "self", NULL
11221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
11222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11226 wxPyTaskBarIcon_Destroy(arg1
);
11228 wxPyEndAllowThreads(__tstate
);
11229 if (PyErr_Occurred()) SWIG_fail
;
11231 Py_INCREF(Py_None
); resultobj
= Py_None
;
11238 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11239 PyObject
*resultobj
;
11240 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11242 PyObject
* obj0
= 0 ;
11243 char *kwnames
[] = {
11244 (char *) "self", NULL
11247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
11248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11252 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
11254 wxPyEndAllowThreads(__tstate
);
11255 if (PyErr_Occurred()) SWIG_fail
;
11258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11266 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11267 PyObject
*resultobj
;
11268 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11270 PyObject
* obj0
= 0 ;
11271 char *kwnames
[] = {
11272 (char *) "self", NULL
11275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
11276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11280 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
11282 wxPyEndAllowThreads(__tstate
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11294 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11295 PyObject
*resultobj
;
11296 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11298 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11299 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11301 bool temp3
= false ;
11302 PyObject
* obj0
= 0 ;
11303 PyObject
* obj1
= 0 ;
11304 PyObject
* obj2
= 0 ;
11305 char *kwnames
[] = {
11306 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11312 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11313 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11315 if (arg2
== NULL
) {
11316 PyErr_SetString(PyExc_TypeError
,"null reference");
11321 arg3
= wxString_in_helper(obj2
);
11322 if (arg3
== NULL
) SWIG_fail
;
11327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11328 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
11330 wxPyEndAllowThreads(__tstate
);
11331 if (PyErr_Occurred()) SWIG_fail
;
11334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11350 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11351 PyObject
*resultobj
;
11352 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11354 PyObject
* obj0
= 0 ;
11355 char *kwnames
[] = {
11356 (char *) "self", NULL
11359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
11360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11364 result
= (bool)(arg1
)->RemoveIcon();
11366 wxPyEndAllowThreads(__tstate
);
11367 if (PyErr_Occurred()) SWIG_fail
;
11370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11378 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11379 PyObject
*resultobj
;
11380 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11381 wxMenu
*arg2
= (wxMenu
*) 0 ;
11383 PyObject
* obj0
= 0 ;
11384 PyObject
* obj1
= 0 ;
11385 char *kwnames
[] = {
11386 (char *) "self",(char *) "menu", NULL
11389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
11390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
11393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11396 result
= (bool)(arg1
)->PopupMenu(arg2
);
11398 wxPyEndAllowThreads(__tstate
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11410 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
11412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11413 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
11415 return Py_BuildValue((char *)"");
11417 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11418 PyObject
*resultobj
;
11420 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
11421 wxTaskBarIconEvent
*result
;
11422 PyObject
* obj0
= 0 ;
11423 PyObject
* obj1
= 0 ;
11424 char *kwnames
[] = {
11425 (char *) "evtType",(char *) "tbIcon", NULL
11428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11429 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11430 if (PyErr_Occurred()) SWIG_fail
;
11431 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
11432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11435 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
11437 wxPyEndAllowThreads(__tstate
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
11447 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
11449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11450 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
11452 return Py_BuildValue((char *)"");
11454 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
11455 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
11460 static PyObject
*_wrap_FileSelectorPromptStr_get() {
11465 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11467 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11474 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
11475 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
11480 static PyObject
*_wrap_DirSelectorPromptStr_get() {
11485 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11487 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11494 static int _wrap_DirDialogNameStr_set(PyObject
*) {
11495 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11500 static PyObject
*_wrap_DirDialogNameStr_get() {
11505 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11507 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11514 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
11515 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11520 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11525 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11527 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11534 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
11535 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11540 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11545 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11547 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11554 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
11555 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11560 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11565 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11567 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11574 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11575 PyObject
*resultobj
;
11576 wxColourData
*result
;
11577 char *kwnames
[] = {
11581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11584 result
= (wxColourData
*)new wxColourData();
11586 wxPyEndAllowThreads(__tstate
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11596 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11597 PyObject
*resultobj
;
11598 wxColourData
*arg1
= (wxColourData
*) 0 ;
11599 PyObject
* obj0
= 0 ;
11600 char *kwnames
[] = {
11601 (char *) "self", NULL
11604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11611 wxPyEndAllowThreads(__tstate
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11614 Py_INCREF(Py_None
); resultobj
= Py_None
;
11621 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11622 PyObject
*resultobj
;
11623 wxColourData
*arg1
= (wxColourData
*) 0 ;
11625 PyObject
* obj0
= 0 ;
11626 char *kwnames
[] = {
11627 (char *) "self", NULL
11630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11635 result
= (bool)(arg1
)->GetChooseFull();
11637 wxPyEndAllowThreads(__tstate
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11649 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11650 PyObject
*resultobj
;
11651 wxColourData
*arg1
= (wxColourData
*) 0 ;
11653 PyObject
* obj0
= 0 ;
11654 char *kwnames
[] = {
11655 (char *) "self", NULL
11658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11663 result
= (arg1
)->GetColour();
11665 wxPyEndAllowThreads(__tstate
);
11666 if (PyErr_Occurred()) SWIG_fail
;
11669 wxColour
* resultptr
;
11670 resultptr
= new wxColour((wxColour
&) result
);
11671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11679 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11680 PyObject
*resultobj
;
11681 wxColourData
*arg1
= (wxColourData
*) 0 ;
11684 PyObject
* obj0
= 0 ;
11685 PyObject
* obj1
= 0 ;
11686 char *kwnames
[] = {
11687 (char *) "self",(char *) "i", NULL
11690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11693 arg2
= (int)SWIG_As_int(obj1
);
11694 if (PyErr_Occurred()) SWIG_fail
;
11696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11697 result
= (arg1
)->GetCustomColour(arg2
);
11699 wxPyEndAllowThreads(__tstate
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11703 wxColour
* resultptr
;
11704 resultptr
= new wxColour((wxColour
&) result
);
11705 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11713 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11714 PyObject
*resultobj
;
11715 wxColourData
*arg1
= (wxColourData
*) 0 ;
11717 PyObject
* obj0
= 0 ;
11718 PyObject
* obj1
= 0 ;
11719 char *kwnames
[] = {
11720 (char *) "self",(char *) "flag", NULL
11723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11726 arg2
= (int)SWIG_As_int(obj1
);
11727 if (PyErr_Occurred()) SWIG_fail
;
11729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11730 (arg1
)->SetChooseFull(arg2
);
11732 wxPyEndAllowThreads(__tstate
);
11733 if (PyErr_Occurred()) SWIG_fail
;
11735 Py_INCREF(Py_None
); resultobj
= Py_None
;
11742 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11743 PyObject
*resultobj
;
11744 wxColourData
*arg1
= (wxColourData
*) 0 ;
11745 wxColour
*arg2
= 0 ;
11747 PyObject
* obj0
= 0 ;
11748 PyObject
* obj1
= 0 ;
11749 char *kwnames
[] = {
11750 (char *) "self",(char *) "colour", NULL
11753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11758 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11762 (arg1
)->SetColour((wxColour
const &)*arg2
);
11764 wxPyEndAllowThreads(__tstate
);
11765 if (PyErr_Occurred()) SWIG_fail
;
11767 Py_INCREF(Py_None
); resultobj
= Py_None
;
11774 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11775 PyObject
*resultobj
;
11776 wxColourData
*arg1
= (wxColourData
*) 0 ;
11778 wxColour
*arg3
= 0 ;
11780 PyObject
* obj0
= 0 ;
11781 PyObject
* obj1
= 0 ;
11782 PyObject
* obj2
= 0 ;
11783 char *kwnames
[] = {
11784 (char *) "self",(char *) "i",(char *) "colour", NULL
11787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11790 arg2
= (int)SWIG_As_int(obj1
);
11791 if (PyErr_Occurred()) SWIG_fail
;
11794 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11798 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11800 wxPyEndAllowThreads(__tstate
);
11801 if (PyErr_Occurred()) SWIG_fail
;
11803 Py_INCREF(Py_None
); resultobj
= Py_None
;
11810 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
11812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11813 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11815 return Py_BuildValue((char *)"");
11817 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11818 PyObject
*resultobj
;
11819 wxWindow
*arg1
= (wxWindow
*) 0 ;
11820 wxColourData
*arg2
= (wxColourData
*) NULL
;
11821 wxColourDialog
*result
;
11822 PyObject
* obj0
= 0 ;
11823 PyObject
* obj1
= 0 ;
11824 char *kwnames
[] = {
11825 (char *) "parent",(char *) "data", NULL
11828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11832 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11836 if (!wxPyCheckForApp()) SWIG_fail
;
11837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11838 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11840 wxPyEndAllowThreads(__tstate
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11850 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11851 PyObject
*resultobj
;
11852 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11853 wxColourData
*result
;
11854 PyObject
* obj0
= 0 ;
11855 char *kwnames
[] = {
11856 (char *) "self", NULL
11859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11865 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11866 result
= (wxColourData
*) &_result_ref
;
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11879 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
11881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11882 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11884 return Py_BuildValue((char *)"");
11886 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11887 PyObject
*resultobj
;
11888 wxWindow
*arg1
= (wxWindow
*) 0 ;
11889 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11890 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11891 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11892 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11893 long arg4
= (long) 0 ;
11894 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11895 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11896 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11897 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11898 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11899 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11900 wxDirDialog
*result
;
11901 bool temp2
= false ;
11902 bool temp3
= false ;
11905 bool temp7
= false ;
11906 PyObject
* obj0
= 0 ;
11907 PyObject
* obj1
= 0 ;
11908 PyObject
* obj2
= 0 ;
11909 PyObject
* obj3
= 0 ;
11910 PyObject
* obj4
= 0 ;
11911 PyObject
* obj5
= 0 ;
11912 PyObject
* obj6
= 0 ;
11913 char *kwnames
[] = {
11914 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11922 arg2
= wxString_in_helper(obj1
);
11923 if (arg2
== NULL
) SWIG_fail
;
11929 arg3
= wxString_in_helper(obj2
);
11930 if (arg3
== NULL
) SWIG_fail
;
11935 arg4
= (long)SWIG_As_long(obj3
);
11936 if (PyErr_Occurred()) SWIG_fail
;
11941 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11947 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11952 arg7
= wxString_in_helper(obj6
);
11953 if (arg7
== NULL
) SWIG_fail
;
11958 if (!wxPyCheckForApp()) SWIG_fail
;
11959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11960 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11962 wxPyEndAllowThreads(__tstate
);
11963 if (PyErr_Occurred()) SWIG_fail
;
11965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11996 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11997 PyObject
*resultobj
;
11998 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12000 PyObject
* obj0
= 0 ;
12001 char *kwnames
[] = {
12002 (char *) "self", NULL
12005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12010 result
= (arg1
)->GetPath();
12012 wxPyEndAllowThreads(__tstate
);
12013 if (PyErr_Occurred()) SWIG_fail
;
12017 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12019 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12028 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12029 PyObject
*resultobj
;
12030 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12032 PyObject
* obj0
= 0 ;
12033 char *kwnames
[] = {
12034 (char *) "self", NULL
12037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12042 result
= (arg1
)->GetMessage();
12044 wxPyEndAllowThreads(__tstate
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12060 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12061 PyObject
*resultobj
;
12062 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12064 PyObject
* obj0
= 0 ;
12065 char *kwnames
[] = {
12066 (char *) "self", NULL
12069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12074 result
= (long)(arg1
)->GetStyle();
12076 wxPyEndAllowThreads(__tstate
);
12077 if (PyErr_Occurred()) SWIG_fail
;
12079 resultobj
= SWIG_From_long((long)result
);
12086 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12087 PyObject
*resultobj
;
12088 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12089 wxString
*arg2
= 0 ;
12090 bool temp2
= false ;
12091 PyObject
* obj0
= 0 ;
12092 PyObject
* obj1
= 0 ;
12093 char *kwnames
[] = {
12094 (char *) "self",(char *) "message", NULL
12097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12101 arg2
= wxString_in_helper(obj1
);
12102 if (arg2
== NULL
) SWIG_fail
;
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 (arg1
)->SetMessage((wxString
const &)*arg2
);
12109 wxPyEndAllowThreads(__tstate
);
12110 if (PyErr_Occurred()) SWIG_fail
;
12112 Py_INCREF(Py_None
); resultobj
= Py_None
;
12127 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12128 PyObject
*resultobj
;
12129 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12130 wxString
*arg2
= 0 ;
12131 bool temp2
= false ;
12132 PyObject
* obj0
= 0 ;
12133 PyObject
* obj1
= 0 ;
12134 char *kwnames
[] = {
12135 (char *) "self",(char *) "path", NULL
12138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12142 arg2
= wxString_in_helper(obj1
);
12143 if (arg2
== NULL
) SWIG_fail
;
12147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12148 (arg1
)->SetPath((wxString
const &)*arg2
);
12150 wxPyEndAllowThreads(__tstate
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12153 Py_INCREF(Py_None
); resultobj
= Py_None
;
12168 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
12170 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12171 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
12173 return Py_BuildValue((char *)"");
12175 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12176 PyObject
*resultobj
;
12177 wxWindow
*arg1
= (wxWindow
*) 0 ;
12178 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
12179 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12180 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12181 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12182 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12183 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12184 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
12185 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
12186 long arg6
= (long) 0 ;
12187 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12188 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12189 wxFileDialog
*result
;
12190 bool temp2
= false ;
12191 bool temp3
= false ;
12192 bool temp4
= false ;
12193 bool temp5
= false ;
12195 PyObject
* obj0
= 0 ;
12196 PyObject
* obj1
= 0 ;
12197 PyObject
* obj2
= 0 ;
12198 PyObject
* obj3
= 0 ;
12199 PyObject
* obj4
= 0 ;
12200 PyObject
* obj5
= 0 ;
12201 PyObject
* obj6
= 0 ;
12202 char *kwnames
[] = {
12203 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12211 arg2
= wxString_in_helper(obj1
);
12212 if (arg2
== NULL
) SWIG_fail
;
12218 arg3
= wxString_in_helper(obj2
);
12219 if (arg3
== NULL
) SWIG_fail
;
12225 arg4
= wxString_in_helper(obj3
);
12226 if (arg4
== NULL
) SWIG_fail
;
12232 arg5
= wxString_in_helper(obj4
);
12233 if (arg5
== NULL
) SWIG_fail
;
12238 arg6
= (long)SWIG_As_long(obj5
);
12239 if (PyErr_Occurred()) SWIG_fail
;
12244 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12248 if (!wxPyCheckForApp()) SWIG_fail
;
12249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12250 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
12252 wxPyEndAllowThreads(__tstate
);
12253 if (PyErr_Occurred()) SWIG_fail
;
12255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
12294 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12295 PyObject
*resultobj
;
12296 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12297 wxString
*arg2
= 0 ;
12298 bool temp2
= false ;
12299 PyObject
* obj0
= 0 ;
12300 PyObject
* obj1
= 0 ;
12301 char *kwnames
[] = {
12302 (char *) "self",(char *) "message", NULL
12305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12309 arg2
= wxString_in_helper(obj1
);
12310 if (arg2
== NULL
) SWIG_fail
;
12314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12315 (arg1
)->SetMessage((wxString
const &)*arg2
);
12317 wxPyEndAllowThreads(__tstate
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12320 Py_INCREF(Py_None
); resultobj
= Py_None
;
12335 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12336 PyObject
*resultobj
;
12337 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12338 wxString
*arg2
= 0 ;
12339 bool temp2
= false ;
12340 PyObject
* obj0
= 0 ;
12341 PyObject
* obj1
= 0 ;
12342 char *kwnames
[] = {
12343 (char *) "self",(char *) "path", NULL
12346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12350 arg2
= wxString_in_helper(obj1
);
12351 if (arg2
== NULL
) SWIG_fail
;
12355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12356 (arg1
)->SetPath((wxString
const &)*arg2
);
12358 wxPyEndAllowThreads(__tstate
);
12359 if (PyErr_Occurred()) SWIG_fail
;
12361 Py_INCREF(Py_None
); resultobj
= Py_None
;
12376 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12377 PyObject
*resultobj
;
12378 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12379 wxString
*arg2
= 0 ;
12380 bool temp2
= false ;
12381 PyObject
* obj0
= 0 ;
12382 PyObject
* obj1
= 0 ;
12383 char *kwnames
[] = {
12384 (char *) "self",(char *) "dir", NULL
12387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
12388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12391 arg2
= wxString_in_helper(obj1
);
12392 if (arg2
== NULL
) SWIG_fail
;
12396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12397 (arg1
)->SetDirectory((wxString
const &)*arg2
);
12399 wxPyEndAllowThreads(__tstate
);
12400 if (PyErr_Occurred()) SWIG_fail
;
12402 Py_INCREF(Py_None
); resultobj
= Py_None
;
12417 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12418 PyObject
*resultobj
;
12419 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12420 wxString
*arg2
= 0 ;
12421 bool temp2
= false ;
12422 PyObject
* obj0
= 0 ;
12423 PyObject
* obj1
= 0 ;
12424 char *kwnames
[] = {
12425 (char *) "self",(char *) "name", NULL
12428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
12429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12432 arg2
= wxString_in_helper(obj1
);
12433 if (arg2
== NULL
) SWIG_fail
;
12437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12438 (arg1
)->SetFilename((wxString
const &)*arg2
);
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12443 Py_INCREF(Py_None
); resultobj
= Py_None
;
12458 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12459 PyObject
*resultobj
;
12460 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12461 wxString
*arg2
= 0 ;
12462 bool temp2
= false ;
12463 PyObject
* obj0
= 0 ;
12464 PyObject
* obj1
= 0 ;
12465 char *kwnames
[] = {
12466 (char *) "self",(char *) "wildCard", NULL
12469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
12470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12473 arg2
= wxString_in_helper(obj1
);
12474 if (arg2
== NULL
) SWIG_fail
;
12478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12479 (arg1
)->SetWildcard((wxString
const &)*arg2
);
12481 wxPyEndAllowThreads(__tstate
);
12482 if (PyErr_Occurred()) SWIG_fail
;
12484 Py_INCREF(Py_None
); resultobj
= Py_None
;
12499 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12500 PyObject
*resultobj
;
12501 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12503 PyObject
* obj0
= 0 ;
12504 PyObject
* obj1
= 0 ;
12505 char *kwnames
[] = {
12506 (char *) "self",(char *) "style", NULL
12509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12512 arg2
= (long)SWIG_As_long(obj1
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12516 (arg1
)->SetStyle(arg2
);
12518 wxPyEndAllowThreads(__tstate
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12521 Py_INCREF(Py_None
); resultobj
= Py_None
;
12528 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12529 PyObject
*resultobj
;
12530 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12532 PyObject
* obj0
= 0 ;
12533 PyObject
* obj1
= 0 ;
12534 char *kwnames
[] = {
12535 (char *) "self",(char *) "filterIndex", NULL
12538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12541 arg2
= (int)SWIG_As_int(obj1
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12545 (arg1
)->SetFilterIndex(arg2
);
12547 wxPyEndAllowThreads(__tstate
);
12548 if (PyErr_Occurred()) SWIG_fail
;
12550 Py_INCREF(Py_None
); resultobj
= Py_None
;
12557 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12558 PyObject
*resultobj
;
12559 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12561 PyObject
* obj0
= 0 ;
12562 char *kwnames
[] = {
12563 (char *) "self", NULL
12566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12571 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12573 wxPyEndAllowThreads(__tstate
);
12574 if (PyErr_Occurred()) SWIG_fail
;
12578 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12580 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12589 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12590 PyObject
*resultobj
;
12591 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12593 PyObject
* obj0
= 0 ;
12594 char *kwnames
[] = {
12595 (char *) "self", NULL
12598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12603 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12605 wxPyEndAllowThreads(__tstate
);
12606 if (PyErr_Occurred()) SWIG_fail
;
12610 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12612 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12621 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12622 PyObject
*resultobj
;
12623 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12625 PyObject
* obj0
= 0 ;
12626 char *kwnames
[] = {
12627 (char *) "self", NULL
12630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12637 wxPyEndAllowThreads(__tstate
);
12638 if (PyErr_Occurred()) SWIG_fail
;
12642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12653 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12654 PyObject
*resultobj
;
12655 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12657 PyObject
* obj0
= 0 ;
12658 char *kwnames
[] = {
12659 (char *) "self", NULL
12662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12667 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12669 wxPyEndAllowThreads(__tstate
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12674 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12676 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12685 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12686 PyObject
*resultobj
;
12687 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12689 PyObject
* obj0
= 0 ;
12690 char *kwnames
[] = {
12691 (char *) "self", NULL
12694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12699 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12701 wxPyEndAllowThreads(__tstate
);
12702 if (PyErr_Occurred()) SWIG_fail
;
12706 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12708 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12717 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12718 PyObject
*resultobj
;
12719 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12721 PyObject
* obj0
= 0 ;
12722 char *kwnames
[] = {
12723 (char *) "self", NULL
12726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12731 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12733 wxPyEndAllowThreads(__tstate
);
12734 if (PyErr_Occurred()) SWIG_fail
;
12736 resultobj
= SWIG_From_long((long)result
);
12743 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12744 PyObject
*resultobj
;
12745 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12747 PyObject
* obj0
= 0 ;
12748 char *kwnames
[] = {
12749 (char *) "self", NULL
12752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12757 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12759 wxPyEndAllowThreads(__tstate
);
12760 if (PyErr_Occurred()) SWIG_fail
;
12762 resultobj
= SWIG_From_int((int)result
);
12769 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12770 PyObject
*resultobj
;
12771 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12773 PyObject
* obj0
= 0 ;
12774 char *kwnames
[] = {
12775 (char *) "self", NULL
12778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12783 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12785 wxPyEndAllowThreads(__tstate
);
12786 if (PyErr_Occurred()) SWIG_fail
;
12788 resultobj
= result
;
12795 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12796 PyObject
*resultobj
;
12797 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12799 PyObject
* obj0
= 0 ;
12800 char *kwnames
[] = {
12801 (char *) "self", NULL
12804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12809 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12811 wxPyEndAllowThreads(__tstate
);
12812 if (PyErr_Occurred()) SWIG_fail
;
12814 resultobj
= result
;
12821 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
12823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12824 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12826 return Py_BuildValue((char *)"");
12828 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12829 PyObject
*resultobj
;
12830 wxWindow
*arg1
= (wxWindow
*) 0 ;
12831 wxString
*arg2
= 0 ;
12832 wxString
*arg3
= 0 ;
12833 int arg4
= (int) 0 ;
12834 wxString
*arg5
= (wxString
*) NULL
;
12835 long arg6
= (long) wxCHOICEDLG_STYLE
;
12836 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12837 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12838 wxMultiChoiceDialog
*result
;
12839 bool temp2
= false ;
12840 bool temp3
= false ;
12842 PyObject
* obj0
= 0 ;
12843 PyObject
* obj1
= 0 ;
12844 PyObject
* obj2
= 0 ;
12845 PyObject
* obj3
= 0 ;
12846 PyObject
* obj4
= 0 ;
12847 PyObject
* obj5
= 0 ;
12848 char *kwnames
[] = {
12849 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12856 arg2
= wxString_in_helper(obj1
);
12857 if (arg2
== NULL
) SWIG_fail
;
12861 arg3
= wxString_in_helper(obj2
);
12862 if (arg3
== NULL
) SWIG_fail
;
12867 arg4
= PyList_Size(obj3
);
12868 arg5
= wxString_LIST_helper(obj3
);
12869 if (arg5
== NULL
) SWIG_fail
;
12873 arg6
= (long)SWIG_As_long(obj4
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12879 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12883 if (!wxPyCheckForApp()) SWIG_fail
;
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12887 wxPyEndAllowThreads(__tstate
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12900 if (arg5
) delete [] arg5
;
12913 if (arg5
) delete [] arg5
;
12919 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12920 PyObject
*resultobj
;
12921 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12922 wxArrayInt
*arg2
= 0 ;
12923 bool temp2
= false ;
12924 PyObject
* obj0
= 0 ;
12925 PyObject
* obj1
= 0 ;
12926 char *kwnames
[] = {
12927 (char *) "self",(char *) "selections", NULL
12930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12934 if (! PySequence_Check(obj1
)) {
12935 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12938 arg2
= new wxArrayInt
;
12940 int i
, len
=PySequence_Length(obj1
);
12941 for (i
=0; i
<len
; i
++) {
12942 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12943 PyObject
* number
= PyNumber_Int(item
);
12944 arg2
->Add(PyInt_AS_LONG(number
));
12950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12951 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12953 wxPyEndAllowThreads(__tstate
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12956 Py_INCREF(Py_None
); resultobj
= Py_None
;
12958 if (temp2
) delete arg2
;
12963 if (temp2
) delete arg2
;
12969 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
*resultobj
;
12971 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12973 PyObject
* obj0
= 0 ;
12974 char *kwnames
[] = {
12975 (char *) "self", NULL
12978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12983 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12985 wxPyEndAllowThreads(__tstate
);
12986 if (PyErr_Occurred()) SWIG_fail
;
12988 resultobj
= result
;
12995 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
12997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12998 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
13000 return Py_BuildValue((char *)"");
13002 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13003 PyObject
*resultobj
;
13004 wxWindow
*arg1
= (wxWindow
*) 0 ;
13005 wxString
*arg2
= 0 ;
13006 wxString
*arg3
= 0 ;
13008 wxString
*arg5
= (wxString
*) 0 ;
13009 long arg6
= (long) wxCHOICEDLG_STYLE
;
13010 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13011 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13012 wxSingleChoiceDialog
*result
;
13013 bool temp2
= false ;
13014 bool temp3
= false ;
13016 PyObject
* obj0
= 0 ;
13017 PyObject
* obj1
= 0 ;
13018 PyObject
* obj2
= 0 ;
13019 PyObject
* obj3
= 0 ;
13020 PyObject
* obj4
= 0 ;
13021 PyObject
* obj5
= 0 ;
13022 char *kwnames
[] = {
13023 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
13026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13030 arg2
= wxString_in_helper(obj1
);
13031 if (arg2
== NULL
) SWIG_fail
;
13035 arg3
= wxString_in_helper(obj2
);
13036 if (arg3
== NULL
) SWIG_fail
;
13040 arg4
= PyList_Size(obj3
);
13041 arg5
= wxString_LIST_helper(obj3
);
13042 if (arg5
== NULL
) SWIG_fail
;
13045 arg6
= (long)SWIG_As_long(obj4
);
13046 if (PyErr_Occurred()) SWIG_fail
;
13051 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
13055 if (!wxPyCheckForApp()) SWIG_fail
;
13056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13057 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
13059 wxPyEndAllowThreads(__tstate
);
13060 if (PyErr_Occurred()) SWIG_fail
;
13062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
13072 if (arg5
) delete [] arg5
;
13085 if (arg5
) delete [] arg5
;
13091 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13092 PyObject
*resultobj
;
13093 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13095 PyObject
* obj0
= 0 ;
13096 char *kwnames
[] = {
13097 (char *) "self", NULL
13100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
13101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13105 result
= (int)(arg1
)->GetSelection();
13107 wxPyEndAllowThreads(__tstate
);
13108 if (PyErr_Occurred()) SWIG_fail
;
13110 resultobj
= SWIG_From_int((int)result
);
13117 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13118 PyObject
*resultobj
;
13119 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13121 PyObject
* obj0
= 0 ;
13122 char *kwnames
[] = {
13123 (char *) "self", NULL
13126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13131 result
= (arg1
)->GetStringSelection();
13133 wxPyEndAllowThreads(__tstate
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13138 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13140 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13149 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13150 PyObject
*resultobj
;
13151 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13153 PyObject
* obj0
= 0 ;
13154 PyObject
* obj1
= 0 ;
13155 char *kwnames
[] = {
13156 (char *) "self",(char *) "sel", NULL
13159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13162 arg2
= (int)SWIG_As_int(obj1
);
13163 if (PyErr_Occurred()) SWIG_fail
;
13165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13166 (arg1
)->SetSelection(arg2
);
13168 wxPyEndAllowThreads(__tstate
);
13169 if (PyErr_Occurred()) SWIG_fail
;
13171 Py_INCREF(Py_None
); resultobj
= Py_None
;
13178 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
13180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13181 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
13183 return Py_BuildValue((char *)"");
13185 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13186 PyObject
*resultobj
;
13187 wxWindow
*arg1
= (wxWindow
*) 0 ;
13188 wxString
*arg2
= 0 ;
13189 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
13190 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13191 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13192 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13193 long arg5
= (long) wxTextEntryDialogStyle
;
13194 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
13195 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
13196 wxTextEntryDialog
*result
;
13197 bool temp2
= false ;
13198 bool temp3
= false ;
13199 bool temp4
= false ;
13201 PyObject
* obj0
= 0 ;
13202 PyObject
* obj1
= 0 ;
13203 PyObject
* obj2
= 0 ;
13204 PyObject
* obj3
= 0 ;
13205 PyObject
* obj4
= 0 ;
13206 PyObject
* obj5
= 0 ;
13207 char *kwnames
[] = {
13208 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13215 arg2
= wxString_in_helper(obj1
);
13216 if (arg2
== NULL
) SWIG_fail
;
13221 arg3
= wxString_in_helper(obj2
);
13222 if (arg3
== NULL
) SWIG_fail
;
13228 arg4
= wxString_in_helper(obj3
);
13229 if (arg4
== NULL
) SWIG_fail
;
13234 arg5
= (long)SWIG_As_long(obj4
);
13235 if (PyErr_Occurred()) SWIG_fail
;
13240 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13244 if (!wxPyCheckForApp()) SWIG_fail
;
13245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13246 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
13248 wxPyEndAllowThreads(__tstate
);
13249 if (PyErr_Occurred()) SWIG_fail
;
13251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
13282 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13283 PyObject
*resultobj
;
13284 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13286 PyObject
* obj0
= 0 ;
13287 char *kwnames
[] = {
13288 (char *) "self", NULL
13291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
13292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13296 result
= (arg1
)->GetValue();
13298 wxPyEndAllowThreads(__tstate
);
13299 if (PyErr_Occurred()) SWIG_fail
;
13303 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13305 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13314 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13315 PyObject
*resultobj
;
13316 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13317 wxString
*arg2
= 0 ;
13318 bool temp2
= false ;
13319 PyObject
* obj0
= 0 ;
13320 PyObject
* obj1
= 0 ;
13321 char *kwnames
[] = {
13322 (char *) "self",(char *) "value", NULL
13325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13329 arg2
= wxString_in_helper(obj1
);
13330 if (arg2
== NULL
) SWIG_fail
;
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13335 (arg1
)->SetValue((wxString
const &)*arg2
);
13337 wxPyEndAllowThreads(__tstate
);
13338 if (PyErr_Occurred()) SWIG_fail
;
13340 Py_INCREF(Py_None
); resultobj
= Py_None
;
13355 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
13357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13358 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
13360 return Py_BuildValue((char *)"");
13362 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
13363 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
13368 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get() {
13373 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
13375 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
13382 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13383 PyObject
*resultobj
;
13384 wxWindow
*arg1
= (wxWindow
*) 0 ;
13385 wxString
*arg2
= 0 ;
13386 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
13387 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13388 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13389 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13390 long arg5
= (long) wxTextEntryDialogStyle
;
13391 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
13392 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
13393 wxPasswordEntryDialog
*result
;
13394 bool temp2
= false ;
13395 bool temp3
= false ;
13396 bool temp4
= false ;
13398 PyObject
* obj0
= 0 ;
13399 PyObject
* obj1
= 0 ;
13400 PyObject
* obj2
= 0 ;
13401 PyObject
* obj3
= 0 ;
13402 PyObject
* obj4
= 0 ;
13403 PyObject
* obj5
= 0 ;
13404 char *kwnames
[] = {
13405 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
13408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13412 arg2
= wxString_in_helper(obj1
);
13413 if (arg2
== NULL
) SWIG_fail
;
13418 arg3
= wxString_in_helper(obj2
);
13419 if (arg3
== NULL
) SWIG_fail
;
13425 arg4
= wxString_in_helper(obj3
);
13426 if (arg4
== NULL
) SWIG_fail
;
13431 arg5
= (long)SWIG_As_long(obj4
);
13432 if (PyErr_Occurred()) SWIG_fail
;
13437 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13442 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
13444 wxPyEndAllowThreads(__tstate
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
13478 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
13480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13481 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
13483 return Py_BuildValue((char *)"");
13485 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13486 PyObject
*resultobj
;
13487 wxFontData
*result
;
13488 char *kwnames
[] = {
13492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
13494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13495 result
= (wxFontData
*)new wxFontData();
13497 wxPyEndAllowThreads(__tstate
);
13498 if (PyErr_Occurred()) SWIG_fail
;
13500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
13507 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13508 PyObject
*resultobj
;
13509 wxFontData
*arg1
= (wxFontData
*) 0 ;
13510 PyObject
* obj0
= 0 ;
13511 char *kwnames
[] = {
13512 (char *) "self", NULL
13515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
13516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13522 wxPyEndAllowThreads(__tstate
);
13523 if (PyErr_Occurred()) SWIG_fail
;
13525 Py_INCREF(Py_None
); resultobj
= Py_None
;
13532 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13533 PyObject
*resultobj
;
13534 wxFontData
*arg1
= (wxFontData
*) 0 ;
13536 PyObject
* obj0
= 0 ;
13537 PyObject
* obj1
= 0 ;
13538 char *kwnames
[] = {
13539 (char *) "self",(char *) "enable", NULL
13542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
13543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13545 arg2
= (bool)SWIG_As_bool(obj1
);
13546 if (PyErr_Occurred()) SWIG_fail
;
13548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13549 (arg1
)->EnableEffects(arg2
);
13551 wxPyEndAllowThreads(__tstate
);
13552 if (PyErr_Occurred()) SWIG_fail
;
13554 Py_INCREF(Py_None
); resultobj
= Py_None
;
13561 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13562 PyObject
*resultobj
;
13563 wxFontData
*arg1
= (wxFontData
*) 0 ;
13565 PyObject
* obj0
= 0 ;
13566 char *kwnames
[] = {
13567 (char *) "self", NULL
13570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
13571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13575 result
= (bool)(arg1
)->GetAllowSymbols();
13577 wxPyEndAllowThreads(__tstate
);
13578 if (PyErr_Occurred()) SWIG_fail
;
13581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13589 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13590 PyObject
*resultobj
;
13591 wxFontData
*arg1
= (wxFontData
*) 0 ;
13593 PyObject
* obj0
= 0 ;
13594 char *kwnames
[] = {
13595 (char *) "self", NULL
13598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
13599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13603 result
= (arg1
)->GetColour();
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13609 wxColour
* resultptr
;
13610 resultptr
= new wxColour((wxColour
&) result
);
13611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13619 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13620 PyObject
*resultobj
;
13621 wxFontData
*arg1
= (wxFontData
*) 0 ;
13623 PyObject
* obj0
= 0 ;
13624 char *kwnames
[] = {
13625 (char *) "self", NULL
13628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13633 result
= (arg1
)->GetChosenFont();
13635 wxPyEndAllowThreads(__tstate
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13639 wxFont
* resultptr
;
13640 resultptr
= new wxFont((wxFont
&) result
);
13641 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13649 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13650 PyObject
*resultobj
;
13651 wxFontData
*arg1
= (wxFontData
*) 0 ;
13653 PyObject
* obj0
= 0 ;
13654 char *kwnames
[] = {
13655 (char *) "self", NULL
13658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13663 result
= (bool)(arg1
)->GetEnableEffects();
13665 wxPyEndAllowThreads(__tstate
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13677 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13678 PyObject
*resultobj
;
13679 wxFontData
*arg1
= (wxFontData
*) 0 ;
13681 PyObject
* obj0
= 0 ;
13682 char *kwnames
[] = {
13683 (char *) "self", NULL
13686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13691 result
= (arg1
)->GetInitialFont();
13693 wxPyEndAllowThreads(__tstate
);
13694 if (PyErr_Occurred()) SWIG_fail
;
13697 wxFont
* resultptr
;
13698 resultptr
= new wxFont((wxFont
&) result
);
13699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13707 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13708 PyObject
*resultobj
;
13709 wxFontData
*arg1
= (wxFontData
*) 0 ;
13711 PyObject
* obj0
= 0 ;
13712 char *kwnames
[] = {
13713 (char *) "self", NULL
13716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13721 result
= (bool)(arg1
)->GetShowHelp();
13723 wxPyEndAllowThreads(__tstate
);
13724 if (PyErr_Occurred()) SWIG_fail
;
13727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13735 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13736 PyObject
*resultobj
;
13737 wxFontData
*arg1
= (wxFontData
*) 0 ;
13739 PyObject
* obj0
= 0 ;
13740 PyObject
* obj1
= 0 ;
13741 char *kwnames
[] = {
13742 (char *) "self",(char *) "allowSymbols", NULL
13745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13748 arg2
= (bool)SWIG_As_bool(obj1
);
13749 if (PyErr_Occurred()) SWIG_fail
;
13751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13752 (arg1
)->SetAllowSymbols(arg2
);
13754 wxPyEndAllowThreads(__tstate
);
13755 if (PyErr_Occurred()) SWIG_fail
;
13757 Py_INCREF(Py_None
); resultobj
= Py_None
;
13764 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13765 PyObject
*resultobj
;
13766 wxFontData
*arg1
= (wxFontData
*) 0 ;
13768 PyObject
* obj0
= 0 ;
13769 PyObject
* obj1
= 0 ;
13770 char *kwnames
[] = {
13771 (char *) "self",(char *) "font", NULL
13774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13778 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13780 if (arg2
== NULL
) {
13781 PyErr_SetString(PyExc_TypeError
,"null reference");
13785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13786 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13788 wxPyEndAllowThreads(__tstate
);
13789 if (PyErr_Occurred()) SWIG_fail
;
13791 Py_INCREF(Py_None
); resultobj
= Py_None
;
13798 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13799 PyObject
*resultobj
;
13800 wxFontData
*arg1
= (wxFontData
*) 0 ;
13801 wxColour
*arg2
= 0 ;
13803 PyObject
* obj0
= 0 ;
13804 PyObject
* obj1
= 0 ;
13805 char *kwnames
[] = {
13806 (char *) "self",(char *) "colour", NULL
13809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13814 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13818 (arg1
)->SetColour((wxColour
const &)*arg2
);
13820 wxPyEndAllowThreads(__tstate
);
13821 if (PyErr_Occurred()) SWIG_fail
;
13823 Py_INCREF(Py_None
); resultobj
= Py_None
;
13830 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13831 PyObject
*resultobj
;
13832 wxFontData
*arg1
= (wxFontData
*) 0 ;
13834 PyObject
* obj0
= 0 ;
13835 PyObject
* obj1
= 0 ;
13836 char *kwnames
[] = {
13837 (char *) "self",(char *) "font", NULL
13840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13844 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13846 if (arg2
== NULL
) {
13847 PyErr_SetString(PyExc_TypeError
,"null reference");
13851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13852 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13854 wxPyEndAllowThreads(__tstate
);
13855 if (PyErr_Occurred()) SWIG_fail
;
13857 Py_INCREF(Py_None
); resultobj
= Py_None
;
13864 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13865 PyObject
*resultobj
;
13866 wxFontData
*arg1
= (wxFontData
*) 0 ;
13869 PyObject
* obj0
= 0 ;
13870 PyObject
* obj1
= 0 ;
13871 PyObject
* obj2
= 0 ;
13872 char *kwnames
[] = {
13873 (char *) "self",(char *) "min",(char *) "max", NULL
13876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13879 arg2
= (int)SWIG_As_int(obj1
);
13880 if (PyErr_Occurred()) SWIG_fail
;
13881 arg3
= (int)SWIG_As_int(obj2
);
13882 if (PyErr_Occurred()) SWIG_fail
;
13884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13885 (arg1
)->SetRange(arg2
,arg3
);
13887 wxPyEndAllowThreads(__tstate
);
13888 if (PyErr_Occurred()) SWIG_fail
;
13890 Py_INCREF(Py_None
); resultobj
= Py_None
;
13897 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13898 PyObject
*resultobj
;
13899 wxFontData
*arg1
= (wxFontData
*) 0 ;
13901 PyObject
* obj0
= 0 ;
13902 PyObject
* obj1
= 0 ;
13903 char *kwnames
[] = {
13904 (char *) "self",(char *) "showHelp", NULL
13907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13910 arg2
= (bool)SWIG_As_bool(obj1
);
13911 if (PyErr_Occurred()) SWIG_fail
;
13913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13914 (arg1
)->SetShowHelp(arg2
);
13916 wxPyEndAllowThreads(__tstate
);
13917 if (PyErr_Occurred()) SWIG_fail
;
13919 Py_INCREF(Py_None
); resultobj
= Py_None
;
13926 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
13928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13929 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13931 return Py_BuildValue((char *)"");
13933 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13934 PyObject
*resultobj
;
13935 wxWindow
*arg1
= (wxWindow
*) 0 ;
13936 wxFontData
*arg2
= 0 ;
13937 wxFontDialog
*result
;
13938 PyObject
* obj0
= 0 ;
13939 PyObject
* obj1
= 0 ;
13940 char *kwnames
[] = {
13941 (char *) "parent",(char *) "data", NULL
13944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13947 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13948 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13950 if (arg2
== NULL
) {
13951 PyErr_SetString(PyExc_TypeError
,"null reference");
13955 if (!wxPyCheckForApp()) SWIG_fail
;
13956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13957 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13959 wxPyEndAllowThreads(__tstate
);
13960 if (PyErr_Occurred()) SWIG_fail
;
13962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13969 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13970 PyObject
*resultobj
;
13971 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13972 wxFontData
*result
;
13973 PyObject
* obj0
= 0 ;
13974 char *kwnames
[] = {
13975 (char *) "self", NULL
13978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13984 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13985 result
= (wxFontData
*) &_result_ref
;
13988 wxPyEndAllowThreads(__tstate
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13998 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
14000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14001 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
14003 return Py_BuildValue((char *)"");
14005 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14006 PyObject
*resultobj
;
14007 wxWindow
*arg1
= (wxWindow
*) 0 ;
14008 wxString
*arg2
= 0 ;
14009 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
14010 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14011 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
14012 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14013 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14014 wxMessageDialog
*result
;
14015 bool temp2
= false ;
14016 bool temp3
= false ;
14018 PyObject
* obj0
= 0 ;
14019 PyObject
* obj1
= 0 ;
14020 PyObject
* obj2
= 0 ;
14021 PyObject
* obj3
= 0 ;
14022 PyObject
* obj4
= 0 ;
14023 char *kwnames
[] = {
14024 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
14027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14031 arg2
= wxString_in_helper(obj1
);
14032 if (arg2
== NULL
) SWIG_fail
;
14037 arg3
= wxString_in_helper(obj2
);
14038 if (arg3
== NULL
) SWIG_fail
;
14043 arg4
= (long)SWIG_As_long(obj3
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14049 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14053 if (!wxPyCheckForApp()) SWIG_fail
;
14054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14055 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
14057 wxPyEndAllowThreads(__tstate
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
14083 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
14085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14086 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
14088 return Py_BuildValue((char *)"");
14090 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14091 PyObject
*resultobj
;
14092 wxString
*arg1
= 0 ;
14093 wxString
*arg2
= 0 ;
14094 int arg3
= (int) 100 ;
14095 wxWindow
*arg4
= (wxWindow
*) NULL
;
14096 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
14097 wxProgressDialog
*result
;
14098 bool temp1
= false ;
14099 bool temp2
= false ;
14100 PyObject
* obj0
= 0 ;
14101 PyObject
* obj1
= 0 ;
14102 PyObject
* obj2
= 0 ;
14103 PyObject
* obj3
= 0 ;
14104 PyObject
* obj4
= 0 ;
14105 char *kwnames
[] = {
14106 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
14109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14111 arg1
= wxString_in_helper(obj0
);
14112 if (arg1
== NULL
) SWIG_fail
;
14116 arg2
= wxString_in_helper(obj1
);
14117 if (arg2
== NULL
) SWIG_fail
;
14121 arg3
= (int)SWIG_As_int(obj2
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14125 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
14126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14129 arg5
= (int)SWIG_As_int(obj4
);
14130 if (PyErr_Occurred()) SWIG_fail
;
14133 if (!wxPyCheckForApp()) SWIG_fail
;
14134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14135 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
14137 wxPyEndAllowThreads(__tstate
);
14138 if (PyErr_Occurred()) SWIG_fail
;
14140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
14163 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14164 PyObject
*resultobj
;
14165 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
14167 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14168 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14170 bool temp3
= false ;
14171 PyObject
* obj0
= 0 ;
14172 PyObject
* obj1
= 0 ;
14173 PyObject
* obj2
= 0 ;
14174 char *kwnames
[] = {
14175 (char *) "self",(char *) "value",(char *) "newmsg", NULL
14178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
14180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14181 arg2
= (int)SWIG_As_int(obj1
);
14182 if (PyErr_Occurred()) SWIG_fail
;
14185 arg3
= wxString_in_helper(obj2
);
14186 if (arg3
== NULL
) SWIG_fail
;
14191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14192 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
14194 wxPyEndAllowThreads(__tstate
);
14195 if (PyErr_Occurred()) SWIG_fail
;
14198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14214 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14215 PyObject
*resultobj
;
14216 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
14217 PyObject
* obj0
= 0 ;
14218 char *kwnames
[] = {
14219 (char *) "self", NULL
14222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
14223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
14224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14229 wxPyEndAllowThreads(__tstate
);
14230 if (PyErr_Occurred()) SWIG_fail
;
14232 Py_INCREF(Py_None
); resultobj
= Py_None
;
14239 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
14241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14242 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
14244 return Py_BuildValue((char *)"");
14246 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14247 PyObject
*resultobj
;
14248 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14249 int arg2
= (int) 0 ;
14250 wxFindDialogEvent
*result
;
14251 PyObject
* obj0
= 0 ;
14252 PyObject
* obj1
= 0 ;
14253 char *kwnames
[] = {
14254 (char *) "commandType",(char *) "id", NULL
14257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14259 arg1
= (wxEventType
)SWIG_As_int(obj0
);
14260 if (PyErr_Occurred()) SWIG_fail
;
14263 arg2
= (int)SWIG_As_int(obj1
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14268 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
14270 wxPyEndAllowThreads(__tstate
);
14271 if (PyErr_Occurred()) SWIG_fail
;
14273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
14280 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14281 PyObject
*resultobj
;
14282 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14284 PyObject
* obj0
= 0 ;
14285 char *kwnames
[] = {
14286 (char *) "self", NULL
14289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
14290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14294 result
= (int)(arg1
)->GetFlags();
14296 wxPyEndAllowThreads(__tstate
);
14297 if (PyErr_Occurred()) SWIG_fail
;
14299 resultobj
= SWIG_From_int((int)result
);
14306 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14307 PyObject
*resultobj
;
14308 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14310 PyObject
* obj0
= 0 ;
14311 char *kwnames
[] = {
14312 (char *) "self", NULL
14315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
14316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14321 wxString
const &_result_ref
= (arg1
)->GetFindString();
14322 result
= (wxString
*) &_result_ref
;
14325 wxPyEndAllowThreads(__tstate
);
14326 if (PyErr_Occurred()) SWIG_fail
;
14330 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14332 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14341 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14342 PyObject
*resultobj
;
14343 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14345 PyObject
* obj0
= 0 ;
14346 char *kwnames
[] = {
14347 (char *) "self", NULL
14350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14356 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14357 result
= (wxString
*) &_result_ref
;
14360 wxPyEndAllowThreads(__tstate
);
14361 if (PyErr_Occurred()) SWIG_fail
;
14365 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14367 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14376 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14377 PyObject
*resultobj
;
14378 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14379 wxFindReplaceDialog
*result
;
14380 PyObject
* obj0
= 0 ;
14381 char *kwnames
[] = {
14382 (char *) "self", NULL
14385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",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();
14390 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
14392 wxPyEndAllowThreads(__tstate
);
14393 if (PyErr_Occurred()) SWIG_fail
;
14395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
14402 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14403 PyObject
*resultobj
;
14404 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14406 PyObject
* obj0
= 0 ;
14407 PyObject
* obj1
= 0 ;
14408 char *kwnames
[] = {
14409 (char *) "self",(char *) "flags", NULL
14412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14415 arg2
= (int)SWIG_As_int(obj1
);
14416 if (PyErr_Occurred()) SWIG_fail
;
14418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14419 (arg1
)->SetFlags(arg2
);
14421 wxPyEndAllowThreads(__tstate
);
14422 if (PyErr_Occurred()) SWIG_fail
;
14424 Py_INCREF(Py_None
); resultobj
= Py_None
;
14431 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14432 PyObject
*resultobj
;
14433 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14434 wxString
*arg2
= 0 ;
14435 bool temp2
= false ;
14436 PyObject
* obj0
= 0 ;
14437 PyObject
* obj1
= 0 ;
14438 char *kwnames
[] = {
14439 (char *) "self",(char *) "str", NULL
14442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14446 arg2
= wxString_in_helper(obj1
);
14447 if (arg2
== NULL
) SWIG_fail
;
14451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14452 (arg1
)->SetFindString((wxString
const &)*arg2
);
14454 wxPyEndAllowThreads(__tstate
);
14455 if (PyErr_Occurred()) SWIG_fail
;
14457 Py_INCREF(Py_None
); resultobj
= Py_None
;
14472 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14473 PyObject
*resultobj
;
14474 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14475 wxString
*arg2
= 0 ;
14476 bool temp2
= false ;
14477 PyObject
* obj0
= 0 ;
14478 PyObject
* obj1
= 0 ;
14479 char *kwnames
[] = {
14480 (char *) "self",(char *) "str", NULL
14483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14487 arg2
= wxString_in_helper(obj1
);
14488 if (arg2
== NULL
) SWIG_fail
;
14492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14493 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14495 wxPyEndAllowThreads(__tstate
);
14496 if (PyErr_Occurred()) SWIG_fail
;
14498 Py_INCREF(Py_None
); resultobj
= Py_None
;
14513 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
14515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14516 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
14518 return Py_BuildValue((char *)"");
14520 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14521 PyObject
*resultobj
;
14522 int arg1
= (int) 0 ;
14523 wxFindReplaceData
*result
;
14524 PyObject
* obj0
= 0 ;
14525 char *kwnames
[] = {
14526 (char *) "flags", NULL
14529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14531 arg1
= (int)SWIG_As_int(obj0
);
14532 if (PyErr_Occurred()) SWIG_fail
;
14535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14536 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
14538 wxPyEndAllowThreads(__tstate
);
14539 if (PyErr_Occurred()) SWIG_fail
;
14541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
14548 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14549 PyObject
*resultobj
;
14550 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14551 PyObject
* obj0
= 0 ;
14552 char *kwnames
[] = {
14553 (char *) "self", NULL
14556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14563 wxPyEndAllowThreads(__tstate
);
14564 if (PyErr_Occurred()) SWIG_fail
;
14566 Py_INCREF(Py_None
); resultobj
= Py_None
;
14573 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14574 PyObject
*resultobj
;
14575 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14577 PyObject
* obj0
= 0 ;
14578 char *kwnames
[] = {
14579 (char *) "self", NULL
14582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
14583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 wxString
const &_result_ref
= (arg1
)->GetFindString();
14589 result
= (wxString
*) &_result_ref
;
14592 wxPyEndAllowThreads(__tstate
);
14593 if (PyErr_Occurred()) SWIG_fail
;
14597 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14599 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14608 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14609 PyObject
*resultobj
;
14610 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14612 PyObject
* obj0
= 0 ;
14613 char *kwnames
[] = {
14614 (char *) "self", NULL
14617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14623 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14624 result
= (wxString
*) &_result_ref
;
14627 wxPyEndAllowThreads(__tstate
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14632 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14634 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14643 static PyObject
*_wrap_FindReplaceData_GetFlags(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_GetFlags",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();
14657 result
= (int)(arg1
)->GetFlags();
14659 wxPyEndAllowThreads(__tstate
);
14660 if (PyErr_Occurred()) SWIG_fail
;
14662 resultobj
= SWIG_From_int((int)result
);
14669 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14670 PyObject
*resultobj
;
14671 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14673 PyObject
* obj0
= 0 ;
14674 PyObject
* obj1
= 0 ;
14675 char *kwnames
[] = {
14676 (char *) "self",(char *) "flags", NULL
14679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14682 arg2
= (int)SWIG_As_int(obj1
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 (arg1
)->SetFlags(arg2
);
14688 wxPyEndAllowThreads(__tstate
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14691 Py_INCREF(Py_None
); resultobj
= Py_None
;
14698 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14699 PyObject
*resultobj
;
14700 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14701 wxString
*arg2
= 0 ;
14702 bool temp2
= false ;
14703 PyObject
* obj0
= 0 ;
14704 PyObject
* obj1
= 0 ;
14705 char *kwnames
[] = {
14706 (char *) "self",(char *) "str", NULL
14709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14713 arg2
= wxString_in_helper(obj1
);
14714 if (arg2
== NULL
) SWIG_fail
;
14718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14719 (arg1
)->SetFindString((wxString
const &)*arg2
);
14721 wxPyEndAllowThreads(__tstate
);
14722 if (PyErr_Occurred()) SWIG_fail
;
14724 Py_INCREF(Py_None
); resultobj
= Py_None
;
14739 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14740 PyObject
*resultobj
;
14741 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14742 wxString
*arg2
= 0 ;
14743 bool temp2
= false ;
14744 PyObject
* obj0
= 0 ;
14745 PyObject
* obj1
= 0 ;
14746 char *kwnames
[] = {
14747 (char *) "self",(char *) "str", NULL
14750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14754 arg2
= wxString_in_helper(obj1
);
14755 if (arg2
== NULL
) SWIG_fail
;
14759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14760 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14762 wxPyEndAllowThreads(__tstate
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14765 Py_INCREF(Py_None
); resultobj
= Py_None
;
14780 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
14782 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14783 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14785 return Py_BuildValue((char *)"");
14787 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14788 PyObject
*resultobj
;
14789 wxWindow
*arg1
= (wxWindow
*) 0 ;
14790 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14791 wxString
*arg3
= 0 ;
14792 int arg4
= (int) 0 ;
14793 wxFindReplaceDialog
*result
;
14794 bool temp3
= false ;
14795 PyObject
* obj0
= 0 ;
14796 PyObject
* obj1
= 0 ;
14797 PyObject
* obj2
= 0 ;
14798 PyObject
* obj3
= 0 ;
14799 char *kwnames
[] = {
14800 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14806 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14809 arg3
= wxString_in_helper(obj2
);
14810 if (arg3
== NULL
) SWIG_fail
;
14814 arg4
= (int)SWIG_As_int(obj3
);
14815 if (PyErr_Occurred()) SWIG_fail
;
14818 if (!wxPyCheckForApp()) SWIG_fail
;
14819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14820 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14822 wxPyEndAllowThreads(__tstate
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14840 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14841 PyObject
*resultobj
;
14842 wxFindReplaceDialog
*result
;
14843 char *kwnames
[] = {
14847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14849 if (!wxPyCheckForApp()) SWIG_fail
;
14850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14853 wxPyEndAllowThreads(__tstate
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14863 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14864 PyObject
*resultobj
;
14865 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14866 wxWindow
*arg2
= (wxWindow
*) 0 ;
14867 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14868 wxString
*arg4
= 0 ;
14869 int arg5
= (int) 0 ;
14871 bool temp4
= false ;
14872 PyObject
* obj0
= 0 ;
14873 PyObject
* obj1
= 0 ;
14874 PyObject
* obj2
= 0 ;
14875 PyObject
* obj3
= 0 ;
14876 PyObject
* obj4
= 0 ;
14877 char *kwnames
[] = {
14878 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14884 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14886 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14889 arg4
= wxString_in_helper(obj3
);
14890 if (arg4
== NULL
) SWIG_fail
;
14894 arg5
= (int)SWIG_As_int(obj4
);
14895 if (PyErr_Occurred()) SWIG_fail
;
14898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14899 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14901 wxPyEndAllowThreads(__tstate
);
14902 if (PyErr_Occurred()) SWIG_fail
;
14905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14921 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14922 PyObject
*resultobj
;
14923 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14924 wxFindReplaceData
*result
;
14925 PyObject
* obj0
= 0 ;
14926 char *kwnames
[] = {
14927 (char *) "self", NULL
14930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14935 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14947 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14948 PyObject
*resultobj
;
14949 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14950 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14951 PyObject
* obj0
= 0 ;
14952 PyObject
* obj1
= 0 ;
14953 char *kwnames
[] = {
14954 (char *) "self",(char *) "data", NULL
14957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14964 (arg1
)->SetData(arg2
);
14966 wxPyEndAllowThreads(__tstate
);
14967 if (PyErr_Occurred()) SWIG_fail
;
14969 Py_INCREF(Py_None
); resultobj
= Py_None
;
14976 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
14978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14979 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14981 return Py_BuildValue((char *)"");
14983 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14984 PyObject
*resultobj
;
14985 wxWindow
*arg1
= (wxWindow
*) 0 ;
14986 int arg2
= (int) (int)-1 ;
14987 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14988 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14989 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14990 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14991 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14992 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14993 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14994 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14995 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14996 wxMDIParentFrame
*result
;
14997 bool temp3
= false ;
15000 bool temp7
= false ;
15001 PyObject
* obj0
= 0 ;
15002 PyObject
* obj1
= 0 ;
15003 PyObject
* obj2
= 0 ;
15004 PyObject
* obj3
= 0 ;
15005 PyObject
* obj4
= 0 ;
15006 PyObject
* obj5
= 0 ;
15007 PyObject
* obj6
= 0 ;
15008 char *kwnames
[] = {
15009 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15016 arg2
= (int)SWIG_As_int(obj1
);
15017 if (PyErr_Occurred()) SWIG_fail
;
15021 arg3
= wxString_in_helper(obj2
);
15022 if (arg3
== NULL
) SWIG_fail
;
15029 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15035 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15039 arg6
= (long)SWIG_As_long(obj5
);
15040 if (PyErr_Occurred()) SWIG_fail
;
15044 arg7
= wxString_in_helper(obj6
);
15045 if (arg7
== NULL
) SWIG_fail
;
15050 if (!wxPyCheckForApp()) SWIG_fail
;
15051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15052 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15054 wxPyEndAllowThreads(__tstate
);
15055 if (PyErr_Occurred()) SWIG_fail
;
15057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
15080 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15081 PyObject
*resultobj
;
15082 wxMDIParentFrame
*result
;
15083 char *kwnames
[] = {
15087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
15089 if (!wxPyCheckForApp()) SWIG_fail
;
15090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15091 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
15093 wxPyEndAllowThreads(__tstate
);
15094 if (PyErr_Occurred()) SWIG_fail
;
15096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
15103 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15104 PyObject
*resultobj
;
15105 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15106 wxWindow
*arg2
= (wxWindow
*) 0 ;
15107 int arg3
= (int) (int)-1 ;
15108 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15109 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15110 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15111 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15112 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15113 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15114 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
15115 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15116 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15118 bool temp4
= false ;
15121 bool temp8
= false ;
15122 PyObject
* obj0
= 0 ;
15123 PyObject
* obj1
= 0 ;
15124 PyObject
* obj2
= 0 ;
15125 PyObject
* obj3
= 0 ;
15126 PyObject
* obj4
= 0 ;
15127 PyObject
* obj5
= 0 ;
15128 PyObject
* obj6
= 0 ;
15129 PyObject
* obj7
= 0 ;
15130 char *kwnames
[] = {
15131 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15137 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15140 arg3
= (int)SWIG_As_int(obj2
);
15141 if (PyErr_Occurred()) SWIG_fail
;
15145 arg4
= wxString_in_helper(obj3
);
15146 if (arg4
== NULL
) SWIG_fail
;
15153 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15159 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15163 arg7
= (long)SWIG_As_long(obj6
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15168 arg8
= wxString_in_helper(obj7
);
15169 if (arg8
== NULL
) SWIG_fail
;
15174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15175 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15177 wxPyEndAllowThreads(__tstate
);
15178 if (PyErr_Occurred()) SWIG_fail
;
15181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15205 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15206 PyObject
*resultobj
;
15207 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15208 PyObject
* obj0
= 0 ;
15209 char *kwnames
[] = {
15210 (char *) "self", NULL
15213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
15214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15218 (arg1
)->ActivateNext();
15220 wxPyEndAllowThreads(__tstate
);
15221 if (PyErr_Occurred()) SWIG_fail
;
15223 Py_INCREF(Py_None
); resultobj
= Py_None
;
15230 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15231 PyObject
*resultobj
;
15232 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15233 PyObject
* obj0
= 0 ;
15234 char *kwnames
[] = {
15235 (char *) "self", NULL
15238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
15239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15243 (arg1
)->ActivatePrevious();
15245 wxPyEndAllowThreads(__tstate
);
15246 if (PyErr_Occurred()) SWIG_fail
;
15248 Py_INCREF(Py_None
); resultobj
= Py_None
;
15255 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15256 PyObject
*resultobj
;
15257 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15258 PyObject
* obj0
= 0 ;
15259 char *kwnames
[] = {
15260 (char *) "self", NULL
15263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
15264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15268 (arg1
)->ArrangeIcons();
15270 wxPyEndAllowThreads(__tstate
);
15271 if (PyErr_Occurred()) SWIG_fail
;
15273 Py_INCREF(Py_None
); resultobj
= Py_None
;
15280 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15281 PyObject
*resultobj
;
15282 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15283 PyObject
* obj0
= 0 ;
15284 char *kwnames
[] = {
15285 (char *) "self", NULL
15288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
15289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15295 wxPyEndAllowThreads(__tstate
);
15296 if (PyErr_Occurred()) SWIG_fail
;
15298 Py_INCREF(Py_None
); resultobj
= Py_None
;
15305 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15306 PyObject
*resultobj
;
15307 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15308 wxMDIChildFrame
*result
;
15309 PyObject
* obj0
= 0 ;
15310 char *kwnames
[] = {
15311 (char *) "self", NULL
15314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
15315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15319 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
15321 wxPyEndAllowThreads(__tstate
);
15322 if (PyErr_Occurred()) SWIG_fail
;
15325 resultobj
= wxPyMake_wxObject(result
, 0);
15333 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15334 PyObject
*resultobj
;
15335 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15336 wxMDIClientWindow
*result
;
15337 PyObject
* obj0
= 0 ;
15338 char *kwnames
[] = {
15339 (char *) "self", NULL
15342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
15343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15347 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
15349 wxPyEndAllowThreads(__tstate
);
15350 if (PyErr_Occurred()) SWIG_fail
;
15353 resultobj
= wxPyMake_wxObject(result
, 0);
15361 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15362 PyObject
*resultobj
;
15363 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15365 PyObject
* obj0
= 0 ;
15366 char *kwnames
[] = {
15367 (char *) "self", NULL
15370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
15371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15375 result
= (wxWindow
*)(arg1
)->GetToolBar();
15377 wxPyEndAllowThreads(__tstate
);
15378 if (PyErr_Occurred()) SWIG_fail
;
15381 resultobj
= wxPyMake_wxObject(result
, 0);
15389 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15390 PyObject
*resultobj
;
15391 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15392 PyObject
* obj0
= 0 ;
15393 char *kwnames
[] = {
15394 (char *) "self", NULL
15397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
15398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15404 wxPyEndAllowThreads(__tstate
);
15405 if (PyErr_Occurred()) SWIG_fail
;
15407 Py_INCREF(Py_None
); resultobj
= Py_None
;
15414 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
15416 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15417 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
15419 return Py_BuildValue((char *)"");
15421 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15422 PyObject
*resultobj
;
15423 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15424 int arg2
= (int) (int)-1 ;
15425 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15426 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15427 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15428 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15429 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15430 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15431 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
15432 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
15433 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15434 wxMDIChildFrame
*result
;
15435 bool temp3
= false ;
15438 bool temp7
= false ;
15439 PyObject
* obj0
= 0 ;
15440 PyObject
* obj1
= 0 ;
15441 PyObject
* obj2
= 0 ;
15442 PyObject
* obj3
= 0 ;
15443 PyObject
* obj4
= 0 ;
15444 PyObject
* obj5
= 0 ;
15445 PyObject
* obj6
= 0 ;
15446 char *kwnames
[] = {
15447 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15454 arg2
= (int)SWIG_As_int(obj1
);
15455 if (PyErr_Occurred()) SWIG_fail
;
15459 arg3
= wxString_in_helper(obj2
);
15460 if (arg3
== NULL
) SWIG_fail
;
15467 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15473 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15477 arg6
= (long)SWIG_As_long(obj5
);
15478 if (PyErr_Occurred()) SWIG_fail
;
15482 arg7
= wxString_in_helper(obj6
);
15483 if (arg7
== NULL
) SWIG_fail
;
15488 if (!wxPyCheckForApp()) SWIG_fail
;
15489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15490 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15492 wxPyEndAllowThreads(__tstate
);
15493 if (PyErr_Occurred()) SWIG_fail
;
15495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15518 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15519 PyObject
*resultobj
;
15520 wxMDIChildFrame
*result
;
15521 char *kwnames
[] = {
15525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
15527 if (!wxPyCheckForApp()) SWIG_fail
;
15528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15529 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
15531 wxPyEndAllowThreads(__tstate
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15541 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15542 PyObject
*resultobj
;
15543 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15544 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15545 int arg3
= (int) (int)-1 ;
15546 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15547 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15548 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15549 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15550 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15551 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15552 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
15553 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15554 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15556 bool temp4
= false ;
15559 bool temp8
= false ;
15560 PyObject
* obj0
= 0 ;
15561 PyObject
* obj1
= 0 ;
15562 PyObject
* obj2
= 0 ;
15563 PyObject
* obj3
= 0 ;
15564 PyObject
* obj4
= 0 ;
15565 PyObject
* obj5
= 0 ;
15566 PyObject
* obj6
= 0 ;
15567 PyObject
* obj7
= 0 ;
15568 char *kwnames
[] = {
15569 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15575 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15578 arg3
= (int)SWIG_As_int(obj2
);
15579 if (PyErr_Occurred()) SWIG_fail
;
15583 arg4
= wxString_in_helper(obj3
);
15584 if (arg4
== NULL
) SWIG_fail
;
15591 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15597 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15601 arg7
= (long)SWIG_As_long(obj6
);
15602 if (PyErr_Occurred()) SWIG_fail
;
15606 arg8
= wxString_in_helper(obj7
);
15607 if (arg8
== NULL
) SWIG_fail
;
15612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15613 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15615 wxPyEndAllowThreads(__tstate
);
15616 if (PyErr_Occurred()) SWIG_fail
;
15619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15643 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15644 PyObject
*resultobj
;
15645 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15646 PyObject
* obj0
= 0 ;
15647 char *kwnames
[] = {
15648 (char *) "self", NULL
15651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15656 (arg1
)->Activate();
15658 wxPyEndAllowThreads(__tstate
);
15659 if (PyErr_Occurred()) SWIG_fail
;
15661 Py_INCREF(Py_None
); resultobj
= Py_None
;
15668 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15669 PyObject
*resultobj
;
15670 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15671 bool arg2
= (bool) true ;
15672 PyObject
* obj0
= 0 ;
15673 PyObject
* obj1
= 0 ;
15674 char *kwnames
[] = {
15675 (char *) "self",(char *) "maximize", NULL
15678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15682 arg2
= (bool)SWIG_As_bool(obj1
);
15683 if (PyErr_Occurred()) SWIG_fail
;
15686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15687 (arg1
)->Maximize(arg2
);
15689 wxPyEndAllowThreads(__tstate
);
15690 if (PyErr_Occurred()) SWIG_fail
;
15692 Py_INCREF(Py_None
); resultobj
= Py_None
;
15699 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15700 PyObject
*resultobj
;
15701 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15702 PyObject
* obj0
= 0 ;
15703 char *kwnames
[] = {
15704 (char *) "self", NULL
15707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15714 wxPyEndAllowThreads(__tstate
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15717 Py_INCREF(Py_None
); resultobj
= Py_None
;
15724 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
15726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15727 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15729 return Py_BuildValue((char *)"");
15731 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15732 PyObject
*resultobj
;
15733 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15734 long arg2
= (long) 0 ;
15735 wxMDIClientWindow
*result
;
15736 PyObject
* obj0
= 0 ;
15737 PyObject
* obj1
= 0 ;
15738 char *kwnames
[] = {
15739 (char *) "parent",(char *) "style", NULL
15742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15746 arg2
= (long)SWIG_As_long(obj1
);
15747 if (PyErr_Occurred()) SWIG_fail
;
15750 if (!wxPyCheckForApp()) SWIG_fail
;
15751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15752 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15754 wxPyEndAllowThreads(__tstate
);
15755 if (PyErr_Occurred()) SWIG_fail
;
15757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15764 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15765 PyObject
*resultobj
;
15766 wxMDIClientWindow
*result
;
15767 char *kwnames
[] = {
15771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15773 if (!wxPyCheckForApp()) SWIG_fail
;
15774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15775 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15777 wxPyEndAllowThreads(__tstate
);
15778 if (PyErr_Occurred()) SWIG_fail
;
15780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15787 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15788 PyObject
*resultobj
;
15789 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15790 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15791 long arg3
= (long) 0 ;
15793 PyObject
* obj0
= 0 ;
15794 PyObject
* obj1
= 0 ;
15795 PyObject
* obj2
= 0 ;
15796 char *kwnames
[] = {
15797 (char *) "self",(char *) "parent",(char *) "style", NULL
15800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15806 arg3
= (long)SWIG_As_long(obj2
);
15807 if (PyErr_Occurred()) SWIG_fail
;
15810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15811 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15813 wxPyEndAllowThreads(__tstate
);
15814 if (PyErr_Occurred()) SWIG_fail
;
15817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15825 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
15827 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15828 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15830 return Py_BuildValue((char *)"");
15832 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15833 PyObject
*resultobj
;
15834 wxWindow
*arg1
= (wxWindow
*) 0 ;
15835 int arg2
= (int) (int)-1 ;
15836 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15837 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15838 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15839 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15840 long arg5
= (long) 0 ;
15841 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15842 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15843 wxPyWindow
*result
;
15846 bool temp6
= false ;
15847 PyObject
* obj0
= 0 ;
15848 PyObject
* obj1
= 0 ;
15849 PyObject
* obj2
= 0 ;
15850 PyObject
* obj3
= 0 ;
15851 PyObject
* obj4
= 0 ;
15852 PyObject
* obj5
= 0 ;
15853 char *kwnames
[] = {
15854 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15861 arg2
= (int)SWIG_As_int(obj1
);
15862 if (PyErr_Occurred()) SWIG_fail
;
15867 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15873 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15877 arg5
= (long)SWIG_As_long(obj4
);
15878 if (PyErr_Occurred()) SWIG_fail
;
15882 arg6
= wxString_in_helper(obj5
);
15883 if (arg6
== NULL
) SWIG_fail
;
15888 if (!wxPyCheckForApp()) SWIG_fail
;
15889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15890 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15892 wxPyEndAllowThreads(__tstate
);
15893 if (PyErr_Occurred()) SWIG_fail
;
15895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15910 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15911 PyObject
*resultobj
;
15912 wxPyWindow
*result
;
15913 char *kwnames
[] = {
15917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15919 if (!wxPyCheckForApp()) SWIG_fail
;
15920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15921 result
= (wxPyWindow
*)new wxPyWindow();
15923 wxPyEndAllowThreads(__tstate
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15933 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15934 PyObject
*resultobj
;
15935 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15936 PyObject
*arg2
= (PyObject
*) 0 ;
15937 PyObject
*arg3
= (PyObject
*) 0 ;
15938 PyObject
* obj0
= 0 ;
15939 PyObject
* obj1
= 0 ;
15940 PyObject
* obj2
= 0 ;
15941 char *kwnames
[] = {
15942 (char *) "self",(char *) "self",(char *) "_class", NULL
15945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15952 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15954 wxPyEndAllowThreads(__tstate
);
15955 if (PyErr_Occurred()) SWIG_fail
;
15957 Py_INCREF(Py_None
); resultobj
= Py_None
;
15964 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15965 PyObject
*resultobj
;
15966 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15969 PyObject
* obj0
= 0 ;
15970 PyObject
* obj1
= 0 ;
15971 char *kwnames
[] = {
15972 (char *) "self",(char *) "size", NULL
15975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15980 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15984 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
15986 wxPyEndAllowThreads(__tstate
);
15987 if (PyErr_Occurred()) SWIG_fail
;
15989 Py_INCREF(Py_None
); resultobj
= Py_None
;
15996 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15997 PyObject
*resultobj
;
15998 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16003 PyObject
* obj0
= 0 ;
16004 PyObject
* obj1
= 0 ;
16005 PyObject
* obj2
= 0 ;
16006 PyObject
* obj3
= 0 ;
16007 PyObject
* obj4
= 0 ;
16008 char *kwnames
[] = {
16009 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16015 arg2
= (int)SWIG_As_int(obj1
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16017 arg3
= (int)SWIG_As_int(obj2
);
16018 if (PyErr_Occurred()) SWIG_fail
;
16019 arg4
= (int)SWIG_As_int(obj3
);
16020 if (PyErr_Occurred()) SWIG_fail
;
16021 arg5
= (int)SWIG_As_int(obj4
);
16022 if (PyErr_Occurred()) SWIG_fail
;
16024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16025 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16027 wxPyEndAllowThreads(__tstate
);
16028 if (PyErr_Occurred()) SWIG_fail
;
16030 Py_INCREF(Py_None
); resultobj
= Py_None
;
16037 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16038 PyObject
*resultobj
;
16039 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16044 int arg6
= (int) wxSIZE_AUTO
;
16045 PyObject
* obj0
= 0 ;
16046 PyObject
* obj1
= 0 ;
16047 PyObject
* obj2
= 0 ;
16048 PyObject
* obj3
= 0 ;
16049 PyObject
* obj4
= 0 ;
16050 PyObject
* obj5
= 0 ;
16051 char *kwnames
[] = {
16052 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16058 arg2
= (int)SWIG_As_int(obj1
);
16059 if (PyErr_Occurred()) SWIG_fail
;
16060 arg3
= (int)SWIG_As_int(obj2
);
16061 if (PyErr_Occurred()) SWIG_fail
;
16062 arg4
= (int)SWIG_As_int(obj3
);
16063 if (PyErr_Occurred()) SWIG_fail
;
16064 arg5
= (int)SWIG_As_int(obj4
);
16065 if (PyErr_Occurred()) SWIG_fail
;
16067 arg6
= (int)SWIG_As_int(obj5
);
16068 if (PyErr_Occurred()) SWIG_fail
;
16071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16072 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16074 wxPyEndAllowThreads(__tstate
);
16075 if (PyErr_Occurred()) SWIG_fail
;
16077 Py_INCREF(Py_None
); resultobj
= Py_None
;
16084 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16085 PyObject
*resultobj
;
16086 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16089 PyObject
* obj0
= 0 ;
16090 PyObject
* obj1
= 0 ;
16091 PyObject
* obj2
= 0 ;
16092 char *kwnames
[] = {
16093 (char *) "self",(char *) "width",(char *) "height", NULL
16096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16099 arg2
= (int)SWIG_As_int(obj1
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16101 arg3
= (int)SWIG_As_int(obj2
);
16102 if (PyErr_Occurred()) SWIG_fail
;
16104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16105 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16107 wxPyEndAllowThreads(__tstate
);
16108 if (PyErr_Occurred()) SWIG_fail
;
16110 Py_INCREF(Py_None
); resultobj
= Py_None
;
16117 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16118 PyObject
*resultobj
;
16119 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16122 PyObject
* obj0
= 0 ;
16123 PyObject
* obj1
= 0 ;
16124 PyObject
* obj2
= 0 ;
16125 char *kwnames
[] = {
16126 (char *) "self",(char *) "x",(char *) "y", NULL
16129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16132 arg2
= (int)SWIG_As_int(obj1
);
16133 if (PyErr_Occurred()) SWIG_fail
;
16134 arg3
= (int)SWIG_As_int(obj2
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16138 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16140 wxPyEndAllowThreads(__tstate
);
16141 if (PyErr_Occurred()) SWIG_fail
;
16143 Py_INCREF(Py_None
); resultobj
= Py_None
;
16150 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16151 PyObject
*resultobj
;
16152 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16153 int *arg2
= (int *) 0 ;
16154 int *arg3
= (int *) 0 ;
16159 PyObject
* obj0
= 0 ;
16160 char *kwnames
[] = {
16161 (char *) "self", NULL
16164 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16165 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16171 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16173 wxPyEndAllowThreads(__tstate
);
16174 if (PyErr_Occurred()) SWIG_fail
;
16176 Py_INCREF(Py_None
); resultobj
= Py_None
;
16177 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16178 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16179 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16180 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16187 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16188 PyObject
*resultobj
;
16189 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16190 int *arg2
= (int *) 0 ;
16191 int *arg3
= (int *) 0 ;
16196 PyObject
* obj0
= 0 ;
16197 char *kwnames
[] = {
16198 (char *) "self", NULL
16201 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16202 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16208 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16210 wxPyEndAllowThreads(__tstate
);
16211 if (PyErr_Occurred()) SWIG_fail
;
16213 Py_INCREF(Py_None
); resultobj
= Py_None
;
16214 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16215 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16216 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16217 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16224 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16225 PyObject
*resultobj
;
16226 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16227 int *arg2
= (int *) 0 ;
16228 int *arg3
= (int *) 0 ;
16233 PyObject
* obj0
= 0 ;
16234 char *kwnames
[] = {
16235 (char *) "self", NULL
16238 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16239 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16245 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16247 wxPyEndAllowThreads(__tstate
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16250 Py_INCREF(Py_None
); resultobj
= Py_None
;
16251 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16252 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16253 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16254 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16261 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16262 PyObject
*resultobj
;
16263 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16265 PyObject
* obj0
= 0 ;
16266 char *kwnames
[] = {
16267 (char *) "self", NULL
16270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16275 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
16277 wxPyEndAllowThreads(__tstate
);
16278 if (PyErr_Occurred()) SWIG_fail
;
16281 wxSize
* resultptr
;
16282 resultptr
= new wxSize((wxSize
&) result
);
16283 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16291 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16292 PyObject
*resultobj
;
16293 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16295 PyObject
* obj0
= 0 ;
16296 char *kwnames
[] = {
16297 (char *) "self", NULL
16300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16305 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
16307 wxPyEndAllowThreads(__tstate
);
16308 if (PyErr_Occurred()) SWIG_fail
;
16311 wxSize
* resultptr
;
16312 resultptr
= new wxSize((wxSize
&) result
);
16313 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16321 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16322 PyObject
*resultobj
;
16323 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16324 PyObject
* obj0
= 0 ;
16325 char *kwnames
[] = {
16326 (char *) "self", NULL
16329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16334 (arg1
)->base_InitDialog();
16336 wxPyEndAllowThreads(__tstate
);
16337 if (PyErr_Occurred()) SWIG_fail
;
16339 Py_INCREF(Py_None
); resultobj
= Py_None
;
16346 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16347 PyObject
*resultobj
;
16348 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16350 PyObject
* obj0
= 0 ;
16351 char *kwnames
[] = {
16352 (char *) "self", NULL
16355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16360 result
= (bool)(arg1
)->base_TransferDataToWindow();
16362 wxPyEndAllowThreads(__tstate
);
16363 if (PyErr_Occurred()) SWIG_fail
;
16366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16374 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16375 PyObject
*resultobj
;
16376 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16378 PyObject
* obj0
= 0 ;
16379 char *kwnames
[] = {
16380 (char *) "self", NULL
16383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16388 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16390 wxPyEndAllowThreads(__tstate
);
16391 if (PyErr_Occurred()) SWIG_fail
;
16394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16402 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16403 PyObject
*resultobj
;
16404 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16406 PyObject
* obj0
= 0 ;
16407 char *kwnames
[] = {
16408 (char *) "self", NULL
16411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
16412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16416 result
= (bool)(arg1
)->base_Validate();
16418 wxPyEndAllowThreads(__tstate
);
16419 if (PyErr_Occurred()) SWIG_fail
;
16422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16430 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16431 PyObject
*resultobj
;
16432 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16434 PyObject
* obj0
= 0 ;
16435 char *kwnames
[] = {
16436 (char *) "self", NULL
16439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16444 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
16446 wxPyEndAllowThreads(__tstate
);
16447 if (PyErr_Occurred()) SWIG_fail
;
16450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16458 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16459 PyObject
*resultobj
;
16460 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16462 PyObject
* obj0
= 0 ;
16463 char *kwnames
[] = {
16464 (char *) "self", NULL
16467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16472 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16474 wxPyEndAllowThreads(__tstate
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16486 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16487 PyObject
*resultobj
;
16488 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16490 PyObject
* obj0
= 0 ;
16491 char *kwnames
[] = {
16492 (char *) "self", NULL
16495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16500 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
16502 wxPyEndAllowThreads(__tstate
);
16503 if (PyErr_Occurred()) SWIG_fail
;
16506 wxSize
* resultptr
;
16507 resultptr
= new wxSize((wxSize
&) result
);
16508 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16516 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16517 PyObject
*resultobj
;
16518 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16519 wxWindow
*arg2
= (wxWindow
*) 0 ;
16520 PyObject
* obj0
= 0 ;
16521 PyObject
* obj1
= 0 ;
16522 char *kwnames
[] = {
16523 (char *) "self",(char *) "child", NULL
16526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16533 (arg1
)->base_AddChild(arg2
);
16535 wxPyEndAllowThreads(__tstate
);
16536 if (PyErr_Occurred()) SWIG_fail
;
16538 Py_INCREF(Py_None
); resultobj
= Py_None
;
16545 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16546 PyObject
*resultobj
;
16547 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16548 wxWindow
*arg2
= (wxWindow
*) 0 ;
16549 PyObject
* obj0
= 0 ;
16550 PyObject
* obj1
= 0 ;
16551 char *kwnames
[] = {
16552 (char *) "self",(char *) "child", NULL
16555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16562 (arg1
)->base_RemoveChild(arg2
);
16564 wxPyEndAllowThreads(__tstate
);
16565 if (PyErr_Occurred()) SWIG_fail
;
16567 Py_INCREF(Py_None
); resultobj
= Py_None
;
16574 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16575 PyObject
*resultobj
;
16576 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16578 PyObject
* obj0
= 0 ;
16579 char *kwnames
[] = {
16580 (char *) "self", NULL
16583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16588 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
16590 wxPyEndAllowThreads(__tstate
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16602 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16603 PyObject
*resultobj
;
16604 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16605 wxColour
*arg2
= 0 ;
16607 PyObject
* obj0
= 0 ;
16608 PyObject
* obj1
= 0 ;
16609 char *kwnames
[] = {
16610 (char *) "self",(char *) "c", NULL
16613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16618 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16622 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16624 wxPyEndAllowThreads(__tstate
);
16625 if (PyErr_Occurred()) SWIG_fail
;
16627 Py_INCREF(Py_None
); resultobj
= Py_None
;
16634 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16635 PyObject
*resultobj
;
16636 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16637 wxVisualAttributes result
;
16638 PyObject
* obj0
= 0 ;
16639 char *kwnames
[] = {
16640 (char *) "self", NULL
16643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16648 result
= (arg1
)->base_GetDefaultAttributes();
16650 wxPyEndAllowThreads(__tstate
);
16651 if (PyErr_Occurred()) SWIG_fail
;
16654 wxVisualAttributes
* resultptr
;
16655 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16656 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16664 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
16666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16667 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16669 return Py_BuildValue((char *)"");
16671 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16672 PyObject
*resultobj
;
16673 wxWindow
*arg1
= (wxWindow
*) 0 ;
16674 int arg2
= (int) (int)-1 ;
16675 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16676 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16677 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16678 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16679 long arg5
= (long) 0 ;
16680 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16681 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16685 bool temp6
= false ;
16686 PyObject
* obj0
= 0 ;
16687 PyObject
* obj1
= 0 ;
16688 PyObject
* obj2
= 0 ;
16689 PyObject
* obj3
= 0 ;
16690 PyObject
* obj4
= 0 ;
16691 PyObject
* obj5
= 0 ;
16692 char *kwnames
[] = {
16693 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16700 arg2
= (int)SWIG_As_int(obj1
);
16701 if (PyErr_Occurred()) SWIG_fail
;
16706 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16712 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16716 arg5
= (long)SWIG_As_long(obj4
);
16717 if (PyErr_Occurred()) SWIG_fail
;
16721 arg6
= wxString_in_helper(obj5
);
16722 if (arg6
== NULL
) SWIG_fail
;
16727 if (!wxPyCheckForApp()) SWIG_fail
;
16728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16729 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16731 wxPyEndAllowThreads(__tstate
);
16732 if (PyErr_Occurred()) SWIG_fail
;
16734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16749 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16750 PyObject
*resultobj
;
16752 char *kwnames
[] = {
16756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16758 if (!wxPyCheckForApp()) SWIG_fail
;
16759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16760 result
= (wxPyPanel
*)new wxPyPanel();
16762 wxPyEndAllowThreads(__tstate
);
16763 if (PyErr_Occurred()) SWIG_fail
;
16765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16772 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16773 PyObject
*resultobj
;
16774 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16775 PyObject
*arg2
= (PyObject
*) 0 ;
16776 PyObject
*arg3
= (PyObject
*) 0 ;
16777 PyObject
* obj0
= 0 ;
16778 PyObject
* obj1
= 0 ;
16779 PyObject
* obj2
= 0 ;
16780 char *kwnames
[] = {
16781 (char *) "self",(char *) "self",(char *) "_class", NULL
16784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16791 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16793 wxPyEndAllowThreads(__tstate
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16796 Py_INCREF(Py_None
); resultobj
= Py_None
;
16803 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16804 PyObject
*resultobj
;
16805 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16808 PyObject
* obj0
= 0 ;
16809 PyObject
* obj1
= 0 ;
16810 char *kwnames
[] = {
16811 (char *) "self",(char *) "size", NULL
16814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16819 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16823 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16825 wxPyEndAllowThreads(__tstate
);
16826 if (PyErr_Occurred()) SWIG_fail
;
16828 Py_INCREF(Py_None
); resultobj
= Py_None
;
16835 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16836 PyObject
*resultobj
;
16837 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16842 PyObject
* obj0
= 0 ;
16843 PyObject
* obj1
= 0 ;
16844 PyObject
* obj2
= 0 ;
16845 PyObject
* obj3
= 0 ;
16846 PyObject
* obj4
= 0 ;
16847 char *kwnames
[] = {
16848 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16854 arg2
= (int)SWIG_As_int(obj1
);
16855 if (PyErr_Occurred()) SWIG_fail
;
16856 arg3
= (int)SWIG_As_int(obj2
);
16857 if (PyErr_Occurred()) SWIG_fail
;
16858 arg4
= (int)SWIG_As_int(obj3
);
16859 if (PyErr_Occurred()) SWIG_fail
;
16860 arg5
= (int)SWIG_As_int(obj4
);
16861 if (PyErr_Occurred()) SWIG_fail
;
16863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16864 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16866 wxPyEndAllowThreads(__tstate
);
16867 if (PyErr_Occurred()) SWIG_fail
;
16869 Py_INCREF(Py_None
); resultobj
= Py_None
;
16876 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16877 PyObject
*resultobj
;
16878 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16883 int arg6
= (int) wxSIZE_AUTO
;
16884 PyObject
* obj0
= 0 ;
16885 PyObject
* obj1
= 0 ;
16886 PyObject
* obj2
= 0 ;
16887 PyObject
* obj3
= 0 ;
16888 PyObject
* obj4
= 0 ;
16889 PyObject
* obj5
= 0 ;
16890 char *kwnames
[] = {
16891 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16897 arg2
= (int)SWIG_As_int(obj1
);
16898 if (PyErr_Occurred()) SWIG_fail
;
16899 arg3
= (int)SWIG_As_int(obj2
);
16900 if (PyErr_Occurred()) SWIG_fail
;
16901 arg4
= (int)SWIG_As_int(obj3
);
16902 if (PyErr_Occurred()) SWIG_fail
;
16903 arg5
= (int)SWIG_As_int(obj4
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16906 arg6
= (int)SWIG_As_int(obj5
);
16907 if (PyErr_Occurred()) SWIG_fail
;
16910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16911 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16913 wxPyEndAllowThreads(__tstate
);
16914 if (PyErr_Occurred()) SWIG_fail
;
16916 Py_INCREF(Py_None
); resultobj
= Py_None
;
16923 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16924 PyObject
*resultobj
;
16925 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16928 PyObject
* obj0
= 0 ;
16929 PyObject
* obj1
= 0 ;
16930 PyObject
* obj2
= 0 ;
16931 char *kwnames
[] = {
16932 (char *) "self",(char *) "width",(char *) "height", NULL
16935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16938 arg2
= (int)SWIG_As_int(obj1
);
16939 if (PyErr_Occurred()) SWIG_fail
;
16940 arg3
= (int)SWIG_As_int(obj2
);
16941 if (PyErr_Occurred()) SWIG_fail
;
16943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16944 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16946 wxPyEndAllowThreads(__tstate
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16949 Py_INCREF(Py_None
); resultobj
= Py_None
;
16956 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16957 PyObject
*resultobj
;
16958 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16961 PyObject
* obj0
= 0 ;
16962 PyObject
* obj1
= 0 ;
16963 PyObject
* obj2
= 0 ;
16964 char *kwnames
[] = {
16965 (char *) "self",(char *) "x",(char *) "y", NULL
16968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16971 arg2
= (int)SWIG_As_int(obj1
);
16972 if (PyErr_Occurred()) SWIG_fail
;
16973 arg3
= (int)SWIG_As_int(obj2
);
16974 if (PyErr_Occurred()) SWIG_fail
;
16976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16977 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16979 wxPyEndAllowThreads(__tstate
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16982 Py_INCREF(Py_None
); resultobj
= Py_None
;
16989 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16990 PyObject
*resultobj
;
16991 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16992 int *arg2
= (int *) 0 ;
16993 int *arg3
= (int *) 0 ;
16998 PyObject
* obj0
= 0 ;
16999 char *kwnames
[] = {
17000 (char *) "self", NULL
17003 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17004 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17010 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17012 wxPyEndAllowThreads(__tstate
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17015 Py_INCREF(Py_None
); resultobj
= Py_None
;
17016 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17017 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17018 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17019 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17026 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17027 PyObject
*resultobj
;
17028 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17029 int *arg2
= (int *) 0 ;
17030 int *arg3
= (int *) 0 ;
17035 PyObject
* obj0
= 0 ;
17036 char *kwnames
[] = {
17037 (char *) "self", NULL
17040 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17041 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17047 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17049 wxPyEndAllowThreads(__tstate
);
17050 if (PyErr_Occurred()) SWIG_fail
;
17052 Py_INCREF(Py_None
); resultobj
= Py_None
;
17053 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17054 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17055 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17056 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17063 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17064 PyObject
*resultobj
;
17065 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17066 int *arg2
= (int *) 0 ;
17067 int *arg3
= (int *) 0 ;
17072 PyObject
* obj0
= 0 ;
17073 char *kwnames
[] = {
17074 (char *) "self", NULL
17077 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17078 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17084 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17086 wxPyEndAllowThreads(__tstate
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17089 Py_INCREF(Py_None
); resultobj
= Py_None
;
17090 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17091 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17092 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17093 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17100 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17101 PyObject
*resultobj
;
17102 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17104 PyObject
* obj0
= 0 ;
17105 char *kwnames
[] = {
17106 (char *) "self", NULL
17109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17114 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
17116 wxPyEndAllowThreads(__tstate
);
17117 if (PyErr_Occurred()) SWIG_fail
;
17120 wxSize
* resultptr
;
17121 resultptr
= new wxSize((wxSize
&) result
);
17122 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17130 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
;
17132 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17134 PyObject
* obj0
= 0 ;
17135 char *kwnames
[] = {
17136 (char *) "self", NULL
17139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17144 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
17146 wxPyEndAllowThreads(__tstate
);
17147 if (PyErr_Occurred()) SWIG_fail
;
17150 wxSize
* resultptr
;
17151 resultptr
= new wxSize((wxSize
&) result
);
17152 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17160 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17161 PyObject
*resultobj
;
17162 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17163 PyObject
* obj0
= 0 ;
17164 char *kwnames
[] = {
17165 (char *) "self", NULL
17168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17173 (arg1
)->base_InitDialog();
17175 wxPyEndAllowThreads(__tstate
);
17176 if (PyErr_Occurred()) SWIG_fail
;
17178 Py_INCREF(Py_None
); resultobj
= Py_None
;
17185 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17186 PyObject
*resultobj
;
17187 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17189 PyObject
* obj0
= 0 ;
17190 char *kwnames
[] = {
17191 (char *) "self", NULL
17194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17199 result
= (bool)(arg1
)->base_TransferDataToWindow();
17201 wxPyEndAllowThreads(__tstate
);
17202 if (PyErr_Occurred()) SWIG_fail
;
17205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17213 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17214 PyObject
*resultobj
;
17215 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17217 PyObject
* obj0
= 0 ;
17218 char *kwnames
[] = {
17219 (char *) "self", NULL
17222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17227 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17229 wxPyEndAllowThreads(__tstate
);
17230 if (PyErr_Occurred()) SWIG_fail
;
17233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17241 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17242 PyObject
*resultobj
;
17243 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17245 PyObject
* obj0
= 0 ;
17246 char *kwnames
[] = {
17247 (char *) "self", NULL
17250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
17251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17255 result
= (bool)(arg1
)->base_Validate();
17257 wxPyEndAllowThreads(__tstate
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17269 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17270 PyObject
*resultobj
;
17271 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17273 PyObject
* obj0
= 0 ;
17274 char *kwnames
[] = {
17275 (char *) "self", NULL
17278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17283 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
17285 wxPyEndAllowThreads(__tstate
);
17286 if (PyErr_Occurred()) SWIG_fail
;
17289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17297 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17298 PyObject
*resultobj
;
17299 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17301 PyObject
* obj0
= 0 ;
17302 char *kwnames
[] = {
17303 (char *) "self", NULL
17306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17311 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17313 wxPyEndAllowThreads(__tstate
);
17314 if (PyErr_Occurred()) SWIG_fail
;
17317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17325 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17326 PyObject
*resultobj
;
17327 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17329 PyObject
* obj0
= 0 ;
17330 char *kwnames
[] = {
17331 (char *) "self", NULL
17334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17339 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
17341 wxPyEndAllowThreads(__tstate
);
17342 if (PyErr_Occurred()) SWIG_fail
;
17345 wxSize
* resultptr
;
17346 resultptr
= new wxSize((wxSize
&) result
);
17347 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17355 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17356 PyObject
*resultobj
;
17357 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17358 wxWindow
*arg2
= (wxWindow
*) 0 ;
17359 PyObject
* obj0
= 0 ;
17360 PyObject
* obj1
= 0 ;
17361 char *kwnames
[] = {
17362 (char *) "self",(char *) "child", NULL
17365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17368 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17372 (arg1
)->base_AddChild(arg2
);
17374 wxPyEndAllowThreads(__tstate
);
17375 if (PyErr_Occurred()) SWIG_fail
;
17377 Py_INCREF(Py_None
); resultobj
= Py_None
;
17384 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17385 PyObject
*resultobj
;
17386 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17387 wxWindow
*arg2
= (wxWindow
*) 0 ;
17388 PyObject
* obj0
= 0 ;
17389 PyObject
* obj1
= 0 ;
17390 char *kwnames
[] = {
17391 (char *) "self",(char *) "child", NULL
17394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17397 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17401 (arg1
)->base_RemoveChild(arg2
);
17403 wxPyEndAllowThreads(__tstate
);
17404 if (PyErr_Occurred()) SWIG_fail
;
17406 Py_INCREF(Py_None
); resultobj
= Py_None
;
17413 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17414 PyObject
*resultobj
;
17415 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17417 PyObject
* obj0
= 0 ;
17418 char *kwnames
[] = {
17419 (char *) "self", NULL
17422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17427 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
17429 wxPyEndAllowThreads(__tstate
);
17430 if (PyErr_Occurred()) SWIG_fail
;
17433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17441 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17442 PyObject
*resultobj
;
17443 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17444 wxColour
*arg2
= 0 ;
17446 PyObject
* obj0
= 0 ;
17447 PyObject
* obj1
= 0 ;
17448 char *kwnames
[] = {
17449 (char *) "self",(char *) "c", NULL
17452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17457 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17461 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17463 wxPyEndAllowThreads(__tstate
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17466 Py_INCREF(Py_None
); resultobj
= Py_None
;
17473 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17474 PyObject
*resultobj
;
17475 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17476 wxVisualAttributes result
;
17477 PyObject
* obj0
= 0 ;
17478 char *kwnames
[] = {
17479 (char *) "self", NULL
17482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17487 result
= (arg1
)->base_GetDefaultAttributes();
17489 wxPyEndAllowThreads(__tstate
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17493 wxVisualAttributes
* resultptr
;
17494 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17495 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17503 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
17505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17506 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
17508 return Py_BuildValue((char *)"");
17510 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17511 PyObject
*resultobj
;
17512 wxWindow
*arg1
= (wxWindow
*) 0 ;
17513 int arg2
= (int) (int)-1 ;
17514 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17515 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17516 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17517 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17518 long arg5
= (long) 0 ;
17519 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17520 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17521 wxPyScrolledWindow
*result
;
17524 bool temp6
= false ;
17525 PyObject
* obj0
= 0 ;
17526 PyObject
* obj1
= 0 ;
17527 PyObject
* obj2
= 0 ;
17528 PyObject
* obj3
= 0 ;
17529 PyObject
* obj4
= 0 ;
17530 PyObject
* obj5
= 0 ;
17531 char *kwnames
[] = {
17532 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17539 arg2
= (int)SWIG_As_int(obj1
);
17540 if (PyErr_Occurred()) SWIG_fail
;
17545 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17551 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17555 arg5
= (long)SWIG_As_long(obj4
);
17556 if (PyErr_Occurred()) SWIG_fail
;
17560 arg6
= wxString_in_helper(obj5
);
17561 if (arg6
== NULL
) SWIG_fail
;
17566 if (!wxPyCheckForApp()) SWIG_fail
;
17567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17568 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17570 wxPyEndAllowThreads(__tstate
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17588 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17589 PyObject
*resultobj
;
17590 wxPyScrolledWindow
*result
;
17591 char *kwnames
[] = {
17595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
17597 if (!wxPyCheckForApp()) SWIG_fail
;
17598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17599 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
17601 wxPyEndAllowThreads(__tstate
);
17602 if (PyErr_Occurred()) SWIG_fail
;
17604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17611 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17612 PyObject
*resultobj
;
17613 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17614 PyObject
*arg2
= (PyObject
*) 0 ;
17615 PyObject
*arg3
= (PyObject
*) 0 ;
17616 PyObject
* obj0
= 0 ;
17617 PyObject
* obj1
= 0 ;
17618 PyObject
* obj2
= 0 ;
17619 char *kwnames
[] = {
17620 (char *) "self",(char *) "self",(char *) "_class", NULL
17623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17630 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17632 wxPyEndAllowThreads(__tstate
);
17633 if (PyErr_Occurred()) SWIG_fail
;
17635 Py_INCREF(Py_None
); resultobj
= Py_None
;
17642 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17643 PyObject
*resultobj
;
17644 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17647 PyObject
* obj0
= 0 ;
17648 PyObject
* obj1
= 0 ;
17649 char *kwnames
[] = {
17650 (char *) "self",(char *) "size", NULL
17653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17658 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17662 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17664 wxPyEndAllowThreads(__tstate
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17667 Py_INCREF(Py_None
); resultobj
= Py_None
;
17674 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17675 PyObject
*resultobj
;
17676 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17681 PyObject
* obj0
= 0 ;
17682 PyObject
* obj1
= 0 ;
17683 PyObject
* obj2
= 0 ;
17684 PyObject
* obj3
= 0 ;
17685 PyObject
* obj4
= 0 ;
17686 char *kwnames
[] = {
17687 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17693 arg2
= (int)SWIG_As_int(obj1
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17695 arg3
= (int)SWIG_As_int(obj2
);
17696 if (PyErr_Occurred()) SWIG_fail
;
17697 arg4
= (int)SWIG_As_int(obj3
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17699 arg5
= (int)SWIG_As_int(obj4
);
17700 if (PyErr_Occurred()) SWIG_fail
;
17702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17703 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17705 wxPyEndAllowThreads(__tstate
);
17706 if (PyErr_Occurred()) SWIG_fail
;
17708 Py_INCREF(Py_None
); resultobj
= Py_None
;
17715 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17716 PyObject
*resultobj
;
17717 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17722 int arg6
= (int) wxSIZE_AUTO
;
17723 PyObject
* obj0
= 0 ;
17724 PyObject
* obj1
= 0 ;
17725 PyObject
* obj2
= 0 ;
17726 PyObject
* obj3
= 0 ;
17727 PyObject
* obj4
= 0 ;
17728 PyObject
* obj5
= 0 ;
17729 char *kwnames
[] = {
17730 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17736 arg2
= (int)SWIG_As_int(obj1
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17738 arg3
= (int)SWIG_As_int(obj2
);
17739 if (PyErr_Occurred()) SWIG_fail
;
17740 arg4
= (int)SWIG_As_int(obj3
);
17741 if (PyErr_Occurred()) SWIG_fail
;
17742 arg5
= (int)SWIG_As_int(obj4
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17745 arg6
= (int)SWIG_As_int(obj5
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17750 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17755 Py_INCREF(Py_None
); resultobj
= Py_None
;
17762 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17763 PyObject
*resultobj
;
17764 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17767 PyObject
* obj0
= 0 ;
17768 PyObject
* obj1
= 0 ;
17769 PyObject
* obj2
= 0 ;
17770 char *kwnames
[] = {
17771 (char *) "self",(char *) "width",(char *) "height", NULL
17774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17777 arg2
= (int)SWIG_As_int(obj1
);
17778 if (PyErr_Occurred()) SWIG_fail
;
17779 arg3
= (int)SWIG_As_int(obj2
);
17780 if (PyErr_Occurred()) SWIG_fail
;
17782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17783 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17785 wxPyEndAllowThreads(__tstate
);
17786 if (PyErr_Occurred()) SWIG_fail
;
17788 Py_INCREF(Py_None
); resultobj
= Py_None
;
17795 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17796 PyObject
*resultobj
;
17797 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17800 PyObject
* obj0
= 0 ;
17801 PyObject
* obj1
= 0 ;
17802 PyObject
* obj2
= 0 ;
17803 char *kwnames
[] = {
17804 (char *) "self",(char *) "x",(char *) "y", NULL
17807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17810 arg2
= (int)SWIG_As_int(obj1
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17812 arg3
= (int)SWIG_As_int(obj2
);
17813 if (PyErr_Occurred()) SWIG_fail
;
17815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17816 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17818 wxPyEndAllowThreads(__tstate
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17821 Py_INCREF(Py_None
); resultobj
= Py_None
;
17828 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17829 PyObject
*resultobj
;
17830 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17831 int *arg2
= (int *) 0 ;
17832 int *arg3
= (int *) 0 ;
17837 PyObject
* obj0
= 0 ;
17838 char *kwnames
[] = {
17839 (char *) "self", NULL
17842 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17843 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17849 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17851 wxPyEndAllowThreads(__tstate
);
17852 if (PyErr_Occurred()) SWIG_fail
;
17854 Py_INCREF(Py_None
); resultobj
= Py_None
;
17855 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17856 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17857 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17858 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17865 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17866 PyObject
*resultobj
;
17867 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17868 int *arg2
= (int *) 0 ;
17869 int *arg3
= (int *) 0 ;
17874 PyObject
* obj0
= 0 ;
17875 char *kwnames
[] = {
17876 (char *) "self", NULL
17879 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17880 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17886 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17888 wxPyEndAllowThreads(__tstate
);
17889 if (PyErr_Occurred()) SWIG_fail
;
17891 Py_INCREF(Py_None
); resultobj
= Py_None
;
17892 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17893 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17894 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17895 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17902 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17903 PyObject
*resultobj
;
17904 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17905 int *arg2
= (int *) 0 ;
17906 int *arg3
= (int *) 0 ;
17911 PyObject
* obj0
= 0 ;
17912 char *kwnames
[] = {
17913 (char *) "self", NULL
17916 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17917 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17923 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17925 wxPyEndAllowThreads(__tstate
);
17926 if (PyErr_Occurred()) SWIG_fail
;
17928 Py_INCREF(Py_None
); resultobj
= Py_None
;
17929 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17930 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17931 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17932 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17939 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17940 PyObject
*resultobj
;
17941 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17943 PyObject
* obj0
= 0 ;
17944 char *kwnames
[] = {
17945 (char *) "self", NULL
17948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17953 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17955 wxPyEndAllowThreads(__tstate
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17959 wxSize
* resultptr
;
17960 resultptr
= new wxSize((wxSize
&) result
);
17961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17969 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17970 PyObject
*resultobj
;
17971 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17973 PyObject
* obj0
= 0 ;
17974 char *kwnames
[] = {
17975 (char *) "self", NULL
17978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17983 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17985 wxPyEndAllowThreads(__tstate
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17989 wxSize
* resultptr
;
17990 resultptr
= new wxSize((wxSize
&) result
);
17991 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17999 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18000 PyObject
*resultobj
;
18001 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18002 PyObject
* obj0
= 0 ;
18003 char *kwnames
[] = {
18004 (char *) "self", NULL
18007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18012 (arg1
)->base_InitDialog();
18014 wxPyEndAllowThreads(__tstate
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18017 Py_INCREF(Py_None
); resultobj
= Py_None
;
18024 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18025 PyObject
*resultobj
;
18026 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18028 PyObject
* obj0
= 0 ;
18029 char *kwnames
[] = {
18030 (char *) "self", NULL
18033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18038 result
= (bool)(arg1
)->base_TransferDataToWindow();
18040 wxPyEndAllowThreads(__tstate
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18052 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18053 PyObject
*resultobj
;
18054 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18056 PyObject
* obj0
= 0 ;
18057 char *kwnames
[] = {
18058 (char *) "self", NULL
18061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18066 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18080 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18081 PyObject
*resultobj
;
18082 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18084 PyObject
* obj0
= 0 ;
18085 char *kwnames
[] = {
18086 (char *) "self", NULL
18089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
18090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18094 result
= (bool)(arg1
)->base_Validate();
18096 wxPyEndAllowThreads(__tstate
);
18097 if (PyErr_Occurred()) SWIG_fail
;
18100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18108 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18109 PyObject
*resultobj
;
18110 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18112 PyObject
* obj0
= 0 ;
18113 char *kwnames
[] = {
18114 (char *) "self", NULL
18117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18122 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
18124 wxPyEndAllowThreads(__tstate
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18136 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18137 PyObject
*resultobj
;
18138 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18140 PyObject
* obj0
= 0 ;
18141 char *kwnames
[] = {
18142 (char *) "self", NULL
18145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18152 wxPyEndAllowThreads(__tstate
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18164 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18165 PyObject
*resultobj
;
18166 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18168 PyObject
* obj0
= 0 ;
18169 char *kwnames
[] = {
18170 (char *) "self", NULL
18173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18178 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
18180 wxPyEndAllowThreads(__tstate
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18184 wxSize
* resultptr
;
18185 resultptr
= new wxSize((wxSize
&) result
);
18186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18194 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18195 PyObject
*resultobj
;
18196 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18197 wxWindow
*arg2
= (wxWindow
*) 0 ;
18198 PyObject
* obj0
= 0 ;
18199 PyObject
* obj1
= 0 ;
18200 char *kwnames
[] = {
18201 (char *) "self",(char *) "child", NULL
18204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18207 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18211 (arg1
)->base_AddChild(arg2
);
18213 wxPyEndAllowThreads(__tstate
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18216 Py_INCREF(Py_None
); resultobj
= Py_None
;
18223 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18224 PyObject
*resultobj
;
18225 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18226 wxWindow
*arg2
= (wxWindow
*) 0 ;
18227 PyObject
* obj0
= 0 ;
18228 PyObject
* obj1
= 0 ;
18229 char *kwnames
[] = {
18230 (char *) "self",(char *) "child", NULL
18233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18236 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18240 (arg1
)->base_RemoveChild(arg2
);
18242 wxPyEndAllowThreads(__tstate
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18245 Py_INCREF(Py_None
); resultobj
= Py_None
;
18252 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18253 PyObject
*resultobj
;
18254 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18256 PyObject
* obj0
= 0 ;
18257 char *kwnames
[] = {
18258 (char *) "self", NULL
18261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18266 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
18268 wxPyEndAllowThreads(__tstate
);
18269 if (PyErr_Occurred()) SWIG_fail
;
18272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18280 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18281 PyObject
*resultobj
;
18282 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18283 wxColour
*arg2
= 0 ;
18285 PyObject
* obj0
= 0 ;
18286 PyObject
* obj1
= 0 ;
18287 char *kwnames
[] = {
18288 (char *) "self",(char *) "c", NULL
18291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18296 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18300 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
18302 wxPyEndAllowThreads(__tstate
);
18303 if (PyErr_Occurred()) SWIG_fail
;
18305 Py_INCREF(Py_None
); resultobj
= Py_None
;
18312 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18313 PyObject
*resultobj
;
18314 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18315 wxVisualAttributes result
;
18316 PyObject
* obj0
= 0 ;
18317 char *kwnames
[] = {
18318 (char *) "self", NULL
18321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18326 result
= (arg1
)->base_GetDefaultAttributes();
18328 wxPyEndAllowThreads(__tstate
);
18329 if (PyErr_Occurred()) SWIG_fail
;
18332 wxVisualAttributes
* resultptr
;
18333 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18334 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18342 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
18344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18345 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
18347 return Py_BuildValue((char *)"");
18349 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
18350 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
18355 static PyObject
*_wrap_PrintoutTitleStr_get() {
18360 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18362 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18369 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
18370 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
18375 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
18380 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18382 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18389 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
18390 PyObject
*resultobj
;
18391 wxPrintData
*result
;
18393 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
18395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18396 result
= (wxPrintData
*)new wxPrintData();
18398 wxPyEndAllowThreads(__tstate
);
18399 if (PyErr_Occurred()) SWIG_fail
;
18401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18408 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
18409 PyObject
*resultobj
;
18410 wxPrintData
*arg1
= 0 ;
18411 wxPrintData
*result
;
18412 PyObject
* obj0
= 0 ;
18414 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
18415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18416 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18418 if (arg1
== NULL
) {
18419 PyErr_SetString(PyExc_TypeError
,"null reference");
18423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18424 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
18426 wxPyEndAllowThreads(__tstate
);
18427 if (PyErr_Occurred()) SWIG_fail
;
18429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18436 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
18441 argc
= PyObject_Length(args
);
18442 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
18443 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18446 return _wrap_new_PrintData__SWIG_0(self
,args
);
18452 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
18460 return _wrap_new_PrintData__SWIG_1(self
,args
);
18464 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintData'");
18469 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18470 PyObject
*resultobj
;
18471 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18472 PyObject
* obj0
= 0 ;
18473 char *kwnames
[] = {
18474 (char *) "self", NULL
18477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
18478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18484 wxPyEndAllowThreads(__tstate
);
18485 if (PyErr_Occurred()) SWIG_fail
;
18487 Py_INCREF(Py_None
); resultobj
= Py_None
;
18494 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18495 PyObject
*resultobj
;
18496 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18498 PyObject
* obj0
= 0 ;
18499 char *kwnames
[] = {
18500 (char *) "self", NULL
18503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18508 result
= (int)(arg1
)->GetNoCopies();
18510 wxPyEndAllowThreads(__tstate
);
18511 if (PyErr_Occurred()) SWIG_fail
;
18513 resultobj
= SWIG_From_int((int)result
);
18520 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18521 PyObject
*resultobj
;
18522 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18524 PyObject
* obj0
= 0 ;
18525 char *kwnames
[] = {
18526 (char *) "self", NULL
18529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
18530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18534 result
= (bool)(arg1
)->GetCollate();
18536 wxPyEndAllowThreads(__tstate
);
18537 if (PyErr_Occurred()) SWIG_fail
;
18540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18548 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18549 PyObject
*resultobj
;
18550 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18552 PyObject
* obj0
= 0 ;
18553 char *kwnames
[] = {
18554 (char *) "self", NULL
18557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
18558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18562 result
= (int)(arg1
)->GetOrientation();
18564 wxPyEndAllowThreads(__tstate
);
18565 if (PyErr_Occurred()) SWIG_fail
;
18567 resultobj
= SWIG_From_int((int)result
);
18574 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18575 PyObject
*resultobj
;
18576 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18578 PyObject
* obj0
= 0 ;
18579 char *kwnames
[] = {
18580 (char *) "self", NULL
18583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
18584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18588 result
= (bool)(arg1
)->Ok();
18590 wxPyEndAllowThreads(__tstate
);
18591 if (PyErr_Occurred()) SWIG_fail
;
18594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18602 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18603 PyObject
*resultobj
;
18604 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18606 PyObject
* obj0
= 0 ;
18607 char *kwnames
[] = {
18608 (char *) "self", NULL
18611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18617 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18618 result
= (wxString
*) &_result_ref
;
18621 wxPyEndAllowThreads(__tstate
);
18622 if (PyErr_Occurred()) SWIG_fail
;
18626 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18628 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18637 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18638 PyObject
*resultobj
;
18639 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18641 PyObject
* obj0
= 0 ;
18642 char *kwnames
[] = {
18643 (char *) "self", NULL
18646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18651 result
= (bool)(arg1
)->GetColour();
18653 wxPyEndAllowThreads(__tstate
);
18654 if (PyErr_Occurred()) SWIG_fail
;
18657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18665 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18666 PyObject
*resultobj
;
18667 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18669 PyObject
* obj0
= 0 ;
18670 char *kwnames
[] = {
18671 (char *) "self", NULL
18674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18679 result
= (int)(arg1
)->GetDuplex();
18681 wxPyEndAllowThreads(__tstate
);
18682 if (PyErr_Occurred()) SWIG_fail
;
18684 resultobj
= SWIG_From_int((int)result
);
18691 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18692 PyObject
*resultobj
;
18693 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18695 PyObject
* obj0
= 0 ;
18696 char *kwnames
[] = {
18697 (char *) "self", NULL
18700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18705 result
= (int)(arg1
)->GetPaperId();
18707 wxPyEndAllowThreads(__tstate
);
18708 if (PyErr_Occurred()) SWIG_fail
;
18710 resultobj
= SWIG_From_int((int)result
);
18717 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18718 PyObject
*resultobj
;
18719 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18721 PyObject
* obj0
= 0 ;
18722 char *kwnames
[] = {
18723 (char *) "self", NULL
18726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18732 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18733 result
= (wxSize
*) &_result_ref
;
18736 wxPyEndAllowThreads(__tstate
);
18737 if (PyErr_Occurred()) SWIG_fail
;
18739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18746 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18747 PyObject
*resultobj
;
18748 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18750 PyObject
* obj0
= 0 ;
18751 char *kwnames
[] = {
18752 (char *) "self", NULL
18755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18760 result
= (int)(arg1
)->GetQuality();
18762 wxPyEndAllowThreads(__tstate
);
18763 if (PyErr_Occurred()) SWIG_fail
;
18765 resultobj
= SWIG_From_int((int)result
);
18772 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18773 PyObject
*resultobj
;
18774 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18776 PyObject
* obj0
= 0 ;
18777 char *kwnames
[] = {
18778 (char *) "self", NULL
18781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
18782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18786 result
= (int)(arg1
)->GetBin();
18788 wxPyEndAllowThreads(__tstate
);
18789 if (PyErr_Occurred()) SWIG_fail
;
18791 resultobj
= SWIG_From_int((int)result
);
18798 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18799 PyObject
*resultobj
;
18800 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18802 PyObject
* obj0
= 0 ;
18803 char *kwnames
[] = {
18804 (char *) "self", NULL
18807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18812 result
= (int)((wxPrintData
const *)arg1
)->GetPrintMode();
18814 wxPyEndAllowThreads(__tstate
);
18815 if (PyErr_Occurred()) SWIG_fail
;
18817 resultobj
= SWIG_From_int((int)result
);
18824 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18825 PyObject
*resultobj
;
18826 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18828 PyObject
* obj0
= 0 ;
18829 PyObject
* obj1
= 0 ;
18830 char *kwnames
[] = {
18831 (char *) "self",(char *) "v", NULL
18834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18837 arg2
= (int)SWIG_As_int(obj1
);
18838 if (PyErr_Occurred()) SWIG_fail
;
18840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18841 (arg1
)->SetNoCopies(arg2
);
18843 wxPyEndAllowThreads(__tstate
);
18844 if (PyErr_Occurred()) SWIG_fail
;
18846 Py_INCREF(Py_None
); resultobj
= Py_None
;
18853 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18854 PyObject
*resultobj
;
18855 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18857 PyObject
* obj0
= 0 ;
18858 PyObject
* obj1
= 0 ;
18859 char *kwnames
[] = {
18860 (char *) "self",(char *) "flag", NULL
18863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18866 arg2
= (bool)SWIG_As_bool(obj1
);
18867 if (PyErr_Occurred()) SWIG_fail
;
18869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18870 (arg1
)->SetCollate(arg2
);
18872 wxPyEndAllowThreads(__tstate
);
18873 if (PyErr_Occurred()) SWIG_fail
;
18875 Py_INCREF(Py_None
); resultobj
= Py_None
;
18882 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18883 PyObject
*resultobj
;
18884 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18886 PyObject
* obj0
= 0 ;
18887 PyObject
* obj1
= 0 ;
18888 char *kwnames
[] = {
18889 (char *) "self",(char *) "orient", NULL
18892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18895 arg2
= (int)SWIG_As_int(obj1
);
18896 if (PyErr_Occurred()) SWIG_fail
;
18898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18899 (arg1
)->SetOrientation(arg2
);
18901 wxPyEndAllowThreads(__tstate
);
18902 if (PyErr_Occurred()) SWIG_fail
;
18904 Py_INCREF(Py_None
); resultobj
= Py_None
;
18911 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18912 PyObject
*resultobj
;
18913 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18914 wxString
*arg2
= 0 ;
18915 bool temp2
= false ;
18916 PyObject
* obj0
= 0 ;
18917 PyObject
* obj1
= 0 ;
18918 char *kwnames
[] = {
18919 (char *) "self",(char *) "name", NULL
18922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18926 arg2
= wxString_in_helper(obj1
);
18927 if (arg2
== NULL
) SWIG_fail
;
18931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18932 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18934 wxPyEndAllowThreads(__tstate
);
18935 if (PyErr_Occurred()) SWIG_fail
;
18937 Py_INCREF(Py_None
); resultobj
= Py_None
;
18952 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18953 PyObject
*resultobj
;
18954 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18956 PyObject
* obj0
= 0 ;
18957 PyObject
* obj1
= 0 ;
18958 char *kwnames
[] = {
18959 (char *) "self",(char *) "colour", NULL
18962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18965 arg2
= (bool)SWIG_As_bool(obj1
);
18966 if (PyErr_Occurred()) SWIG_fail
;
18968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18969 (arg1
)->SetColour(arg2
);
18971 wxPyEndAllowThreads(__tstate
);
18972 if (PyErr_Occurred()) SWIG_fail
;
18974 Py_INCREF(Py_None
); resultobj
= Py_None
;
18981 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18982 PyObject
*resultobj
;
18983 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18985 PyObject
* obj0
= 0 ;
18986 PyObject
* obj1
= 0 ;
18987 char *kwnames
[] = {
18988 (char *) "self",(char *) "duplex", NULL
18991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18994 arg2
= (int)SWIG_As_int(obj1
);
18995 if (PyErr_Occurred()) SWIG_fail
;
18997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18998 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
19000 wxPyEndAllowThreads(__tstate
);
19001 if (PyErr_Occurred()) SWIG_fail
;
19003 Py_INCREF(Py_None
); resultobj
= Py_None
;
19010 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19011 PyObject
*resultobj
;
19012 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19014 PyObject
* obj0
= 0 ;
19015 PyObject
* obj1
= 0 ;
19016 char *kwnames
[] = {
19017 (char *) "self",(char *) "sizeId", NULL
19020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
19021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19023 arg2
= (int)SWIG_As_int(obj1
);
19024 if (PyErr_Occurred()) SWIG_fail
;
19026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19027 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
19029 wxPyEndAllowThreads(__tstate
);
19030 if (PyErr_Occurred()) SWIG_fail
;
19032 Py_INCREF(Py_None
); resultobj
= Py_None
;
19039 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19040 PyObject
*resultobj
;
19041 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19044 PyObject
* obj0
= 0 ;
19045 PyObject
* obj1
= 0 ;
19046 char *kwnames
[] = {
19047 (char *) "self",(char *) "sz", NULL
19050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19055 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19059 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
19061 wxPyEndAllowThreads(__tstate
);
19062 if (PyErr_Occurred()) SWIG_fail
;
19064 Py_INCREF(Py_None
); resultobj
= Py_None
;
19071 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19072 PyObject
*resultobj
;
19073 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19075 PyObject
* obj0
= 0 ;
19076 PyObject
* obj1
= 0 ;
19077 char *kwnames
[] = {
19078 (char *) "self",(char *) "quality", NULL
19081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
19082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19084 arg2
= (int)SWIG_As_int(obj1
);
19085 if (PyErr_Occurred()) SWIG_fail
;
19087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19088 (arg1
)->SetQuality(arg2
);
19090 wxPyEndAllowThreads(__tstate
);
19091 if (PyErr_Occurred()) SWIG_fail
;
19093 Py_INCREF(Py_None
); resultobj
= Py_None
;
19100 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19101 PyObject
*resultobj
;
19102 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19104 PyObject
* obj0
= 0 ;
19105 PyObject
* obj1
= 0 ;
19106 char *kwnames
[] = {
19107 (char *) "self",(char *) "bin", NULL
19110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
19111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19113 arg2
= (int)SWIG_As_int(obj1
);
19114 if (PyErr_Occurred()) SWIG_fail
;
19116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19117 (arg1
)->SetBin((wxPrintBin
)arg2
);
19119 wxPyEndAllowThreads(__tstate
);
19120 if (PyErr_Occurred()) SWIG_fail
;
19122 Py_INCREF(Py_None
); resultobj
= Py_None
;
19129 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19130 PyObject
*resultobj
;
19131 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19133 PyObject
* obj0
= 0 ;
19134 PyObject
* obj1
= 0 ;
19135 char *kwnames
[] = {
19136 (char *) "self",(char *) "printMode", NULL
19139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19142 arg2
= (int)SWIG_As_int(obj1
);
19143 if (PyErr_Occurred()) SWIG_fail
;
19145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19146 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19148 wxPyEndAllowThreads(__tstate
);
19149 if (PyErr_Occurred()) SWIG_fail
;
19151 Py_INCREF(Py_None
); resultobj
= Py_None
;
19158 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19159 PyObject
*resultobj
;
19160 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19162 PyObject
* obj0
= 0 ;
19163 char *kwnames
[] = {
19164 (char *) "self", NULL
19167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
19168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19172 result
= ((wxPrintData
const *)arg1
)->GetFilename();
19174 wxPyEndAllowThreads(__tstate
);
19175 if (PyErr_Occurred()) SWIG_fail
;
19179 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19181 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19190 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19191 PyObject
*resultobj
;
19192 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19193 wxString
*arg2
= 0 ;
19194 bool temp2
= false ;
19195 PyObject
* obj0
= 0 ;
19196 PyObject
* obj1
= 0 ;
19197 char *kwnames
[] = {
19198 (char *) "self",(char *) "filename", NULL
19201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
19202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19205 arg2
= wxString_in_helper(obj1
);
19206 if (arg2
== NULL
) SWIG_fail
;
19210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19211 (arg1
)->SetFilename((wxString
const &)*arg2
);
19213 wxPyEndAllowThreads(__tstate
);
19214 if (PyErr_Occurred()) SWIG_fail
;
19216 Py_INCREF(Py_None
); resultobj
= Py_None
;
19231 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19232 PyObject
*resultobj
;
19233 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19235 PyObject
* obj0
= 0 ;
19236 char *kwnames
[] = {
19237 (char *) "self", NULL
19240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
19241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19246 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
19247 result
= (wxString
*) &_result_ref
;
19250 wxPyEndAllowThreads(__tstate
);
19251 if (PyErr_Occurred()) SWIG_fail
;
19255 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19257 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19266 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19267 PyObject
*resultobj
;
19268 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19270 PyObject
* obj0
= 0 ;
19271 char *kwnames
[] = {
19272 (char *) "self", NULL
19275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
19276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19281 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
19282 result
= (wxString
*) &_result_ref
;
19285 wxPyEndAllowThreads(__tstate
);
19286 if (PyErr_Occurred()) SWIG_fail
;
19290 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19292 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19301 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19302 PyObject
*resultobj
;
19303 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19305 PyObject
* obj0
= 0 ;
19306 char *kwnames
[] = {
19307 (char *) "self", NULL
19310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
19311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19316 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
19317 result
= (wxString
*) &_result_ref
;
19320 wxPyEndAllowThreads(__tstate
);
19321 if (PyErr_Occurred()) SWIG_fail
;
19325 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19327 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19336 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19337 PyObject
*resultobj
;
19338 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19340 PyObject
* obj0
= 0 ;
19341 char *kwnames
[] = {
19342 (char *) "self", NULL
19345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
19346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19351 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
19352 result
= (wxString
*) &_result_ref
;
19355 wxPyEndAllowThreads(__tstate
);
19356 if (PyErr_Occurred()) SWIG_fail
;
19360 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19362 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19371 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19372 PyObject
*resultobj
;
19373 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19375 PyObject
* obj0
= 0 ;
19376 char *kwnames
[] = {
19377 (char *) "self", NULL
19380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
19381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19385 result
= (double)(arg1
)->GetPrinterScaleX();
19387 wxPyEndAllowThreads(__tstate
);
19388 if (PyErr_Occurred()) SWIG_fail
;
19390 resultobj
= SWIG_From_double((double)result
);
19397 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19398 PyObject
*resultobj
;
19399 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19401 PyObject
* obj0
= 0 ;
19402 char *kwnames
[] = {
19403 (char *) "self", NULL
19406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
19407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19411 result
= (double)(arg1
)->GetPrinterScaleY();
19413 wxPyEndAllowThreads(__tstate
);
19414 if (PyErr_Occurred()) SWIG_fail
;
19416 resultobj
= SWIG_From_double((double)result
);
19423 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19424 PyObject
*resultobj
;
19425 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19427 PyObject
* obj0
= 0 ;
19428 char *kwnames
[] = {
19429 (char *) "self", NULL
19432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
19433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19437 result
= (long)(arg1
)->GetPrinterTranslateX();
19439 wxPyEndAllowThreads(__tstate
);
19440 if (PyErr_Occurred()) SWIG_fail
;
19442 resultobj
= SWIG_From_long((long)result
);
19449 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19450 PyObject
*resultobj
;
19451 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19453 PyObject
* obj0
= 0 ;
19454 char *kwnames
[] = {
19455 (char *) "self", NULL
19458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
19459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19463 result
= (long)(arg1
)->GetPrinterTranslateY();
19465 wxPyEndAllowThreads(__tstate
);
19466 if (PyErr_Occurred()) SWIG_fail
;
19468 resultobj
= SWIG_From_long((long)result
);
19475 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19476 PyObject
*resultobj
;
19477 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19478 wxString
*arg2
= 0 ;
19479 bool temp2
= false ;
19480 PyObject
* obj0
= 0 ;
19481 PyObject
* obj1
= 0 ;
19482 char *kwnames
[] = {
19483 (char *) "self",(char *) "command", NULL
19486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19490 arg2
= wxString_in_helper(obj1
);
19491 if (arg2
== NULL
) SWIG_fail
;
19495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19496 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
19498 wxPyEndAllowThreads(__tstate
);
19499 if (PyErr_Occurred()) SWIG_fail
;
19501 Py_INCREF(Py_None
); resultobj
= Py_None
;
19516 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19517 PyObject
*resultobj
;
19518 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19519 wxString
*arg2
= 0 ;
19520 bool temp2
= false ;
19521 PyObject
* obj0
= 0 ;
19522 PyObject
* obj1
= 0 ;
19523 char *kwnames
[] = {
19524 (char *) "self",(char *) "options", NULL
19527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
19528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19531 arg2
= wxString_in_helper(obj1
);
19532 if (arg2
== NULL
) SWIG_fail
;
19536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19537 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
19539 wxPyEndAllowThreads(__tstate
);
19540 if (PyErr_Occurred()) SWIG_fail
;
19542 Py_INCREF(Py_None
); resultobj
= Py_None
;
19557 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19558 PyObject
*resultobj
;
19559 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19560 wxString
*arg2
= 0 ;
19561 bool temp2
= false ;
19562 PyObject
* obj0
= 0 ;
19563 PyObject
* obj1
= 0 ;
19564 char *kwnames
[] = {
19565 (char *) "self",(char *) "command", NULL
19568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19572 arg2
= wxString_in_helper(obj1
);
19573 if (arg2
== NULL
) SWIG_fail
;
19577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19578 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
19580 wxPyEndAllowThreads(__tstate
);
19581 if (PyErr_Occurred()) SWIG_fail
;
19583 Py_INCREF(Py_None
); resultobj
= Py_None
;
19598 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19599 PyObject
*resultobj
;
19600 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19601 wxString
*arg2
= 0 ;
19602 bool temp2
= false ;
19603 PyObject
* obj0
= 0 ;
19604 PyObject
* obj1
= 0 ;
19605 char *kwnames
[] = {
19606 (char *) "self",(char *) "path", NULL
19609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
19610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19613 arg2
= wxString_in_helper(obj1
);
19614 if (arg2
== NULL
) SWIG_fail
;
19618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19619 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
19621 wxPyEndAllowThreads(__tstate
);
19622 if (PyErr_Occurred()) SWIG_fail
;
19624 Py_INCREF(Py_None
); resultobj
= Py_None
;
19639 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19640 PyObject
*resultobj
;
19641 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19643 PyObject
* obj0
= 0 ;
19644 PyObject
* obj1
= 0 ;
19645 char *kwnames
[] = {
19646 (char *) "self",(char *) "x", NULL
19649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
19650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19652 arg2
= (double)SWIG_As_double(obj1
);
19653 if (PyErr_Occurred()) SWIG_fail
;
19655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19656 (arg1
)->SetPrinterScaleX(arg2
);
19658 wxPyEndAllowThreads(__tstate
);
19659 if (PyErr_Occurred()) SWIG_fail
;
19661 Py_INCREF(Py_None
); resultobj
= Py_None
;
19668 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19669 PyObject
*resultobj
;
19670 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19672 PyObject
* obj0
= 0 ;
19673 PyObject
* obj1
= 0 ;
19674 char *kwnames
[] = {
19675 (char *) "self",(char *) "y", NULL
19678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
19679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19681 arg2
= (double)SWIG_As_double(obj1
);
19682 if (PyErr_Occurred()) SWIG_fail
;
19684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19685 (arg1
)->SetPrinterScaleY(arg2
);
19687 wxPyEndAllowThreads(__tstate
);
19688 if (PyErr_Occurred()) SWIG_fail
;
19690 Py_INCREF(Py_None
); resultobj
= Py_None
;
19697 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19698 PyObject
*resultobj
;
19699 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19702 PyObject
* obj0
= 0 ;
19703 PyObject
* obj1
= 0 ;
19704 PyObject
* obj2
= 0 ;
19705 char *kwnames
[] = {
19706 (char *) "self",(char *) "x",(char *) "y", NULL
19709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19712 arg2
= (double)SWIG_As_double(obj1
);
19713 if (PyErr_Occurred()) SWIG_fail
;
19714 arg3
= (double)SWIG_As_double(obj2
);
19715 if (PyErr_Occurred()) SWIG_fail
;
19717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19718 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19720 wxPyEndAllowThreads(__tstate
);
19721 if (PyErr_Occurred()) SWIG_fail
;
19723 Py_INCREF(Py_None
); resultobj
= Py_None
;
19730 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19731 PyObject
*resultobj
;
19732 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19734 PyObject
* obj0
= 0 ;
19735 PyObject
* obj1
= 0 ;
19736 char *kwnames
[] = {
19737 (char *) "self",(char *) "x", NULL
19740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19743 arg2
= (long)SWIG_As_long(obj1
);
19744 if (PyErr_Occurred()) SWIG_fail
;
19746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19747 (arg1
)->SetPrinterTranslateX(arg2
);
19749 wxPyEndAllowThreads(__tstate
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19752 Py_INCREF(Py_None
); resultobj
= Py_None
;
19759 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19760 PyObject
*resultobj
;
19761 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19763 PyObject
* obj0
= 0 ;
19764 PyObject
* obj1
= 0 ;
19765 char *kwnames
[] = {
19766 (char *) "self",(char *) "y", NULL
19769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19772 arg2
= (long)SWIG_As_long(obj1
);
19773 if (PyErr_Occurred()) SWIG_fail
;
19775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19776 (arg1
)->SetPrinterTranslateY(arg2
);
19778 wxPyEndAllowThreads(__tstate
);
19779 if (PyErr_Occurred()) SWIG_fail
;
19781 Py_INCREF(Py_None
); resultobj
= Py_None
;
19788 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19789 PyObject
*resultobj
;
19790 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19793 PyObject
* obj0
= 0 ;
19794 PyObject
* obj1
= 0 ;
19795 PyObject
* obj2
= 0 ;
19796 char *kwnames
[] = {
19797 (char *) "self",(char *) "x",(char *) "y", NULL
19800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19803 arg2
= (long)SWIG_As_long(obj1
);
19804 if (PyErr_Occurred()) SWIG_fail
;
19805 arg3
= (long)SWIG_As_long(obj2
);
19806 if (PyErr_Occurred()) SWIG_fail
;
19808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19809 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19811 wxPyEndAllowThreads(__tstate
);
19812 if (PyErr_Occurred()) SWIG_fail
;
19814 Py_INCREF(Py_None
); resultobj
= Py_None
;
19821 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
19823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19824 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19826 return Py_BuildValue((char *)"");
19828 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
19829 PyObject
*resultobj
;
19830 wxPageSetupDialogData
*result
;
19832 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
19834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19835 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19837 wxPyEndAllowThreads(__tstate
);
19838 if (PyErr_Occurred()) SWIG_fail
;
19840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19847 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
19848 PyObject
*resultobj
;
19849 wxPageSetupDialogData
*arg1
= 0 ;
19850 wxPageSetupDialogData
*result
;
19851 PyObject
* obj0
= 0 ;
19853 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
19854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19855 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19857 if (arg1
== NULL
) {
19858 PyErr_SetString(PyExc_TypeError
,"null reference");
19862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19863 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
19865 wxPyEndAllowThreads(__tstate
);
19866 if (PyErr_Occurred()) SWIG_fail
;
19868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19875 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
19880 argc
= PyObject_Length(args
);
19881 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19882 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19885 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
19891 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
19899 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
19903 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PageSetupDialogData'");
19908 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19909 PyObject
*resultobj
;
19910 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19911 PyObject
* obj0
= 0 ;
19912 char *kwnames
[] = {
19913 (char *) "self", NULL
19916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19923 wxPyEndAllowThreads(__tstate
);
19924 if (PyErr_Occurred()) SWIG_fail
;
19926 Py_INCREF(Py_None
); resultobj
= Py_None
;
19933 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19934 PyObject
*resultobj
;
19935 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19937 PyObject
* obj0
= 0 ;
19938 PyObject
* obj1
= 0 ;
19939 char *kwnames
[] = {
19940 (char *) "self",(char *) "flag", NULL
19943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19946 arg2
= (bool)SWIG_As_bool(obj1
);
19947 if (PyErr_Occurred()) SWIG_fail
;
19949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19950 (arg1
)->EnableHelp(arg2
);
19952 wxPyEndAllowThreads(__tstate
);
19953 if (PyErr_Occurred()) SWIG_fail
;
19955 Py_INCREF(Py_None
); resultobj
= Py_None
;
19962 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19963 PyObject
*resultobj
;
19964 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19966 PyObject
* obj0
= 0 ;
19967 PyObject
* obj1
= 0 ;
19968 char *kwnames
[] = {
19969 (char *) "self",(char *) "flag", NULL
19972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19975 arg2
= (bool)SWIG_As_bool(obj1
);
19976 if (PyErr_Occurred()) SWIG_fail
;
19978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19979 (arg1
)->EnableMargins(arg2
);
19981 wxPyEndAllowThreads(__tstate
);
19982 if (PyErr_Occurred()) SWIG_fail
;
19984 Py_INCREF(Py_None
); resultobj
= Py_None
;
19991 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19992 PyObject
*resultobj
;
19993 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19995 PyObject
* obj0
= 0 ;
19996 PyObject
* obj1
= 0 ;
19997 char *kwnames
[] = {
19998 (char *) "self",(char *) "flag", NULL
20001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
20002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20004 arg2
= (bool)SWIG_As_bool(obj1
);
20005 if (PyErr_Occurred()) SWIG_fail
;
20007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20008 (arg1
)->EnableOrientation(arg2
);
20010 wxPyEndAllowThreads(__tstate
);
20011 if (PyErr_Occurred()) SWIG_fail
;
20013 Py_INCREF(Py_None
); resultobj
= Py_None
;
20020 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20021 PyObject
*resultobj
;
20022 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20024 PyObject
* obj0
= 0 ;
20025 PyObject
* obj1
= 0 ;
20026 char *kwnames
[] = {
20027 (char *) "self",(char *) "flag", NULL
20030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
20031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20033 arg2
= (bool)SWIG_As_bool(obj1
);
20034 if (PyErr_Occurred()) SWIG_fail
;
20036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20037 (arg1
)->EnablePaper(arg2
);
20039 wxPyEndAllowThreads(__tstate
);
20040 if (PyErr_Occurred()) SWIG_fail
;
20042 Py_INCREF(Py_None
); resultobj
= Py_None
;
20049 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20050 PyObject
*resultobj
;
20051 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20053 PyObject
* obj0
= 0 ;
20054 PyObject
* obj1
= 0 ;
20055 char *kwnames
[] = {
20056 (char *) "self",(char *) "flag", NULL
20059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
20060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20062 arg2
= (bool)SWIG_As_bool(obj1
);
20063 if (PyErr_Occurred()) SWIG_fail
;
20065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20066 (arg1
)->EnablePrinter(arg2
);
20068 wxPyEndAllowThreads(__tstate
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20071 Py_INCREF(Py_None
); resultobj
= Py_None
;
20078 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20079 PyObject
*resultobj
;
20080 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20082 PyObject
* obj0
= 0 ;
20083 char *kwnames
[] = {
20084 (char *) "self", NULL
20087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
20088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20092 result
= (bool)(arg1
)->GetDefaultMinMargins();
20094 wxPyEndAllowThreads(__tstate
);
20095 if (PyErr_Occurred()) SWIG_fail
;
20098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20106 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20107 PyObject
*resultobj
;
20108 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20110 PyObject
* obj0
= 0 ;
20111 char *kwnames
[] = {
20112 (char *) "self", NULL
20115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
20116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20120 result
= (bool)(arg1
)->GetEnableMargins();
20122 wxPyEndAllowThreads(__tstate
);
20123 if (PyErr_Occurred()) SWIG_fail
;
20126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20134 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20135 PyObject
*resultobj
;
20136 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20138 PyObject
* obj0
= 0 ;
20139 char *kwnames
[] = {
20140 (char *) "self", NULL
20143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
20144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20148 result
= (bool)(arg1
)->GetEnableOrientation();
20150 wxPyEndAllowThreads(__tstate
);
20151 if (PyErr_Occurred()) SWIG_fail
;
20154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20162 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20163 PyObject
*resultobj
;
20164 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20166 PyObject
* obj0
= 0 ;
20167 char *kwnames
[] = {
20168 (char *) "self", NULL
20171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
20172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20176 result
= (bool)(arg1
)->GetEnablePaper();
20178 wxPyEndAllowThreads(__tstate
);
20179 if (PyErr_Occurred()) SWIG_fail
;
20182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20190 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20191 PyObject
*resultobj
;
20192 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20194 PyObject
* obj0
= 0 ;
20195 char *kwnames
[] = {
20196 (char *) "self", NULL
20199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
20200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20204 result
= (bool)(arg1
)->GetEnablePrinter();
20206 wxPyEndAllowThreads(__tstate
);
20207 if (PyErr_Occurred()) SWIG_fail
;
20210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20218 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20219 PyObject
*resultobj
;
20220 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20222 PyObject
* obj0
= 0 ;
20223 char *kwnames
[] = {
20224 (char *) "self", NULL
20227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20232 result
= (bool)(arg1
)->GetEnableHelp();
20234 wxPyEndAllowThreads(__tstate
);
20235 if (PyErr_Occurred()) SWIG_fail
;
20238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20246 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20247 PyObject
*resultobj
;
20248 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20250 PyObject
* obj0
= 0 ;
20251 char *kwnames
[] = {
20252 (char *) "self", NULL
20255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
20256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20260 result
= (bool)(arg1
)->GetDefaultInfo();
20262 wxPyEndAllowThreads(__tstate
);
20263 if (PyErr_Occurred()) SWIG_fail
;
20266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20274 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20275 PyObject
*resultobj
;
20276 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20278 PyObject
* obj0
= 0 ;
20279 char *kwnames
[] = {
20280 (char *) "self", NULL
20283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20288 result
= (arg1
)->GetMarginTopLeft();
20290 wxPyEndAllowThreads(__tstate
);
20291 if (PyErr_Occurred()) SWIG_fail
;
20294 wxPoint
* resultptr
;
20295 resultptr
= new wxPoint((wxPoint
&) result
);
20296 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20304 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20305 PyObject
*resultobj
;
20306 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20308 PyObject
* obj0
= 0 ;
20309 char *kwnames
[] = {
20310 (char *) "self", NULL
20313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20318 result
= (arg1
)->GetMarginBottomRight();
20320 wxPyEndAllowThreads(__tstate
);
20321 if (PyErr_Occurred()) SWIG_fail
;
20324 wxPoint
* resultptr
;
20325 resultptr
= new wxPoint((wxPoint
&) result
);
20326 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20334 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20335 PyObject
*resultobj
;
20336 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20338 PyObject
* obj0
= 0 ;
20339 char *kwnames
[] = {
20340 (char *) "self", NULL
20343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20348 result
= (arg1
)->GetMinMarginTopLeft();
20350 wxPyEndAllowThreads(__tstate
);
20351 if (PyErr_Occurred()) SWIG_fail
;
20354 wxPoint
* resultptr
;
20355 resultptr
= new wxPoint((wxPoint
&) result
);
20356 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20364 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20365 PyObject
*resultobj
;
20366 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20368 PyObject
* obj0
= 0 ;
20369 char *kwnames
[] = {
20370 (char *) "self", NULL
20373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20378 result
= (arg1
)->GetMinMarginBottomRight();
20380 wxPyEndAllowThreads(__tstate
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20384 wxPoint
* resultptr
;
20385 resultptr
= new wxPoint((wxPoint
&) result
);
20386 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20394 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20395 PyObject
*resultobj
;
20396 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20398 PyObject
* obj0
= 0 ;
20399 char *kwnames
[] = {
20400 (char *) "self", NULL
20403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20408 result
= (int)(arg1
)->GetPaperId();
20410 wxPyEndAllowThreads(__tstate
);
20411 if (PyErr_Occurred()) SWIG_fail
;
20413 resultobj
= SWIG_From_int((int)result
);
20420 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20421 PyObject
*resultobj
;
20422 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20424 PyObject
* obj0
= 0 ;
20425 char *kwnames
[] = {
20426 (char *) "self", NULL
20429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20434 result
= (arg1
)->GetPaperSize();
20436 wxPyEndAllowThreads(__tstate
);
20437 if (PyErr_Occurred()) SWIG_fail
;
20440 wxSize
* resultptr
;
20441 resultptr
= new wxSize((wxSize
&) result
);
20442 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20450 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20451 PyObject
*resultobj
;
20452 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20453 wxPrintData
*result
;
20454 PyObject
* obj0
= 0 ;
20455 char *kwnames
[] = {
20456 (char *) "self", NULL
20459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20465 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20466 result
= (wxPrintData
*) &_result_ref
;
20469 wxPyEndAllowThreads(__tstate
);
20470 if (PyErr_Occurred()) SWIG_fail
;
20472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20479 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20480 PyObject
*resultobj
;
20481 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20483 PyObject
* obj0
= 0 ;
20484 char *kwnames
[] = {
20485 (char *) "self", NULL
20488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20493 result
= (bool)(arg1
)->Ok();
20495 wxPyEndAllowThreads(__tstate
);
20496 if (PyErr_Occurred()) SWIG_fail
;
20499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20507 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20508 PyObject
*resultobj
;
20509 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20511 PyObject
* obj0
= 0 ;
20512 PyObject
* obj1
= 0 ;
20513 char *kwnames
[] = {
20514 (char *) "self",(char *) "flag", NULL
20517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
20518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20520 arg2
= (bool)SWIG_As_bool(obj1
);
20521 if (PyErr_Occurred()) SWIG_fail
;
20523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20524 (arg1
)->SetDefaultInfo(arg2
);
20526 wxPyEndAllowThreads(__tstate
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20529 Py_INCREF(Py_None
); resultobj
= Py_None
;
20536 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20537 PyObject
*resultobj
;
20538 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20540 PyObject
* obj0
= 0 ;
20541 PyObject
* obj1
= 0 ;
20542 char *kwnames
[] = {
20543 (char *) "self",(char *) "flag", NULL
20546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20549 arg2
= (bool)SWIG_As_bool(obj1
);
20550 if (PyErr_Occurred()) SWIG_fail
;
20552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20553 (arg1
)->SetDefaultMinMargins(arg2
);
20555 wxPyEndAllowThreads(__tstate
);
20556 if (PyErr_Occurred()) SWIG_fail
;
20558 Py_INCREF(Py_None
); resultobj
= Py_None
;
20565 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20566 PyObject
*resultobj
;
20567 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20568 wxPoint
*arg2
= 0 ;
20570 PyObject
* obj0
= 0 ;
20571 PyObject
* obj1
= 0 ;
20572 char *kwnames
[] = {
20573 (char *) "self",(char *) "pt", NULL
20576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20581 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20585 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
20587 wxPyEndAllowThreads(__tstate
);
20588 if (PyErr_Occurred()) SWIG_fail
;
20590 Py_INCREF(Py_None
); resultobj
= Py_None
;
20597 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20598 PyObject
*resultobj
;
20599 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20600 wxPoint
*arg2
= 0 ;
20602 PyObject
* obj0
= 0 ;
20603 PyObject
* obj1
= 0 ;
20604 char *kwnames
[] = {
20605 (char *) "self",(char *) "pt", NULL
20608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20613 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20617 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20619 wxPyEndAllowThreads(__tstate
);
20620 if (PyErr_Occurred()) SWIG_fail
;
20622 Py_INCREF(Py_None
); resultobj
= Py_None
;
20629 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20630 PyObject
*resultobj
;
20631 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20632 wxPoint
*arg2
= 0 ;
20634 PyObject
* obj0
= 0 ;
20635 PyObject
* obj1
= 0 ;
20636 char *kwnames
[] = {
20637 (char *) "self",(char *) "pt", NULL
20640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20645 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20649 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20651 wxPyEndAllowThreads(__tstate
);
20652 if (PyErr_Occurred()) SWIG_fail
;
20654 Py_INCREF(Py_None
); resultobj
= Py_None
;
20661 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20662 PyObject
*resultobj
;
20663 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20664 wxPoint
*arg2
= 0 ;
20666 PyObject
* obj0
= 0 ;
20667 PyObject
* obj1
= 0 ;
20668 char *kwnames
[] = {
20669 (char *) "self",(char *) "pt", NULL
20672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20677 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20681 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20683 wxPyEndAllowThreads(__tstate
);
20684 if (PyErr_Occurred()) SWIG_fail
;
20686 Py_INCREF(Py_None
); resultobj
= Py_None
;
20693 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20694 PyObject
*resultobj
;
20695 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20697 PyObject
* obj0
= 0 ;
20698 PyObject
* obj1
= 0 ;
20699 char *kwnames
[] = {
20700 (char *) "self",(char *) "id", NULL
20703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20706 arg2
= (int)SWIG_As_int(obj1
);
20707 if (PyErr_Occurred()) SWIG_fail
;
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20712 wxPyEndAllowThreads(__tstate
);
20713 if (PyErr_Occurred()) SWIG_fail
;
20715 Py_INCREF(Py_None
); resultobj
= Py_None
;
20722 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20723 PyObject
*resultobj
;
20724 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20727 PyObject
* obj0
= 0 ;
20728 PyObject
* obj1
= 0 ;
20729 char *kwnames
[] = {
20730 (char *) "self",(char *) "size", NULL
20733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20738 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20742 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20744 wxPyEndAllowThreads(__tstate
);
20745 if (PyErr_Occurred()) SWIG_fail
;
20747 Py_INCREF(Py_None
); resultobj
= Py_None
;
20754 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20755 PyObject
*resultobj
;
20756 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20757 wxPrintData
*arg2
= 0 ;
20758 PyObject
* obj0
= 0 ;
20759 PyObject
* obj1
= 0 ;
20760 char *kwnames
[] = {
20761 (char *) "self",(char *) "printData", NULL
20764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20768 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20770 if (arg2
== NULL
) {
20771 PyErr_SetString(PyExc_TypeError
,"null reference");
20775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20776 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20778 wxPyEndAllowThreads(__tstate
);
20779 if (PyErr_Occurred()) SWIG_fail
;
20781 Py_INCREF(Py_None
); resultobj
= Py_None
;
20788 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
20790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20791 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20793 return Py_BuildValue((char *)"");
20795 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20796 PyObject
*resultobj
;
20797 wxWindow
*arg1
= (wxWindow
*) 0 ;
20798 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20799 wxPageSetupDialog
*result
;
20800 PyObject
* obj0
= 0 ;
20801 PyObject
* obj1
= 0 ;
20802 char *kwnames
[] = {
20803 (char *) "parent",(char *) "data", NULL
20806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20814 if (!wxPyCheckForApp()) SWIG_fail
;
20815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20816 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20818 wxPyEndAllowThreads(__tstate
);
20819 if (PyErr_Occurred()) SWIG_fail
;
20821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20828 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20829 PyObject
*resultobj
;
20830 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20831 wxPageSetupDialogData
*result
;
20832 PyObject
* obj0
= 0 ;
20833 char *kwnames
[] = {
20834 (char *) "self", NULL
20837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20844 result
= (wxPageSetupDialogData
*) &_result_ref
;
20847 wxPyEndAllowThreads(__tstate
);
20848 if (PyErr_Occurred()) SWIG_fail
;
20850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20857 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20858 PyObject
*resultobj
;
20859 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20860 wxPageSetupDialogData
*result
;
20861 PyObject
* obj0
= 0 ;
20862 char *kwnames
[] = {
20863 (char *) "self", NULL
20866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
20867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20872 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
20873 result
= (wxPageSetupDialogData
*) &_result_ref
;
20876 wxPyEndAllowThreads(__tstate
);
20877 if (PyErr_Occurred()) SWIG_fail
;
20879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20886 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20887 PyObject
*resultobj
;
20888 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20890 PyObject
* obj0
= 0 ;
20891 char *kwnames
[] = {
20892 (char *) "self", NULL
20895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20900 result
= (int)(arg1
)->ShowModal();
20902 wxPyEndAllowThreads(__tstate
);
20903 if (PyErr_Occurred()) SWIG_fail
;
20905 resultobj
= SWIG_From_int((int)result
);
20912 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
20914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20915 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20917 return Py_BuildValue((char *)"");
20919 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
20920 PyObject
*resultobj
;
20921 wxPrintDialogData
*result
;
20923 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20926 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20928 wxPyEndAllowThreads(__tstate
);
20929 if (PyErr_Occurred()) SWIG_fail
;
20931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20938 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
20939 PyObject
*resultobj
;
20940 wxPrintData
*arg1
= 0 ;
20941 wxPrintDialogData
*result
;
20942 PyObject
* obj0
= 0 ;
20944 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20946 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20948 if (arg1
== NULL
) {
20949 PyErr_SetString(PyExc_TypeError
,"null reference");
20953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20954 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20956 wxPyEndAllowThreads(__tstate
);
20957 if (PyErr_Occurred()) SWIG_fail
;
20959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20966 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20971 argc
= PyObject_Length(args
);
20972 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20973 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20976 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20982 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20990 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20994 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20999 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21000 PyObject
*resultobj
;
21001 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21002 PyObject
* obj0
= 0 ;
21003 char *kwnames
[] = {
21004 (char *) "self", NULL
21007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
21008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21014 wxPyEndAllowThreads(__tstate
);
21015 if (PyErr_Occurred()) SWIG_fail
;
21017 Py_INCREF(Py_None
); resultobj
= Py_None
;
21024 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21025 PyObject
*resultobj
;
21026 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21028 PyObject
* obj0
= 0 ;
21029 char *kwnames
[] = {
21030 (char *) "self", NULL
21033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
21034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21038 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
21040 wxPyEndAllowThreads(__tstate
);
21041 if (PyErr_Occurred()) SWIG_fail
;
21043 resultobj
= SWIG_From_int((int)result
);
21050 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21051 PyObject
*resultobj
;
21052 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21054 PyObject
* obj0
= 0 ;
21055 char *kwnames
[] = {
21056 (char *) "self", NULL
21059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
21060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21064 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
21066 wxPyEndAllowThreads(__tstate
);
21067 if (PyErr_Occurred()) SWIG_fail
;
21069 resultobj
= SWIG_From_int((int)result
);
21076 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21077 PyObject
*resultobj
;
21078 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21080 PyObject
* obj0
= 0 ;
21081 char *kwnames
[] = {
21082 (char *) "self", NULL
21085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
21086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21090 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
21092 wxPyEndAllowThreads(__tstate
);
21093 if (PyErr_Occurred()) SWIG_fail
;
21095 resultobj
= SWIG_From_int((int)result
);
21102 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21103 PyObject
*resultobj
;
21104 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21106 PyObject
* obj0
= 0 ;
21107 char *kwnames
[] = {
21108 (char *) "self", NULL
21111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
21112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21116 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
21118 wxPyEndAllowThreads(__tstate
);
21119 if (PyErr_Occurred()) SWIG_fail
;
21121 resultobj
= SWIG_From_int((int)result
);
21128 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21129 PyObject
*resultobj
;
21130 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21132 PyObject
* obj0
= 0 ;
21133 char *kwnames
[] = {
21134 (char *) "self", NULL
21137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
21138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21142 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
21144 wxPyEndAllowThreads(__tstate
);
21145 if (PyErr_Occurred()) SWIG_fail
;
21147 resultobj
= SWIG_From_int((int)result
);
21154 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21155 PyObject
*resultobj
;
21156 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21158 PyObject
* obj0
= 0 ;
21159 char *kwnames
[] = {
21160 (char *) "self", NULL
21163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
21164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21168 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
21170 wxPyEndAllowThreads(__tstate
);
21171 if (PyErr_Occurred()) SWIG_fail
;
21174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21182 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21183 PyObject
*resultobj
;
21184 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21186 PyObject
* obj0
= 0 ;
21187 char *kwnames
[] = {
21188 (char *) "self", NULL
21191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
21192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21196 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
21198 wxPyEndAllowThreads(__tstate
);
21199 if (PyErr_Occurred()) SWIG_fail
;
21202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21210 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21211 PyObject
*resultobj
;
21212 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21214 PyObject
* obj0
= 0 ;
21215 char *kwnames
[] = {
21216 (char *) "self", NULL
21219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
21220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21224 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
21226 wxPyEndAllowThreads(__tstate
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21238 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21239 PyObject
*resultobj
;
21240 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21242 PyObject
* obj0
= 0 ;
21243 char *kwnames
[] = {
21244 (char *) "self", NULL
21247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
21248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21252 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
21254 wxPyEndAllowThreads(__tstate
);
21255 if (PyErr_Occurred()) SWIG_fail
;
21258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21266 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21267 PyObject
*resultobj
;
21268 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21270 PyObject
* obj0
= 0 ;
21271 char *kwnames
[] = {
21272 (char *) "self", NULL
21275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
21276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21280 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
21282 wxPyEndAllowThreads(__tstate
);
21283 if (PyErr_Occurred()) SWIG_fail
;
21286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21294 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21295 PyObject
*resultobj
;
21296 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21298 PyObject
* obj0
= 0 ;
21299 PyObject
* obj1
= 0 ;
21300 char *kwnames
[] = {
21301 (char *) "self",(char *) "flag", NULL
21304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21307 arg2
= (bool)SWIG_As_bool(obj1
);
21308 if (PyErr_Occurred()) SWIG_fail
;
21310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21311 (arg1
)->SetSetupDialog(arg2
);
21313 wxPyEndAllowThreads(__tstate
);
21314 if (PyErr_Occurred()) SWIG_fail
;
21316 Py_INCREF(Py_None
); resultobj
= Py_None
;
21323 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21324 PyObject
*resultobj
;
21325 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21327 PyObject
* obj0
= 0 ;
21328 PyObject
* obj1
= 0 ;
21329 char *kwnames
[] = {
21330 (char *) "self",(char *) "v", NULL
21333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21336 arg2
= (int)SWIG_As_int(obj1
);
21337 if (PyErr_Occurred()) SWIG_fail
;
21339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21340 (arg1
)->SetFromPage(arg2
);
21342 wxPyEndAllowThreads(__tstate
);
21343 if (PyErr_Occurred()) SWIG_fail
;
21345 Py_INCREF(Py_None
); resultobj
= Py_None
;
21352 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21353 PyObject
*resultobj
;
21354 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21356 PyObject
* obj0
= 0 ;
21357 PyObject
* obj1
= 0 ;
21358 char *kwnames
[] = {
21359 (char *) "self",(char *) "v", NULL
21362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21365 arg2
= (int)SWIG_As_int(obj1
);
21366 if (PyErr_Occurred()) SWIG_fail
;
21368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21369 (arg1
)->SetToPage(arg2
);
21371 wxPyEndAllowThreads(__tstate
);
21372 if (PyErr_Occurred()) SWIG_fail
;
21374 Py_INCREF(Py_None
); resultobj
= Py_None
;
21381 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21382 PyObject
*resultobj
;
21383 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21385 PyObject
* obj0
= 0 ;
21386 PyObject
* obj1
= 0 ;
21387 char *kwnames
[] = {
21388 (char *) "self",(char *) "v", NULL
21391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21394 arg2
= (int)SWIG_As_int(obj1
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21398 (arg1
)->SetMinPage(arg2
);
21400 wxPyEndAllowThreads(__tstate
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21403 Py_INCREF(Py_None
); resultobj
= Py_None
;
21410 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21411 PyObject
*resultobj
;
21412 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21414 PyObject
* obj0
= 0 ;
21415 PyObject
* obj1
= 0 ;
21416 char *kwnames
[] = {
21417 (char *) "self",(char *) "v", NULL
21420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21423 arg2
= (int)SWIG_As_int(obj1
);
21424 if (PyErr_Occurred()) SWIG_fail
;
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 (arg1
)->SetMaxPage(arg2
);
21429 wxPyEndAllowThreads(__tstate
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21432 Py_INCREF(Py_None
); resultobj
= Py_None
;
21439 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21440 PyObject
*resultobj
;
21441 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21443 PyObject
* obj0
= 0 ;
21444 PyObject
* obj1
= 0 ;
21445 char *kwnames
[] = {
21446 (char *) "self",(char *) "v", NULL
21449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21452 arg2
= (int)SWIG_As_int(obj1
);
21453 if (PyErr_Occurred()) SWIG_fail
;
21455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21456 (arg1
)->SetNoCopies(arg2
);
21458 wxPyEndAllowThreads(__tstate
);
21459 if (PyErr_Occurred()) SWIG_fail
;
21461 Py_INCREF(Py_None
); resultobj
= Py_None
;
21468 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21469 PyObject
*resultobj
;
21470 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21472 PyObject
* obj0
= 0 ;
21473 PyObject
* obj1
= 0 ;
21474 char *kwnames
[] = {
21475 (char *) "self",(char *) "flag", NULL
21478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
21479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21481 arg2
= (bool)SWIG_As_bool(obj1
);
21482 if (PyErr_Occurred()) SWIG_fail
;
21484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21485 (arg1
)->SetAllPages(arg2
);
21487 wxPyEndAllowThreads(__tstate
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21490 Py_INCREF(Py_None
); resultobj
= Py_None
;
21497 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21498 PyObject
*resultobj
;
21499 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21501 PyObject
* obj0
= 0 ;
21502 PyObject
* obj1
= 0 ;
21503 char *kwnames
[] = {
21504 (char *) "self",(char *) "flag", NULL
21507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21510 arg2
= (bool)SWIG_As_bool(obj1
);
21511 if (PyErr_Occurred()) SWIG_fail
;
21513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21514 (arg1
)->SetSelection(arg2
);
21516 wxPyEndAllowThreads(__tstate
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21519 Py_INCREF(Py_None
); resultobj
= Py_None
;
21526 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21527 PyObject
*resultobj
;
21528 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21530 PyObject
* obj0
= 0 ;
21531 PyObject
* obj1
= 0 ;
21532 char *kwnames
[] = {
21533 (char *) "self",(char *) "flag", NULL
21536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21539 arg2
= (bool)SWIG_As_bool(obj1
);
21540 if (PyErr_Occurred()) SWIG_fail
;
21542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21543 (arg1
)->SetCollate(arg2
);
21545 wxPyEndAllowThreads(__tstate
);
21546 if (PyErr_Occurred()) SWIG_fail
;
21548 Py_INCREF(Py_None
); resultobj
= Py_None
;
21555 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21556 PyObject
*resultobj
;
21557 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21559 PyObject
* obj0
= 0 ;
21560 PyObject
* obj1
= 0 ;
21561 char *kwnames
[] = {
21562 (char *) "self",(char *) "flag", NULL
21565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21568 arg2
= (bool)SWIG_As_bool(obj1
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21572 (arg1
)->SetPrintToFile(arg2
);
21574 wxPyEndAllowThreads(__tstate
);
21575 if (PyErr_Occurred()) SWIG_fail
;
21577 Py_INCREF(Py_None
); resultobj
= Py_None
;
21584 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21585 PyObject
*resultobj
;
21586 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21588 PyObject
* obj0
= 0 ;
21589 PyObject
* obj1
= 0 ;
21590 char *kwnames
[] = {
21591 (char *) "self",(char *) "flag", NULL
21594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21597 arg2
= (bool)SWIG_As_bool(obj1
);
21598 if (PyErr_Occurred()) SWIG_fail
;
21600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21601 (arg1
)->EnablePrintToFile(arg2
);
21603 wxPyEndAllowThreads(__tstate
);
21604 if (PyErr_Occurred()) SWIG_fail
;
21606 Py_INCREF(Py_None
); resultobj
= Py_None
;
21613 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21614 PyObject
*resultobj
;
21615 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21617 PyObject
* obj0
= 0 ;
21618 PyObject
* obj1
= 0 ;
21619 char *kwnames
[] = {
21620 (char *) "self",(char *) "flag", NULL
21623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21626 arg2
= (bool)SWIG_As_bool(obj1
);
21627 if (PyErr_Occurred()) SWIG_fail
;
21629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21630 (arg1
)->EnableSelection(arg2
);
21632 wxPyEndAllowThreads(__tstate
);
21633 if (PyErr_Occurred()) SWIG_fail
;
21635 Py_INCREF(Py_None
); resultobj
= Py_None
;
21642 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21643 PyObject
*resultobj
;
21644 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21646 PyObject
* obj0
= 0 ;
21647 PyObject
* obj1
= 0 ;
21648 char *kwnames
[] = {
21649 (char *) "self",(char *) "flag", NULL
21652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21655 arg2
= (bool)SWIG_As_bool(obj1
);
21656 if (PyErr_Occurred()) SWIG_fail
;
21658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21659 (arg1
)->EnablePageNumbers(arg2
);
21661 wxPyEndAllowThreads(__tstate
);
21662 if (PyErr_Occurred()) SWIG_fail
;
21664 Py_INCREF(Py_None
); resultobj
= Py_None
;
21671 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21672 PyObject
*resultobj
;
21673 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21675 PyObject
* obj0
= 0 ;
21676 PyObject
* obj1
= 0 ;
21677 char *kwnames
[] = {
21678 (char *) "self",(char *) "flag", NULL
21681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21684 arg2
= (bool)SWIG_As_bool(obj1
);
21685 if (PyErr_Occurred()) SWIG_fail
;
21687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21688 (arg1
)->EnableHelp(arg2
);
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21693 Py_INCREF(Py_None
); resultobj
= Py_None
;
21700 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21701 PyObject
*resultobj
;
21702 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21704 PyObject
* obj0
= 0 ;
21705 char *kwnames
[] = {
21706 (char *) "self", NULL
21709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21714 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21716 wxPyEndAllowThreads(__tstate
);
21717 if (PyErr_Occurred()) SWIG_fail
;
21720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21728 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21729 PyObject
*resultobj
;
21730 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21732 PyObject
* obj0
= 0 ;
21733 char *kwnames
[] = {
21734 (char *) "self", NULL
21737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21742 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21744 wxPyEndAllowThreads(__tstate
);
21745 if (PyErr_Occurred()) SWIG_fail
;
21748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21756 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21757 PyObject
*resultobj
;
21758 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21760 PyObject
* obj0
= 0 ;
21761 char *kwnames
[] = {
21762 (char *) "self", NULL
21765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21770 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21772 wxPyEndAllowThreads(__tstate
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21784 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21785 PyObject
*resultobj
;
21786 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21788 PyObject
* obj0
= 0 ;
21789 char *kwnames
[] = {
21790 (char *) "self", NULL
21793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21798 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21800 wxPyEndAllowThreads(__tstate
);
21801 if (PyErr_Occurred()) SWIG_fail
;
21804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21812 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21813 PyObject
*resultobj
;
21814 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21816 PyObject
* obj0
= 0 ;
21817 char *kwnames
[] = {
21818 (char *) "self", NULL
21821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21826 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21828 wxPyEndAllowThreads(__tstate
);
21829 if (PyErr_Occurred()) SWIG_fail
;
21832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21840 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21841 PyObject
*resultobj
;
21842 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21843 wxPrintData
*result
;
21844 PyObject
* obj0
= 0 ;
21845 char *kwnames
[] = {
21846 (char *) "self", NULL
21849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21855 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21856 result
= (wxPrintData
*) &_result_ref
;
21859 wxPyEndAllowThreads(__tstate
);
21860 if (PyErr_Occurred()) SWIG_fail
;
21862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21869 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21870 PyObject
*resultobj
;
21871 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21872 wxPrintData
*arg2
= 0 ;
21873 PyObject
* obj0
= 0 ;
21874 PyObject
* obj1
= 0 ;
21875 char *kwnames
[] = {
21876 (char *) "self",(char *) "printData", NULL
21879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21883 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21885 if (arg2
== NULL
) {
21886 PyErr_SetString(PyExc_TypeError
,"null reference");
21890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21891 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21893 wxPyEndAllowThreads(__tstate
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21896 Py_INCREF(Py_None
); resultobj
= Py_None
;
21903 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
21905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21906 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21908 return Py_BuildValue((char *)"");
21910 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21911 PyObject
*resultobj
;
21912 wxWindow
*arg1
= (wxWindow
*) 0 ;
21913 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21914 wxPrintDialog
*result
;
21915 PyObject
* obj0
= 0 ;
21916 PyObject
* obj1
= 0 ;
21917 char *kwnames
[] = {
21918 (char *) "parent",(char *) "data", NULL
21921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21929 if (!wxPyCheckForApp()) SWIG_fail
;
21930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21931 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21933 wxPyEndAllowThreads(__tstate
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21943 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21944 PyObject
*resultobj
;
21945 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21947 PyObject
* obj0
= 0 ;
21948 char *kwnames
[] = {
21949 (char *) "self", NULL
21952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21957 result
= (int)(arg1
)->ShowModal();
21959 wxPyEndAllowThreads(__tstate
);
21960 if (PyErr_Occurred()) SWIG_fail
;
21962 resultobj
= SWIG_From_int((int)result
);
21969 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21970 PyObject
*resultobj
;
21971 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21972 wxPrintDialogData
*result
;
21973 PyObject
* obj0
= 0 ;
21974 char *kwnames
[] = {
21975 (char *) "self", NULL
21978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21984 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21985 result
= (wxPrintDialogData
*) &_result_ref
;
21988 wxPyEndAllowThreads(__tstate
);
21989 if (PyErr_Occurred()) SWIG_fail
;
21991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21998 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21999 PyObject
*resultobj
;
22000 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
22001 wxPrintData
*result
;
22002 PyObject
* obj0
= 0 ;
22003 char *kwnames
[] = {
22004 (char *) "self", NULL
22007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
22008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
22009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22013 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22014 result
= (wxPrintData
*) &_result_ref
;
22017 wxPyEndAllowThreads(__tstate
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22027 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22028 PyObject
*resultobj
;
22029 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
22031 PyObject
* obj0
= 0 ;
22032 char *kwnames
[] = {
22033 (char *) "self", NULL
22036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
22037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
22038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22041 result
= (wxDC
*)(arg1
)->GetPrintDC();
22043 wxPyEndAllowThreads(__tstate
);
22044 if (PyErr_Occurred()) SWIG_fail
;
22047 resultobj
= wxPyMake_wxObject(result
, 1);
22055 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
22057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22058 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
22060 return Py_BuildValue((char *)"");
22062 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22063 PyObject
*resultobj
;
22064 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
22066 PyObject
* obj0
= 0 ;
22067 char *kwnames
[] = {
22068 (char *) "data", NULL
22071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
22073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
22074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22077 if (!wxPyCheckForApp()) SWIG_fail
;
22078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22079 result
= (wxPrinter
*)new wxPrinter(arg1
);
22081 wxPyEndAllowThreads(__tstate
);
22082 if (PyErr_Occurred()) SWIG_fail
;
22084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
22091 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22092 PyObject
*resultobj
;
22093 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22094 PyObject
* obj0
= 0 ;
22095 char *kwnames
[] = {
22096 (char *) "self", NULL
22099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
22100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22106 wxPyEndAllowThreads(__tstate
);
22107 if (PyErr_Occurred()) SWIG_fail
;
22109 Py_INCREF(Py_None
); resultobj
= Py_None
;
22116 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22117 PyObject
*resultobj
;
22118 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22119 wxWindow
*arg2
= (wxWindow
*) 0 ;
22120 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22122 PyObject
* obj0
= 0 ;
22123 PyObject
* obj1
= 0 ;
22124 PyObject
* obj2
= 0 ;
22125 char *kwnames
[] = {
22126 (char *) "self",(char *) "parent",(char *) "printout", NULL
22129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22132 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22134 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22138 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
22140 wxPyEndAllowThreads(__tstate
);
22141 if (PyErr_Occurred()) SWIG_fail
;
22144 resultobj
= wxPyMake_wxObject(result
, 0);
22152 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22153 PyObject
*resultobj
;
22154 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22155 wxWindow
*arg2
= (wxWindow
*) 0 ;
22156 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22157 wxString
*arg4
= 0 ;
22158 bool temp4
= false ;
22159 PyObject
* obj0
= 0 ;
22160 PyObject
* obj1
= 0 ;
22161 PyObject
* obj2
= 0 ;
22162 PyObject
* obj3
= 0 ;
22163 char *kwnames
[] = {
22164 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
22167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22170 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22172 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22175 arg4
= wxString_in_helper(obj3
);
22176 if (arg4
== NULL
) SWIG_fail
;
22180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22181 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
22183 wxPyEndAllowThreads(__tstate
);
22184 if (PyErr_Occurred()) SWIG_fail
;
22186 Py_INCREF(Py_None
); resultobj
= Py_None
;
22201 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22202 PyObject
*resultobj
;
22203 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22204 wxWindow
*arg2
= (wxWindow
*) 0 ;
22206 PyObject
* obj0
= 0 ;
22207 PyObject
* obj1
= 0 ;
22208 char *kwnames
[] = {
22209 (char *) "self",(char *) "parent", NULL
22212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
22213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22219 result
= (bool)(arg1
)->Setup(arg2
);
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22233 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22234 PyObject
*resultobj
;
22235 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22236 wxWindow
*arg2
= (wxWindow
*) 0 ;
22237 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22238 bool arg4
= (bool) true ;
22240 PyObject
* obj0
= 0 ;
22241 PyObject
* obj1
= 0 ;
22242 PyObject
* obj2
= 0 ;
22243 PyObject
* obj3
= 0 ;
22244 char *kwnames
[] = {
22245 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
22248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22251 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22253 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22256 arg4
= (bool)SWIG_As_bool(obj3
);
22257 if (PyErr_Occurred()) SWIG_fail
;
22260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22261 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
22263 wxPyEndAllowThreads(__tstate
);
22264 if (PyErr_Occurred()) SWIG_fail
;
22267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22275 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22276 PyObject
*resultobj
;
22277 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22278 wxWindow
*arg2
= (wxWindow
*) 0 ;
22280 PyObject
* obj0
= 0 ;
22281 PyObject
* obj1
= 0 ;
22282 char *kwnames
[] = {
22283 (char *) "self",(char *) "parent", NULL
22286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22293 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
22295 wxPyEndAllowThreads(__tstate
);
22296 if (PyErr_Occurred()) SWIG_fail
;
22299 resultobj
= wxPyMake_wxObject(result
, 0);
22307 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22308 PyObject
*resultobj
;
22309 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22310 wxPrintDialogData
*result
;
22311 PyObject
* obj0
= 0 ;
22312 char *kwnames
[] = {
22313 (char *) "self", NULL
22316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
22317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22322 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
22323 result
= (wxPrintDialogData
*) &_result_ref
;
22326 wxPyEndAllowThreads(__tstate
);
22327 if (PyErr_Occurred()) SWIG_fail
;
22329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
22336 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22337 PyObject
*resultobj
;
22338 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22340 PyObject
* obj0
= 0 ;
22341 char *kwnames
[] = {
22342 (char *) "self", NULL
22345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
22346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22350 result
= (bool)(arg1
)->GetAbort();
22352 wxPyEndAllowThreads(__tstate
);
22353 if (PyErr_Occurred()) SWIG_fail
;
22356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22364 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22365 PyObject
*resultobj
;
22367 char *kwnames
[] = {
22371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
22373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22374 result
= (int)wxPrinter::GetLastError();
22376 wxPyEndAllowThreads(__tstate
);
22377 if (PyErr_Occurred()) SWIG_fail
;
22379 resultobj
= SWIG_From_int((int)result
);
22386 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
22388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22389 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
22391 return Py_BuildValue((char *)"");
22393 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22394 PyObject
*resultobj
;
22395 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
22396 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22397 wxPyPrintout
*result
;
22398 bool temp1
= false ;
22399 PyObject
* obj0
= 0 ;
22400 char *kwnames
[] = {
22401 (char *) "title", NULL
22404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
22407 arg1
= wxString_in_helper(obj0
);
22408 if (arg1
== NULL
) SWIG_fail
;
22413 if (!wxPyCheckForApp()) SWIG_fail
;
22414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22415 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
22417 wxPyEndAllowThreads(__tstate
);
22418 if (PyErr_Occurred()) SWIG_fail
;
22421 resultobj
= wxPyMake_wxObject(result
, 1);
22437 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22438 PyObject
*resultobj
;
22439 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22440 PyObject
*arg2
= (PyObject
*) 0 ;
22441 PyObject
*arg3
= (PyObject
*) 0 ;
22442 PyObject
* obj0
= 0 ;
22443 PyObject
* obj1
= 0 ;
22444 PyObject
* obj2
= 0 ;
22445 char *kwnames
[] = {
22446 (char *) "self",(char *) "self",(char *) "_class", NULL
22449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22456 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22458 wxPyEndAllowThreads(__tstate
);
22459 if (PyErr_Occurred()) SWIG_fail
;
22461 Py_INCREF(Py_None
); resultobj
= Py_None
;
22468 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22469 PyObject
*resultobj
;
22470 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22472 PyObject
* obj0
= 0 ;
22473 char *kwnames
[] = {
22474 (char *) "self", NULL
22477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
22478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22482 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
22484 wxPyEndAllowThreads(__tstate
);
22485 if (PyErr_Occurred()) SWIG_fail
;
22489 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22491 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22500 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22501 PyObject
*resultobj
;
22502 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22504 PyObject
* obj0
= 0 ;
22505 char *kwnames
[] = {
22506 (char *) "self", NULL
22509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
22510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22514 result
= (wxDC
*)(arg1
)->GetDC();
22516 wxPyEndAllowThreads(__tstate
);
22517 if (PyErr_Occurred()) SWIG_fail
;
22520 resultobj
= wxPyMake_wxObject(result
, 0);
22528 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22529 PyObject
*resultobj
;
22530 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22531 wxDC
*arg2
= (wxDC
*) 0 ;
22532 PyObject
* obj0
= 0 ;
22533 PyObject
* obj1
= 0 ;
22534 char *kwnames
[] = {
22535 (char *) "self",(char *) "dc", NULL
22538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22541 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22545 (arg1
)->SetDC(arg2
);
22547 wxPyEndAllowThreads(__tstate
);
22548 if (PyErr_Occurred()) SWIG_fail
;
22550 Py_INCREF(Py_None
); resultobj
= Py_None
;
22557 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22558 PyObject
*resultobj
;
22559 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22562 PyObject
* obj0
= 0 ;
22563 PyObject
* obj1
= 0 ;
22564 PyObject
* obj2
= 0 ;
22565 char *kwnames
[] = {
22566 (char *) "self",(char *) "w",(char *) "h", NULL
22569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22572 arg2
= (int)SWIG_As_int(obj1
);
22573 if (PyErr_Occurred()) SWIG_fail
;
22574 arg3
= (int)SWIG_As_int(obj2
);
22575 if (PyErr_Occurred()) SWIG_fail
;
22577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22578 (arg1
)->SetPageSizePixels(arg2
,arg3
);
22580 wxPyEndAllowThreads(__tstate
);
22581 if (PyErr_Occurred()) SWIG_fail
;
22583 Py_INCREF(Py_None
); resultobj
= Py_None
;
22590 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22591 PyObject
*resultobj
;
22592 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22593 int *arg2
= (int *) 0 ;
22594 int *arg3
= (int *) 0 ;
22599 PyObject
* obj0
= 0 ;
22600 char *kwnames
[] = {
22601 (char *) "self", NULL
22604 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22605 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
22607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22611 (arg1
)->GetPageSizePixels(arg2
,arg3
);
22613 wxPyEndAllowThreads(__tstate
);
22614 if (PyErr_Occurred()) SWIG_fail
;
22616 Py_INCREF(Py_None
); resultobj
= Py_None
;
22617 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22618 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22619 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22620 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22627 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22628 PyObject
*resultobj
;
22629 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22632 PyObject
* obj0
= 0 ;
22633 PyObject
* obj1
= 0 ;
22634 PyObject
* obj2
= 0 ;
22635 char *kwnames
[] = {
22636 (char *) "self",(char *) "w",(char *) "h", NULL
22639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22642 arg2
= (int)SWIG_As_int(obj1
);
22643 if (PyErr_Occurred()) SWIG_fail
;
22644 arg3
= (int)SWIG_As_int(obj2
);
22645 if (PyErr_Occurred()) SWIG_fail
;
22647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22648 (arg1
)->SetPageSizeMM(arg2
,arg3
);
22650 wxPyEndAllowThreads(__tstate
);
22651 if (PyErr_Occurred()) SWIG_fail
;
22653 Py_INCREF(Py_None
); resultobj
= Py_None
;
22660 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22661 PyObject
*resultobj
;
22662 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22663 int *arg2
= (int *) 0 ;
22664 int *arg3
= (int *) 0 ;
22669 PyObject
* obj0
= 0 ;
22670 char *kwnames
[] = {
22671 (char *) "self", NULL
22674 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22675 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22681 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22683 wxPyEndAllowThreads(__tstate
);
22684 if (PyErr_Occurred()) SWIG_fail
;
22686 Py_INCREF(Py_None
); resultobj
= Py_None
;
22687 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22688 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22689 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22690 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22697 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22698 PyObject
*resultobj
;
22699 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22702 PyObject
* obj0
= 0 ;
22703 PyObject
* obj1
= 0 ;
22704 PyObject
* obj2
= 0 ;
22705 char *kwnames
[] = {
22706 (char *) "self",(char *) "x",(char *) "y", NULL
22709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22712 arg2
= (int)SWIG_As_int(obj1
);
22713 if (PyErr_Occurred()) SWIG_fail
;
22714 arg3
= (int)SWIG_As_int(obj2
);
22715 if (PyErr_Occurred()) SWIG_fail
;
22717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22718 (arg1
)->SetPPIScreen(arg2
,arg3
);
22720 wxPyEndAllowThreads(__tstate
);
22721 if (PyErr_Occurred()) SWIG_fail
;
22723 Py_INCREF(Py_None
); resultobj
= Py_None
;
22730 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22731 PyObject
*resultobj
;
22732 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22733 int *arg2
= (int *) 0 ;
22734 int *arg3
= (int *) 0 ;
22739 PyObject
* obj0
= 0 ;
22740 char *kwnames
[] = {
22741 (char *) "self", NULL
22744 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22745 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22751 (arg1
)->GetPPIScreen(arg2
,arg3
);
22753 wxPyEndAllowThreads(__tstate
);
22754 if (PyErr_Occurred()) SWIG_fail
;
22756 Py_INCREF(Py_None
); resultobj
= Py_None
;
22757 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22758 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22759 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22760 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22767 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22768 PyObject
*resultobj
;
22769 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22772 PyObject
* obj0
= 0 ;
22773 PyObject
* obj1
= 0 ;
22774 PyObject
* obj2
= 0 ;
22775 char *kwnames
[] = {
22776 (char *) "self",(char *) "x",(char *) "y", NULL
22779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22782 arg2
= (int)SWIG_As_int(obj1
);
22783 if (PyErr_Occurred()) SWIG_fail
;
22784 arg3
= (int)SWIG_As_int(obj2
);
22785 if (PyErr_Occurred()) SWIG_fail
;
22787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22788 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22790 wxPyEndAllowThreads(__tstate
);
22791 if (PyErr_Occurred()) SWIG_fail
;
22793 Py_INCREF(Py_None
); resultobj
= Py_None
;
22800 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22801 PyObject
*resultobj
;
22802 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22803 int *arg2
= (int *) 0 ;
22804 int *arg3
= (int *) 0 ;
22809 PyObject
* obj0
= 0 ;
22810 char *kwnames
[] = {
22811 (char *) "self", NULL
22814 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22815 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22821 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22823 wxPyEndAllowThreads(__tstate
);
22824 if (PyErr_Occurred()) SWIG_fail
;
22826 Py_INCREF(Py_None
); resultobj
= Py_None
;
22827 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22828 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22829 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22830 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22837 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22838 PyObject
*resultobj
;
22839 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22841 PyObject
* obj0
= 0 ;
22842 char *kwnames
[] = {
22843 (char *) "self", NULL
22846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22851 result
= (bool)(arg1
)->IsPreview();
22853 wxPyEndAllowThreads(__tstate
);
22854 if (PyErr_Occurred()) SWIG_fail
;
22857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22865 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22866 PyObject
*resultobj
;
22867 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22869 PyObject
* obj0
= 0 ;
22870 PyObject
* obj1
= 0 ;
22871 char *kwnames
[] = {
22872 (char *) "self",(char *) "p", NULL
22875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22878 arg2
= (bool)SWIG_As_bool(obj1
);
22879 if (PyErr_Occurred()) SWIG_fail
;
22881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22882 (arg1
)->SetIsPreview(arg2
);
22884 wxPyEndAllowThreads(__tstate
);
22885 if (PyErr_Occurred()) SWIG_fail
;
22887 Py_INCREF(Py_None
); resultobj
= Py_None
;
22894 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22895 PyObject
*resultobj
;
22896 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22900 PyObject
* obj0
= 0 ;
22901 PyObject
* obj1
= 0 ;
22902 PyObject
* obj2
= 0 ;
22903 char *kwnames
[] = {
22904 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22910 arg2
= (int)SWIG_As_int(obj1
);
22911 if (PyErr_Occurred()) SWIG_fail
;
22912 arg3
= (int)SWIG_As_int(obj2
);
22913 if (PyErr_Occurred()) SWIG_fail
;
22915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22916 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22918 wxPyEndAllowThreads(__tstate
);
22919 if (PyErr_Occurred()) SWIG_fail
;
22922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22930 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22931 PyObject
*resultobj
;
22932 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22933 PyObject
* obj0
= 0 ;
22934 char *kwnames
[] = {
22935 (char *) "self", NULL
22938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22943 (arg1
)->base_OnEndDocument();
22945 wxPyEndAllowThreads(__tstate
);
22946 if (PyErr_Occurred()) SWIG_fail
;
22948 Py_INCREF(Py_None
); resultobj
= Py_None
;
22955 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22956 PyObject
*resultobj
;
22957 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22958 PyObject
* obj0
= 0 ;
22959 char *kwnames
[] = {
22960 (char *) "self", NULL
22963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22968 (arg1
)->base_OnBeginPrinting();
22970 wxPyEndAllowThreads(__tstate
);
22971 if (PyErr_Occurred()) SWIG_fail
;
22973 Py_INCREF(Py_None
); resultobj
= Py_None
;
22980 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22981 PyObject
*resultobj
;
22982 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22983 PyObject
* obj0
= 0 ;
22984 char *kwnames
[] = {
22985 (char *) "self", NULL
22988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22993 (arg1
)->base_OnEndPrinting();
22995 wxPyEndAllowThreads(__tstate
);
22996 if (PyErr_Occurred()) SWIG_fail
;
22998 Py_INCREF(Py_None
); resultobj
= Py_None
;
23005 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23006 PyObject
*resultobj
;
23007 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23008 PyObject
* obj0
= 0 ;
23009 char *kwnames
[] = {
23010 (char *) "self", NULL
23013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
23014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23018 (arg1
)->base_OnPreparePrinting();
23020 wxPyEndAllowThreads(__tstate
);
23021 if (PyErr_Occurred()) SWIG_fail
;
23023 Py_INCREF(Py_None
); resultobj
= Py_None
;
23030 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23031 PyObject
*resultobj
;
23032 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23035 PyObject
* obj0
= 0 ;
23036 PyObject
* obj1
= 0 ;
23037 char *kwnames
[] = {
23038 (char *) "self",(char *) "page", NULL
23041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23044 arg2
= (int)SWIG_As_int(obj1
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23048 result
= (bool)(arg1
)->base_HasPage(arg2
);
23050 wxPyEndAllowThreads(__tstate
);
23051 if (PyErr_Occurred()) SWIG_fail
;
23054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23062 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23063 PyObject
*resultobj
;
23064 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23065 int *arg2
= (int *) 0 ;
23066 int *arg3
= (int *) 0 ;
23067 int *arg4
= (int *) 0 ;
23068 int *arg5
= (int *) 0 ;
23077 PyObject
* obj0
= 0 ;
23078 char *kwnames
[] = {
23079 (char *) "self", NULL
23082 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23083 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23084 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
23085 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
23086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
23087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23091 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
23093 wxPyEndAllowThreads(__tstate
);
23094 if (PyErr_Occurred()) SWIG_fail
;
23096 Py_INCREF(Py_None
); resultobj
= Py_None
;
23097 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23098 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23099 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23100 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23101 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
23102 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
23103 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
23104 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
23111 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
23113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23114 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
23116 return Py_BuildValue((char *)"");
23118 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23119 PyObject
*resultobj
;
23120 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23121 wxWindow
*arg2
= (wxWindow
*) 0 ;
23122 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23123 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23124 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23125 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23126 long arg5
= (long) 0 ;
23127 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
23128 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
23129 wxPreviewCanvas
*result
;
23132 bool temp6
= false ;
23133 PyObject
* obj0
= 0 ;
23134 PyObject
* obj1
= 0 ;
23135 PyObject
* obj2
= 0 ;
23136 PyObject
* obj3
= 0 ;
23137 PyObject
* obj4
= 0 ;
23138 PyObject
* obj5
= 0 ;
23139 char *kwnames
[] = {
23140 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23146 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23151 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23157 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23161 arg5
= (long)SWIG_As_long(obj4
);
23162 if (PyErr_Occurred()) SWIG_fail
;
23166 arg6
= wxString_in_helper(obj5
);
23167 if (arg6
== NULL
) SWIG_fail
;
23172 if (!wxPyCheckForApp()) SWIG_fail
;
23173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23174 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
23176 wxPyEndAllowThreads(__tstate
);
23177 if (PyErr_Occurred()) SWIG_fail
;
23179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
23194 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
23196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23197 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
23199 return Py_BuildValue((char *)"");
23201 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23202 PyObject
*resultobj
;
23203 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23204 wxFrame
*arg2
= (wxFrame
*) 0 ;
23205 wxString
*arg3
= 0 ;
23206 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23207 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23208 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23209 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23210 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
23211 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23212 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23213 wxPreviewFrame
*result
;
23214 bool temp3
= false ;
23217 bool temp7
= false ;
23218 PyObject
* obj0
= 0 ;
23219 PyObject
* obj1
= 0 ;
23220 PyObject
* obj2
= 0 ;
23221 PyObject
* obj3
= 0 ;
23222 PyObject
* obj4
= 0 ;
23223 PyObject
* obj5
= 0 ;
23224 PyObject
* obj6
= 0 ;
23225 char *kwnames
[] = {
23226 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23235 arg3
= wxString_in_helper(obj2
);
23236 if (arg3
== NULL
) SWIG_fail
;
23242 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23248 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23252 arg6
= (long)SWIG_As_long(obj5
);
23253 if (PyErr_Occurred()) SWIG_fail
;
23257 arg7
= wxString_in_helper(obj6
);
23258 if (arg7
== NULL
) SWIG_fail
;
23263 if (!wxPyCheckForApp()) SWIG_fail
;
23264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23265 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23267 wxPyEndAllowThreads(__tstate
);
23268 if (PyErr_Occurred()) SWIG_fail
;
23270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
23293 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23294 PyObject
*resultobj
;
23295 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23296 PyObject
* obj0
= 0 ;
23297 char *kwnames
[] = {
23298 (char *) "self", NULL
23301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
23302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23306 (arg1
)->Initialize();
23308 wxPyEndAllowThreads(__tstate
);
23309 if (PyErr_Occurred()) SWIG_fail
;
23311 Py_INCREF(Py_None
); resultobj
= Py_None
;
23318 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23319 PyObject
*resultobj
;
23320 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23321 PyObject
* obj0
= 0 ;
23322 char *kwnames
[] = {
23323 (char *) "self", NULL
23326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
23327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23331 (arg1
)->CreateControlBar();
23333 wxPyEndAllowThreads(__tstate
);
23334 if (PyErr_Occurred()) SWIG_fail
;
23336 Py_INCREF(Py_None
); resultobj
= Py_None
;
23343 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23344 PyObject
*resultobj
;
23345 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23346 PyObject
* obj0
= 0 ;
23347 char *kwnames
[] = {
23348 (char *) "self", NULL
23351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
23352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23356 (arg1
)->CreateCanvas();
23358 wxPyEndAllowThreads(__tstate
);
23359 if (PyErr_Occurred()) SWIG_fail
;
23361 Py_INCREF(Py_None
); resultobj
= Py_None
;
23368 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23369 PyObject
*resultobj
;
23370 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23371 wxPreviewControlBar
*result
;
23372 PyObject
* obj0
= 0 ;
23373 char *kwnames
[] = {
23374 (char *) "self", NULL
23377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
23378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23382 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
23384 wxPyEndAllowThreads(__tstate
);
23385 if (PyErr_Occurred()) SWIG_fail
;
23387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
23394 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
23396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23397 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
23399 return Py_BuildValue((char *)"");
23401 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23402 PyObject
*resultobj
;
23403 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23405 wxWindow
*arg3
= (wxWindow
*) 0 ;
23406 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23407 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23408 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23409 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23410 long arg6
= (long) wxTAB_TRAVERSAL
;
23411 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
23412 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23413 wxPreviewControlBar
*result
;
23416 bool temp7
= false ;
23417 PyObject
* obj0
= 0 ;
23418 PyObject
* obj1
= 0 ;
23419 PyObject
* obj2
= 0 ;
23420 PyObject
* obj3
= 0 ;
23421 PyObject
* obj4
= 0 ;
23422 PyObject
* obj5
= 0 ;
23423 PyObject
* obj6
= 0 ;
23424 char *kwnames
[] = {
23425 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23431 arg2
= (long)SWIG_As_long(obj1
);
23432 if (PyErr_Occurred()) SWIG_fail
;
23433 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
23434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23438 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23444 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23448 arg6
= (long)SWIG_As_long(obj5
);
23449 if (PyErr_Occurred()) SWIG_fail
;
23453 arg7
= wxString_in_helper(obj6
);
23454 if (arg7
== NULL
) SWIG_fail
;
23459 if (!wxPyCheckForApp()) SWIG_fail
;
23460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23461 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23463 wxPyEndAllowThreads(__tstate
);
23464 if (PyErr_Occurred()) SWIG_fail
;
23466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
23481 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23482 PyObject
*resultobj
;
23483 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23485 PyObject
* obj0
= 0 ;
23486 char *kwnames
[] = {
23487 (char *) "self", NULL
23490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
23491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23495 result
= (int)(arg1
)->GetZoomControl();
23497 wxPyEndAllowThreads(__tstate
);
23498 if (PyErr_Occurred()) SWIG_fail
;
23500 resultobj
= SWIG_From_int((int)result
);
23507 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23508 PyObject
*resultobj
;
23509 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23511 PyObject
* obj0
= 0 ;
23512 PyObject
* obj1
= 0 ;
23513 char *kwnames
[] = {
23514 (char *) "self",(char *) "zoom", NULL
23517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
23518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23520 arg2
= (int)SWIG_As_int(obj1
);
23521 if (PyErr_Occurred()) SWIG_fail
;
23523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23524 (arg1
)->SetZoomControl(arg2
);
23526 wxPyEndAllowThreads(__tstate
);
23527 if (PyErr_Occurred()) SWIG_fail
;
23529 Py_INCREF(Py_None
); resultobj
= Py_None
;
23536 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23537 PyObject
*resultobj
;
23538 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23539 wxPrintPreview
*result
;
23540 PyObject
* obj0
= 0 ;
23541 char *kwnames
[] = {
23542 (char *) "self", NULL
23545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
23546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23550 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
23552 wxPyEndAllowThreads(__tstate
);
23553 if (PyErr_Occurred()) SWIG_fail
;
23555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
23562 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23563 PyObject
*resultobj
;
23564 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23565 PyObject
* obj0
= 0 ;
23566 char *kwnames
[] = {
23567 (char *) "self", NULL
23570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
23571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23577 wxPyEndAllowThreads(__tstate
);
23578 if (PyErr_Occurred()) SWIG_fail
;
23580 Py_INCREF(Py_None
); resultobj
= Py_None
;
23587 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23588 PyObject
*resultobj
;
23589 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23590 PyObject
* obj0
= 0 ;
23591 char *kwnames
[] = {
23592 (char *) "self", NULL
23595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
23596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23600 (arg1
)->OnPrevious();
23602 wxPyEndAllowThreads(__tstate
);
23603 if (PyErr_Occurred()) SWIG_fail
;
23605 Py_INCREF(Py_None
); resultobj
= Py_None
;
23612 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23613 PyObject
*resultobj
;
23614 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23615 PyObject
* obj0
= 0 ;
23616 char *kwnames
[] = {
23617 (char *) "self", NULL
23620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
23621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23627 wxPyEndAllowThreads(__tstate
);
23628 if (PyErr_Occurred()) SWIG_fail
;
23630 Py_INCREF(Py_None
); resultobj
= Py_None
;
23637 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23638 PyObject
*resultobj
;
23639 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23640 PyObject
* obj0
= 0 ;
23641 char *kwnames
[] = {
23642 (char *) "self", NULL
23645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
23646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23652 wxPyEndAllowThreads(__tstate
);
23653 if (PyErr_Occurred()) SWIG_fail
;
23655 Py_INCREF(Py_None
); resultobj
= Py_None
;
23662 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23663 PyObject
*resultobj
;
23664 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23665 PyObject
* obj0
= 0 ;
23666 char *kwnames
[] = {
23667 (char *) "self", NULL
23670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23677 wxPyEndAllowThreads(__tstate
);
23678 if (PyErr_Occurred()) SWIG_fail
;
23680 Py_INCREF(Py_None
); resultobj
= Py_None
;
23687 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
23689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23690 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23692 return Py_BuildValue((char *)"");
23694 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
23695 PyObject
*resultobj
;
23696 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23697 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23698 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23699 wxPrintPreview
*result
;
23700 PyObject
* obj0
= 0 ;
23701 PyObject
* obj1
= 0 ;
23702 PyObject
* obj2
= 0 ;
23704 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23710 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23714 if (!wxPyCheckForApp()) SWIG_fail
;
23715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23716 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23718 wxPyEndAllowThreads(__tstate
);
23719 if (PyErr_Occurred()) SWIG_fail
;
23721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23728 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
23729 PyObject
*resultobj
;
23730 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23731 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23732 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23733 wxPrintPreview
*result
;
23734 PyObject
* obj0
= 0 ;
23735 PyObject
* obj1
= 0 ;
23736 PyObject
* obj2
= 0 ;
23738 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23743 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23746 if (!wxPyCheckForApp()) SWIG_fail
;
23747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23748 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23750 wxPyEndAllowThreads(__tstate
);
23751 if (PyErr_Occurred()) SWIG_fail
;
23753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23760 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23765 argc
= PyObject_Length(args
);
23766 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23767 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23769 if ((argc
>= 2) && (argc
<= 3)) {
23773 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23783 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23792 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23796 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23804 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23813 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23823 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23833 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23841 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23847 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23852 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23853 PyObject
*resultobj
;
23854 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23857 PyObject
* obj0
= 0 ;
23858 PyObject
* obj1
= 0 ;
23859 char *kwnames
[] = {
23860 (char *) "self",(char *) "pageNum", NULL
23863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23866 arg2
= (int)SWIG_As_int(obj1
);
23867 if (PyErr_Occurred()) SWIG_fail
;
23869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23870 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23872 wxPyEndAllowThreads(__tstate
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23884 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23885 PyObject
*resultobj
;
23886 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23888 PyObject
* obj0
= 0 ;
23889 char *kwnames
[] = {
23890 (char *) "self", NULL
23893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23898 result
= (int)(arg1
)->GetCurrentPage();
23900 wxPyEndAllowThreads(__tstate
);
23901 if (PyErr_Occurred()) SWIG_fail
;
23903 resultobj
= SWIG_From_int((int)result
);
23910 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23911 PyObject
*resultobj
;
23912 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23913 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23914 PyObject
* obj0
= 0 ;
23915 PyObject
* obj1
= 0 ;
23916 char *kwnames
[] = {
23917 (char *) "self",(char *) "printout", NULL
23920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23923 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23927 (arg1
)->SetPrintout(arg2
);
23929 wxPyEndAllowThreads(__tstate
);
23930 if (PyErr_Occurred()) SWIG_fail
;
23932 Py_INCREF(Py_None
); resultobj
= Py_None
;
23939 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23940 PyObject
*resultobj
;
23941 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23942 wxPyPrintout
*result
;
23943 PyObject
* obj0
= 0 ;
23944 char *kwnames
[] = {
23945 (char *) "self", NULL
23948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23953 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23955 wxPyEndAllowThreads(__tstate
);
23956 if (PyErr_Occurred()) SWIG_fail
;
23959 resultobj
= wxPyMake_wxObject(result
, 0);
23967 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23968 PyObject
*resultobj
;
23969 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23970 wxPyPrintout
*result
;
23971 PyObject
* obj0
= 0 ;
23972 char *kwnames
[] = {
23973 (char *) "self", NULL
23976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23981 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23983 wxPyEndAllowThreads(__tstate
);
23984 if (PyErr_Occurred()) SWIG_fail
;
23987 resultobj
= wxPyMake_wxObject(result
, 0);
23995 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23996 PyObject
*resultobj
;
23997 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23998 wxFrame
*arg2
= (wxFrame
*) 0 ;
23999 PyObject
* obj0
= 0 ;
24000 PyObject
* obj1
= 0 ;
24001 char *kwnames
[] = {
24002 (char *) "self",(char *) "frame", NULL
24005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
24006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24012 (arg1
)->SetFrame(arg2
);
24014 wxPyEndAllowThreads(__tstate
);
24015 if (PyErr_Occurred()) SWIG_fail
;
24017 Py_INCREF(Py_None
); resultobj
= Py_None
;
24024 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24025 PyObject
*resultobj
;
24026 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24027 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24028 PyObject
* obj0
= 0 ;
24029 PyObject
* obj1
= 0 ;
24030 char *kwnames
[] = {
24031 (char *) "self",(char *) "canvas", NULL
24034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24041 (arg1
)->SetCanvas(arg2
);
24043 wxPyEndAllowThreads(__tstate
);
24044 if (PyErr_Occurred()) SWIG_fail
;
24046 Py_INCREF(Py_None
); resultobj
= Py_None
;
24053 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24054 PyObject
*resultobj
;
24055 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24057 PyObject
* obj0
= 0 ;
24058 char *kwnames
[] = {
24059 (char *) "self", NULL
24062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
24063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24067 result
= (wxFrame
*)(arg1
)->GetFrame();
24069 wxPyEndAllowThreads(__tstate
);
24070 if (PyErr_Occurred()) SWIG_fail
;
24073 resultobj
= wxPyMake_wxObject(result
, 0);
24081 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24082 PyObject
*resultobj
;
24083 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24084 wxPreviewCanvas
*result
;
24085 PyObject
* obj0
= 0 ;
24086 char *kwnames
[] = {
24087 (char *) "self", NULL
24090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
24091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24095 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
24097 wxPyEndAllowThreads(__tstate
);
24098 if (PyErr_Occurred()) SWIG_fail
;
24100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
24107 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24108 PyObject
*resultobj
;
24109 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24110 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24113 PyObject
* obj0
= 0 ;
24114 PyObject
* obj1
= 0 ;
24115 PyObject
* obj2
= 0 ;
24116 char *kwnames
[] = {
24117 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24125 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24126 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24128 if (arg3
== NULL
) {
24129 PyErr_SetString(PyExc_TypeError
,"null reference");
24133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24134 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
24136 wxPyEndAllowThreads(__tstate
);
24137 if (PyErr_Occurred()) SWIG_fail
;
24140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24148 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24149 PyObject
*resultobj
;
24150 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24151 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24154 PyObject
* obj0
= 0 ;
24155 PyObject
* obj1
= 0 ;
24156 PyObject
* obj2
= 0 ;
24157 char *kwnames
[] = {
24158 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24166 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24167 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24169 if (arg3
== NULL
) {
24170 PyErr_SetString(PyExc_TypeError
,"null reference");
24174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24175 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
24177 wxPyEndAllowThreads(__tstate
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24189 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24190 PyObject
*resultobj
;
24191 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24194 PyObject
* obj0
= 0 ;
24195 PyObject
* obj1
= 0 ;
24196 char *kwnames
[] = {
24197 (char *) "self",(char *) "pageNum", NULL
24200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24203 arg2
= (int)SWIG_As_int(obj1
);
24204 if (PyErr_Occurred()) SWIG_fail
;
24206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24207 result
= (bool)(arg1
)->RenderPage(arg2
);
24209 wxPyEndAllowThreads(__tstate
);
24210 if (PyErr_Occurred()) SWIG_fail
;
24213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24221 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24222 PyObject
*resultobj
;
24223 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24224 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24225 PyObject
* obj0
= 0 ;
24226 PyObject
* obj1
= 0 ;
24227 char *kwnames
[] = {
24228 (char *) "self",(char *) "canvas", NULL
24231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
24232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24238 (arg1
)->AdjustScrollbars(arg2
);
24240 wxPyEndAllowThreads(__tstate
);
24241 if (PyErr_Occurred()) SWIG_fail
;
24243 Py_INCREF(Py_None
); resultobj
= Py_None
;
24250 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24251 PyObject
*resultobj
;
24252 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24253 wxPrintDialogData
*result
;
24254 PyObject
* obj0
= 0 ;
24255 char *kwnames
[] = {
24256 (char *) "self", NULL
24259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24265 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24266 result
= (wxPrintDialogData
*) &_result_ref
;
24269 wxPyEndAllowThreads(__tstate
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24279 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24280 PyObject
*resultobj
;
24281 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24283 PyObject
* obj0
= 0 ;
24284 PyObject
* obj1
= 0 ;
24285 char *kwnames
[] = {
24286 (char *) "self",(char *) "percent", NULL
24289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24292 arg2
= (int)SWIG_As_int(obj1
);
24293 if (PyErr_Occurred()) SWIG_fail
;
24295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24296 (arg1
)->SetZoom(arg2
);
24298 wxPyEndAllowThreads(__tstate
);
24299 if (PyErr_Occurred()) SWIG_fail
;
24301 Py_INCREF(Py_None
); resultobj
= Py_None
;
24308 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24309 PyObject
*resultobj
;
24310 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24312 PyObject
* obj0
= 0 ;
24313 char *kwnames
[] = {
24314 (char *) "self", NULL
24317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
24318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24322 result
= (int)(arg1
)->GetZoom();
24324 wxPyEndAllowThreads(__tstate
);
24325 if (PyErr_Occurred()) SWIG_fail
;
24327 resultobj
= SWIG_From_int((int)result
);
24334 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24335 PyObject
*resultobj
;
24336 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24338 PyObject
* obj0
= 0 ;
24339 char *kwnames
[] = {
24340 (char *) "self", NULL
24343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
24344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24348 result
= (int)(arg1
)->GetMaxPage();
24350 wxPyEndAllowThreads(__tstate
);
24351 if (PyErr_Occurred()) SWIG_fail
;
24353 resultobj
= SWIG_From_int((int)result
);
24360 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24361 PyObject
*resultobj
;
24362 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24364 PyObject
* obj0
= 0 ;
24365 char *kwnames
[] = {
24366 (char *) "self", NULL
24369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
24370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24374 result
= (int)(arg1
)->GetMinPage();
24376 wxPyEndAllowThreads(__tstate
);
24377 if (PyErr_Occurred()) SWIG_fail
;
24379 resultobj
= SWIG_From_int((int)result
);
24386 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24387 PyObject
*resultobj
;
24388 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24390 PyObject
* obj0
= 0 ;
24391 char *kwnames
[] = {
24392 (char *) "self", NULL
24395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
24396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24400 result
= (bool)(arg1
)->Ok();
24402 wxPyEndAllowThreads(__tstate
);
24403 if (PyErr_Occurred()) SWIG_fail
;
24406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24414 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24415 PyObject
*resultobj
;
24416 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24418 PyObject
* obj0
= 0 ;
24419 PyObject
* obj1
= 0 ;
24420 char *kwnames
[] = {
24421 (char *) "self",(char *) "ok", NULL
24424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
24425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24427 arg2
= (bool)SWIG_As_bool(obj1
);
24428 if (PyErr_Occurred()) SWIG_fail
;
24430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24431 (arg1
)->SetOk(arg2
);
24433 wxPyEndAllowThreads(__tstate
);
24434 if (PyErr_Occurred()) SWIG_fail
;
24436 Py_INCREF(Py_None
); resultobj
= Py_None
;
24443 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24444 PyObject
*resultobj
;
24445 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24448 PyObject
* obj0
= 0 ;
24449 PyObject
* obj1
= 0 ;
24450 char *kwnames
[] = {
24451 (char *) "self",(char *) "interactive", NULL
24454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24457 arg2
= (bool)SWIG_As_bool(obj1
);
24458 if (PyErr_Occurred()) SWIG_fail
;
24460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24461 result
= (bool)(arg1
)->Print(arg2
);
24463 wxPyEndAllowThreads(__tstate
);
24464 if (PyErr_Occurred()) SWIG_fail
;
24467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24475 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24476 PyObject
*resultobj
;
24477 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24478 PyObject
* obj0
= 0 ;
24479 char *kwnames
[] = {
24480 (char *) "self", NULL
24483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24488 (arg1
)->DetermineScaling();
24490 wxPyEndAllowThreads(__tstate
);
24491 if (PyErr_Occurred()) SWIG_fail
;
24493 Py_INCREF(Py_None
); resultobj
= Py_None
;
24500 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24503 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
24505 return Py_BuildValue((char *)"");
24507 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
24508 PyObject
*resultobj
;
24509 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24510 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24511 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
24512 wxPyPrintPreview
*result
;
24513 PyObject
* obj0
= 0 ;
24514 PyObject
* obj1
= 0 ;
24515 PyObject
* obj2
= 0 ;
24517 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24520 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24523 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
24524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24527 if (!wxPyCheckForApp()) SWIG_fail
;
24528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24529 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24531 wxPyEndAllowThreads(__tstate
);
24532 if (PyErr_Occurred()) SWIG_fail
;
24534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24541 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
24542 PyObject
*resultobj
;
24543 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24544 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24545 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
24546 wxPyPrintPreview
*result
;
24547 PyObject
* obj0
= 0 ;
24548 PyObject
* obj1
= 0 ;
24549 PyObject
* obj2
= 0 ;
24551 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24556 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
24557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24559 if (!wxPyCheckForApp()) SWIG_fail
;
24560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24561 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24573 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
24578 argc
= PyObject_Length(args
);
24579 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
24580 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24582 if ((argc
>= 2) && (argc
<= 3)) {
24586 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24596 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24605 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24609 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
24617 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24626 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24636 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24646 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24654 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24660 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24665 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24666 PyObject
*resultobj
;
24667 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24668 PyObject
*arg2
= (PyObject
*) 0 ;
24669 PyObject
*arg3
= (PyObject
*) 0 ;
24670 PyObject
* obj0
= 0 ;
24671 PyObject
* obj1
= 0 ;
24672 PyObject
* obj2
= 0 ;
24673 char *kwnames
[] = {
24674 (char *) "self",(char *) "self",(char *) "_class", NULL
24677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24684 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24686 wxPyEndAllowThreads(__tstate
);
24687 if (PyErr_Occurred()) SWIG_fail
;
24689 Py_INCREF(Py_None
); resultobj
= Py_None
;
24696 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24697 PyObject
*resultobj
;
24698 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24701 PyObject
* obj0
= 0 ;
24702 PyObject
* obj1
= 0 ;
24703 char *kwnames
[] = {
24704 (char *) "self",(char *) "pageNum", NULL
24707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24710 arg2
= (int)SWIG_As_int(obj1
);
24711 if (PyErr_Occurred()) SWIG_fail
;
24713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24714 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24716 wxPyEndAllowThreads(__tstate
);
24717 if (PyErr_Occurred()) SWIG_fail
;
24720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24728 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24729 PyObject
*resultobj
;
24730 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24731 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24734 PyObject
* obj0
= 0 ;
24735 PyObject
* obj1
= 0 ;
24736 PyObject
* obj2
= 0 ;
24737 char *kwnames
[] = {
24738 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24744 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24746 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24747 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24749 if (arg3
== NULL
) {
24750 PyErr_SetString(PyExc_TypeError
,"null reference");
24754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24755 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24757 wxPyEndAllowThreads(__tstate
);
24758 if (PyErr_Occurred()) SWIG_fail
;
24761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24769 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24770 PyObject
*resultobj
;
24771 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24772 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24775 PyObject
* obj0
= 0 ;
24776 PyObject
* obj1
= 0 ;
24777 PyObject
* obj2
= 0 ;
24778 char *kwnames
[] = {
24779 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24785 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24787 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24788 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24790 if (arg3
== NULL
) {
24791 PyErr_SetString(PyExc_TypeError
,"null reference");
24795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24796 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24798 wxPyEndAllowThreads(__tstate
);
24799 if (PyErr_Occurred()) SWIG_fail
;
24802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24810 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24811 PyObject
*resultobj
;
24812 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24815 PyObject
* obj0
= 0 ;
24816 PyObject
* obj1
= 0 ;
24817 char *kwnames
[] = {
24818 (char *) "self",(char *) "pageNum", NULL
24821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24824 arg2
= (int)SWIG_As_int(obj1
);
24825 if (PyErr_Occurred()) SWIG_fail
;
24827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24828 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24830 wxPyEndAllowThreads(__tstate
);
24831 if (PyErr_Occurred()) SWIG_fail
;
24834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24842 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24843 PyObject
*resultobj
;
24844 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24846 PyObject
* obj0
= 0 ;
24847 PyObject
* obj1
= 0 ;
24848 char *kwnames
[] = {
24849 (char *) "self",(char *) "percent", NULL
24852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24855 arg2
= (int)SWIG_As_int(obj1
);
24856 if (PyErr_Occurred()) SWIG_fail
;
24858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24859 (arg1
)->base_SetZoom(arg2
);
24861 wxPyEndAllowThreads(__tstate
);
24862 if (PyErr_Occurred()) SWIG_fail
;
24864 Py_INCREF(Py_None
); resultobj
= Py_None
;
24871 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24872 PyObject
*resultobj
;
24873 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24876 PyObject
* obj0
= 0 ;
24877 PyObject
* obj1
= 0 ;
24878 char *kwnames
[] = {
24879 (char *) "self",(char *) "interactive", NULL
24882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24885 arg2
= (bool)SWIG_As_bool(obj1
);
24886 if (PyErr_Occurred()) SWIG_fail
;
24888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24889 result
= (bool)(arg1
)->base_Print(arg2
);
24891 wxPyEndAllowThreads(__tstate
);
24892 if (PyErr_Occurred()) SWIG_fail
;
24895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24903 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24904 PyObject
*resultobj
;
24905 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24906 PyObject
* obj0
= 0 ;
24907 char *kwnames
[] = {
24908 (char *) "self", NULL
24911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24916 (arg1
)->base_DetermineScaling();
24918 wxPyEndAllowThreads(__tstate
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24921 Py_INCREF(Py_None
); resultobj
= Py_None
;
24928 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24931 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24933 return Py_BuildValue((char *)"");
24935 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24936 PyObject
*resultobj
;
24937 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24938 wxFrame
*arg2
= (wxFrame
*) 0 ;
24939 wxString
*arg3
= 0 ;
24940 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24941 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24942 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24943 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24944 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24945 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24946 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24947 wxPyPreviewFrame
*result
;
24948 bool temp3
= false ;
24951 bool temp7
= false ;
24952 PyObject
* obj0
= 0 ;
24953 PyObject
* obj1
= 0 ;
24954 PyObject
* obj2
= 0 ;
24955 PyObject
* obj3
= 0 ;
24956 PyObject
* obj4
= 0 ;
24957 PyObject
* obj5
= 0 ;
24958 PyObject
* obj6
= 0 ;
24959 char *kwnames
[] = {
24960 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24966 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24969 arg3
= wxString_in_helper(obj2
);
24970 if (arg3
== NULL
) SWIG_fail
;
24976 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24982 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24986 arg6
= (long)SWIG_As_long(obj5
);
24987 if (PyErr_Occurred()) SWIG_fail
;
24991 arg7
= wxString_in_helper(obj6
);
24992 if (arg7
== NULL
) SWIG_fail
;
24997 if (!wxPyCheckForApp()) SWIG_fail
;
24998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24999 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25001 wxPyEndAllowThreads(__tstate
);
25002 if (PyErr_Occurred()) SWIG_fail
;
25004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
25027 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25028 PyObject
*resultobj
;
25029 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25030 PyObject
*arg2
= (PyObject
*) 0 ;
25031 PyObject
*arg3
= (PyObject
*) 0 ;
25032 PyObject
* obj0
= 0 ;
25033 PyObject
* obj1
= 0 ;
25034 PyObject
* obj2
= 0 ;
25035 char *kwnames
[] = {
25036 (char *) "self",(char *) "self",(char *) "_class", NULL
25039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25046 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25048 wxPyEndAllowThreads(__tstate
);
25049 if (PyErr_Occurred()) SWIG_fail
;
25051 Py_INCREF(Py_None
); resultobj
= Py_None
;
25058 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25059 PyObject
*resultobj
;
25060 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25061 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
25062 PyObject
* obj0
= 0 ;
25063 PyObject
* obj1
= 0 ;
25064 char *kwnames
[] = {
25065 (char *) "self",(char *) "canvas", NULL
25068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
25069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25071 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
25072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25075 (arg1
)->SetPreviewCanvas(arg2
);
25077 wxPyEndAllowThreads(__tstate
);
25078 if (PyErr_Occurred()) SWIG_fail
;
25080 Py_INCREF(Py_None
); resultobj
= Py_None
;
25087 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25088 PyObject
*resultobj
;
25089 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25090 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
25091 PyObject
* obj0
= 0 ;
25092 PyObject
* obj1
= 0 ;
25093 char *kwnames
[] = {
25094 (char *) "self",(char *) "bar", NULL
25097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
25098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25100 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
25101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25104 (arg1
)->SetControlBar(arg2
);
25106 wxPyEndAllowThreads(__tstate
);
25107 if (PyErr_Occurred()) SWIG_fail
;
25109 Py_INCREF(Py_None
); resultobj
= Py_None
;
25116 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25117 PyObject
*resultobj
;
25118 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25119 PyObject
* obj0
= 0 ;
25120 char *kwnames
[] = {
25121 (char *) "self", NULL
25124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
25125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25129 (arg1
)->base_Initialize();
25131 wxPyEndAllowThreads(__tstate
);
25132 if (PyErr_Occurred()) SWIG_fail
;
25134 Py_INCREF(Py_None
); resultobj
= Py_None
;
25141 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25142 PyObject
*resultobj
;
25143 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25144 PyObject
* obj0
= 0 ;
25145 char *kwnames
[] = {
25146 (char *) "self", NULL
25149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25154 (arg1
)->base_CreateCanvas();
25156 wxPyEndAllowThreads(__tstate
);
25157 if (PyErr_Occurred()) SWIG_fail
;
25159 Py_INCREF(Py_None
); resultobj
= Py_None
;
25166 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25167 PyObject
*resultobj
;
25168 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25169 PyObject
* obj0
= 0 ;
25170 char *kwnames
[] = {
25171 (char *) "self", NULL
25174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25179 (arg1
)->base_CreateControlBar();
25181 wxPyEndAllowThreads(__tstate
);
25182 if (PyErr_Occurred()) SWIG_fail
;
25184 Py_INCREF(Py_None
); resultobj
= Py_None
;
25191 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25194 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
25196 return Py_BuildValue((char *)"");
25198 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25199 PyObject
*resultobj
;
25200 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25202 wxWindow
*arg3
= (wxWindow
*) 0 ;
25203 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25204 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25205 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25206 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25207 long arg6
= (long) 0 ;
25208 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25209 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25210 wxPyPreviewControlBar
*result
;
25213 bool temp7
= false ;
25214 PyObject
* obj0
= 0 ;
25215 PyObject
* obj1
= 0 ;
25216 PyObject
* obj2
= 0 ;
25217 PyObject
* obj3
= 0 ;
25218 PyObject
* obj4
= 0 ;
25219 PyObject
* obj5
= 0 ;
25220 PyObject
* obj6
= 0 ;
25221 char *kwnames
[] = {
25222 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
25227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25228 arg2
= (long)SWIG_As_long(obj1
);
25229 if (PyErr_Occurred()) SWIG_fail
;
25230 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
25231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25235 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25241 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25245 arg6
= (long)SWIG_As_long(obj5
);
25246 if (PyErr_Occurred()) SWIG_fail
;
25250 arg7
= wxString_in_helper(obj6
);
25251 if (arg7
== NULL
) SWIG_fail
;
25256 if (!wxPyCheckForApp()) SWIG_fail
;
25257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25258 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25260 wxPyEndAllowThreads(__tstate
);
25261 if (PyErr_Occurred()) SWIG_fail
;
25263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
25278 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25279 PyObject
*resultobj
;
25280 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25281 PyObject
*arg2
= (PyObject
*) 0 ;
25282 PyObject
*arg3
= (PyObject
*) 0 ;
25283 PyObject
* obj0
= 0 ;
25284 PyObject
* obj1
= 0 ;
25285 PyObject
* obj2
= 0 ;
25286 char *kwnames
[] = {
25287 (char *) "self",(char *) "self",(char *) "_class", NULL
25290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25297 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25299 wxPyEndAllowThreads(__tstate
);
25300 if (PyErr_Occurred()) SWIG_fail
;
25302 Py_INCREF(Py_None
); resultobj
= Py_None
;
25309 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25310 PyObject
*resultobj
;
25311 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25312 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
25313 PyObject
* obj0
= 0 ;
25314 PyObject
* obj1
= 0 ;
25315 char *kwnames
[] = {
25316 (char *) "self",(char *) "preview", NULL
25319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
25320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25322 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
25323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25326 (arg1
)->SetPrintPreview(arg2
);
25328 wxPyEndAllowThreads(__tstate
);
25329 if (PyErr_Occurred()) SWIG_fail
;
25331 Py_INCREF(Py_None
); resultobj
= Py_None
;
25338 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25339 PyObject
*resultobj
;
25340 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25341 PyObject
* obj0
= 0 ;
25342 char *kwnames
[] = {
25343 (char *) "self", NULL
25346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
25347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25351 (arg1
)->base_CreateButtons();
25353 wxPyEndAllowThreads(__tstate
);
25354 if (PyErr_Occurred()) SWIG_fail
;
25356 Py_INCREF(Py_None
); resultobj
= Py_None
;
25363 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25364 PyObject
*resultobj
;
25365 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25367 PyObject
* obj0
= 0 ;
25368 PyObject
* obj1
= 0 ;
25369 char *kwnames
[] = {
25370 (char *) "self",(char *) "zoom", NULL
25373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25376 arg2
= (int)SWIG_As_int(obj1
);
25377 if (PyErr_Occurred()) SWIG_fail
;
25379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25380 (arg1
)->base_SetZoomControl(arg2
);
25382 wxPyEndAllowThreads(__tstate
);
25383 if (PyErr_Occurred()) SWIG_fail
;
25385 Py_INCREF(Py_None
); resultobj
= Py_None
;
25392 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25395 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
25397 return Py_BuildValue((char *)"");
25399 static PyMethodDef SwigMethods
[] = {
25400 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25401 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25402 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25403 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25404 { (char *)"Panel_SetFocus", (PyCFunction
) _wrap_Panel_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25405 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
) _wrap_Panel_SetFocusIgnoringChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25406 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25407 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
25408 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25409 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25410 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25411 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25412 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25413 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25414 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25415 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25416 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25417 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25418 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25419 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25420 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25421 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25422 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
25423 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
25424 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25425 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25426 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25427 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25428 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25429 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25430 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25431 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25432 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25433 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25434 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25435 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25436 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25437 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25438 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25439 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25440 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25441 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25442 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25443 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25444 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25445 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25446 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25447 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25448 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25449 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25450 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
25451 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25452 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25453 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25454 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25455 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25456 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25457 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25458 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25459 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25460 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25461 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25462 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25463 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25464 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25465 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25466 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25467 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25468 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25469 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25470 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25471 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25472 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25473 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25474 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
25475 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25476 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25477 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25478 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25479 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25480 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25481 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25482 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25483 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25484 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25485 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25486 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
25487 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25488 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25489 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25490 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
25491 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25492 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25493 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25494 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
25495 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25496 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25497 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25498 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25499 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
25500 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25501 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25502 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25503 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25504 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25505 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25506 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25507 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25508 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25509 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25510 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25511 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25512 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25513 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25514 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25515 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25516 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
25517 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25518 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25519 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25520 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25521 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25522 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25523 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25524 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25525 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25526 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25527 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25528 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25529 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25530 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25531 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25532 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25533 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25534 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25535 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25536 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25537 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25538 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
) _wrap_SplitterWindow_GetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25539 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25540 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25541 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25542 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25543 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25544 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25545 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25546 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
25547 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25548 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25549 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25550 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25551 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25552 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25553 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
25554 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25555 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25556 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25557 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25558 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25559 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25560 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25561 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25562 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25563 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25564 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25565 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25566 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25567 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25568 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25569 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25570 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25571 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25572 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25573 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25574 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25575 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25576 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
25577 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25578 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25579 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25580 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25581 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25582 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25583 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25584 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
25585 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25586 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25587 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25588 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25589 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25590 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25591 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25592 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25593 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25594 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25595 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25596 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
25597 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25598 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25599 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25600 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25601 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25602 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
25603 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25604 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25605 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25606 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25607 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25608 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25609 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25610 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25611 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
25612 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25613 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25614 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25615 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25616 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25617 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
25618 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25619 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25620 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
25621 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25622 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25623 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
25624 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25625 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25626 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25627 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
25628 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25629 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25630 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25631 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25632 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25633 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25634 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25635 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25636 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25637 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25638 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25639 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25640 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25641 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25642 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25643 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25644 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25645 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25646 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25647 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25648 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25649 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25650 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25651 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25652 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25653 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25654 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25655 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25656 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25657 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25658 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25659 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25660 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25661 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25662 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25663 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25664 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25665 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25666 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25667 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25668 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25669 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25670 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25671 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
25672 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25673 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25674 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25675 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25676 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25677 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25678 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25679 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
25680 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25681 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25682 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25683 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25684 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25685 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25686 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25687 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25688 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
25689 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25690 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
25691 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25692 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25693 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25694 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25695 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25696 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25697 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25698 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25699 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
25700 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25701 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25702 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
25703 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25704 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25705 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25706 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25707 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25708 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25709 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
25710 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25711 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25712 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25713 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25714 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25715 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25716 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25717 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25718 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25719 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25720 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25721 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25722 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25723 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25724 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25725 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25726 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25727 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
25728 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25729 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25730 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25731 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25732 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25733 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25734 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25735 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25736 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25737 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25738 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25739 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25740 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
25741 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25742 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
25743 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25744 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25745 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25746 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25747 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25748 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25749 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25750 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25751 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25752 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25753 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25754 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25755 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25756 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25757 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25758 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
25759 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25760 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25761 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
25762 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25763 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
25764 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25765 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25766 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25767 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
25768 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25769 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25770 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25771 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25772 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25773 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25774 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25775 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25776 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
25777 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25778 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25779 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25780 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25781 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25782 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25783 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25784 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25785 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
25786 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25787 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25788 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25789 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25790 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25791 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
25792 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25793 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25794 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25795 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25796 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25797 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25798 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25799 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25800 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25801 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25802 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25803 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
25804 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25805 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25806 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25807 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25808 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25809 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25810 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
25811 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25812 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25813 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25814 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
25815 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25816 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25817 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25818 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25819 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25820 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25821 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25822 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25823 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25824 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25825 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25826 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25827 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25828 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25829 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25830 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25831 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25832 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25833 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25834 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25835 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25836 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25837 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25838 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25839 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25840 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
25841 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25842 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25843 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25844 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25845 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25846 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25847 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25848 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25849 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25850 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25851 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25852 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25853 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25854 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25855 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25856 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25857 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25858 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25859 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25860 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25861 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25862 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25863 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25864 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25865 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25866 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
25867 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25868 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25869 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25870 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25871 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25872 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25873 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25874 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25875 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25876 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25877 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25878 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25879 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25880 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25881 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25882 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25883 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25884 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25885 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25886 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25887 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25888 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25889 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25890 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25891 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25892 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25893 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
25894 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25895 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25896 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25897 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25898 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25899 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25900 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25901 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25902 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25903 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25904 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25905 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25906 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25907 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25908 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25909 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25910 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25911 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25912 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25913 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25914 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25915 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25916 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25917 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25918 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25919 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25920 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25921 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25922 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25923 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25924 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25925 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25926 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25927 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25928 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25929 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25930 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25931 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25932 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25933 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25934 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25935 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25936 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25937 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25938 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
25939 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
25940 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25941 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25942 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25943 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25944 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25945 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25946 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25947 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25948 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25949 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25950 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25951 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25952 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25953 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25954 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25955 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25956 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25957 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25958 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25959 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25960 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25961 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25962 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25963 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25964 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25965 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25966 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25967 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25968 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25969 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25970 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
25971 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25972 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25973 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25974 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25975 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
25976 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
25977 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25978 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25979 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25980 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25981 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25982 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25983 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25984 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25985 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25986 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25987 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25988 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25989 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25990 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25991 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25992 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25993 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25994 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25995 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25996 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25997 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25998 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25999 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26000 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26001 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26002 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26003 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26004 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26005 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26006 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26007 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26008 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26009 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
26010 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26011 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26012 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26013 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26014 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26015 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
26016 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26017 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26018 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26019 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26020 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26021 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26022 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26023 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26024 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26025 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26026 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
26027 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26028 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26029 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26030 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26031 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26032 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26033 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26034 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26035 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26036 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26037 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26038 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26039 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26040 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26041 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26042 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26043 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26044 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26045 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26046 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26047 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26048 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26049 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
26050 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26051 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
26052 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26053 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26054 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26055 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26056 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26057 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
26058 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26059 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26060 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26061 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26062 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26063 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26064 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26065 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26066 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26067 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
26068 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
26069 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26070 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26071 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26072 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26073 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26074 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26075 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26076 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26077 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26078 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26079 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26080 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26081 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26082 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26083 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26084 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26085 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26086 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26087 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26088 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26089 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26090 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26091 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
26092 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
26093 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26094 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26095 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26096 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26097 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26098 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26099 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26100 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26101 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
26102 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26103 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26104 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26105 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26106 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26107 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26108 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26109 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
26110 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26111 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26112 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26113 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26114 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26115 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
26116 { NULL
, NULL
, 0, NULL
}
26120 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26122 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
26123 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26125 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
26126 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26128 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
26129 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
26131 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
26132 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
26134 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
26135 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
26137 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
26138 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
26140 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
26141 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
26143 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
26144 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26146 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
26147 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
26149 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
26150 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
26152 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
26153 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26155 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
26156 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
26158 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
26159 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26161 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
26162 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26164 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
26165 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
26167 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
26168 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26170 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
26171 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26173 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
26174 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
26176 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
26177 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
26179 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
26180 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
26182 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
26183 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
26185 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
26186 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
26188 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
26189 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
26191 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
26192 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
26194 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
26195 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26197 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
26198 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26200 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
26201 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26203 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
26204 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26206 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
26207 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26209 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
26210 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
26212 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
26213 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
26215 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
26216 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26218 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
26219 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
26221 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
26222 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26224 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
26225 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
26227 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
26228 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
26230 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
26231 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26233 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
26234 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26236 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
26237 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26239 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
26240 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
26242 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
26243 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
26245 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
26246 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26248 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
26249 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26251 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
26252 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
26254 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
26255 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26257 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
26258 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26260 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
26261 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26263 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
26264 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
26266 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
26267 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
26269 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
26270 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
26272 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
26273 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
26275 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
26276 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
26278 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
26279 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26281 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
26282 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26284 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
26285 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26287 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
26288 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26290 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
26291 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26293 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
26294 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26296 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
26297 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26299 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
26300 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
26302 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
26303 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
26305 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
26306 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26308 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
26309 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
26311 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
26312 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26314 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
26315 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
26317 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
26318 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26320 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
26321 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
26323 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
26324 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
26326 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
26327 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
26329 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
26330 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
26332 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
26333 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26335 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
26336 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
26338 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
26339 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
26341 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
26342 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26344 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
26345 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
26347 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
26348 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26350 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
26351 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26353 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
26354 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26356 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
26357 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
26359 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
26360 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26362 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
26363 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
26365 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
26366 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26368 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
26369 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26371 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
26372 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26374 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26375 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26377 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26378 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26380 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
26381 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
26383 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
26384 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26386 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
26387 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26389 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
26390 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26392 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
26393 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26395 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
26396 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26398 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
26399 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26401 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
26402 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26404 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
26405 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
26407 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
26408 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
26410 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
26411 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
26413 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
26414 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
26416 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
26417 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26419 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
26420 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
26422 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
26423 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
26425 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
26426 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
26428 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
26429 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
26431 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
26432 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26434 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
26435 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26437 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
26438 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26440 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
26441 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
26443 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26444 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26446 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26447 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26449 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26450 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26452 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26453 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26455 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26456 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26458 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26459 return (void *)((wxObject
*) ((wxSizer
*) x
));
26461 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26462 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26464 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26465 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26467 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
26468 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26470 static void *_p_wxEventTo_p_wxObject(void *x
) {
26471 return (void *)((wxObject
*) ((wxEvent
*) x
));
26473 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
26474 return (void *)((wxObject
*) ((wxFontData
*) x
));
26476 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
26477 return (void *)((wxObject
*) ((wxPrintData
*) x
));
26479 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26480 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26482 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26483 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26485 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26486 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26488 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
26489 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
26491 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
26492 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
26494 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
26495 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26497 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26498 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26500 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26501 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26503 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26504 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26506 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26507 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26509 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26510 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26512 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26513 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26515 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
26516 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26518 static void *_p_wxControlTo_p_wxObject(void *x
) {
26519 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26521 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26522 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26524 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
26525 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26527 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26528 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26530 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
26531 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
26533 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26534 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26536 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
26537 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26539 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
26540 return (void *)((wxObject
*) ((wxColourData
*) x
));
26542 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26543 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26545 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26546 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26548 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
26549 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
26551 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
26552 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26554 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
26555 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26557 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
26558 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26560 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
26561 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26563 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
26564 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26566 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
26567 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
26569 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
26570 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26572 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
26573 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26575 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
26576 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26578 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26579 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26581 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
26582 return (void *)((wxObject
*) ((wxPrinter
*) x
));
26584 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26585 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26587 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26588 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26590 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26591 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26593 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26594 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26596 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26597 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26599 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26600 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26602 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26603 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26605 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26606 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26608 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26609 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26611 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26612 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26614 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26615 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26617 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26618 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26620 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26621 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26623 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26624 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26626 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26627 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26629 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26630 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26632 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26633 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26635 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26636 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26638 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26639 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26641 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26642 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26644 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26645 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26647 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26648 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26650 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
26651 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26653 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
26654 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26656 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
26657 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26659 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26660 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26662 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
26663 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26665 static void *_p_wxImageTo_p_wxObject(void *x
) {
26666 return (void *)((wxObject
*) ((wxImage
*) x
));
26668 static void *_p_wxFrameTo_p_wxObject(void *x
) {
26669 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26671 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26672 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26674 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26675 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26677 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26678 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26680 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26681 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26683 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26684 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26686 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26687 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26689 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26690 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26692 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26693 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26695 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26696 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26698 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26699 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26701 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26702 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26704 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26705 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26707 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26708 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26710 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26711 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26713 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26714 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26716 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26717 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26719 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26720 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26722 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26723 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26725 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26726 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26728 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26729 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
26731 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26732 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26734 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26735 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26737 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26738 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26740 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26741 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26743 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26744 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26746 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26747 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26749 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26750 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26752 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26753 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26755 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26756 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26758 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26759 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26761 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26762 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26764 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26765 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
26767 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26768 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
26770 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26771 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26773 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26774 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26776 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26777 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26779 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26780 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26782 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26783 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26785 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26786 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26788 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26789 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26791 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26792 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26794 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26795 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26797 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26798 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26800 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26803 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26804 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26806 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26807 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26809 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26810 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26812 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26813 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26815 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26816 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26818 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26819 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26821 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26822 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26824 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26825 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26827 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26828 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26830 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26831 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26833 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26834 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26836 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26837 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26839 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26840 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26842 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26843 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26845 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26846 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26848 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26849 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26851 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26852 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26854 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26855 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26857 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26858 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26860 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
26861 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
26863 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26864 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26866 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26867 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26869 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26870 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26872 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26873 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
26875 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26876 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26878 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26879 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26881 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26882 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26884 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26885 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26887 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26888 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26890 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26891 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26893 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26894 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26896 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26897 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26899 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26900 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26902 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26903 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26905 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26906 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26908 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26909 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26911 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26912 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26914 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26915 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26917 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26918 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26920 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
26921 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
26923 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26924 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26926 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26927 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26929 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26930 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26932 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26933 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26935 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26936 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26938 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26939 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26941 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26942 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26944 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26945 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
26947 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26948 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26950 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26951 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26953 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26954 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26956 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26957 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26959 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26960 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26962 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26963 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26965 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26966 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26968 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26969 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26971 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26972 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26974 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26975 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26977 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26978 return (void *)((wxWindow
*) ((wxControl
*) x
));
26980 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26981 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26983 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26984 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26986 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26987 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26989 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26990 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26992 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26993 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26995 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26996 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26998 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26999 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
27001 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
27002 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
27004 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
27005 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
27007 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
27008 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27010 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
27011 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
27013 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
27014 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
27016 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
27017 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
27019 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
27020 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
27022 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
27023 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
27025 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
27026 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
27028 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
27029 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
27031 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
27032 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
27034 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
27035 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
27037 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
27038 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
27040 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
27041 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
27043 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
27044 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
27046 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
27047 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
27049 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
27050 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
27052 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
27053 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
27055 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
27056 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
27058 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
27059 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
27061 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
27062 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
27064 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
27065 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
27067 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
27068 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
27070 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
27071 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
27073 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
27074 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
27076 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
27077 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
27079 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
27080 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
27082 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
27083 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
27085 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
27086 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
27088 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
27089 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
27091 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
27092 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27094 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
27095 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27097 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
27098 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
27100 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
27101 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27103 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
27104 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27106 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
27107 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
27109 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
27110 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27112 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
27113 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27115 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
27116 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
27118 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
27119 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27121 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
27122 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27124 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
27125 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
27127 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
27128 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27130 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}};
27131 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}};
27132 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}};
27133 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}};
27134 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}};
27135 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}};
27136 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}};
27137 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}};
27138 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}};
27139 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}};
27140 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}};
27141 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}};
27142 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}};
27143 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}};
27144 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}};
27145 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}};
27146 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}};
27147 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}};
27148 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}};
27149 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}};
27150 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}};
27151 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}};
27152 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}};
27153 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}};
27154 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}};
27155 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}};
27156 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}};
27157 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}};
27158 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}};
27159 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}};
27160 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}};
27161 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}};
27162 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}};
27163 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}};
27164 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}};
27165 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}};
27166 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}};
27167 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}};
27168 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27169 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}};
27170 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}};
27171 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}};
27172 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}};
27173 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}};
27174 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}};
27175 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27176 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}};
27177 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}};
27178 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}};
27179 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}};
27180 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}};
27181 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}};
27182 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_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}};
27183 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}};
27184 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}};
27185 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27186 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}};
27187 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}};
27188 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}};
27189 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}};
27190 static swig_type_info _swigt__p_wxPopupWindow
[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27191 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}};
27192 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_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27193 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_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}};
27194 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}};
27195 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}};
27196 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}};
27197 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}};
27198 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}};
27199 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}};
27200 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}};
27201 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}};
27202 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}};
27203 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}};
27204 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}};
27205 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}};
27206 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}};
27207 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}};
27208 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}};
27209 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}};
27210 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}};
27211 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}};
27212 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}};
27213 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}};
27214 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}};
27215 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}};
27216 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}};
27218 static swig_type_info
*swig_types_initial
[] = {
27219 _swigt__p_wxQueryLayoutInfoEvent
,
27220 _swigt__p_wxPreviewFrame
,
27221 _swigt__p_wxPyPreviewFrame
,
27222 _swigt__p_wxPyPanel
,
27224 _swigt__p_wxFontData
,
27226 _swigt__p_wxPrintData
,
27227 _swigt__p_wxTaskBarIcon
,
27228 _swigt__p_wxPyTaskBarIcon
,
27229 _swigt__p_wxIconBundle
,
27230 _swigt__p_wxLayoutAlgorithm
,
27231 _swigt__p_wxFindDialogEvent
,
27232 _swigt__p_wxPreviewCanvas
,
27234 _swigt__p_wxSplitterEvent
,
27235 _swigt__p_wxRegion
,
27236 _swigt__p_wxFindReplaceData
,
27241 _swigt__p_wxVisualAttributes
,
27242 _swigt__p_wxMDIChildFrame
,
27243 _swigt__p_wxColourData
,
27244 _swigt__p_wxNotifyEvent
,
27245 _swigt__p_wxPyWindow
,
27246 _swigt__p_wxSplashScreen
,
27247 _swigt__p_wxFindReplaceDialog
,
27248 _swigt__p_wxProgressDialog
,
27249 _swigt__p_wxMessageDialog
,
27250 _swigt__p_wxPasswordEntryDialog
,
27251 _swigt__p_wxSingleChoiceDialog
,
27252 _swigt__p_wxMultiChoiceDialog
,
27253 _swigt__p_wxFileDialog
,
27254 _swigt__p_wxTextEntryDialog
,
27255 _swigt__p_wxPrinter
,
27256 _swigt__p_wxArrayInt
,
27257 _swigt__p_wxEvtHandler
,
27258 _swigt__p_wxCalculateLayoutEvent
,
27259 _swigt__p_wxPyHtmlListBox
,
27260 _swigt__p_wxPyVListBox
,
27263 _swigt__p_wxMiniFrame
,
27265 _swigt__p_wxPyPrintout
,
27266 _swigt__p_wxTaskBarIconEvent
,
27267 _swigt__p_wxScrollWinEvent
,
27268 _swigt__p_wxStatusBar
,
27269 _swigt__p_wxMDIParentFrame
,
27271 _swigt__p_wxObject
,
27272 _swigt__p_wxMDIClientWindow
,
27273 _swigt__p_wxTipWindow
,
27274 _swigt__p_wxPyPopupTransientWindow
,
27275 _swigt__p_wxSashLayoutWindow
,
27276 _swigt__p_wxSplitterWindow
,
27277 _swigt__p_wxSplashScreenWindow
,
27278 _swigt__p_wxPyVScrolledWindow
,
27279 _swigt__p_wxPopupWindow
,
27280 _swigt__p_wxSashWindow
,
27281 _swigt__p_wxTopLevelWindow
,
27282 _swigt__p_wxWindow
,
27283 _swigt__p_wxScrolledWindow
,
27284 _swigt__p_wxMenuBar
,
27285 _swigt__p_wxPyScrolledWindow
,
27286 _swigt__p_wxPrintPreview
,
27287 _swigt__p_wxSashEvent
,
27288 _swigt__p_wxString
,
27289 _swigt__p_wxPyPrintPreview
,
27290 _swigt__p_wxFontDialog
,
27291 _swigt__p_wxDirDialog
,
27292 _swigt__p_wxColourDialog
,
27293 _swigt__p_wxDialog
,
27295 _swigt__p_wxPageSetupDialog
,
27296 _swigt__p_wxPrintDialog
,
27297 _swigt__p_wxFileSystem
,
27298 _swigt__p_wxBitmap
,
27299 _swigt__p_wxCommandEvent
,
27300 _swigt__p_wxPreviewControlBar
,
27301 _swigt__p_wxPyPreviewControlBar
,
27302 _swigt__p_wxColour
,
27303 _swigt__p_wxToolBar
,
27304 _swigt__p_wxPageSetupDialogData
,
27305 _swigt__p_wxPrintDialogData
,
27310 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27312 static swig_const_info swig_const_table
[] = {
27313 {0, 0, 0, 0.0, 0, 0}};
27322 SWIGEXPORT(void) SWIG_init(void) {
27323 static PyObject
*SWIG_globals
= 0;
27324 static int typeinit
= 0;
27327 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
27328 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27329 d
= PyModule_GetDict(m
);
27332 for (i
= 0; swig_types_initial
[i
]; i
++) {
27333 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
27337 SWIG_InstallConstants(d
,swig_const_table
);
27339 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
27340 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
27341 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
27342 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
27343 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
27344 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP
));
27345 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)wxICONIZE
));
27346 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE
));
27347 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE
));
27348 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX
));
27349 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME
));
27350 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU
));
27351 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX
));
27352 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX
));
27353 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ
));
27354 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT
));
27355 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX
));
27356 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER
));
27357 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT
));
27358 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE
));
27359 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE
));
27360 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW
));
27361 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT
));
27362 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU
));
27363 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR
));
27364 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED
));
27365 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int((int)wxFRAME_DRAWER
));
27366 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL
));
27367 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS
));
27368 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS
));
27369 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)wxNO_3D
));
27370 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR
));
27371 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR
));
27372 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR
));
27373 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER
));
27374 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION
));
27375 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL
));
27376 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG
));
27377 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO
));
27378 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR
));
27379 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT
));
27380 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN
));
27381 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE
));
27382 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT
));
27383 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT
));
27384 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL
));
27385 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT
));
27386 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED
));
27387 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
27388 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER
));
27389 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH
));
27390 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT
));
27391 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE
));
27392 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH
));
27393 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER
));
27394 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME
));
27395 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER
));
27396 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)wxSP_3D
));
27397 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL
));
27398 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL
));
27399 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE
));
27400 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING
));
27401 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN
));
27402 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
27403 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
27404 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
27405 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
27406 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
27407 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
27408 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE
));
27409 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING
));
27410 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN
));
27411 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER
));
27412 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER
));
27413 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH
));
27414 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER
));
27415 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)wxSW_3D
));
27416 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP
));
27417 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT
));
27418 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM
));
27419 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT
));
27420 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE
));
27421 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK
));
27422 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE
));
27423 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
27424 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL
));
27425 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL
));
27426 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE
));
27427 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP
));
27428 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT
));
27429 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT
));
27430 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM
));
27431 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y
));
27432 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X
));
27433 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH
));
27434 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY
));
27435 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
27436 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
27437 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
27439 // Map renamed classes back to their common name for OOR
27440 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27441 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27442 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27444 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
27445 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
27446 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
27447 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
27448 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
27449 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
27450 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
27451 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
27452 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
27453 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
27454 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
27455 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
27456 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
27457 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE
));
27458 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int((int)wxTextEntryDialogStyle
));
27459 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
27460 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN
));
27461 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD
));
27462 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE
));
27463 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG
));
27464 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN
));
27465 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE
));
27466 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD
));
27467 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
27468 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
27469 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
27470 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
27471 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
27472 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27473 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27474 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27475 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27476 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27477 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27478 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27479 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
27480 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
27481 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
27482 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE
));
27483 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW
));
27484 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE
));
27485 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER
));
27486 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM
));
27487 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)wxPRINTBIN_DEFAULT
));
27488 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)wxPRINTBIN_ONLYONE
));
27489 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)wxPRINTBIN_LOWER
));
27490 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)wxPRINTBIN_MIDDLE
));
27491 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)wxPRINTBIN_MANUAL
));
27492 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)wxPRINTBIN_ENVELOPE
));
27493 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)wxPRINTBIN_ENVMANUAL
));
27494 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)wxPRINTBIN_AUTO
));
27495 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)wxPRINTBIN_TRACTOR
));
27496 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)wxPRINTBIN_SMALLFMT
));
27497 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)wxPRINTBIN_LARGEFMT
));
27498 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)wxPRINTBIN_LARGECAPACITY
));
27499 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)wxPRINTBIN_CASSETTE
));
27500 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)wxPRINTBIN_FORMSOURCE
));
27501 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)wxPRINTBIN_USER
));
27502 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR
));
27503 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED
));
27504 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR
));
27505 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT
));
27506 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS
));
27507 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT
));
27508 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM
));
27509 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST
));
27510 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST
));
27511 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO
));
27512 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT
));
27513 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE
));
27514 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT
));
27515 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS
));
27516 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT
));
27517 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM
));
27518 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST
));
27519 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST
));
27520 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO
));
27522 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");