1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
212 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
213 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
214 #define SWIGTYPE_p_wxPyPanel swig_types[3]
215 #define SWIGTYPE_p_wxMenu swig_types[4]
216 #define SWIGTYPE_p_wxFontData swig_types[5]
217 #define SWIGTYPE_p_wxEvent swig_types[6]
218 #define SWIGTYPE_p_wxPrintData swig_types[7]
219 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
220 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
221 #define SWIGTYPE_p_wxIconBundle swig_types[10]
222 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
223 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
224 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
225 #define SWIGTYPE_p_wxFont swig_types[14]
226 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
227 #define SWIGTYPE_p_wxRegion swig_types[16]
228 #define SWIGTYPE_p_wxFindReplaceData swig_types[17]
229 #define SWIGTYPE_p_int swig_types[18]
230 #define SWIGTYPE_p_wxSize swig_types[19]
231 #define SWIGTYPE_p_wxDC swig_types[20]
232 #define SWIGTYPE_p_wxIcon swig_types[21]
233 #define SWIGTYPE_p_wxVisualAttributes swig_types[22]
234 #define SWIGTYPE_p_wxMDIChildFrame swig_types[23]
235 #define SWIGTYPE_p_wxColourData swig_types[24]
236 #define SWIGTYPE_p_wxNotifyEvent swig_types[25]
237 #define SWIGTYPE_p_wxPyWindow swig_types[26]
238 #define SWIGTYPE_p_wxSplashScreen swig_types[27]
239 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[28]
240 #define SWIGTYPE_p_wxProgressDialog swig_types[29]
241 #define SWIGTYPE_p_wxMessageDialog swig_types[30]
242 #define SWIGTYPE_p_wxTextEntryDialog swig_types[31]
243 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
244 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
245 #define SWIGTYPE_p_wxFileDialog swig_types[34]
246 #define SWIGTYPE_p_wxPrinter swig_types[35]
247 #define SWIGTYPE_p_wxArrayInt swig_types[36]
248 #define SWIGTYPE_p_wxEvtHandler swig_types[37]
249 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[38]
250 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[39]
251 #define SWIGTYPE_p_wxPyVListBox swig_types[40]
252 #define SWIGTYPE_p_wxRect swig_types[41]
253 #define SWIGTYPE_p_char swig_types[42]
254 #define SWIGTYPE_p_wxMiniFrame swig_types[43]
255 #define SWIGTYPE_p_wxFrame swig_types[44]
256 #define SWIGTYPE_p_wxPyPrintout swig_types[45]
257 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[46]
258 #define SWIGTYPE_p_wxScrollWinEvent swig_types[47]
259 #define SWIGTYPE_p_wxStatusBar swig_types[48]
260 #define SWIGTYPE_p_wxMDIParentFrame swig_types[49]
261 #define SWIGTYPE_p_wxPoint swig_types[50]
262 #define SWIGTYPE_p_wxObject swig_types[51]
263 #define SWIGTYPE_p_wxOutputStream swig_types[52]
264 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
265 #define SWIGTYPE_p_wxTipWindow swig_types[54]
266 #define SWIGTYPE_p_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
);
1017 // C++ version of Python aware wxWindow
1018 class wxPyWindow
: public wxWindow
1020 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
1022 wxPyWindow() : wxWindow() {}
1023 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
1024 const wxPoint
& pos
= wxDefaultPosition
,
1025 const wxSize
& size
= wxDefaultSize
,
1027 const wxString
& name
= wxPyPanelNameStr
)
1028 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
1030 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
1032 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1033 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1034 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1035 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1037 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1038 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1039 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1041 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1042 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1044 DEC_PYCALLBACK__(InitDialog
);
1045 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1046 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1047 DEC_PYCALLBACK_BOOL_(Validate
);
1049 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1050 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1051 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1053 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1054 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1056 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1057 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1058 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1063 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
1065 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
1066 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
1067 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
1068 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
1070 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
1071 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
1072 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
1074 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
1075 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
1077 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
1078 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
1079 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
1080 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
1082 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
1083 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
1084 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
1086 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
1087 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
1089 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
1090 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
1091 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
1094 // C++ version of Python aware wxPanel
1095 class wxPyPanel
: public wxPanel
1097 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
1099 wxPyPanel() : wxPanel() {}
1100 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
1101 const wxPoint
& pos
= wxDefaultPosition
,
1102 const wxSize
& size
= wxDefaultSize
,
1104 const wxString
& name
= wxPyPanelNameStr
)
1105 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
1107 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
1110 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1111 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1112 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1113 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1115 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1116 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1117 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1119 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1120 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1122 DEC_PYCALLBACK__(InitDialog
);
1123 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1124 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1125 DEC_PYCALLBACK_BOOL_(Validate
);
1127 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1128 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1129 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1131 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1132 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1134 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1135 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1136 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1141 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
1143 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
1144 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
1145 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
1146 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
1148 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
1149 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
1150 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
1152 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
1153 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
1155 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
1156 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
1157 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
1158 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
1160 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
1161 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
1162 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
1164 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
1165 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
1167 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
1168 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
1169 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
1172 // C++ version of Python aware wxScrolledWindow
1173 class wxPyScrolledWindow
: public wxScrolledWindow
1175 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1177 wxPyScrolledWindow() : wxScrolledWindow() {}
1178 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1179 const wxPoint
& pos
= wxDefaultPosition
,
1180 const wxSize
& size
= wxDefaultSize
,
1182 const wxString
& name
= wxPyPanelNameStr
)
1183 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1185 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
1187 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1188 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1189 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1190 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1192 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1193 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1194 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1196 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1197 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1199 DEC_PYCALLBACK__(InitDialog
);
1200 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1201 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1202 DEC_PYCALLBACK_BOOL_(Validate
);
1204 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1205 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1206 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1208 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1209 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1211 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1212 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1213 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1218 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1220 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1221 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1222 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1223 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1225 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1226 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1227 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1229 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1230 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1232 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1233 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1234 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1235 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1237 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1238 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1239 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1241 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1242 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1244 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1245 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1246 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
1250 #include "wx/wxPython/printfw.h"
1253 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1254 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1258 // Since this one would be tough and ugly to do with the Macros...
1259 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1260 bool hadErr
= false;
1263 bool blocked
= wxPyBeginBlockThreads();
1264 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1265 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1266 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1269 val
= PyTuple_GetItem(result
, 0);
1270 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1273 val
= PyTuple_GetItem(result
, 1);
1274 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1277 val
= PyTuple_GetItem(result
, 2);
1278 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1281 val
= PyTuple_GetItem(result
, 3);
1282 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1289 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1294 wxPyEndBlockThreads(blocked
);
1296 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1299 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1300 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1304 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1305 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1306 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1307 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1308 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1309 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1310 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1316 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1317 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1318 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1321 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1322 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1325 bool blocked = wxPyBeginBlockThreads(); \
1326 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1327 PyObject* win = wxPyMake_wxObject(a,false); \
1328 PyObject* dc = wxPyMake_wxObject(&b,false); \
1329 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
1333 wxPyEndBlockThreads(blocked); \
1335 rval = PCLASS::CBNAME(a, b); \
1338 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1339 return PCLASS::CBNAME(a, b); \
1345 class wxPyPrintPreview
: public wxPrintPreview
1347 DECLARE_CLASS(wxPyPrintPreview
)
1349 wxPyPrintPreview(wxPyPrintout
* printout
,
1350 wxPyPrintout
* printoutForPrinting
,
1351 wxPrintDialogData
* data
=NULL
)
1352 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1354 wxPyPrintPreview(wxPyPrintout
* printout
,
1355 wxPyPrintout
* printoutForPrinting
,
1356 wxPrintData
* data
=NULL
)
1357 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1360 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1361 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1362 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1363 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1364 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1365 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1366 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1371 // Stupid renamed classes... Fix this in 2.5...
1372 #if defined(__WXMSW__)
1373 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1374 #elif defined(__WXMAC__)
1375 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1377 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1380 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1381 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1382 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1383 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1384 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1385 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1386 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1389 class wxPyPreviewFrame
: public wxPreviewFrame
1391 DECLARE_CLASS(wxPyPreviewFrame
);
1393 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1394 const wxString
& title
,
1395 const wxPoint
& pos
= wxDefaultPosition
,
1396 const wxSize
& size
= wxDefaultSize
,
1397 long style
= wxDEFAULT_FRAME_STYLE
,
1398 const wxString
& name
= wxPyFrameNameStr
)
1399 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1402 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1403 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1405 DEC_PYCALLBACK_VOID_(Initialize
);
1406 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1407 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1412 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1414 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1415 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1416 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1419 class wxPyPreviewControlBar
: public wxPreviewControlBar
1421 DECLARE_CLASS(wxPyPreviewControlBar
);
1423 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1426 const wxPoint
& pos
= wxDefaultPosition
,
1427 const wxSize
& size
= wxDefaultSize
,
1429 const wxString
& name
= wxPyPanelNameStr
)
1430 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1433 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1435 DEC_PYCALLBACK_VOID_(CreateButtons
);
1436 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1441 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1442 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1443 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1448 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
*resultobj
;
1450 wxWindow
*arg1
= (wxWindow
*) 0 ;
1451 int arg2
= (int) (int)-1 ;
1452 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1453 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1454 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1455 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1456 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1457 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1458 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1462 bool temp6
= false ;
1463 PyObject
* obj0
= 0 ;
1464 PyObject
* obj1
= 0 ;
1465 PyObject
* obj2
= 0 ;
1466 PyObject
* obj3
= 0 ;
1467 PyObject
* obj4
= 0 ;
1468 PyObject
* obj5
= 0 ;
1470 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1477 arg2
= (int)SWIG_As_int(obj1
);
1478 if (PyErr_Occurred()) SWIG_fail
;
1483 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1489 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1493 arg5
= (long)SWIG_As_long(obj4
);
1494 if (PyErr_Occurred()) SWIG_fail
;
1498 arg6
= wxString_in_helper(obj5
);
1499 if (arg6
== NULL
) SWIG_fail
;
1504 if (!wxPyCheckForApp()) SWIG_fail
;
1505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1506 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1508 wxPyEndAllowThreads(__tstate
);
1509 if (PyErr_Occurred()) SWIG_fail
;
1511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1526 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1527 PyObject
*resultobj
;
1533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1535 if (!wxPyCheckForApp()) SWIG_fail
;
1536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1537 result
= (wxPanel
*)new wxPanel();
1539 wxPyEndAllowThreads(__tstate
);
1540 if (PyErr_Occurred()) SWIG_fail
;
1542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1549 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1550 PyObject
*resultobj
;
1551 wxPanel
*arg1
= (wxPanel
*) 0 ;
1552 wxWindow
*arg2
= (wxWindow
*) 0 ;
1553 int arg3
= (int) (int)-1 ;
1554 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1555 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1556 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1557 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1558 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1559 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1560 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1564 bool temp7
= false ;
1565 PyObject
* obj0
= 0 ;
1566 PyObject
* obj1
= 0 ;
1567 PyObject
* obj2
= 0 ;
1568 PyObject
* obj3
= 0 ;
1569 PyObject
* obj4
= 0 ;
1570 PyObject
* obj5
= 0 ;
1571 PyObject
* obj6
= 0 ;
1573 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1582 arg3
= (int)SWIG_As_int(obj2
);
1583 if (PyErr_Occurred()) SWIG_fail
;
1588 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1594 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1598 arg6
= (long)SWIG_As_long(obj5
);
1599 if (PyErr_Occurred()) SWIG_fail
;
1603 arg7
= wxString_in_helper(obj6
);
1604 if (arg7
== NULL
) SWIG_fail
;
1609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1610 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1612 wxPyEndAllowThreads(__tstate
);
1613 if (PyErr_Occurred()) SWIG_fail
;
1616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1632 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1633 PyObject
*resultobj
;
1634 wxPanel
*arg1
= (wxPanel
*) 0 ;
1635 PyObject
* obj0
= 0 ;
1637 (char *) "self", NULL
1640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1645 (arg1
)->InitDialog();
1647 wxPyEndAllowThreads(__tstate
);
1648 if (PyErr_Occurred()) SWIG_fail
;
1650 Py_INCREF(Py_None
); resultobj
= Py_None
;
1657 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1658 PyObject
*resultobj
;
1659 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1660 wxVisualAttributes result
;
1661 PyObject
* obj0
= 0 ;
1663 (char *) "variant", NULL
1666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1668 arg1
= (int)SWIG_As_int(obj0
);
1669 if (PyErr_Occurred()) SWIG_fail
;
1672 if (!wxPyCheckForApp()) SWIG_fail
;
1673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1674 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1676 wxPyEndAllowThreads(__tstate
);
1677 if (PyErr_Occurred()) SWIG_fail
;
1680 wxVisualAttributes
* resultptr
;
1681 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1682 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1690 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
1692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1693 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1695 return Py_BuildValue((char *)"");
1697 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1698 PyObject
*resultobj
;
1699 wxWindow
*arg1
= (wxWindow
*) 0 ;
1700 int arg2
= (int) (int)-1 ;
1701 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1702 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1703 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1704 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1705 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1706 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1707 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1708 wxScrolledWindow
*result
;
1711 bool temp6
= false ;
1712 PyObject
* obj0
= 0 ;
1713 PyObject
* obj1
= 0 ;
1714 PyObject
* obj2
= 0 ;
1715 PyObject
* obj3
= 0 ;
1716 PyObject
* obj4
= 0 ;
1717 PyObject
* obj5
= 0 ;
1719 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1726 arg2
= (int)SWIG_As_int(obj1
);
1727 if (PyErr_Occurred()) SWIG_fail
;
1732 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1738 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1742 arg5
= (long)SWIG_As_long(obj4
);
1743 if (PyErr_Occurred()) SWIG_fail
;
1747 arg6
= wxString_in_helper(obj5
);
1748 if (arg6
== NULL
) SWIG_fail
;
1753 if (!wxPyCheckForApp()) SWIG_fail
;
1754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1755 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1757 wxPyEndAllowThreads(__tstate
);
1758 if (PyErr_Occurred()) SWIG_fail
;
1760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1775 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1776 PyObject
*resultobj
;
1777 wxScrolledWindow
*result
;
1782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1784 if (!wxPyCheckForApp()) SWIG_fail
;
1785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1786 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1788 wxPyEndAllowThreads(__tstate
);
1789 if (PyErr_Occurred()) SWIG_fail
;
1791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1798 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
*resultobj
;
1800 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1801 wxWindow
*arg2
= (wxWindow
*) 0 ;
1802 int arg3
= (int) (int)-1 ;
1803 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1804 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1805 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1806 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1807 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1808 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1809 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1813 bool temp7
= false ;
1814 PyObject
* obj0
= 0 ;
1815 PyObject
* obj1
= 0 ;
1816 PyObject
* obj2
= 0 ;
1817 PyObject
* obj3
= 0 ;
1818 PyObject
* obj4
= 0 ;
1819 PyObject
* obj5
= 0 ;
1820 PyObject
* obj6
= 0 ;
1822 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1828 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1831 arg3
= (int)SWIG_As_int(obj2
);
1832 if (PyErr_Occurred()) SWIG_fail
;
1837 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1843 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1847 arg6
= (long)SWIG_As_long(obj5
);
1848 if (PyErr_Occurred()) SWIG_fail
;
1852 arg7
= wxString_in_helper(obj6
);
1853 if (arg7
== NULL
) SWIG_fail
;
1858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1859 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1861 wxPyEndAllowThreads(__tstate
);
1862 if (PyErr_Occurred()) SWIG_fail
;
1865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1881 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1882 PyObject
*resultobj
;
1883 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1888 int arg6
= (int) 0 ;
1889 int arg7
= (int) 0 ;
1890 bool arg8
= (bool) false ;
1891 PyObject
* obj0
= 0 ;
1892 PyObject
* obj1
= 0 ;
1893 PyObject
* obj2
= 0 ;
1894 PyObject
* obj3
= 0 ;
1895 PyObject
* obj4
= 0 ;
1896 PyObject
* obj5
= 0 ;
1897 PyObject
* obj6
= 0 ;
1898 PyObject
* obj7
= 0 ;
1900 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1906 arg2
= (int)SWIG_As_int(obj1
);
1907 if (PyErr_Occurred()) SWIG_fail
;
1908 arg3
= (int)SWIG_As_int(obj2
);
1909 if (PyErr_Occurred()) SWIG_fail
;
1910 arg4
= (int)SWIG_As_int(obj3
);
1911 if (PyErr_Occurred()) SWIG_fail
;
1912 arg5
= (int)SWIG_As_int(obj4
);
1913 if (PyErr_Occurred()) SWIG_fail
;
1915 arg6
= (int)SWIG_As_int(obj5
);
1916 if (PyErr_Occurred()) SWIG_fail
;
1919 arg7
= (int)SWIG_As_int(obj6
);
1920 if (PyErr_Occurred()) SWIG_fail
;
1923 arg8
= (bool)SWIG_As_bool(obj7
);
1924 if (PyErr_Occurred()) SWIG_fail
;
1927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1928 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1930 wxPyEndAllowThreads(__tstate
);
1931 if (PyErr_Occurred()) SWIG_fail
;
1933 Py_INCREF(Py_None
); resultobj
= Py_None
;
1940 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1941 PyObject
*resultobj
;
1942 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1945 PyObject
* obj0
= 0 ;
1946 PyObject
* obj1
= 0 ;
1947 PyObject
* obj2
= 0 ;
1949 (char *) "self",(char *) "x",(char *) "y", NULL
1952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1955 arg2
= (int)SWIG_As_int(obj1
);
1956 if (PyErr_Occurred()) SWIG_fail
;
1957 arg3
= (int)SWIG_As_int(obj2
);
1958 if (PyErr_Occurred()) SWIG_fail
;
1960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1961 (arg1
)->Scroll(arg2
,arg3
);
1963 wxPyEndAllowThreads(__tstate
);
1964 if (PyErr_Occurred()) SWIG_fail
;
1966 Py_INCREF(Py_None
); resultobj
= Py_None
;
1973 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1974 PyObject
*resultobj
;
1975 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1978 PyObject
* obj0
= 0 ;
1979 PyObject
* obj1
= 0 ;
1981 (char *) "self",(char *) "orient", NULL
1984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1987 arg2
= (int)SWIG_As_int(obj1
);
1988 if (PyErr_Occurred()) SWIG_fail
;
1990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1991 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1993 wxPyEndAllowThreads(__tstate
);
1994 if (PyErr_Occurred()) SWIG_fail
;
1996 resultobj
= SWIG_From_int((int)result
);
2003 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2004 PyObject
*resultobj
;
2005 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2008 PyObject
* obj0
= 0 ;
2009 PyObject
* obj1
= 0 ;
2010 PyObject
* obj2
= 0 ;
2012 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2018 arg2
= (int)SWIG_As_int(obj1
);
2019 if (PyErr_Occurred()) SWIG_fail
;
2020 arg3
= (int)SWIG_As_int(obj2
);
2021 if (PyErr_Occurred()) SWIG_fail
;
2023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2024 (arg1
)->SetScrollPageSize(arg2
,arg3
);
2026 wxPyEndAllowThreads(__tstate
);
2027 if (PyErr_Occurred()) SWIG_fail
;
2029 Py_INCREF(Py_None
); resultobj
= Py_None
;
2036 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2037 PyObject
*resultobj
;
2038 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2041 PyObject
* obj0
= 0 ;
2042 PyObject
* obj1
= 0 ;
2043 PyObject
* obj2
= 0 ;
2045 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2051 arg2
= (int)SWIG_As_int(obj1
);
2052 if (PyErr_Occurred()) SWIG_fail
;
2053 arg3
= (int)SWIG_As_int(obj2
);
2054 if (PyErr_Occurred()) SWIG_fail
;
2056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2057 (arg1
)->SetScrollRate(arg2
,arg3
);
2059 wxPyEndAllowThreads(__tstate
);
2060 if (PyErr_Occurred()) SWIG_fail
;
2062 Py_INCREF(Py_None
); resultobj
= Py_None
;
2069 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2070 PyObject
*resultobj
;
2071 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2072 int *arg2
= (int *) 0 ;
2073 int *arg3
= (int *) 0 ;
2078 PyObject
* obj0
= 0 ;
2080 (char *) "self", NULL
2083 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2084 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
2086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2090 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
2092 wxPyEndAllowThreads(__tstate
);
2093 if (PyErr_Occurred()) SWIG_fail
;
2095 Py_INCREF(Py_None
); resultobj
= Py_None
;
2096 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2097 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2098 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2099 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2106 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2107 PyObject
*resultobj
;
2108 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2111 PyObject
* obj0
= 0 ;
2112 PyObject
* obj1
= 0 ;
2113 PyObject
* obj2
= 0 ;
2115 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2121 arg2
= (bool)SWIG_As_bool(obj1
);
2122 if (PyErr_Occurred()) SWIG_fail
;
2123 arg3
= (bool)SWIG_As_bool(obj2
);
2124 if (PyErr_Occurred()) SWIG_fail
;
2126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2127 (arg1
)->EnableScrolling(arg2
,arg3
);
2129 wxPyEndAllowThreads(__tstate
);
2130 if (PyErr_Occurred()) SWIG_fail
;
2132 Py_INCREF(Py_None
); resultobj
= Py_None
;
2139 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2140 PyObject
*resultobj
;
2141 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2142 int *arg2
= (int *) 0 ;
2143 int *arg3
= (int *) 0 ;
2148 PyObject
* obj0
= 0 ;
2150 (char *) "self", NULL
2153 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2154 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
2156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2160 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
2162 wxPyEndAllowThreads(__tstate
);
2163 if (PyErr_Occurred()) SWIG_fail
;
2165 Py_INCREF(Py_None
); resultobj
= Py_None
;
2166 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2167 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2168 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2169 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2176 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2177 PyObject
*resultobj
;
2178 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2181 PyObject
* obj0
= 0 ;
2182 PyObject
* obj1
= 0 ;
2183 PyObject
* obj2
= 0 ;
2185 (char *) "self",(char *) "xs",(char *) "ys", NULL
2188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2191 arg2
= (double)SWIG_As_double(obj1
);
2192 if (PyErr_Occurred()) SWIG_fail
;
2193 arg3
= (double)SWIG_As_double(obj2
);
2194 if (PyErr_Occurred()) SWIG_fail
;
2196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2197 (arg1
)->SetScale(arg2
,arg3
);
2199 wxPyEndAllowThreads(__tstate
);
2200 if (PyErr_Occurred()) SWIG_fail
;
2202 Py_INCREF(Py_None
); resultobj
= Py_None
;
2209 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
*resultobj
;
2211 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2213 PyObject
* obj0
= 0 ;
2215 (char *) "self", NULL
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2223 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2225 wxPyEndAllowThreads(__tstate
);
2226 if (PyErr_Occurred()) SWIG_fail
;
2228 resultobj
= SWIG_From_double((double)result
);
2235 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2236 PyObject
*resultobj
;
2237 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2239 PyObject
* obj0
= 0 ;
2241 (char *) "self", NULL
2244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2249 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2251 wxPyEndAllowThreads(__tstate
);
2252 if (PyErr_Occurred()) SWIG_fail
;
2254 resultobj
= SWIG_From_double((double)result
);
2261 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2262 PyObject
*resultobj
;
2263 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2267 PyObject
* obj0
= 0 ;
2268 PyObject
* obj1
= 0 ;
2270 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2275 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2279 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2281 wxPyEndAllowThreads(__tstate
);
2282 if (PyErr_Occurred()) SWIG_fail
;
2285 wxPoint
* resultptr
;
2286 resultptr
= new wxPoint((wxPoint
&) result
);
2287 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2295 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2296 PyObject
*resultobj
;
2297 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2300 int *arg4
= (int *) 0 ;
2301 int *arg5
= (int *) 0 ;
2306 PyObject
* obj0
= 0 ;
2307 PyObject
* obj1
= 0 ;
2308 PyObject
* obj2
= 0 ;
2310 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2311 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2312 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2315 arg2
= (int)SWIG_As_int(obj1
);
2316 if (PyErr_Occurred()) SWIG_fail
;
2317 arg3
= (int)SWIG_As_int(obj2
);
2318 if (PyErr_Occurred()) SWIG_fail
;
2320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2321 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2323 wxPyEndAllowThreads(__tstate
);
2324 if (PyErr_Occurred()) SWIG_fail
;
2326 Py_INCREF(Py_None
); resultobj
= Py_None
;
2327 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2328 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
2329 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2330 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
2337 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2342 argc
= PyObject_Length(args
);
2343 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2344 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2350 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2359 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2362 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2370 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2378 _v
= SWIG_Check_int(argv
[1]);
2380 _v
= SWIG_Check_int(argv
[2]);
2382 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2388 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2393 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2394 PyObject
*resultobj
;
2395 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2399 PyObject
* obj0
= 0 ;
2400 PyObject
* obj1
= 0 ;
2402 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2407 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2411 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2413 wxPyEndAllowThreads(__tstate
);
2414 if (PyErr_Occurred()) SWIG_fail
;
2417 wxPoint
* resultptr
;
2418 resultptr
= new wxPoint((wxPoint
&) result
);
2419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2427 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2428 PyObject
*resultobj
;
2429 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2432 int *arg4
= (int *) 0 ;
2433 int *arg5
= (int *) 0 ;
2438 PyObject
* obj0
= 0 ;
2439 PyObject
* obj1
= 0 ;
2440 PyObject
* obj2
= 0 ;
2442 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2443 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2444 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2447 arg2
= (int)SWIG_As_int(obj1
);
2448 if (PyErr_Occurred()) SWIG_fail
;
2449 arg3
= (int)SWIG_As_int(obj2
);
2450 if (PyErr_Occurred()) SWIG_fail
;
2452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2453 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2455 wxPyEndAllowThreads(__tstate
);
2456 if (PyErr_Occurred()) SWIG_fail
;
2458 Py_INCREF(Py_None
); resultobj
= Py_None
;
2459 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2460 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
2461 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2462 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
2469 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2474 argc
= PyObject_Length(args
);
2475 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2476 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2482 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2491 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2494 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2502 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2510 _v
= SWIG_Check_int(argv
[1]);
2512 _v
= SWIG_Check_int(argv
[2]);
2514 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2520 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2525 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2526 PyObject
*resultobj
;
2527 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2528 PyObject
* obj0
= 0 ;
2530 (char *) "self", NULL
2533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2538 (arg1
)->AdjustScrollbars();
2540 wxPyEndAllowThreads(__tstate
);
2541 if (PyErr_Occurred()) SWIG_fail
;
2543 Py_INCREF(Py_None
); resultobj
= Py_None
;
2550 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2551 PyObject
*resultobj
;
2552 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2553 wxScrollWinEvent
*arg2
= 0 ;
2555 PyObject
* obj0
= 0 ;
2556 PyObject
* obj1
= 0 ;
2558 (char *) "self",(char *) "event", NULL
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2565 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2568 PyErr_SetString(PyExc_TypeError
,"null reference");
2572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2573 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2575 wxPyEndAllowThreads(__tstate
);
2576 if (PyErr_Occurred()) SWIG_fail
;
2578 resultobj
= SWIG_From_int((int)result
);
2585 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2586 PyObject
*resultobj
;
2587 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2588 wxWindow
*arg2
= (wxWindow
*) 0 ;
2589 PyObject
* obj0
= 0 ;
2590 PyObject
* obj1
= 0 ;
2592 (char *) "self",(char *) "target", NULL
2595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2598 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2602 (arg1
)->SetTargetWindow(arg2
);
2604 wxPyEndAllowThreads(__tstate
);
2605 if (PyErr_Occurred()) SWIG_fail
;
2607 Py_INCREF(Py_None
); resultobj
= Py_None
;
2614 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
*resultobj
;
2616 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2618 PyObject
* obj0
= 0 ;
2620 (char *) "self", NULL
2623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2628 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2630 wxPyEndAllowThreads(__tstate
);
2631 if (PyErr_Occurred()) SWIG_fail
;
2634 resultobj
= wxPyMake_wxObject(result
, 0);
2642 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
*resultobj
;
2644 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2647 PyObject
* obj0
= 0 ;
2648 PyObject
* obj1
= 0 ;
2650 (char *) "self",(char *) "rect", NULL
2653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2658 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2662 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2664 wxPyEndAllowThreads(__tstate
);
2665 if (PyErr_Occurred()) SWIG_fail
;
2667 Py_INCREF(Py_None
); resultobj
= Py_None
;
2674 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2675 PyObject
*resultobj
;
2676 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2678 PyObject
* obj0
= 0 ;
2680 (char *) "self", NULL
2683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2688 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2690 wxPyEndAllowThreads(__tstate
);
2691 if (PyErr_Occurred()) SWIG_fail
;
2695 resultptr
= new wxRect((wxRect
&) result
);
2696 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2704 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2705 PyObject
*resultobj
;
2706 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2708 PyObject
* obj0
= 0 ;
2709 PyObject
* obj1
= 0 ;
2711 (char *) "self",(char *) "dc", NULL
2714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
2715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2718 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2721 PyErr_SetString(PyExc_TypeError
,"null reference");
2725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2726 (arg1
)->DoPrepareDC(*arg2
);
2728 wxPyEndAllowThreads(__tstate
);
2729 if (PyErr_Occurred()) SWIG_fail
;
2731 Py_INCREF(Py_None
); resultobj
= Py_None
;
2738 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
*resultobj
;
2740 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2741 wxVisualAttributes result
;
2742 PyObject
* obj0
= 0 ;
2744 (char *) "variant", NULL
2747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2749 arg1
= (int)SWIG_As_int(obj0
);
2750 if (PyErr_Occurred()) SWIG_fail
;
2753 if (!wxPyCheckForApp()) SWIG_fail
;
2754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2755 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2757 wxPyEndAllowThreads(__tstate
);
2758 if (PyErr_Occurred()) SWIG_fail
;
2761 wxVisualAttributes
* resultptr
;
2762 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2763 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2771 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
2773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2774 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2776 return Py_BuildValue((char *)"");
2778 static int _wrap_FrameNameStr_set(PyObject
*) {
2779 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2784 static PyObject
*_wrap_FrameNameStr_get() {
2789 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2791 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2798 static int _wrap_DialogNameStr_set(PyObject
*) {
2799 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2804 static PyObject
*_wrap_DialogNameStr_get() {
2809 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2811 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2818 static int _wrap_StatusLineNameStr_set(PyObject
*) {
2819 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2824 static PyObject
*_wrap_StatusLineNameStr_get() {
2829 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2831 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2838 static int _wrap_ToolBarNameStr_set(PyObject
*) {
2839 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2844 static PyObject
*_wrap_ToolBarNameStr_get() {
2849 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2851 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2858 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2859 PyObject
*resultobj
;
2860 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2861 bool arg2
= (bool) true ;
2862 PyObject
* obj0
= 0 ;
2863 PyObject
* obj1
= 0 ;
2865 (char *) "self",(char *) "maximize", NULL
2868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2872 arg2
= (bool)SWIG_As_bool(obj1
);
2873 if (PyErr_Occurred()) SWIG_fail
;
2876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2877 (arg1
)->Maximize(arg2
);
2879 wxPyEndAllowThreads(__tstate
);
2880 if (PyErr_Occurred()) SWIG_fail
;
2882 Py_INCREF(Py_None
); resultobj
= Py_None
;
2889 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2890 PyObject
*resultobj
;
2891 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2892 PyObject
* obj0
= 0 ;
2894 (char *) "self", NULL
2897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2904 wxPyEndAllowThreads(__tstate
);
2905 if (PyErr_Occurred()) SWIG_fail
;
2907 Py_INCREF(Py_None
); resultobj
= Py_None
;
2914 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2915 PyObject
*resultobj
;
2916 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2917 bool arg2
= (bool) true ;
2918 PyObject
* obj0
= 0 ;
2919 PyObject
* obj1
= 0 ;
2921 (char *) "self",(char *) "iconize", NULL
2924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2928 arg2
= (bool)SWIG_As_bool(obj1
);
2929 if (PyErr_Occurred()) SWIG_fail
;
2932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2933 (arg1
)->Iconize(arg2
);
2935 wxPyEndAllowThreads(__tstate
);
2936 if (PyErr_Occurred()) SWIG_fail
;
2938 Py_INCREF(Py_None
); resultobj
= Py_None
;
2945 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2946 PyObject
*resultobj
;
2947 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2949 PyObject
* obj0
= 0 ;
2951 (char *) "self", NULL
2954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2959 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2961 wxPyEndAllowThreads(__tstate
);
2962 if (PyErr_Occurred()) SWIG_fail
;
2965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2973 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2974 PyObject
*resultobj
;
2975 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2977 PyObject
* obj0
= 0 ;
2979 (char *) "self", NULL
2982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2987 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2989 wxPyEndAllowThreads(__tstate
);
2990 if (PyErr_Occurred()) SWIG_fail
;
2993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3001 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3002 PyObject
*resultobj
;
3003 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3005 PyObject
* obj0
= 0 ;
3007 (char *) "self", NULL
3010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
3011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3015 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
3017 wxPyEndAllowThreads(__tstate
);
3018 if (PyErr_Occurred()) SWIG_fail
;
3022 resultptr
= new wxIcon((wxIcon
&) result
);
3023 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
3031 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3032 PyObject
*resultobj
;
3033 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3035 PyObject
* obj0
= 0 ;
3036 PyObject
* obj1
= 0 ;
3038 (char *) "self",(char *) "icon", NULL
3041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3045 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3048 PyErr_SetString(PyExc_TypeError
,"null reference");
3052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3053 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
3055 wxPyEndAllowThreads(__tstate
);
3056 if (PyErr_Occurred()) SWIG_fail
;
3058 Py_INCREF(Py_None
); resultobj
= Py_None
;
3065 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3066 PyObject
*resultobj
;
3067 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3068 wxIconBundle
*arg2
= 0 ;
3069 PyObject
* obj0
= 0 ;
3070 PyObject
* obj1
= 0 ;
3072 (char *) "self",(char *) "icons", NULL
3075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
3076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
3079 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3082 PyErr_SetString(PyExc_TypeError
,"null reference");
3086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3087 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
3089 wxPyEndAllowThreads(__tstate
);
3090 if (PyErr_Occurred()) SWIG_fail
;
3092 Py_INCREF(Py_None
); resultobj
= Py_None
;
3099 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3100 PyObject
*resultobj
;
3101 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3103 long arg3
= (long) wxFULLSCREEN_ALL
;
3105 PyObject
* obj0
= 0 ;
3106 PyObject
* obj1
= 0 ;
3107 PyObject
* obj2
= 0 ;
3109 (char *) "self",(char *) "show",(char *) "style", NULL
3112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3115 arg2
= (bool)SWIG_As_bool(obj1
);
3116 if (PyErr_Occurred()) SWIG_fail
;
3118 arg3
= (long)SWIG_As_long(obj2
);
3119 if (PyErr_Occurred()) SWIG_fail
;
3122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3123 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
3125 wxPyEndAllowThreads(__tstate
);
3126 if (PyErr_Occurred()) SWIG_fail
;
3129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3137 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3138 PyObject
*resultobj
;
3139 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3141 PyObject
* obj0
= 0 ;
3143 (char *) "self", NULL
3146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
3147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3151 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
3153 wxPyEndAllowThreads(__tstate
);
3154 if (PyErr_Occurred()) SWIG_fail
;
3157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3165 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3166 PyObject
*resultobj
;
3167 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3168 wxString
*arg2
= 0 ;
3169 bool temp2
= false ;
3170 PyObject
* obj0
= 0 ;
3171 PyObject
* obj1
= 0 ;
3173 (char *) "self",(char *) "title", NULL
3176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
3177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3180 arg2
= wxString_in_helper(obj1
);
3181 if (arg2
== NULL
) SWIG_fail
;
3185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3186 (arg1
)->SetTitle((wxString
const &)*arg2
);
3188 wxPyEndAllowThreads(__tstate
);
3189 if (PyErr_Occurred()) SWIG_fail
;
3191 Py_INCREF(Py_None
); resultobj
= Py_None
;
3206 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3207 PyObject
*resultobj
;
3208 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3210 PyObject
* obj0
= 0 ;
3212 (char *) "self", NULL
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3220 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3222 wxPyEndAllowThreads(__tstate
);
3223 if (PyErr_Occurred()) SWIG_fail
;
3227 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3229 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3238 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3239 PyObject
*resultobj
;
3240 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3241 wxRegion
*arg2
= 0 ;
3243 PyObject
* obj0
= 0 ;
3244 PyObject
* obj1
= 0 ;
3246 (char *) "self",(char *) "region", NULL
3249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3252 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3253 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3256 PyErr_SetString(PyExc_TypeError
,"null reference");
3260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3261 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3263 wxPyEndAllowThreads(__tstate
);
3264 if (PyErr_Occurred()) SWIG_fail
;
3267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3275 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3276 PyObject
*resultobj
;
3277 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3278 int arg2
= (int) wxUSER_ATTENTION_INFO
;
3279 PyObject
* obj0
= 0 ;
3280 PyObject
* obj1
= 0 ;
3282 (char *) "self",(char *) "flags", NULL
3285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
3286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3289 arg2
= (int)SWIG_As_int(obj1
);
3290 if (PyErr_Occurred()) SWIG_fail
;
3293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3294 (arg1
)->RequestUserAttention(arg2
);
3296 wxPyEndAllowThreads(__tstate
);
3297 if (PyErr_Occurred()) SWIG_fail
;
3299 Py_INCREF(Py_None
); resultobj
= Py_None
;
3306 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3307 PyObject
*resultobj
;
3308 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3310 PyObject
* obj0
= 0 ;
3312 (char *) "self", NULL
3315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
3316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3320 result
= (bool)(arg1
)->IsActive();
3322 wxPyEndAllowThreads(__tstate
);
3323 if (PyErr_Occurred()) SWIG_fail
;
3326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3334 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3335 PyObject
*resultobj
;
3336 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3338 PyObject
* obj0
= 0 ;
3339 PyObject
* obj1
= 0 ;
3341 (char *) "self",(char *) "on", NULL
3344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
3345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3347 arg2
= (bool)SWIG_As_bool(obj1
);
3348 if (PyErr_Occurred()) SWIG_fail
;
3350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3351 (arg1
)->MacSetMetalAppearance(arg2
);
3353 wxPyEndAllowThreads(__tstate
);
3354 if (PyErr_Occurred()) SWIG_fail
;
3356 Py_INCREF(Py_None
); resultobj
= Py_None
;
3363 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3364 PyObject
*resultobj
;
3365 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3367 PyObject
* obj0
= 0 ;
3369 (char *) "self", NULL
3372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
3373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3377 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
3379 wxPyEndAllowThreads(__tstate
);
3380 if (PyErr_Occurred()) SWIG_fail
;
3383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3391 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
3393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3394 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3396 return Py_BuildValue((char *)"");
3398 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
*resultobj
;
3400 wxWindow
*arg1
= (wxWindow
*) 0 ;
3401 int arg2
= (int) (int)-1 ;
3402 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3403 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3404 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3405 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3406 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3407 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3408 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3409 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3410 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3412 bool temp3
= false ;
3415 bool temp7
= false ;
3416 PyObject
* obj0
= 0 ;
3417 PyObject
* obj1
= 0 ;
3418 PyObject
* obj2
= 0 ;
3419 PyObject
* obj3
= 0 ;
3420 PyObject
* obj4
= 0 ;
3421 PyObject
* obj5
= 0 ;
3422 PyObject
* obj6
= 0 ;
3424 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3431 arg2
= (int)SWIG_As_int(obj1
);
3432 if (PyErr_Occurred()) SWIG_fail
;
3436 arg3
= wxString_in_helper(obj2
);
3437 if (arg3
== NULL
) SWIG_fail
;
3444 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3450 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3454 arg6
= (long)SWIG_As_long(obj5
);
3455 if (PyErr_Occurred()) SWIG_fail
;
3459 arg7
= wxString_in_helper(obj6
);
3460 if (arg7
== NULL
) SWIG_fail
;
3465 if (!wxPyCheckForApp()) SWIG_fail
;
3466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3467 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3495 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3496 PyObject
*resultobj
;
3502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3504 if (!wxPyCheckForApp()) SWIG_fail
;
3505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3506 result
= (wxFrame
*)new wxFrame();
3508 wxPyEndAllowThreads(__tstate
);
3509 if (PyErr_Occurred()) SWIG_fail
;
3511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3518 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3519 PyObject
*resultobj
;
3520 wxFrame
*arg1
= (wxFrame
*) 0 ;
3521 wxWindow
*arg2
= (wxWindow
*) 0 ;
3522 int arg3
= (int) (int)-1 ;
3523 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3524 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3525 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3526 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3527 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3528 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3529 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3530 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3531 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3533 bool temp4
= false ;
3536 bool temp8
= false ;
3537 PyObject
* obj0
= 0 ;
3538 PyObject
* obj1
= 0 ;
3539 PyObject
* obj2
= 0 ;
3540 PyObject
* obj3
= 0 ;
3541 PyObject
* obj4
= 0 ;
3542 PyObject
* obj5
= 0 ;
3543 PyObject
* obj6
= 0 ;
3544 PyObject
* obj7
= 0 ;
3546 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3555 arg3
= (int)SWIG_As_int(obj2
);
3556 if (PyErr_Occurred()) SWIG_fail
;
3560 arg4
= wxString_in_helper(obj3
);
3561 if (arg4
== NULL
) SWIG_fail
;
3568 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3574 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3578 arg7
= (long)SWIG_As_long(obj6
);
3579 if (PyErr_Occurred()) SWIG_fail
;
3583 arg8
= wxString_in_helper(obj7
);
3584 if (arg8
== NULL
) SWIG_fail
;
3589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3590 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3592 wxPyEndAllowThreads(__tstate
);
3593 if (PyErr_Occurred()) SWIG_fail
;
3596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3620 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
*resultobj
;
3622 wxFrame
*arg1
= (wxFrame
*) 0 ;
3624 PyObject
* obj0
= 0 ;
3626 (char *) "self", NULL
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3634 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3636 wxPyEndAllowThreads(__tstate
);
3637 if (PyErr_Occurred()) SWIG_fail
;
3640 wxPoint
* resultptr
;
3641 resultptr
= new wxPoint((wxPoint
&) result
);
3642 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3650 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
*resultobj
;
3652 wxFrame
*arg1
= (wxFrame
*) 0 ;
3653 PyObject
* obj0
= 0 ;
3655 (char *) "self", NULL
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3663 (arg1
)->SendSizeEvent();
3665 wxPyEndAllowThreads(__tstate
);
3666 if (PyErr_Occurred()) SWIG_fail
;
3668 Py_INCREF(Py_None
); resultobj
= Py_None
;
3675 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3676 PyObject
*resultobj
;
3677 wxFrame
*arg1
= (wxFrame
*) 0 ;
3678 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3679 PyObject
* obj0
= 0 ;
3680 PyObject
* obj1
= 0 ;
3682 (char *) "self",(char *) "menubar", NULL
3685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3688 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3692 (arg1
)->SetMenuBar(arg2
);
3694 wxPyEndAllowThreads(__tstate
);
3695 if (PyErr_Occurred()) SWIG_fail
;
3697 Py_INCREF(Py_None
); resultobj
= Py_None
;
3704 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
*resultobj
;
3706 wxFrame
*arg1
= (wxFrame
*) 0 ;
3708 PyObject
* obj0
= 0 ;
3710 (char *) "self", NULL
3713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3718 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3720 wxPyEndAllowThreads(__tstate
);
3721 if (PyErr_Occurred()) SWIG_fail
;
3724 resultobj
= wxPyMake_wxObject(result
, 0);
3732 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3733 PyObject
*resultobj
;
3734 wxFrame
*arg1
= (wxFrame
*) 0 ;
3737 PyObject
* obj0
= 0 ;
3738 PyObject
* obj1
= 0 ;
3740 (char *) "self",(char *) "winid", NULL
3743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3746 arg2
= (int)SWIG_As_int(obj1
);
3747 if (PyErr_Occurred()) SWIG_fail
;
3749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3750 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3752 wxPyEndAllowThreads(__tstate
);
3753 if (PyErr_Occurred()) SWIG_fail
;
3756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3764 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
*resultobj
;
3766 wxFrame
*arg1
= (wxFrame
*) 0 ;
3767 int arg2
= (int) 1 ;
3768 long arg3
= (long) wxST_SIZEGRIP
;
3769 int arg4
= (int) 0 ;
3770 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3771 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3772 wxStatusBar
*result
;
3773 bool temp5
= false ;
3774 PyObject
* obj0
= 0 ;
3775 PyObject
* obj1
= 0 ;
3776 PyObject
* obj2
= 0 ;
3777 PyObject
* obj3
= 0 ;
3778 PyObject
* obj4
= 0 ;
3780 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3787 arg2
= (int)SWIG_As_int(obj1
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3791 arg3
= (long)SWIG_As_long(obj2
);
3792 if (PyErr_Occurred()) SWIG_fail
;
3795 arg4
= (int)SWIG_As_int(obj3
);
3796 if (PyErr_Occurred()) SWIG_fail
;
3800 arg5
= wxString_in_helper(obj4
);
3801 if (arg5
== NULL
) SWIG_fail
;
3806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3807 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3809 wxPyEndAllowThreads(__tstate
);
3810 if (PyErr_Occurred()) SWIG_fail
;
3813 resultobj
= wxPyMake_wxObject(result
, 0);
3829 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3830 PyObject
*resultobj
;
3831 wxFrame
*arg1
= (wxFrame
*) 0 ;
3832 wxStatusBar
*result
;
3833 PyObject
* obj0
= 0 ;
3835 (char *) "self", NULL
3838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3843 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3845 wxPyEndAllowThreads(__tstate
);
3846 if (PyErr_Occurred()) SWIG_fail
;
3849 resultobj
= wxPyMake_wxObject(result
, 0);
3857 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3858 PyObject
*resultobj
;
3859 wxFrame
*arg1
= (wxFrame
*) 0 ;
3860 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3861 PyObject
* obj0
= 0 ;
3862 PyObject
* obj1
= 0 ;
3864 (char *) "self",(char *) "statBar", NULL
3867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3870 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3874 (arg1
)->SetStatusBar(arg2
);
3876 wxPyEndAllowThreads(__tstate
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3879 Py_INCREF(Py_None
); resultobj
= Py_None
;
3886 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3887 PyObject
*resultobj
;
3888 wxFrame
*arg1
= (wxFrame
*) 0 ;
3889 wxString
*arg2
= 0 ;
3890 int arg3
= (int) 0 ;
3891 bool temp2
= false ;
3892 PyObject
* obj0
= 0 ;
3893 PyObject
* obj1
= 0 ;
3894 PyObject
* obj2
= 0 ;
3896 (char *) "self",(char *) "text",(char *) "number", NULL
3899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3903 arg2
= wxString_in_helper(obj1
);
3904 if (arg2
== NULL
) SWIG_fail
;
3908 arg3
= (int)SWIG_As_int(obj2
);
3909 if (PyErr_Occurred()) SWIG_fail
;
3912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3913 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3915 wxPyEndAllowThreads(__tstate
);
3916 if (PyErr_Occurred()) SWIG_fail
;
3918 Py_INCREF(Py_None
); resultobj
= Py_None
;
3933 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3934 PyObject
*resultobj
;
3935 wxFrame
*arg1
= (wxFrame
*) 0 ;
3937 int *arg3
= (int *) 0 ;
3938 PyObject
* obj0
= 0 ;
3939 PyObject
* obj1
= 0 ;
3941 (char *) "self",(char *) "widths", NULL
3944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3948 arg2
= PyList_Size(obj1
);
3949 arg3
= int_LIST_helper(obj1
);
3950 if (arg3
== NULL
) SWIG_fail
;
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3959 Py_INCREF(Py_None
); resultobj
= Py_None
;
3961 if (arg3
) delete [] arg3
;
3966 if (arg3
) delete [] arg3
;
3972 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3973 PyObject
*resultobj
;
3974 wxFrame
*arg1
= (wxFrame
*) 0 ;
3975 wxString
*arg2
= 0 ;
3976 int arg3
= (int) 0 ;
3977 bool temp2
= false ;
3978 PyObject
* obj0
= 0 ;
3979 PyObject
* obj1
= 0 ;
3980 PyObject
* obj2
= 0 ;
3982 (char *) "self",(char *) "text",(char *) "number", NULL
3985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3989 arg2
= wxString_in_helper(obj1
);
3990 if (arg2
== NULL
) SWIG_fail
;
3994 arg3
= (int)SWIG_As_int(obj2
);
3995 if (PyErr_Occurred()) SWIG_fail
;
3998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3999 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
4001 wxPyEndAllowThreads(__tstate
);
4002 if (PyErr_Occurred()) SWIG_fail
;
4004 Py_INCREF(Py_None
); resultobj
= Py_None
;
4019 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4020 PyObject
*resultobj
;
4021 wxFrame
*arg1
= (wxFrame
*) 0 ;
4022 int arg2
= (int) 0 ;
4023 PyObject
* obj0
= 0 ;
4024 PyObject
* obj1
= 0 ;
4026 (char *) "self",(char *) "number", NULL
4029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
4030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4033 arg2
= (int)SWIG_As_int(obj1
);
4034 if (PyErr_Occurred()) SWIG_fail
;
4037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4038 (arg1
)->PopStatusText(arg2
);
4040 wxPyEndAllowThreads(__tstate
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4043 Py_INCREF(Py_None
); resultobj
= Py_None
;
4050 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
;
4052 wxFrame
*arg1
= (wxFrame
*) 0 ;
4054 PyObject
* obj0
= 0 ;
4055 PyObject
* obj1
= 0 ;
4057 (char *) "self",(char *) "n", NULL
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
4061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4063 arg2
= (int)SWIG_As_int(obj1
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 (arg1
)->SetStatusBarPane(arg2
);
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4072 Py_INCREF(Py_None
); resultobj
= Py_None
;
4079 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
*resultobj
;
4081 wxFrame
*arg1
= (wxFrame
*) 0 ;
4083 PyObject
* obj0
= 0 ;
4085 (char *) "self", NULL
4088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
4089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4093 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
4095 wxPyEndAllowThreads(__tstate
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4098 resultobj
= SWIG_From_int((int)result
);
4105 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
*resultobj
;
4107 wxFrame
*arg1
= (wxFrame
*) 0 ;
4108 long arg2
= (long) -1 ;
4109 int arg3
= (int) -1 ;
4110 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
4111 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4113 bool temp4
= false ;
4114 PyObject
* obj0
= 0 ;
4115 PyObject
* obj1
= 0 ;
4116 PyObject
* obj2
= 0 ;
4117 PyObject
* obj3
= 0 ;
4119 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4126 arg2
= (long)SWIG_As_long(obj1
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4130 arg3
= (int)SWIG_As_int(obj2
);
4131 if (PyErr_Occurred()) SWIG_fail
;
4135 arg4
= wxString_in_helper(obj3
);
4136 if (arg4
== NULL
) SWIG_fail
;
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4148 resultobj
= wxPyMake_wxObject(result
, 0);
4164 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4165 PyObject
*resultobj
;
4166 wxFrame
*arg1
= (wxFrame
*) 0 ;
4168 PyObject
* obj0
= 0 ;
4170 (char *) "self", NULL
4173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
4174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
4180 wxPyEndAllowThreads(__tstate
);
4181 if (PyErr_Occurred()) SWIG_fail
;
4184 resultobj
= wxPyMake_wxObject(result
, 0);
4192 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4193 PyObject
*resultobj
;
4194 wxFrame
*arg1
= (wxFrame
*) 0 ;
4195 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
4196 PyObject
* obj0
= 0 ;
4197 PyObject
* obj1
= 0 ;
4199 (char *) "self",(char *) "toolbar", NULL
4202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4205 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
4206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 (arg1
)->SetToolBar(arg2
);
4211 wxPyEndAllowThreads(__tstate
);
4212 if (PyErr_Occurred()) SWIG_fail
;
4214 Py_INCREF(Py_None
); resultobj
= Py_None
;
4221 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4222 PyObject
*resultobj
;
4223 wxFrame
*arg1
= (wxFrame
*) 0 ;
4224 wxString
*arg2
= 0 ;
4226 bool temp2
= false ;
4227 PyObject
* obj0
= 0 ;
4228 PyObject
* obj1
= 0 ;
4229 PyObject
* obj2
= 0 ;
4231 (char *) "self",(char *) "text",(char *) "show", NULL
4234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4238 arg2
= wxString_in_helper(obj1
);
4239 if (arg2
== NULL
) SWIG_fail
;
4242 arg3
= (bool)SWIG_As_bool(obj2
);
4243 if (PyErr_Occurred()) SWIG_fail
;
4245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4246 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
4248 wxPyEndAllowThreads(__tstate
);
4249 if (PyErr_Occurred()) SWIG_fail
;
4251 Py_INCREF(Py_None
); resultobj
= Py_None
;
4266 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4267 PyObject
*resultobj
;
4268 wxFrame
*arg1
= (wxFrame
*) 0 ;
4269 wxMenu
*arg2
= (wxMenu
*) NULL
;
4270 PyObject
* obj0
= 0 ;
4271 PyObject
* obj1
= 0 ;
4273 (char *) "self",(char *) "menu", NULL
4276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
4277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4280 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
4281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4285 (arg1
)->DoMenuUpdates(arg2
);
4287 wxPyEndAllowThreads(__tstate
);
4288 if (PyErr_Occurred()) SWIG_fail
;
4290 Py_INCREF(Py_None
); resultobj
= Py_None
;
4297 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4298 PyObject
*resultobj
;
4299 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4300 wxVisualAttributes result
;
4301 PyObject
* obj0
= 0 ;
4303 (char *) "variant", NULL
4306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4308 arg1
= (int)SWIG_As_int(obj0
);
4309 if (PyErr_Occurred()) SWIG_fail
;
4312 if (!wxPyCheckForApp()) SWIG_fail
;
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4314 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4316 wxPyEndAllowThreads(__tstate
);
4317 if (PyErr_Occurred()) SWIG_fail
;
4320 wxVisualAttributes
* resultptr
;
4321 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4330 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
4332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4333 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4335 return Py_BuildValue((char *)"");
4337 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4338 PyObject
*resultobj
;
4339 wxWindow
*arg1
= (wxWindow
*) 0 ;
4340 int arg2
= (int) (int)-1 ;
4341 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4342 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4343 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4344 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4345 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4346 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4347 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4348 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4349 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4351 bool temp3
= false ;
4354 bool temp7
= false ;
4355 PyObject
* obj0
= 0 ;
4356 PyObject
* obj1
= 0 ;
4357 PyObject
* obj2
= 0 ;
4358 PyObject
* obj3
= 0 ;
4359 PyObject
* obj4
= 0 ;
4360 PyObject
* obj5
= 0 ;
4361 PyObject
* obj6
= 0 ;
4363 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4370 arg2
= (int)SWIG_As_int(obj1
);
4371 if (PyErr_Occurred()) SWIG_fail
;
4375 arg3
= wxString_in_helper(obj2
);
4376 if (arg3
== NULL
) SWIG_fail
;
4383 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4389 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4393 arg6
= (long)SWIG_As_long(obj5
);
4394 if (PyErr_Occurred()) SWIG_fail
;
4398 arg7
= wxString_in_helper(obj6
);
4399 if (arg7
== NULL
) SWIG_fail
;
4404 if (!wxPyCheckForApp()) SWIG_fail
;
4405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4406 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4408 wxPyEndAllowThreads(__tstate
);
4409 if (PyErr_Occurred()) SWIG_fail
;
4411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4434 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4435 PyObject
*resultobj
;
4441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4443 if (!wxPyCheckForApp()) SWIG_fail
;
4444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4445 result
= (wxDialog
*)new wxDialog();
4447 wxPyEndAllowThreads(__tstate
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4457 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4458 PyObject
*resultobj
;
4459 wxDialog
*arg1
= (wxDialog
*) 0 ;
4460 wxWindow
*arg2
= (wxWindow
*) 0 ;
4461 int arg3
= (int) (int)-1 ;
4462 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4463 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4464 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4465 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4466 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4467 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4468 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4469 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4470 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4472 bool temp4
= false ;
4475 bool temp8
= false ;
4476 PyObject
* obj0
= 0 ;
4477 PyObject
* obj1
= 0 ;
4478 PyObject
* obj2
= 0 ;
4479 PyObject
* obj3
= 0 ;
4480 PyObject
* obj4
= 0 ;
4481 PyObject
* obj5
= 0 ;
4482 PyObject
* obj6
= 0 ;
4483 PyObject
* obj7
= 0 ;
4485 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4491 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4494 arg3
= (int)SWIG_As_int(obj2
);
4495 if (PyErr_Occurred()) SWIG_fail
;
4499 arg4
= wxString_in_helper(obj3
);
4500 if (arg4
== NULL
) SWIG_fail
;
4507 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4513 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4517 arg7
= (long)SWIG_As_long(obj6
);
4518 if (PyErr_Occurred()) SWIG_fail
;
4522 arg8
= wxString_in_helper(obj7
);
4523 if (arg8
== NULL
) SWIG_fail
;
4528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4529 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4531 wxPyEndAllowThreads(__tstate
);
4532 if (PyErr_Occurred()) SWIG_fail
;
4535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4559 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4560 PyObject
*resultobj
;
4561 wxDialog
*arg1
= (wxDialog
*) 0 ;
4563 PyObject
* obj0
= 0 ;
4564 PyObject
* obj1
= 0 ;
4566 (char *) "self",(char *) "returnCode", NULL
4569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4572 arg2
= (int)SWIG_As_int(obj1
);
4573 if (PyErr_Occurred()) SWIG_fail
;
4575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4576 (arg1
)->SetReturnCode(arg2
);
4578 wxPyEndAllowThreads(__tstate
);
4579 if (PyErr_Occurred()) SWIG_fail
;
4581 Py_INCREF(Py_None
); resultobj
= Py_None
;
4588 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
*resultobj
;
4590 wxDialog
*arg1
= (wxDialog
*) 0 ;
4592 PyObject
* obj0
= 0 ;
4594 (char *) "self", NULL
4597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4602 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4604 wxPyEndAllowThreads(__tstate
);
4605 if (PyErr_Occurred()) SWIG_fail
;
4607 resultobj
= SWIG_From_int((int)result
);
4614 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4615 PyObject
*resultobj
;
4616 wxDialog
*arg1
= (wxDialog
*) 0 ;
4617 wxString
*arg2
= 0 ;
4619 bool temp2
= false ;
4620 PyObject
* obj0
= 0 ;
4621 PyObject
* obj1
= 0 ;
4623 (char *) "self",(char *) "message", NULL
4626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4630 arg2
= wxString_in_helper(obj1
);
4631 if (arg2
== NULL
) SWIG_fail
;
4635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4636 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4638 wxPyEndAllowThreads(__tstate
);
4639 if (PyErr_Occurred()) SWIG_fail
;
4642 resultobj
= wxPyMake_wxSizer(result
, 0);
4658 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4659 PyObject
*resultobj
;
4660 wxDialog
*arg1
= (wxDialog
*) 0 ;
4663 PyObject
* obj0
= 0 ;
4664 PyObject
* obj1
= 0 ;
4666 (char *) "self",(char *) "flags", NULL
4669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4672 arg2
= (long)SWIG_As_long(obj1
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4676 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4682 resultobj
= wxPyMake_wxSizer(result
, 0);
4690 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4691 PyObject
*resultobj
;
4692 wxDialog
*arg1
= (wxDialog
*) 0 ;
4694 PyObject
* obj0
= 0 ;
4696 (char *) "self", NULL
4699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4704 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4706 wxPyEndAllowThreads(__tstate
);
4707 if (PyErr_Occurred()) SWIG_fail
;
4710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4718 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
*resultobj
;
4720 wxDialog
*arg1
= (wxDialog
*) 0 ;
4722 PyObject
* obj0
= 0 ;
4724 (char *) "self", NULL
4727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4732 result
= (int)(arg1
)->ShowModal();
4734 wxPyEndAllowThreads(__tstate
);
4735 if (PyErr_Occurred()) SWIG_fail
;
4737 resultobj
= SWIG_From_int((int)result
);
4744 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
*resultobj
;
4746 wxDialog
*arg1
= (wxDialog
*) 0 ;
4748 PyObject
* obj0
= 0 ;
4749 PyObject
* obj1
= 0 ;
4751 (char *) "self",(char *) "retCode", NULL
4754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4757 arg2
= (int)SWIG_As_int(obj1
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4761 (arg1
)->EndModal(arg2
);
4763 wxPyEndAllowThreads(__tstate
);
4764 if (PyErr_Occurred()) SWIG_fail
;
4766 Py_INCREF(Py_None
); resultobj
= Py_None
;
4773 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4774 PyObject
*resultobj
;
4775 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4776 wxVisualAttributes result
;
4777 PyObject
* obj0
= 0 ;
4779 (char *) "variant", NULL
4782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4784 arg1
= (int)SWIG_As_int(obj0
);
4785 if (PyErr_Occurred()) SWIG_fail
;
4788 if (!wxPyCheckForApp()) SWIG_fail
;
4789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4790 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4796 wxVisualAttributes
* resultptr
;
4797 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4798 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4806 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
4808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4809 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4811 return Py_BuildValue((char *)"");
4813 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4814 PyObject
*resultobj
;
4815 wxWindow
*arg1
= (wxWindow
*) 0 ;
4816 int arg2
= (int) (int)-1 ;
4817 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4818 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4819 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4820 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4821 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4822 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4823 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4824 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4825 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4826 wxMiniFrame
*result
;
4827 bool temp3
= false ;
4830 bool temp7
= false ;
4831 PyObject
* obj0
= 0 ;
4832 PyObject
* obj1
= 0 ;
4833 PyObject
* obj2
= 0 ;
4834 PyObject
* obj3
= 0 ;
4835 PyObject
* obj4
= 0 ;
4836 PyObject
* obj5
= 0 ;
4837 PyObject
* obj6
= 0 ;
4839 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4846 arg2
= (int)SWIG_As_int(obj1
);
4847 if (PyErr_Occurred()) SWIG_fail
;
4851 arg3
= wxString_in_helper(obj2
);
4852 if (arg3
== NULL
) SWIG_fail
;
4859 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4865 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4869 arg6
= (long)SWIG_As_long(obj5
);
4870 if (PyErr_Occurred()) SWIG_fail
;
4874 arg7
= wxString_in_helper(obj6
);
4875 if (arg7
== NULL
) SWIG_fail
;
4880 if (!wxPyCheckForApp()) SWIG_fail
;
4881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4882 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4884 wxPyEndAllowThreads(__tstate
);
4885 if (PyErr_Occurred()) SWIG_fail
;
4887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4910 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
*resultobj
;
4912 wxMiniFrame
*result
;
4917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4919 if (!wxPyCheckForApp()) SWIG_fail
;
4920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4921 result
= (wxMiniFrame
*)new wxMiniFrame();
4923 wxPyEndAllowThreads(__tstate
);
4924 if (PyErr_Occurred()) SWIG_fail
;
4926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4933 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
*resultobj
;
4935 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4936 wxWindow
*arg2
= (wxWindow
*) 0 ;
4937 int arg3
= (int) (int)-1 ;
4938 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4939 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4940 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4941 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4942 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4943 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4944 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4945 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4946 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4948 bool temp4
= false ;
4951 bool temp8
= false ;
4952 PyObject
* obj0
= 0 ;
4953 PyObject
* obj1
= 0 ;
4954 PyObject
* obj2
= 0 ;
4955 PyObject
* obj3
= 0 ;
4956 PyObject
* obj4
= 0 ;
4957 PyObject
* obj5
= 0 ;
4958 PyObject
* obj6
= 0 ;
4959 PyObject
* obj7
= 0 ;
4961 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4967 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4970 arg3
= (int)SWIG_As_int(obj2
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4975 arg4
= wxString_in_helper(obj3
);
4976 if (arg4
== NULL
) SWIG_fail
;
4983 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4989 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4993 arg7
= (long)SWIG_As_long(obj6
);
4994 if (PyErr_Occurred()) SWIG_fail
;
4998 arg8
= wxString_in_helper(obj7
);
4999 if (arg8
== NULL
) SWIG_fail
;
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5035 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
5037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5038 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
5040 return Py_BuildValue((char *)"");
5042 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5043 PyObject
*resultobj
;
5044 wxBitmap
*arg1
= 0 ;
5045 wxWindow
*arg2
= (wxWindow
*) 0 ;
5047 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5048 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5049 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5050 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5051 long arg6
= (long) wxNO_BORDER
;
5052 wxSplashScreenWindow
*result
;
5055 PyObject
* obj0
= 0 ;
5056 PyObject
* obj1
= 0 ;
5057 PyObject
* obj2
= 0 ;
5058 PyObject
* obj3
= 0 ;
5059 PyObject
* obj4
= 0 ;
5060 PyObject
* obj5
= 0 ;
5062 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5067 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5070 PyErr_SetString(PyExc_TypeError
,"null reference");
5073 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5075 arg3
= (int)SWIG_As_int(obj2
);
5076 if (PyErr_Occurred()) SWIG_fail
;
5080 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5086 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5090 arg6
= (long)SWIG_As_long(obj5
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5094 if (!wxPyCheckForApp()) SWIG_fail
;
5095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5096 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
5108 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
*resultobj
;
5110 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
5111 wxBitmap
*arg2
= 0 ;
5112 PyObject
* obj0
= 0 ;
5113 PyObject
* obj1
= 0 ;
5115 (char *) "self",(char *) "bitmap", NULL
5118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5121 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5122 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5125 PyErr_SetString(PyExc_TypeError
,"null reference");
5129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5132 wxPyEndAllowThreads(__tstate
);
5133 if (PyErr_Occurred()) SWIG_fail
;
5135 Py_INCREF(Py_None
); resultobj
= Py_None
;
5142 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
*resultobj
;
5144 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
5146 PyObject
* obj0
= 0 ;
5148 (char *) "self", NULL
5151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
5152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
5158 result
= (wxBitmap
*) &_result_ref
;
5161 wxPyEndAllowThreads(__tstate
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5165 wxBitmap
* resultptr
= new wxBitmap(*result
);
5166 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5174 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
5176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5177 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
5179 return Py_BuildValue((char *)"");
5181 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5182 PyObject
*resultobj
;
5183 wxBitmap
*arg1
= 0 ;
5186 wxWindow
*arg4
= (wxWindow
*) 0 ;
5187 int arg5
= (int) -1 ;
5188 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
5189 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
5190 wxSize
const &arg7_defvalue
= wxDefaultSize
;
5191 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
5192 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
5193 wxSplashScreen
*result
;
5196 PyObject
* obj0
= 0 ;
5197 PyObject
* obj1
= 0 ;
5198 PyObject
* obj2
= 0 ;
5199 PyObject
* obj3
= 0 ;
5200 PyObject
* obj4
= 0 ;
5201 PyObject
* obj5
= 0 ;
5202 PyObject
* obj6
= 0 ;
5203 PyObject
* obj7
= 0 ;
5205 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5210 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5213 PyErr_SetString(PyExc_TypeError
,"null reference");
5216 arg2
= (long)SWIG_As_long(obj1
);
5217 if (PyErr_Occurred()) SWIG_fail
;
5218 arg3
= (int)SWIG_As_int(obj2
);
5219 if (PyErr_Occurred()) SWIG_fail
;
5220 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
5221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5223 arg5
= (int)SWIG_As_int(obj4
);
5224 if (PyErr_Occurred()) SWIG_fail
;
5229 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
5235 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
5239 arg8
= (long)SWIG_As_long(obj7
);
5240 if (PyErr_Occurred()) SWIG_fail
;
5243 if (!wxPyCheckForApp()) SWIG_fail
;
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
5257 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5258 PyObject
*resultobj
;
5259 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5261 PyObject
* obj0
= 0 ;
5263 (char *) "self", NULL
5266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
5267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5271 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
5273 wxPyEndAllowThreads(__tstate
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5276 resultobj
= SWIG_From_long((long)result
);
5283 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5284 PyObject
*resultobj
;
5285 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5286 wxSplashScreenWindow
*result
;
5287 PyObject
* obj0
= 0 ;
5289 (char *) "self", NULL
5292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
5293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5297 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
5299 wxPyEndAllowThreads(__tstate
);
5300 if (PyErr_Occurred()) SWIG_fail
;
5302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
5309 static PyObject
*_wrap_SplashScreen_GetTimeout(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_GetTimeout",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
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
5325 wxPyEndAllowThreads(__tstate
);
5326 if (PyErr_Occurred()) SWIG_fail
;
5328 resultobj
= SWIG_From_int((int)result
);
5335 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
5337 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5338 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
5340 return Py_BuildValue((char *)"");
5342 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
*resultobj
;
5344 wxWindow
*arg1
= (wxWindow
*) 0 ;
5345 int arg2
= (int) -1 ;
5346 long arg3
= (long) wxST_SIZEGRIP
;
5347 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5348 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5349 wxStatusBar
*result
;
5350 bool temp4
= false ;
5351 PyObject
* obj0
= 0 ;
5352 PyObject
* obj1
= 0 ;
5353 PyObject
* obj2
= 0 ;
5354 PyObject
* obj3
= 0 ;
5356 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5363 arg2
= (int)SWIG_As_int(obj1
);
5364 if (PyErr_Occurred()) SWIG_fail
;
5367 arg3
= (long)SWIG_As_long(obj2
);
5368 if (PyErr_Occurred()) SWIG_fail
;
5372 arg4
= wxString_in_helper(obj3
);
5373 if (arg4
== NULL
) SWIG_fail
;
5378 if (!wxPyCheckForApp()) SWIG_fail
;
5379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5380 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5382 wxPyEndAllowThreads(__tstate
);
5383 if (PyErr_Occurred()) SWIG_fail
;
5385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5400 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
*resultobj
;
5402 wxStatusBar
*result
;
5407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5409 if (!wxPyCheckForApp()) SWIG_fail
;
5410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 result
= (wxStatusBar
*)new wxStatusBar();
5413 wxPyEndAllowThreads(__tstate
);
5414 if (PyErr_Occurred()) SWIG_fail
;
5416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5423 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5424 PyObject
*resultobj
;
5425 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5426 wxWindow
*arg2
= (wxWindow
*) 0 ;
5427 int arg3
= (int) -1 ;
5428 long arg4
= (long) wxST_SIZEGRIP
;
5429 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5430 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5432 bool temp5
= false ;
5433 PyObject
* obj0
= 0 ;
5434 PyObject
* obj1
= 0 ;
5435 PyObject
* obj2
= 0 ;
5436 PyObject
* obj3
= 0 ;
5437 PyObject
* obj4
= 0 ;
5439 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5448 arg3
= (int)SWIG_As_int(obj2
);
5449 if (PyErr_Occurred()) SWIG_fail
;
5452 arg4
= (long)SWIG_As_long(obj3
);
5453 if (PyErr_Occurred()) SWIG_fail
;
5457 arg5
= wxString_in_helper(obj4
);
5458 if (arg5
== NULL
) SWIG_fail
;
5463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5464 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5486 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5487 PyObject
*resultobj
;
5488 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5489 int arg2
= (int) 1 ;
5490 PyObject
* obj0
= 0 ;
5491 PyObject
* obj1
= 0 ;
5493 (char *) "self",(char *) "number", NULL
5496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5500 arg2
= (int)SWIG_As_int(obj1
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5505 (arg1
)->SetFieldsCount(arg2
);
5507 wxPyEndAllowThreads(__tstate
);
5508 if (PyErr_Occurred()) SWIG_fail
;
5510 Py_INCREF(Py_None
); resultobj
= Py_None
;
5517 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5518 PyObject
*resultobj
;
5519 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5521 PyObject
* obj0
= 0 ;
5523 (char *) "self", NULL
5526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5531 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5533 wxPyEndAllowThreads(__tstate
);
5534 if (PyErr_Occurred()) SWIG_fail
;
5536 resultobj
= SWIG_From_int((int)result
);
5543 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5544 PyObject
*resultobj
;
5545 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5546 wxString
*arg2
= 0 ;
5547 int arg3
= (int) 0 ;
5548 bool temp2
= false ;
5549 PyObject
* obj0
= 0 ;
5550 PyObject
* obj1
= 0 ;
5551 PyObject
* obj2
= 0 ;
5553 (char *) "self",(char *) "text",(char *) "number", NULL
5556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5560 arg2
= wxString_in_helper(obj1
);
5561 if (arg2
== NULL
) SWIG_fail
;
5565 arg3
= (int)SWIG_As_int(obj2
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5570 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5572 wxPyEndAllowThreads(__tstate
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5575 Py_INCREF(Py_None
); resultobj
= Py_None
;
5590 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5591 PyObject
*resultobj
;
5592 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5593 int arg2
= (int) 0 ;
5595 PyObject
* obj0
= 0 ;
5596 PyObject
* obj1
= 0 ;
5598 (char *) "self",(char *) "number", NULL
5601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5605 arg2
= (int)SWIG_As_int(obj1
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5610 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5612 wxPyEndAllowThreads(__tstate
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5617 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5619 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5628 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5629 PyObject
*resultobj
;
5630 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5631 wxString
*arg2
= 0 ;
5632 int arg3
= (int) 0 ;
5633 bool temp2
= false ;
5634 PyObject
* obj0
= 0 ;
5635 PyObject
* obj1
= 0 ;
5636 PyObject
* obj2
= 0 ;
5638 (char *) "self",(char *) "text",(char *) "number", NULL
5641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5645 arg2
= wxString_in_helper(obj1
);
5646 if (arg2
== NULL
) SWIG_fail
;
5650 arg3
= (int)SWIG_As_int(obj2
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5660 Py_INCREF(Py_None
); resultobj
= Py_None
;
5675 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5676 PyObject
*resultobj
;
5677 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5678 int arg2
= (int) 0 ;
5679 PyObject
* obj0
= 0 ;
5680 PyObject
* obj1
= 0 ;
5682 (char *) "self",(char *) "number", NULL
5685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5689 arg2
= (int)SWIG_As_int(obj1
);
5690 if (PyErr_Occurred()) SWIG_fail
;
5693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 (arg1
)->PopStatusText(arg2
);
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5699 Py_INCREF(Py_None
); resultobj
= Py_None
;
5706 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5707 PyObject
*resultobj
;
5708 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5710 int *arg3
= (int *) 0 ;
5711 PyObject
* obj0
= 0 ;
5712 PyObject
* obj1
= 0 ;
5714 (char *) "self",(char *) "widths", NULL
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5721 arg2
= PyList_Size(obj1
);
5722 arg3
= int_LIST_helper(obj1
);
5723 if (arg3
== NULL
) SWIG_fail
;
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5732 Py_INCREF(Py_None
); resultobj
= Py_None
;
5734 if (arg3
) delete [] arg3
;
5739 if (arg3
) delete [] arg3
;
5745 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5747 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5749 int *arg3
= (int *) 0 ;
5750 PyObject
* obj0
= 0 ;
5751 PyObject
* obj1
= 0 ;
5753 (char *) "self",(char *) "styles", NULL
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
5757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5760 arg2
= PyList_Size(obj1
);
5761 arg3
= int_LIST_helper(obj1
);
5762 if (arg3
== NULL
) SWIG_fail
;
5765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5766 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
5768 wxPyEndAllowThreads(__tstate
);
5769 if (PyErr_Occurred()) SWIG_fail
;
5771 Py_INCREF(Py_None
); resultobj
= Py_None
;
5773 if (arg3
) delete [] arg3
;
5778 if (arg3
) delete [] arg3
;
5784 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5785 PyObject
*resultobj
;
5786 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5789 PyObject
* obj0
= 0 ;
5790 PyObject
* obj1
= 0 ;
5792 (char *) "self",(char *) "i", NULL
5795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5798 arg2
= (int)SWIG_As_int(obj1
);
5799 if (PyErr_Occurred()) SWIG_fail
;
5801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5802 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5804 wxPyEndAllowThreads(__tstate
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5809 resultptr
= new wxRect((wxRect
&) result
);
5810 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5818 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
*resultobj
;
5820 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5822 PyObject
* obj0
= 0 ;
5823 PyObject
* obj1
= 0 ;
5825 (char *) "self",(char *) "height", NULL
5828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5831 arg2
= (int)SWIG_As_int(obj1
);
5832 if (PyErr_Occurred()) SWIG_fail
;
5834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5835 (arg1
)->SetMinHeight(arg2
);
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) SWIG_fail
;
5840 Py_INCREF(Py_None
); resultobj
= Py_None
;
5847 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5848 PyObject
*resultobj
;
5849 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5851 PyObject
* obj0
= 0 ;
5853 (char *) "self", NULL
5856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5861 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5866 resultobj
= SWIG_From_int((int)result
);
5873 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
*resultobj
;
5875 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5877 PyObject
* obj0
= 0 ;
5879 (char *) "self", NULL
5882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5892 resultobj
= SWIG_From_int((int)result
);
5899 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5900 PyObject
*resultobj
;
5901 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5902 wxVisualAttributes result
;
5903 PyObject
* obj0
= 0 ;
5905 (char *) "variant", NULL
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5910 arg1
= (int)SWIG_As_int(obj0
);
5911 if (PyErr_Occurred()) SWIG_fail
;
5914 if (!wxPyCheckForApp()) SWIG_fail
;
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5922 wxVisualAttributes
* resultptr
;
5923 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5924 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5932 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
5934 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5935 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5937 return Py_BuildValue((char *)"");
5939 static int _wrap_SplitterNameStr_set(PyObject
*) {
5940 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5945 static PyObject
*_wrap_SplitterNameStr_get() {
5950 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5952 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5959 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5960 PyObject
*resultobj
;
5961 wxWindow
*arg1
= (wxWindow
*) 0 ;
5962 int arg2
= (int) -1 ;
5963 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5964 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5965 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5966 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5967 long arg5
= (long) wxSP_3D
;
5968 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5969 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5970 wxSplitterWindow
*result
;
5973 bool temp6
= false ;
5974 PyObject
* obj0
= 0 ;
5975 PyObject
* obj1
= 0 ;
5976 PyObject
* obj2
= 0 ;
5977 PyObject
* obj3
= 0 ;
5978 PyObject
* obj4
= 0 ;
5979 PyObject
* obj5
= 0 ;
5981 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5988 arg2
= (int)SWIG_As_int(obj1
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5994 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6000 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6004 arg5
= (long)SWIG_As_long(obj4
);
6005 if (PyErr_Occurred()) SWIG_fail
;
6009 arg6
= wxString_in_helper(obj5
);
6010 if (arg6
== NULL
) SWIG_fail
;
6015 if (!wxPyCheckForApp()) SWIG_fail
;
6016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6017 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6019 wxPyEndAllowThreads(__tstate
);
6020 if (PyErr_Occurred()) SWIG_fail
;
6022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
6037 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6038 PyObject
*resultobj
;
6039 wxSplitterWindow
*result
;
6044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
6046 if (!wxPyCheckForApp()) SWIG_fail
;
6047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6048 result
= (wxSplitterWindow
*)new wxSplitterWindow();
6050 wxPyEndAllowThreads(__tstate
);
6051 if (PyErr_Occurred()) SWIG_fail
;
6053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
6060 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6061 PyObject
*resultobj
;
6062 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6063 wxWindow
*arg2
= (wxWindow
*) 0 ;
6064 int arg3
= (int) -1 ;
6065 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6066 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6067 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6068 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6069 long arg6
= (long) wxSP_3D
;
6070 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
6071 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6075 bool temp7
= false ;
6076 PyObject
* obj0
= 0 ;
6077 PyObject
* obj1
= 0 ;
6078 PyObject
* obj2
= 0 ;
6079 PyObject
* obj3
= 0 ;
6080 PyObject
* obj4
= 0 ;
6081 PyObject
* obj5
= 0 ;
6082 PyObject
* obj6
= 0 ;
6084 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6093 arg3
= (int)SWIG_As_int(obj2
);
6094 if (PyErr_Occurred()) SWIG_fail
;
6099 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6105 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6109 arg6
= (long)SWIG_As_long(obj5
);
6110 if (PyErr_Occurred()) SWIG_fail
;
6114 arg7
= wxString_in_helper(obj6
);
6115 if (arg7
== NULL
) SWIG_fail
;
6120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6121 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6123 wxPyEndAllowThreads(__tstate
);
6124 if (PyErr_Occurred()) SWIG_fail
;
6127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6143 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6144 PyObject
*resultobj
;
6145 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6147 PyObject
* obj0
= 0 ;
6149 (char *) "self", NULL
6152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
6153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6157 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
6159 wxPyEndAllowThreads(__tstate
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6163 resultobj
= wxPyMake_wxObject(result
, 0);
6171 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6172 PyObject
*resultobj
;
6173 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6175 PyObject
* obj0
= 0 ;
6177 (char *) "self", NULL
6180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
6181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6185 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
6187 wxPyEndAllowThreads(__tstate
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6191 resultobj
= wxPyMake_wxObject(result
, 0);
6199 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6200 PyObject
*resultobj
;
6201 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6203 PyObject
* obj0
= 0 ;
6204 PyObject
* obj1
= 0 ;
6206 (char *) "self",(char *) "mode", NULL
6209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
6210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6212 arg2
= (int)SWIG_As_int(obj1
);
6213 if (PyErr_Occurred()) SWIG_fail
;
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 (arg1
)->SetSplitMode(arg2
);
6218 wxPyEndAllowThreads(__tstate
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6221 Py_INCREF(Py_None
); resultobj
= Py_None
;
6228 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6229 PyObject
*resultobj
;
6230 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6232 PyObject
* obj0
= 0 ;
6234 (char *) "self", NULL
6237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
6238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6242 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
6244 wxPyEndAllowThreads(__tstate
);
6245 if (PyErr_Occurred()) SWIG_fail
;
6247 resultobj
= SWIG_From_int((int)result
);
6254 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6255 PyObject
*resultobj
;
6256 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6257 wxWindow
*arg2
= (wxWindow
*) 0 ;
6258 PyObject
* obj0
= 0 ;
6259 PyObject
* obj1
= 0 ;
6261 (char *) "self",(char *) "window", NULL
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
6265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6271 (arg1
)->Initialize(arg2
);
6273 wxPyEndAllowThreads(__tstate
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6276 Py_INCREF(Py_None
); resultobj
= Py_None
;
6283 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
*resultobj
;
6285 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6286 wxWindow
*arg2
= (wxWindow
*) 0 ;
6287 wxWindow
*arg3
= (wxWindow
*) 0 ;
6288 int arg4
= (int) 0 ;
6290 PyObject
* obj0
= 0 ;
6291 PyObject
* obj1
= 0 ;
6292 PyObject
* obj2
= 0 ;
6293 PyObject
* obj3
= 0 ;
6295 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6301 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6303 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6306 arg4
= (int)SWIG_As_int(obj3
);
6307 if (PyErr_Occurred()) SWIG_fail
;
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6325 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6326 PyObject
*resultobj
;
6327 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6328 wxWindow
*arg2
= (wxWindow
*) 0 ;
6329 wxWindow
*arg3
= (wxWindow
*) 0 ;
6330 int arg4
= (int) 0 ;
6332 PyObject
* obj0
= 0 ;
6333 PyObject
* obj1
= 0 ;
6334 PyObject
* obj2
= 0 ;
6335 PyObject
* obj3
= 0 ;
6337 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6343 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6345 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6348 arg4
= (int)SWIG_As_int(obj3
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6353 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6355 wxPyEndAllowThreads(__tstate
);
6356 if (PyErr_Occurred()) SWIG_fail
;
6359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6367 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6368 PyObject
*resultobj
;
6369 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6370 wxWindow
*arg2
= (wxWindow
*) NULL
;
6372 PyObject
* obj0
= 0 ;
6373 PyObject
* obj1
= 0 ;
6375 (char *) "self",(char *) "toRemove", NULL
6378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6382 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6387 result
= (bool)(arg1
)->Unsplit(arg2
);
6389 wxPyEndAllowThreads(__tstate
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6401 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
*resultobj
;
6403 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6404 wxWindow
*arg2
= (wxWindow
*) 0 ;
6405 wxWindow
*arg3
= (wxWindow
*) 0 ;
6407 PyObject
* obj0
= 0 ;
6408 PyObject
* obj1
= 0 ;
6409 PyObject
* obj2
= 0 ;
6411 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6417 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6419 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6423 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6425 wxPyEndAllowThreads(__tstate
);
6426 if (PyErr_Occurred()) SWIG_fail
;
6429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6437 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6438 PyObject
*resultobj
;
6439 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6440 PyObject
* obj0
= 0 ;
6442 (char *) "self", NULL
6445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6450 (arg1
)->UpdateSize();
6452 wxPyEndAllowThreads(__tstate
);
6453 if (PyErr_Occurred()) SWIG_fail
;
6455 Py_INCREF(Py_None
); resultobj
= Py_None
;
6462 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6463 PyObject
*resultobj
;
6464 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6466 PyObject
* obj0
= 0 ;
6468 (char *) "self", NULL
6471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6476 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6478 wxPyEndAllowThreads(__tstate
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6490 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
*resultobj
;
6492 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6494 PyObject
* obj0
= 0 ;
6495 PyObject
* obj1
= 0 ;
6497 (char *) "self",(char *) "width", NULL
6500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6503 arg2
= (int)SWIG_As_int(obj1
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 (arg1
)->SetSashSize(arg2
);
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6512 Py_INCREF(Py_None
); resultobj
= Py_None
;
6519 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6520 PyObject
*resultobj
;
6521 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6523 PyObject
* obj0
= 0 ;
6524 PyObject
* obj1
= 0 ;
6526 (char *) "self",(char *) "width", NULL
6529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6532 arg2
= (int)SWIG_As_int(obj1
);
6533 if (PyErr_Occurred()) SWIG_fail
;
6535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 (arg1
)->SetBorderSize(arg2
);
6538 wxPyEndAllowThreads(__tstate
);
6539 if (PyErr_Occurred()) SWIG_fail
;
6541 Py_INCREF(Py_None
); resultobj
= Py_None
;
6548 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6549 PyObject
*resultobj
;
6550 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6552 PyObject
* obj0
= 0 ;
6554 (char *) "self", NULL
6557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6562 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6564 wxPyEndAllowThreads(__tstate
);
6565 if (PyErr_Occurred()) SWIG_fail
;
6567 resultobj
= SWIG_From_int((int)result
);
6574 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6575 PyObject
*resultobj
;
6576 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6578 PyObject
* obj0
= 0 ;
6580 (char *) "self", NULL
6583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6590 wxPyEndAllowThreads(__tstate
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6593 resultobj
= SWIG_From_int((int)result
);
6600 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
*resultobj
;
6602 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6604 bool arg3
= (bool) true ;
6605 PyObject
* obj0
= 0 ;
6606 PyObject
* obj1
= 0 ;
6607 PyObject
* obj2
= 0 ;
6609 (char *) "self",(char *) "position",(char *) "redraw", NULL
6612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6615 arg2
= (int)SWIG_As_int(obj1
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6618 arg3
= (bool)SWIG_As_bool(obj2
);
6619 if (PyErr_Occurred()) SWIG_fail
;
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 (arg1
)->SetSashPosition(arg2
,arg3
);
6625 wxPyEndAllowThreads(__tstate
);
6626 if (PyErr_Occurred()) SWIG_fail
;
6628 Py_INCREF(Py_None
); resultobj
= Py_None
;
6635 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6636 PyObject
*resultobj
;
6637 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6639 PyObject
* obj0
= 0 ;
6641 (char *) "self", NULL
6644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6649 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6651 wxPyEndAllowThreads(__tstate
);
6652 if (PyErr_Occurred()) SWIG_fail
;
6654 resultobj
= SWIG_From_int((int)result
);
6661 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6662 PyObject
*resultobj
;
6663 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6665 PyObject
* obj0
= 0 ;
6666 PyObject
* obj1
= 0 ;
6668 (char *) "self",(char *) "min", NULL
6671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6674 arg2
= (int)SWIG_As_int(obj1
);
6675 if (PyErr_Occurred()) SWIG_fail
;
6677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6678 (arg1
)->SetMinimumPaneSize(arg2
);
6680 wxPyEndAllowThreads(__tstate
);
6681 if (PyErr_Occurred()) SWIG_fail
;
6683 Py_INCREF(Py_None
); resultobj
= Py_None
;
6690 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6691 PyObject
*resultobj
;
6692 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6694 PyObject
* obj0
= 0 ;
6696 (char *) "self", NULL
6699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6704 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6706 wxPyEndAllowThreads(__tstate
);
6707 if (PyErr_Occurred()) SWIG_fail
;
6709 resultobj
= SWIG_From_int((int)result
);
6716 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6717 PyObject
*resultobj
;
6718 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6721 int arg4
= (int) 5 ;
6723 PyObject
* obj0
= 0 ;
6724 PyObject
* obj1
= 0 ;
6725 PyObject
* obj2
= 0 ;
6726 PyObject
* obj3
= 0 ;
6728 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6734 arg2
= (int)SWIG_As_int(obj1
);
6735 if (PyErr_Occurred()) SWIG_fail
;
6736 arg3
= (int)SWIG_As_int(obj2
);
6737 if (PyErr_Occurred()) SWIG_fail
;
6739 arg4
= (int)SWIG_As_int(obj3
);
6740 if (PyErr_Occurred()) SWIG_fail
;
6743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6744 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6746 wxPyEndAllowThreads(__tstate
);
6747 if (PyErr_Occurred()) SWIG_fail
;
6750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6758 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6759 PyObject
*resultobj
;
6760 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6761 PyObject
* obj0
= 0 ;
6763 (char *) "self", NULL
6766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6771 (arg1
)->SizeWindows();
6773 wxPyEndAllowThreads(__tstate
);
6774 if (PyErr_Occurred()) SWIG_fail
;
6776 Py_INCREF(Py_None
); resultobj
= Py_None
;
6783 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6784 PyObject
*resultobj
;
6785 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6787 PyObject
* obj0
= 0 ;
6788 PyObject
* obj1
= 0 ;
6790 (char *) "self",(char *) "needUpdating", NULL
6793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6796 arg2
= (bool)SWIG_As_bool(obj1
);
6797 if (PyErr_Occurred()) SWIG_fail
;
6799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6800 (arg1
)->SetNeedUpdating(arg2
);
6802 wxPyEndAllowThreads(__tstate
);
6803 if (PyErr_Occurred()) SWIG_fail
;
6805 Py_INCREF(Py_None
); resultobj
= Py_None
;
6812 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
*resultobj
;
6814 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6816 PyObject
* obj0
= 0 ;
6818 (char *) "self", NULL
6821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6826 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6828 wxPyEndAllowThreads(__tstate
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6840 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
*resultobj
;
6842 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6843 wxVisualAttributes result
;
6844 PyObject
* obj0
= 0 ;
6846 (char *) "variant", NULL
6849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6851 arg1
= (int)SWIG_As_int(obj0
);
6852 if (PyErr_Occurred()) SWIG_fail
;
6855 if (!wxPyCheckForApp()) SWIG_fail
;
6856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6857 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6859 wxPyEndAllowThreads(__tstate
);
6860 if (PyErr_Occurred()) SWIG_fail
;
6863 wxVisualAttributes
* resultptr
;
6864 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6865 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6873 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
6875 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6876 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6878 return Py_BuildValue((char *)"");
6880 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
*resultobj
;
6882 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6883 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6884 wxSplitterEvent
*result
;
6885 PyObject
* obj0
= 0 ;
6886 PyObject
* obj1
= 0 ;
6888 (char *) "type",(char *) "splitter", NULL
6891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6893 arg1
= (wxEventType
)SWIG_As_int(obj0
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6897 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6902 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6904 wxPyEndAllowThreads(__tstate
);
6905 if (PyErr_Occurred()) SWIG_fail
;
6907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6914 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
*resultobj
;
6916 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6918 PyObject
* obj0
= 0 ;
6919 PyObject
* obj1
= 0 ;
6921 (char *) "self",(char *) "pos", NULL
6924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6927 arg2
= (int)SWIG_As_int(obj1
);
6928 if (PyErr_Occurred()) SWIG_fail
;
6930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6931 (arg1
)->SetSashPosition(arg2
);
6933 wxPyEndAllowThreads(__tstate
);
6934 if (PyErr_Occurred()) SWIG_fail
;
6936 Py_INCREF(Py_None
); resultobj
= Py_None
;
6943 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6944 PyObject
*resultobj
;
6945 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6947 PyObject
* obj0
= 0 ;
6949 (char *) "self", NULL
6952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6957 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6959 wxPyEndAllowThreads(__tstate
);
6960 if (PyErr_Occurred()) SWIG_fail
;
6962 resultobj
= SWIG_From_int((int)result
);
6969 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6970 PyObject
*resultobj
;
6971 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6973 PyObject
* obj0
= 0 ;
6975 (char *) "self", NULL
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6983 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6985 wxPyEndAllowThreads(__tstate
);
6986 if (PyErr_Occurred()) SWIG_fail
;
6989 resultobj
= wxPyMake_wxObject(result
, 0);
6997 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
*resultobj
;
6999 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
7001 PyObject
* obj0
= 0 ;
7003 (char *) "self", NULL
7006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
7007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
7008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7011 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7016 resultobj
= SWIG_From_int((int)result
);
7023 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7024 PyObject
*resultobj
;
7025 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
7027 PyObject
* obj0
= 0 ;
7029 (char *) "self", NULL
7032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
7033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
7034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
7039 wxPyEndAllowThreads(__tstate
);
7040 if (PyErr_Occurred()) SWIG_fail
;
7042 resultobj
= SWIG_From_int((int)result
);
7049 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
7051 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7052 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
7054 return Py_BuildValue((char *)"");
7056 static int _wrap_SashNameStr_set(PyObject
*) {
7057 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
7062 static PyObject
*_wrap_SashNameStr_get() {
7067 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
7069 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
7076 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
7077 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
7082 static PyObject
*_wrap_SashLayoutNameStr_get() {
7087 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
7089 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
7096 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7097 PyObject
*resultobj
;
7098 wxWindow
*arg1
= (wxWindow
*) 0 ;
7099 int arg2
= (int) -1 ;
7100 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7101 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7102 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7103 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7104 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7105 wxString
const &arg6_defvalue
= wxPySashNameStr
;
7106 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7107 wxSashWindow
*result
;
7110 bool temp6
= false ;
7111 PyObject
* obj0
= 0 ;
7112 PyObject
* obj1
= 0 ;
7113 PyObject
* obj2
= 0 ;
7114 PyObject
* obj3
= 0 ;
7115 PyObject
* obj4
= 0 ;
7116 PyObject
* obj5
= 0 ;
7118 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7125 arg2
= (int)SWIG_As_int(obj1
);
7126 if (PyErr_Occurred()) SWIG_fail
;
7131 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7137 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7141 arg5
= (long)SWIG_As_long(obj4
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7146 arg6
= wxString_in_helper(obj5
);
7147 if (arg6
== NULL
) SWIG_fail
;
7152 if (!wxPyCheckForApp()) SWIG_fail
;
7153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7154 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7156 wxPyEndAllowThreads(__tstate
);
7157 if (PyErr_Occurred()) SWIG_fail
;
7159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7174 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
*resultobj
;
7176 wxSashWindow
*result
;
7181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
7183 if (!wxPyCheckForApp()) SWIG_fail
;
7184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7185 result
= (wxSashWindow
*)new wxSashWindow();
7187 wxPyEndAllowThreads(__tstate
);
7188 if (PyErr_Occurred()) SWIG_fail
;
7190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7197 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7198 PyObject
*resultobj
;
7199 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7200 wxWindow
*arg2
= (wxWindow
*) 0 ;
7201 int arg3
= (int) -1 ;
7202 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7203 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7204 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7205 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7206 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7207 wxString
const &arg7_defvalue
= wxPySashNameStr
;
7208 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7212 bool temp7
= false ;
7213 PyObject
* obj0
= 0 ;
7214 PyObject
* obj1
= 0 ;
7215 PyObject
* obj2
= 0 ;
7216 PyObject
* obj3
= 0 ;
7217 PyObject
* obj4
= 0 ;
7218 PyObject
* obj5
= 0 ;
7219 PyObject
* obj6
= 0 ;
7221 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7227 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7230 arg3
= (int)SWIG_As_int(obj2
);
7231 if (PyErr_Occurred()) SWIG_fail
;
7236 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7242 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7246 arg6
= (long)SWIG_As_long(obj5
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7251 arg7
= wxString_in_helper(obj6
);
7252 if (arg7
== NULL
) SWIG_fail
;
7257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7258 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7260 wxPyEndAllowThreads(__tstate
);
7261 if (PyErr_Occurred()) SWIG_fail
;
7264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7280 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7281 PyObject
*resultobj
;
7282 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7285 PyObject
* obj0
= 0 ;
7286 PyObject
* obj1
= 0 ;
7287 PyObject
* obj2
= 0 ;
7289 (char *) "self",(char *) "edge",(char *) "sash", NULL
7292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7295 arg2
= (int)SWIG_As_int(obj1
);
7296 if (PyErr_Occurred()) SWIG_fail
;
7297 arg3
= (bool)SWIG_As_bool(obj2
);
7298 if (PyErr_Occurred()) SWIG_fail
;
7300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7301 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
7303 wxPyEndAllowThreads(__tstate
);
7304 if (PyErr_Occurred()) SWIG_fail
;
7306 Py_INCREF(Py_None
); resultobj
= Py_None
;
7313 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7314 PyObject
*resultobj
;
7315 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7318 PyObject
* obj0
= 0 ;
7319 PyObject
* obj1
= 0 ;
7321 (char *) "self",(char *) "edge", NULL
7324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7327 arg2
= (int)SWIG_As_int(obj1
);
7328 if (PyErr_Occurred()) SWIG_fail
;
7330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7331 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
7333 wxPyEndAllowThreads(__tstate
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7345 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7346 PyObject
*resultobj
;
7347 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7350 PyObject
* obj0
= 0 ;
7351 PyObject
* obj1
= 0 ;
7352 PyObject
* obj2
= 0 ;
7354 (char *) "self",(char *) "edge",(char *) "border", NULL
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7360 arg2
= (int)SWIG_As_int(obj1
);
7361 if (PyErr_Occurred()) SWIG_fail
;
7362 arg3
= (bool)SWIG_As_bool(obj2
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7366 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7368 wxPyEndAllowThreads(__tstate
);
7369 if (PyErr_Occurred()) SWIG_fail
;
7371 Py_INCREF(Py_None
); resultobj
= Py_None
;
7378 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
*resultobj
;
7380 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7383 PyObject
* obj0
= 0 ;
7384 PyObject
* obj1
= 0 ;
7386 (char *) "self",(char *) "edge", NULL
7389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7392 arg2
= (int)SWIG_As_int(obj1
);
7393 if (PyErr_Occurred()) SWIG_fail
;
7395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7396 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7410 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7411 PyObject
*resultobj
;
7412 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7415 PyObject
* obj0
= 0 ;
7416 PyObject
* obj1
= 0 ;
7418 (char *) "self",(char *) "edge", NULL
7421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7424 arg2
= (int)SWIG_As_int(obj1
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7428 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7430 wxPyEndAllowThreads(__tstate
);
7431 if (PyErr_Occurred()) SWIG_fail
;
7433 resultobj
= SWIG_From_int((int)result
);
7440 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
*resultobj
;
7442 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7444 PyObject
* obj0
= 0 ;
7445 PyObject
* obj1
= 0 ;
7447 (char *) "self",(char *) "width", NULL
7450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7453 arg2
= (int)SWIG_As_int(obj1
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7457 (arg1
)->SetDefaultBorderSize(arg2
);
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7462 Py_INCREF(Py_None
); resultobj
= Py_None
;
7469 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7470 PyObject
*resultobj
;
7471 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7473 PyObject
* obj0
= 0 ;
7475 (char *) "self", NULL
7478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7488 resultobj
= SWIG_From_int((int)result
);
7495 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
*resultobj
;
7497 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7499 PyObject
* obj0
= 0 ;
7500 PyObject
* obj1
= 0 ;
7502 (char *) "self",(char *) "width", NULL
7505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7508 arg2
= (int)SWIG_As_int(obj1
);
7509 if (PyErr_Occurred()) SWIG_fail
;
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 (arg1
)->SetExtraBorderSize(arg2
);
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7517 Py_INCREF(Py_None
); resultobj
= Py_None
;
7524 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
*resultobj
;
7526 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7528 PyObject
* obj0
= 0 ;
7530 (char *) "self", NULL
7533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) SWIG_fail
;
7543 resultobj
= SWIG_From_int((int)result
);
7550 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7551 PyObject
*resultobj
;
7552 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7554 PyObject
* obj0
= 0 ;
7555 PyObject
* obj1
= 0 ;
7557 (char *) "self",(char *) "min", NULL
7560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7563 arg2
= (int)SWIG_As_int(obj1
);
7564 if (PyErr_Occurred()) SWIG_fail
;
7566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7567 (arg1
)->SetMinimumSizeX(arg2
);
7569 wxPyEndAllowThreads(__tstate
);
7570 if (PyErr_Occurred()) SWIG_fail
;
7572 Py_INCREF(Py_None
); resultobj
= Py_None
;
7579 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7580 PyObject
*resultobj
;
7581 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7583 PyObject
* obj0
= 0 ;
7584 PyObject
* obj1
= 0 ;
7586 (char *) "self",(char *) "min", NULL
7589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7592 arg2
= (int)SWIG_As_int(obj1
);
7593 if (PyErr_Occurred()) SWIG_fail
;
7595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7596 (arg1
)->SetMinimumSizeY(arg2
);
7598 wxPyEndAllowThreads(__tstate
);
7599 if (PyErr_Occurred()) SWIG_fail
;
7601 Py_INCREF(Py_None
); resultobj
= Py_None
;
7608 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7609 PyObject
*resultobj
;
7610 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7612 PyObject
* obj0
= 0 ;
7614 (char *) "self", NULL
7617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7622 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7624 wxPyEndAllowThreads(__tstate
);
7625 if (PyErr_Occurred()) SWIG_fail
;
7627 resultobj
= SWIG_From_int((int)result
);
7634 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7635 PyObject
*resultobj
;
7636 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7638 PyObject
* obj0
= 0 ;
7640 (char *) "self", NULL
7643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7648 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7650 wxPyEndAllowThreads(__tstate
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7653 resultobj
= SWIG_From_int((int)result
);
7660 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7661 PyObject
*resultobj
;
7662 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7664 PyObject
* obj0
= 0 ;
7665 PyObject
* obj1
= 0 ;
7667 (char *) "self",(char *) "max", NULL
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7673 arg2
= (int)SWIG_As_int(obj1
);
7674 if (PyErr_Occurred()) SWIG_fail
;
7676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7677 (arg1
)->SetMaximumSizeX(arg2
);
7679 wxPyEndAllowThreads(__tstate
);
7680 if (PyErr_Occurred()) SWIG_fail
;
7682 Py_INCREF(Py_None
); resultobj
= Py_None
;
7689 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
*resultobj
;
7691 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7693 PyObject
* obj0
= 0 ;
7694 PyObject
* obj1
= 0 ;
7696 (char *) "self",(char *) "max", NULL
7699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7702 arg2
= (int)SWIG_As_int(obj1
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7706 (arg1
)->SetMaximumSizeY(arg2
);
7708 wxPyEndAllowThreads(__tstate
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7711 Py_INCREF(Py_None
); resultobj
= Py_None
;
7718 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
*resultobj
;
7720 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7722 PyObject
* obj0
= 0 ;
7724 (char *) "self", NULL
7727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7732 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7734 wxPyEndAllowThreads(__tstate
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7737 resultobj
= SWIG_From_int((int)result
);
7744 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7745 PyObject
*resultobj
;
7746 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7748 PyObject
* obj0
= 0 ;
7750 (char *) "self", NULL
7753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7758 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7760 wxPyEndAllowThreads(__tstate
);
7761 if (PyErr_Occurred()) SWIG_fail
;
7763 resultobj
= SWIG_From_int((int)result
);
7770 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7771 PyObject
*resultobj
;
7772 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7775 int arg4
= (int) 2 ;
7777 PyObject
* obj0
= 0 ;
7778 PyObject
* obj1
= 0 ;
7779 PyObject
* obj2
= 0 ;
7780 PyObject
* obj3
= 0 ;
7782 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7788 arg2
= (int)SWIG_As_int(obj1
);
7789 if (PyErr_Occurred()) SWIG_fail
;
7790 arg3
= (int)SWIG_As_int(obj2
);
7791 if (PyErr_Occurred()) SWIG_fail
;
7793 arg4
= (int)SWIG_As_int(obj3
);
7794 if (PyErr_Occurred()) SWIG_fail
;
7797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7798 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7800 wxPyEndAllowThreads(__tstate
);
7801 if (PyErr_Occurred()) SWIG_fail
;
7803 resultobj
= SWIG_From_int((int)result
);
7810 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7811 PyObject
*resultobj
;
7812 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7813 PyObject
* obj0
= 0 ;
7815 (char *) "self", NULL
7818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7823 (arg1
)->SizeWindows();
7825 wxPyEndAllowThreads(__tstate
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7828 Py_INCREF(Py_None
); resultobj
= Py_None
;
7835 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
7837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7838 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7840 return Py_BuildValue((char *)"");
7842 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7843 PyObject
*resultobj
;
7844 int arg1
= (int) 0 ;
7845 int arg2
= (int) wxSASH_NONE
;
7846 wxSashEvent
*result
;
7847 PyObject
* obj0
= 0 ;
7848 PyObject
* obj1
= 0 ;
7850 (char *) "id",(char *) "edge", NULL
7853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7855 arg1
= (int)SWIG_As_int(obj0
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7859 arg2
= (int)SWIG_As_int(obj1
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7864 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7866 wxPyEndAllowThreads(__tstate
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7876 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7877 PyObject
*resultobj
;
7878 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7880 PyObject
* obj0
= 0 ;
7881 PyObject
* obj1
= 0 ;
7883 (char *) "self",(char *) "edge", NULL
7886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7889 arg2
= (int)SWIG_As_int(obj1
);
7890 if (PyErr_Occurred()) SWIG_fail
;
7892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7893 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7895 wxPyEndAllowThreads(__tstate
);
7896 if (PyErr_Occurred()) SWIG_fail
;
7898 Py_INCREF(Py_None
); resultobj
= Py_None
;
7905 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7906 PyObject
*resultobj
;
7907 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7909 PyObject
* obj0
= 0 ;
7911 (char *) "self", NULL
7914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7919 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7921 wxPyEndAllowThreads(__tstate
);
7922 if (PyErr_Occurred()) SWIG_fail
;
7924 resultobj
= SWIG_From_int((int)result
);
7931 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7932 PyObject
*resultobj
;
7933 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7936 PyObject
* obj0
= 0 ;
7937 PyObject
* obj1
= 0 ;
7939 (char *) "self",(char *) "rect", NULL
7942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7947 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7951 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7953 wxPyEndAllowThreads(__tstate
);
7954 if (PyErr_Occurred()) SWIG_fail
;
7956 Py_INCREF(Py_None
); resultobj
= Py_None
;
7963 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7964 PyObject
*resultobj
;
7965 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7967 PyObject
* obj0
= 0 ;
7969 (char *) "self", NULL
7972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7977 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7979 wxPyEndAllowThreads(__tstate
);
7980 if (PyErr_Occurred()) SWIG_fail
;
7984 resultptr
= new wxRect((wxRect
&) result
);
7985 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7993 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7994 PyObject
*resultobj
;
7995 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7997 PyObject
* obj0
= 0 ;
7998 PyObject
* obj1
= 0 ;
8000 (char *) "self",(char *) "status", NULL
8003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
8004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
8005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8006 arg2
= (int)SWIG_As_int(obj1
);
8007 if (PyErr_Occurred()) SWIG_fail
;
8009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8010 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
8012 wxPyEndAllowThreads(__tstate
);
8013 if (PyErr_Occurred()) SWIG_fail
;
8015 Py_INCREF(Py_None
); resultobj
= Py_None
;
8022 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8023 PyObject
*resultobj
;
8024 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
8026 PyObject
* obj0
= 0 ;
8028 (char *) "self", NULL
8031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
8032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
8033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8036 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
8038 wxPyEndAllowThreads(__tstate
);
8039 if (PyErr_Occurred()) SWIG_fail
;
8041 resultobj
= SWIG_From_int((int)result
);
8048 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
8050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8051 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
8053 return Py_BuildValue((char *)"");
8055 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8056 PyObject
*resultobj
;
8057 int arg1
= (int) 0 ;
8058 wxQueryLayoutInfoEvent
*result
;
8059 PyObject
* obj0
= 0 ;
8064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
8066 arg1
= (int)SWIG_As_int(obj0
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8071 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
8073 wxPyEndAllowThreads(__tstate
);
8074 if (PyErr_Occurred()) SWIG_fail
;
8076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
8083 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8084 PyObject
*resultobj
;
8085 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8087 PyObject
* obj0
= 0 ;
8088 PyObject
* obj1
= 0 ;
8090 (char *) "self",(char *) "length", NULL
8093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8096 arg2
= (int)SWIG_As_int(obj1
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8100 (arg1
)->SetRequestedLength(arg2
);
8102 wxPyEndAllowThreads(__tstate
);
8103 if (PyErr_Occurred()) SWIG_fail
;
8105 Py_INCREF(Py_None
); resultobj
= Py_None
;
8112 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8113 PyObject
*resultobj
;
8114 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8116 PyObject
* obj0
= 0 ;
8118 (char *) "self", NULL
8121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
8122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8126 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
8128 wxPyEndAllowThreads(__tstate
);
8129 if (PyErr_Occurred()) SWIG_fail
;
8131 resultobj
= SWIG_From_int((int)result
);
8138 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8139 PyObject
*resultobj
;
8140 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8142 PyObject
* obj0
= 0 ;
8143 PyObject
* obj1
= 0 ;
8145 (char *) "self",(char *) "flags", NULL
8148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8151 arg2
= (int)SWIG_As_int(obj1
);
8152 if (PyErr_Occurred()) SWIG_fail
;
8154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8155 (arg1
)->SetFlags(arg2
);
8157 wxPyEndAllowThreads(__tstate
);
8158 if (PyErr_Occurred()) SWIG_fail
;
8160 Py_INCREF(Py_None
); resultobj
= Py_None
;
8167 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8168 PyObject
*resultobj
;
8169 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8171 PyObject
* obj0
= 0 ;
8173 (char *) "self", NULL
8176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8181 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
8183 wxPyEndAllowThreads(__tstate
);
8184 if (PyErr_Occurred()) SWIG_fail
;
8186 resultobj
= SWIG_From_int((int)result
);
8193 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8194 PyObject
*resultobj
;
8195 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8198 PyObject
* obj0
= 0 ;
8199 PyObject
* obj1
= 0 ;
8201 (char *) "self",(char *) "size", NULL
8204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8209 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8213 (arg1
)->SetSize((wxSize
const &)*arg2
);
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8218 Py_INCREF(Py_None
); resultobj
= Py_None
;
8225 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8226 PyObject
*resultobj
;
8227 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8229 PyObject
* obj0
= 0 ;
8231 (char *) "self", NULL
8234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
8235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8239 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
8241 wxPyEndAllowThreads(__tstate
);
8242 if (PyErr_Occurred()) SWIG_fail
;
8246 resultptr
= new wxSize((wxSize
&) result
);
8247 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8255 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8256 PyObject
*resultobj
;
8257 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8259 PyObject
* obj0
= 0 ;
8260 PyObject
* obj1
= 0 ;
8262 (char *) "self",(char *) "orient", NULL
8265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8268 arg2
= (int)SWIG_As_int(obj1
);
8269 if (PyErr_Occurred()) SWIG_fail
;
8271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8272 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8274 wxPyEndAllowThreads(__tstate
);
8275 if (PyErr_Occurred()) SWIG_fail
;
8277 Py_INCREF(Py_None
); resultobj
= Py_None
;
8284 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8285 PyObject
*resultobj
;
8286 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8288 PyObject
* obj0
= 0 ;
8290 (char *) "self", NULL
8293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
8294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8298 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
8300 wxPyEndAllowThreads(__tstate
);
8301 if (PyErr_Occurred()) SWIG_fail
;
8303 resultobj
= SWIG_From_int((int)result
);
8310 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8311 PyObject
*resultobj
;
8312 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8314 PyObject
* obj0
= 0 ;
8315 PyObject
* obj1
= 0 ;
8317 (char *) "self",(char *) "align", NULL
8320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8323 arg2
= (int)SWIG_As_int(obj1
);
8324 if (PyErr_Occurred()) SWIG_fail
;
8326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8327 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8329 wxPyEndAllowThreads(__tstate
);
8330 if (PyErr_Occurred()) SWIG_fail
;
8332 Py_INCREF(Py_None
); resultobj
= Py_None
;
8339 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8340 PyObject
*resultobj
;
8341 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8343 PyObject
* obj0
= 0 ;
8345 (char *) "self", NULL
8348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
8349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8355 wxPyEndAllowThreads(__tstate
);
8356 if (PyErr_Occurred()) SWIG_fail
;
8358 resultobj
= SWIG_From_int((int)result
);
8365 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
8367 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8368 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8370 return Py_BuildValue((char *)"");
8372 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8373 PyObject
*resultobj
;
8374 int arg1
= (int) 0 ;
8375 wxCalculateLayoutEvent
*result
;
8376 PyObject
* obj0
= 0 ;
8381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8383 arg1
= (int)SWIG_As_int(obj0
);
8384 if (PyErr_Occurred()) SWIG_fail
;
8387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8388 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8390 wxPyEndAllowThreads(__tstate
);
8391 if (PyErr_Occurred()) SWIG_fail
;
8393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8400 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8401 PyObject
*resultobj
;
8402 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8404 PyObject
* obj0
= 0 ;
8405 PyObject
* obj1
= 0 ;
8407 (char *) "self",(char *) "flags", NULL
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8413 arg2
= (int)SWIG_As_int(obj1
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8417 (arg1
)->SetFlags(arg2
);
8419 wxPyEndAllowThreads(__tstate
);
8420 if (PyErr_Occurred()) SWIG_fail
;
8422 Py_INCREF(Py_None
); resultobj
= Py_None
;
8429 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8430 PyObject
*resultobj
;
8431 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8433 PyObject
* obj0
= 0 ;
8435 (char *) "self", NULL
8438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8443 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8448 resultobj
= SWIG_From_int((int)result
);
8455 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8456 PyObject
*resultobj
;
8457 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8460 PyObject
* obj0
= 0 ;
8461 PyObject
* obj1
= 0 ;
8463 (char *) "self",(char *) "rect", NULL
8466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8471 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8475 (arg1
)->SetRect((wxRect
const &)*arg2
);
8477 wxPyEndAllowThreads(__tstate
);
8478 if (PyErr_Occurred()) SWIG_fail
;
8480 Py_INCREF(Py_None
); resultobj
= Py_None
;
8487 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8488 PyObject
*resultobj
;
8489 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8491 PyObject
* obj0
= 0 ;
8493 (char *) "self", NULL
8496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8501 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8503 wxPyEndAllowThreads(__tstate
);
8504 if (PyErr_Occurred()) SWIG_fail
;
8508 resultptr
= new wxRect((wxRect
&) result
);
8509 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8517 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
8519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8520 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8522 return Py_BuildValue((char *)"");
8524 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8525 PyObject
*resultobj
;
8526 wxWindow
*arg1
= (wxWindow
*) 0 ;
8527 int arg2
= (int) -1 ;
8528 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8529 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8530 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8531 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8532 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8533 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8534 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8535 wxSashLayoutWindow
*result
;
8538 bool temp6
= false ;
8539 PyObject
* obj0
= 0 ;
8540 PyObject
* obj1
= 0 ;
8541 PyObject
* obj2
= 0 ;
8542 PyObject
* obj3
= 0 ;
8543 PyObject
* obj4
= 0 ;
8544 PyObject
* obj5
= 0 ;
8546 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8553 arg2
= (int)SWIG_As_int(obj1
);
8554 if (PyErr_Occurred()) SWIG_fail
;
8559 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8565 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8569 arg5
= (long)SWIG_As_long(obj4
);
8570 if (PyErr_Occurred()) SWIG_fail
;
8574 arg6
= wxString_in_helper(obj5
);
8575 if (arg6
== NULL
) SWIG_fail
;
8580 if (!wxPyCheckForApp()) SWIG_fail
;
8581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8582 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8584 wxPyEndAllowThreads(__tstate
);
8585 if (PyErr_Occurred()) SWIG_fail
;
8587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8602 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8603 PyObject
*resultobj
;
8604 wxSashLayoutWindow
*result
;
8609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8611 if (!wxPyCheckForApp()) SWIG_fail
;
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8625 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8626 PyObject
*resultobj
;
8627 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8628 wxWindow
*arg2
= (wxWindow
*) 0 ;
8629 int arg3
= (int) -1 ;
8630 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8631 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8632 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8633 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8634 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8635 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8636 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8640 bool temp7
= false ;
8641 PyObject
* obj0
= 0 ;
8642 PyObject
* obj1
= 0 ;
8643 PyObject
* obj2
= 0 ;
8644 PyObject
* obj3
= 0 ;
8645 PyObject
* obj4
= 0 ;
8646 PyObject
* obj5
= 0 ;
8647 PyObject
* obj6
= 0 ;
8649 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8655 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8658 arg3
= (int)SWIG_As_int(obj2
);
8659 if (PyErr_Occurred()) SWIG_fail
;
8664 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8670 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8674 arg6
= (long)SWIG_As_long(obj5
);
8675 if (PyErr_Occurred()) SWIG_fail
;
8679 arg7
= wxString_in_helper(obj6
);
8680 if (arg7
== NULL
) SWIG_fail
;
8685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8686 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8688 wxPyEndAllowThreads(__tstate
);
8689 if (PyErr_Occurred()) SWIG_fail
;
8692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8708 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8709 PyObject
*resultobj
;
8710 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8712 PyObject
* obj0
= 0 ;
8714 (char *) "self", NULL
8717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8722 result
= (int)(arg1
)->GetAlignment();
8724 wxPyEndAllowThreads(__tstate
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8727 resultobj
= SWIG_From_int((int)result
);
8734 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8735 PyObject
*resultobj
;
8736 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8738 PyObject
* obj0
= 0 ;
8740 (char *) "self", NULL
8743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8748 result
= (int)(arg1
)->GetOrientation();
8750 wxPyEndAllowThreads(__tstate
);
8751 if (PyErr_Occurred()) SWIG_fail
;
8753 resultobj
= SWIG_From_int((int)result
);
8760 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8761 PyObject
*resultobj
;
8762 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8764 PyObject
* obj0
= 0 ;
8765 PyObject
* obj1
= 0 ;
8767 (char *) "self",(char *) "alignment", NULL
8770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8773 arg2
= (int)SWIG_As_int(obj1
);
8774 if (PyErr_Occurred()) SWIG_fail
;
8776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8777 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8779 wxPyEndAllowThreads(__tstate
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8782 Py_INCREF(Py_None
); resultobj
= Py_None
;
8789 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
*resultobj
;
8791 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8794 PyObject
* obj0
= 0 ;
8795 PyObject
* obj1
= 0 ;
8797 (char *) "self",(char *) "size", NULL
8800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8805 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8814 Py_INCREF(Py_None
); resultobj
= Py_None
;
8821 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8822 PyObject
*resultobj
;
8823 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8825 PyObject
* obj0
= 0 ;
8826 PyObject
* obj1
= 0 ;
8828 (char *) "self",(char *) "orientation", NULL
8831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8834 arg2
= (int)SWIG_As_int(obj1
);
8835 if (PyErr_Occurred()) SWIG_fail
;
8837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8838 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8840 wxPyEndAllowThreads(__tstate
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8843 Py_INCREF(Py_None
); resultobj
= Py_None
;
8850 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
8852 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8853 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8855 return Py_BuildValue((char *)"");
8857 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
*resultobj
;
8859 wxLayoutAlgorithm
*result
;
8864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8867 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8869 wxPyEndAllowThreads(__tstate
);
8870 if (PyErr_Occurred()) SWIG_fail
;
8872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8879 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8880 PyObject
*resultobj
;
8881 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8882 PyObject
* obj0
= 0 ;
8884 (char *) "self", NULL
8887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8894 wxPyEndAllowThreads(__tstate
);
8895 if (PyErr_Occurred()) SWIG_fail
;
8897 Py_INCREF(Py_None
); resultobj
= Py_None
;
8904 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8905 PyObject
*resultobj
;
8906 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8907 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8908 wxRect
*arg3
= (wxRect
*) NULL
;
8910 PyObject
* obj0
= 0 ;
8911 PyObject
* obj1
= 0 ;
8912 PyObject
* obj2
= 0 ;
8914 (char *) "self",(char *) "frame",(char *) "rect", NULL
8917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8920 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8923 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8928 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8930 wxPyEndAllowThreads(__tstate
);
8931 if (PyErr_Occurred()) SWIG_fail
;
8934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8942 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8943 PyObject
*resultobj
;
8944 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8945 wxFrame
*arg2
= (wxFrame
*) 0 ;
8946 wxWindow
*arg3
= (wxWindow
*) NULL
;
8948 PyObject
* obj0
= 0 ;
8949 PyObject
* obj1
= 0 ;
8950 PyObject
* obj2
= 0 ;
8952 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8958 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8961 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8968 wxPyEndAllowThreads(__tstate
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8980 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
*resultobj
;
8982 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8983 wxWindow
*arg2
= (wxWindow
*) 0 ;
8984 wxWindow
*arg3
= (wxWindow
*) NULL
;
8986 PyObject
* obj0
= 0 ;
8987 PyObject
* obj1
= 0 ;
8988 PyObject
* obj2
= 0 ;
8990 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8996 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8999 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
9000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9004 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
9006 wxPyEndAllowThreads(__tstate
);
9007 if (PyErr_Occurred()) SWIG_fail
;
9010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9018 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
9020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9021 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
9023 return Py_BuildValue((char *)"");
9025 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9026 PyObject
*resultobj
;
9027 wxWindow
*arg1
= (wxWindow
*) 0 ;
9028 int arg2
= (int) wxBORDER_NONE
;
9029 wxPopupWindow
*result
;
9030 PyObject
* obj0
= 0 ;
9031 PyObject
* obj1
= 0 ;
9033 (char *) "parent",(char *) "flags", NULL
9036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
9037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9040 arg2
= (int)SWIG_As_int(obj1
);
9041 if (PyErr_Occurred()) SWIG_fail
;
9044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9045 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
9047 wxPyEndAllowThreads(__tstate
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
9057 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9058 PyObject
*resultobj
;
9059 wxPopupWindow
*result
;
9064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
9066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9067 result
= (wxPopupWindow
*)new wxPopupWindow();
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
9079 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
9081 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9082 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
9084 return Py_BuildValue((char *)"");
9086 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
*resultobj
;
9088 wxWindow
*arg1
= (wxWindow
*) 0 ;
9089 int arg2
= (int) wxBORDER_NONE
;
9090 wxPyPopupTransientWindow
*result
;
9091 PyObject
* obj0
= 0 ;
9092 PyObject
* obj1
= 0 ;
9094 (char *) "parent",(char *) "style", NULL
9097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
9098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9101 arg2
= (int)SWIG_As_int(obj1
);
9102 if (PyErr_Occurred()) SWIG_fail
;
9105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9106 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
9108 wxPyEndAllowThreads(__tstate
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9118 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9119 PyObject
*resultobj
;
9120 wxPyPopupTransientWindow
*result
;
9125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
9127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9128 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
9130 wxPyEndAllowThreads(__tstate
);
9131 if (PyErr_Occurred()) SWIG_fail
;
9133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9140 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
9142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9143 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
9145 return Py_BuildValue((char *)"");
9147 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9148 PyObject
*resultobj
;
9149 wxWindow
*arg1
= (wxWindow
*) 0 ;
9150 wxString
*arg2
= 0 ;
9151 int arg3
= (int) 100 ;
9152 wxRect
*arg4
= (wxRect
*) NULL
;
9153 wxTipWindow
*result
;
9154 bool temp2
= false ;
9155 PyObject
* obj0
= 0 ;
9156 PyObject
* obj1
= 0 ;
9157 PyObject
* obj2
= 0 ;
9158 PyObject
* obj3
= 0 ;
9160 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9167 arg2
= wxString_in_helper(obj1
);
9168 if (arg2
== NULL
) SWIG_fail
;
9172 arg3
= (int)SWIG_As_int(obj2
);
9173 if (PyErr_Occurred()) SWIG_fail
;
9176 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
9177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9180 if (!wxPyCheckForApp()) SWIG_fail
;
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9184 wxPyEndAllowThreads(__tstate
);
9185 if (PyErr_Occurred()) SWIG_fail
;
9187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
9202 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9203 PyObject
*resultobj
;
9204 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9207 PyObject
* obj0
= 0 ;
9208 PyObject
* obj1
= 0 ;
9210 (char *) "self",(char *) "rectBound", NULL
9213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9218 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9227 Py_INCREF(Py_None
); resultobj
= Py_None
;
9234 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
;
9236 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9237 PyObject
* obj0
= 0 ;
9239 (char *) "self", NULL
9242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 wxPyEndAllowThreads(__tstate
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9252 Py_INCREF(Py_None
); resultobj
= Py_None
;
9259 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
9261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9262 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9264 return Py_BuildValue((char *)"");
9266 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9267 PyObject
*resultobj
;
9268 wxWindow
*arg1
= (wxWindow
*) 0 ;
9269 int arg2
= (int) wxID_ANY
;
9270 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9271 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9272 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9273 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9274 long arg5
= (long) 0 ;
9275 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9276 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9277 wxPyVScrolledWindow
*result
;
9280 bool temp6
= false ;
9281 PyObject
* obj0
= 0 ;
9282 PyObject
* obj1
= 0 ;
9283 PyObject
* obj2
= 0 ;
9284 PyObject
* obj3
= 0 ;
9285 PyObject
* obj4
= 0 ;
9286 PyObject
* obj5
= 0 ;
9288 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9295 arg2
= (int)SWIG_As_int(obj1
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9301 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9307 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9311 arg5
= (long)SWIG_As_long(obj4
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9316 arg6
= wxString_in_helper(obj5
);
9317 if (arg6
== NULL
) SWIG_fail
;
9322 if (!wxPyCheckForApp()) SWIG_fail
;
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9344 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9345 PyObject
*resultobj
;
9346 wxPyVScrolledWindow
*result
;
9351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9353 if (!wxPyCheckForApp()) SWIG_fail
;
9354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9355 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9357 wxPyEndAllowThreads(__tstate
);
9358 if (PyErr_Occurred()) SWIG_fail
;
9360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9367 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9368 PyObject
*resultobj
;
9369 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9370 PyObject
*arg2
= (PyObject
*) 0 ;
9371 PyObject
*arg3
= (PyObject
*) 0 ;
9372 PyObject
* obj0
= 0 ;
9373 PyObject
* obj1
= 0 ;
9374 PyObject
* obj2
= 0 ;
9376 (char *) "self",(char *) "self",(char *) "_class", NULL
9379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9386 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9388 wxPyEndAllowThreads(__tstate
);
9389 if (PyErr_Occurred()) SWIG_fail
;
9391 Py_INCREF(Py_None
); resultobj
= Py_None
;
9398 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9399 PyObject
*resultobj
;
9400 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9401 wxWindow
*arg2
= (wxWindow
*) 0 ;
9402 int arg3
= (int) wxID_ANY
;
9403 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9404 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9405 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9406 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9407 long arg6
= (long) 0 ;
9408 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9409 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9413 bool temp7
= false ;
9414 PyObject
* obj0
= 0 ;
9415 PyObject
* obj1
= 0 ;
9416 PyObject
* obj2
= 0 ;
9417 PyObject
* obj3
= 0 ;
9418 PyObject
* obj4
= 0 ;
9419 PyObject
* obj5
= 0 ;
9420 PyObject
* obj6
= 0 ;
9422 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9428 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9431 arg3
= (int)SWIG_As_int(obj2
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9437 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9443 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9447 arg6
= (long)SWIG_As_long(obj5
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9452 arg7
= wxString_in_helper(obj6
);
9453 if (arg7
== NULL
) SWIG_fail
;
9458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9459 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9461 wxPyEndAllowThreads(__tstate
);
9462 if (PyErr_Occurred()) SWIG_fail
;
9465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9481 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9482 PyObject
*resultobj
;
9483 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9485 PyObject
* obj0
= 0 ;
9486 PyObject
* obj1
= 0 ;
9488 (char *) "self",(char *) "count", NULL
9491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9494 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9495 if (PyErr_Occurred()) SWIG_fail
;
9497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9498 (arg1
)->SetLineCount(arg2
);
9500 wxPyEndAllowThreads(__tstate
);
9501 if (PyErr_Occurred()) SWIG_fail
;
9503 Py_INCREF(Py_None
); resultobj
= Py_None
;
9510 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
*resultobj
;
9512 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9515 PyObject
* obj0
= 0 ;
9516 PyObject
* obj1
= 0 ;
9518 (char *) "self",(char *) "line", NULL
9521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9524 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9525 if (PyErr_Occurred()) SWIG_fail
;
9527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9528 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9530 wxPyEndAllowThreads(__tstate
);
9531 if (PyErr_Occurred()) SWIG_fail
;
9534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9542 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9543 PyObject
*resultobj
;
9544 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9547 PyObject
* obj0
= 0 ;
9548 PyObject
* obj1
= 0 ;
9550 (char *) "self",(char *) "lines", NULL
9553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9556 arg2
= (int)SWIG_As_int(obj1
);
9557 if (PyErr_Occurred()) SWIG_fail
;
9559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9560 result
= (bool)(arg1
)->ScrollLines(arg2
);
9562 wxPyEndAllowThreads(__tstate
);
9563 if (PyErr_Occurred()) SWIG_fail
;
9566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9574 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9575 PyObject
*resultobj
;
9576 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9579 PyObject
* obj0
= 0 ;
9580 PyObject
* obj1
= 0 ;
9582 (char *) "self",(char *) "pages", NULL
9585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9588 arg2
= (int)SWIG_As_int(obj1
);
9589 if (PyErr_Occurred()) SWIG_fail
;
9591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9592 result
= (bool)(arg1
)->ScrollPages(arg2
);
9594 wxPyEndAllowThreads(__tstate
);
9595 if (PyErr_Occurred()) SWIG_fail
;
9598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9606 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9607 PyObject
*resultobj
;
9608 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9610 PyObject
* obj0
= 0 ;
9611 PyObject
* obj1
= 0 ;
9613 (char *) "self",(char *) "line", NULL
9616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9619 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9623 (arg1
)->RefreshLine(arg2
);
9625 wxPyEndAllowThreads(__tstate
);
9626 if (PyErr_Occurred()) SWIG_fail
;
9628 Py_INCREF(Py_None
); resultobj
= Py_None
;
9635 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9636 PyObject
*resultobj
;
9637 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9640 PyObject
* obj0
= 0 ;
9641 PyObject
* obj1
= 0 ;
9642 PyObject
* obj2
= 0 ;
9644 (char *) "self",(char *) "from",(char *) "to", NULL
9647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9650 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9651 if (PyErr_Occurred()) SWIG_fail
;
9652 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
9653 if (PyErr_Occurred()) SWIG_fail
;
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 (arg1
)->RefreshLines(arg2
,arg3
);
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9661 Py_INCREF(Py_None
); resultobj
= Py_None
;
9668 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
*resultobj
;
9670 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9674 PyObject
* obj0
= 0 ;
9675 PyObject
* obj1
= 0 ;
9676 PyObject
* obj2
= 0 ;
9678 (char *) "self",(char *) "x",(char *) "y", NULL
9681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9684 arg2
= (int)SWIG_As_int(obj1
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9686 arg3
= (int)SWIG_As_int(obj2
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9690 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9692 wxPyEndAllowThreads(__tstate
);
9693 if (PyErr_Occurred()) SWIG_fail
;
9695 resultobj
= SWIG_From_int((int)result
);
9702 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9703 PyObject
*resultobj
;
9704 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9708 PyObject
* obj0
= 0 ;
9709 PyObject
* obj1
= 0 ;
9711 (char *) "self",(char *) "pt", NULL
9714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9719 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9723 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9725 wxPyEndAllowThreads(__tstate
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9728 resultobj
= SWIG_From_int((int)result
);
9735 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9736 PyObject
*resultobj
;
9737 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9738 PyObject
* obj0
= 0 ;
9740 (char *) "self", NULL
9743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9748 (arg1
)->RefreshAll();
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9753 Py_INCREF(Py_None
); resultobj
= Py_None
;
9760 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
;
9762 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9764 PyObject
* obj0
= 0 ;
9766 (char *) "self", NULL
9769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9774 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9776 wxPyEndAllowThreads(__tstate
);
9777 if (PyErr_Occurred()) SWIG_fail
;
9779 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9786 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9787 PyObject
*resultobj
;
9788 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9790 PyObject
* obj0
= 0 ;
9792 (char *) "self", NULL
9795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9800 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9802 wxPyEndAllowThreads(__tstate
);
9803 if (PyErr_Occurred()) SWIG_fail
;
9805 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9812 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9813 PyObject
*resultobj
;
9814 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9816 PyObject
* obj0
= 0 ;
9818 (char *) "self", NULL
9821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9826 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9828 wxPyEndAllowThreads(__tstate
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9831 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9838 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9839 PyObject
*resultobj
;
9840 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9843 PyObject
* obj0
= 0 ;
9844 PyObject
* obj1
= 0 ;
9846 (char *) "self",(char *) "line", NULL
9849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9852 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9856 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9858 wxPyEndAllowThreads(__tstate
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9870 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
9872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9873 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9875 return Py_BuildValue((char *)"");
9877 static int _wrap_VListBoxNameStr_set(PyObject
*) {
9878 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9883 static PyObject
*_wrap_VListBoxNameStr_get() {
9888 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9890 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9897 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9898 PyObject
*resultobj
;
9899 wxWindow
*arg1
= (wxWindow
*) 0 ;
9900 int arg2
= (int) wxID_ANY
;
9901 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9902 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9903 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9904 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9905 long arg5
= (long) 0 ;
9906 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9907 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9908 wxPyVListBox
*result
;
9911 bool temp6
= false ;
9912 PyObject
* obj0
= 0 ;
9913 PyObject
* obj1
= 0 ;
9914 PyObject
* obj2
= 0 ;
9915 PyObject
* obj3
= 0 ;
9916 PyObject
* obj4
= 0 ;
9917 PyObject
* obj5
= 0 ;
9919 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9926 arg2
= (int)SWIG_As_int(obj1
);
9927 if (PyErr_Occurred()) SWIG_fail
;
9932 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9938 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9942 arg5
= (long)SWIG_As_long(obj4
);
9943 if (PyErr_Occurred()) SWIG_fail
;
9947 arg6
= wxString_in_helper(obj5
);
9948 if (arg6
== NULL
) SWIG_fail
;
9953 if (!wxPyCheckForApp()) SWIG_fail
;
9954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9955 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9957 wxPyEndAllowThreads(__tstate
);
9958 if (PyErr_Occurred()) SWIG_fail
;
9960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9975 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9976 PyObject
*resultobj
;
9977 wxPyVListBox
*result
;
9982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9984 if (!wxPyCheckForApp()) SWIG_fail
;
9985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9986 result
= (wxPyVListBox
*)new wxPyVListBox();
9988 wxPyEndAllowThreads(__tstate
);
9989 if (PyErr_Occurred()) SWIG_fail
;
9991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9998 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9999 PyObject
*resultobj
;
10000 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10001 PyObject
*arg2
= (PyObject
*) 0 ;
10002 PyObject
*arg3
= (PyObject
*) 0 ;
10003 PyObject
* obj0
= 0 ;
10004 PyObject
* obj1
= 0 ;
10005 PyObject
* obj2
= 0 ;
10006 char *kwnames
[] = {
10007 (char *) "self",(char *) "self",(char *) "_class", NULL
10010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10022 Py_INCREF(Py_None
); resultobj
= Py_None
;
10029 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10030 PyObject
*resultobj
;
10031 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10032 wxWindow
*arg2
= (wxWindow
*) 0 ;
10033 int arg3
= (int) wxID_ANY
;
10034 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10035 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10036 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10037 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10038 long arg6
= (long) 0 ;
10039 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10040 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10044 bool temp7
= false ;
10045 PyObject
* obj0
= 0 ;
10046 PyObject
* obj1
= 0 ;
10047 PyObject
* obj2
= 0 ;
10048 PyObject
* obj3
= 0 ;
10049 PyObject
* obj4
= 0 ;
10050 PyObject
* obj5
= 0 ;
10051 PyObject
* obj6
= 0 ;
10052 char *kwnames
[] = {
10053 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10059 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10062 arg3
= (int)SWIG_As_int(obj2
);
10063 if (PyErr_Occurred()) SWIG_fail
;
10068 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10074 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10078 arg6
= (long)SWIG_As_long(obj5
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10083 arg7
= wxString_in_helper(obj6
);
10084 if (arg7
== NULL
) SWIG_fail
;
10089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10090 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10092 wxPyEndAllowThreads(__tstate
);
10093 if (PyErr_Occurred()) SWIG_fail
;
10096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10112 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10113 PyObject
*resultobj
;
10114 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10116 PyObject
* obj0
= 0 ;
10117 char *kwnames
[] = {
10118 (char *) "self", NULL
10121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
10122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10126 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
10128 wxPyEndAllowThreads(__tstate
);
10129 if (PyErr_Occurred()) SWIG_fail
;
10131 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10138 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10139 PyObject
*resultobj
;
10140 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10142 PyObject
* obj0
= 0 ;
10143 char *kwnames
[] = {
10144 (char *) "self", NULL
10147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
10148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10152 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
10154 wxPyEndAllowThreads(__tstate
);
10155 if (PyErr_Occurred()) SWIG_fail
;
10158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10166 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10167 PyObject
*resultobj
;
10168 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10170 PyObject
* obj0
= 0 ;
10171 char *kwnames
[] = {
10172 (char *) "self", NULL
10175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
10176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10180 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
10182 wxPyEndAllowThreads(__tstate
);
10183 if (PyErr_Occurred()) SWIG_fail
;
10185 resultobj
= SWIG_From_int((int)result
);
10192 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10193 PyObject
*resultobj
;
10194 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10197 PyObject
* obj0
= 0 ;
10198 PyObject
* obj1
= 0 ;
10199 char *kwnames
[] = {
10200 (char *) "self",(char *) "item", NULL
10203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
10204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10206 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10207 if (PyErr_Occurred()) SWIG_fail
;
10209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10210 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
10212 wxPyEndAllowThreads(__tstate
);
10213 if (PyErr_Occurred()) SWIG_fail
;
10216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10224 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10225 PyObject
*resultobj
;
10226 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10229 PyObject
* obj0
= 0 ;
10230 PyObject
* obj1
= 0 ;
10231 char *kwnames
[] = {
10232 (char *) "self",(char *) "item", NULL
10235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10238 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10239 if (PyErr_Occurred()) SWIG_fail
;
10241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10242 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10244 wxPyEndAllowThreads(__tstate
);
10245 if (PyErr_Occurred()) SWIG_fail
;
10248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10256 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10257 PyObject
*resultobj
;
10258 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10260 PyObject
* obj0
= 0 ;
10261 char *kwnames
[] = {
10262 (char *) "self", NULL
10265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10270 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10272 wxPyEndAllowThreads(__tstate
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10275 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10282 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
*resultobj
;
10284 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10286 PyObject
* obj0
= 0 ;
10287 char *kwnames
[] = {
10288 (char *) "self", NULL
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
10292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
10298 wxPyEndAllowThreads(__tstate
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10301 resultobj
= result
;
10308 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10309 PyObject
*resultobj
;
10310 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10311 unsigned long arg2
;
10313 PyObject
* obj0
= 0 ;
10314 PyObject
* obj1
= 0 ;
10315 char *kwnames
[] = {
10316 (char *) "self",(char *) "cookie", NULL
10319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10322 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10326 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
10328 wxPyEndAllowThreads(__tstate
);
10329 if (PyErr_Occurred()) SWIG_fail
;
10331 resultobj
= result
;
10338 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10339 PyObject
*resultobj
;
10340 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10342 PyObject
* obj0
= 0 ;
10343 char *kwnames
[] = {
10344 (char *) "self", NULL
10347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10352 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10354 wxPyEndAllowThreads(__tstate
);
10355 if (PyErr_Occurred()) SWIG_fail
;
10358 wxPoint
* resultptr
;
10359 resultptr
= new wxPoint((wxPoint
&) result
);
10360 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10368 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10369 PyObject
*resultobj
;
10370 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10372 PyObject
* obj0
= 0 ;
10373 char *kwnames
[] = {
10374 (char *) "self", NULL
10377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10383 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10384 result
= (wxColour
*) &_result_ref
;
10387 wxPyEndAllowThreads(__tstate
);
10388 if (PyErr_Occurred()) SWIG_fail
;
10390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10397 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10398 PyObject
*resultobj
;
10399 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10401 PyObject
* obj0
= 0 ;
10402 PyObject
* obj1
= 0 ;
10403 char *kwnames
[] = {
10404 (char *) "self",(char *) "count", NULL
10407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10410 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10411 if (PyErr_Occurred()) SWIG_fail
;
10413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10414 (arg1
)->SetItemCount(arg2
);
10416 wxPyEndAllowThreads(__tstate
);
10417 if (PyErr_Occurred()) SWIG_fail
;
10419 Py_INCREF(Py_None
); resultobj
= Py_None
;
10426 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10427 PyObject
*resultobj
;
10428 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10429 PyObject
* obj0
= 0 ;
10430 char *kwnames
[] = {
10431 (char *) "self", NULL
10434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10441 wxPyEndAllowThreads(__tstate
);
10442 if (PyErr_Occurred()) SWIG_fail
;
10444 Py_INCREF(Py_None
); resultobj
= Py_None
;
10451 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10452 PyObject
*resultobj
;
10453 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10455 PyObject
* obj0
= 0 ;
10456 PyObject
* obj1
= 0 ;
10457 char *kwnames
[] = {
10458 (char *) "self",(char *) "selection", NULL
10461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10464 arg2
= (int)SWIG_As_int(obj1
);
10465 if (PyErr_Occurred()) SWIG_fail
;
10467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10468 (arg1
)->SetSelection(arg2
);
10470 wxPyEndAllowThreads(__tstate
);
10471 if (PyErr_Occurred()) SWIG_fail
;
10473 Py_INCREF(Py_None
); resultobj
= Py_None
;
10480 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10481 PyObject
*resultobj
;
10482 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10484 bool arg3
= (bool) true ;
10486 PyObject
* obj0
= 0 ;
10487 PyObject
* obj1
= 0 ;
10488 PyObject
* obj2
= 0 ;
10489 char *kwnames
[] = {
10490 (char *) "self",(char *) "item",(char *) "select", NULL
10493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10496 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10497 if (PyErr_Occurred()) SWIG_fail
;
10499 arg3
= (bool)SWIG_As_bool(obj2
);
10500 if (PyErr_Occurred()) SWIG_fail
;
10503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10504 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10506 wxPyEndAllowThreads(__tstate
);
10507 if (PyErr_Occurred()) SWIG_fail
;
10510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10518 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10519 PyObject
*resultobj
;
10520 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10524 PyObject
* obj0
= 0 ;
10525 PyObject
* obj1
= 0 ;
10526 PyObject
* obj2
= 0 ;
10527 char *kwnames
[] = {
10528 (char *) "self",(char *) "from",(char *) "to", NULL
10531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10534 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10536 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10540 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10542 wxPyEndAllowThreads(__tstate
);
10543 if (PyErr_Occurred()) SWIG_fail
;
10546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10554 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10555 PyObject
*resultobj
;
10556 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10558 PyObject
* obj0
= 0 ;
10559 PyObject
* obj1
= 0 ;
10560 char *kwnames
[] = {
10561 (char *) "self",(char *) "item", NULL
10564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10567 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10571 (arg1
)->Toggle(arg2
);
10573 wxPyEndAllowThreads(__tstate
);
10574 if (PyErr_Occurred()) SWIG_fail
;
10576 Py_INCREF(Py_None
); resultobj
= Py_None
;
10583 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10584 PyObject
*resultobj
;
10585 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10587 PyObject
* obj0
= 0 ;
10588 char *kwnames
[] = {
10589 (char *) "self", NULL
10592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10597 result
= (bool)(arg1
)->SelectAll();
10599 wxPyEndAllowThreads(__tstate
);
10600 if (PyErr_Occurred()) SWIG_fail
;
10603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10611 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10612 PyObject
*resultobj
;
10613 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10615 PyObject
* obj0
= 0 ;
10616 char *kwnames
[] = {
10617 (char *) "self", NULL
10620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10625 result
= (bool)(arg1
)->DeselectAll();
10627 wxPyEndAllowThreads(__tstate
);
10628 if (PyErr_Occurred()) SWIG_fail
;
10631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10639 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10640 PyObject
*resultobj
;
10641 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10642 wxPoint
*arg2
= 0 ;
10644 PyObject
* obj0
= 0 ;
10645 PyObject
* obj1
= 0 ;
10646 char *kwnames
[] = {
10647 (char *) "self",(char *) "pt", NULL
10650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10655 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10664 Py_INCREF(Py_None
); resultobj
= Py_None
;
10671 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10672 PyObject
*resultobj
;
10673 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10676 PyObject
* obj0
= 0 ;
10677 PyObject
* obj1
= 0 ;
10678 PyObject
* obj2
= 0 ;
10679 char *kwnames
[] = {
10680 (char *) "self",(char *) "x",(char *) "y", NULL
10683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10686 arg2
= (int)SWIG_As_int(obj1
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10688 arg3
= (int)SWIG_As_int(obj2
);
10689 if (PyErr_Occurred()) SWIG_fail
;
10691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10692 (arg1
)->SetMargins(arg2
,arg3
);
10694 wxPyEndAllowThreads(__tstate
);
10695 if (PyErr_Occurred()) SWIG_fail
;
10697 Py_INCREF(Py_None
); resultobj
= Py_None
;
10704 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10705 PyObject
*resultobj
;
10706 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10707 wxColour
*arg2
= 0 ;
10709 PyObject
* obj0
= 0 ;
10710 PyObject
* obj1
= 0 ;
10711 char *kwnames
[] = {
10712 (char *) "self",(char *) "col", NULL
10715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10720 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10724 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10726 wxPyEndAllowThreads(__tstate
);
10727 if (PyErr_Occurred()) SWIG_fail
;
10729 Py_INCREF(Py_None
); resultobj
= Py_None
;
10736 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
10738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10739 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10741 return Py_BuildValue((char *)"");
10743 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10744 PyObject
*resultobj
;
10745 wxWindow
*arg1
= (wxWindow
*) 0 ;
10746 int arg2
= (int) wxID_ANY
;
10747 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10748 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10749 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10750 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10751 long arg5
= (long) 0 ;
10752 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10753 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10754 wxPyHtmlListBox
*result
;
10757 bool temp6
= false ;
10758 PyObject
* obj0
= 0 ;
10759 PyObject
* obj1
= 0 ;
10760 PyObject
* obj2
= 0 ;
10761 PyObject
* obj3
= 0 ;
10762 PyObject
* obj4
= 0 ;
10763 PyObject
* obj5
= 0 ;
10764 char *kwnames
[] = {
10765 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10772 arg2
= (int)SWIG_As_int(obj1
);
10773 if (PyErr_Occurred()) SWIG_fail
;
10778 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10784 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10788 arg5
= (long)SWIG_As_long(obj4
);
10789 if (PyErr_Occurred()) SWIG_fail
;
10793 arg6
= wxString_in_helper(obj5
);
10794 if (arg6
== NULL
) SWIG_fail
;
10799 if (!wxPyCheckForApp()) SWIG_fail
;
10800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10801 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10803 wxPyEndAllowThreads(__tstate
);
10804 if (PyErr_Occurred()) SWIG_fail
;
10806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10821 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10822 PyObject
*resultobj
;
10823 wxPyHtmlListBox
*result
;
10824 char *kwnames
[] = {
10828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10830 if (!wxPyCheckForApp()) SWIG_fail
;
10831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10832 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10834 wxPyEndAllowThreads(__tstate
);
10835 if (PyErr_Occurred()) SWIG_fail
;
10837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10844 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10845 PyObject
*resultobj
;
10846 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10847 PyObject
*arg2
= (PyObject
*) 0 ;
10848 PyObject
*arg3
= (PyObject
*) 0 ;
10849 PyObject
* obj0
= 0 ;
10850 PyObject
* obj1
= 0 ;
10851 PyObject
* obj2
= 0 ;
10852 char *kwnames
[] = {
10853 (char *) "self",(char *) "self",(char *) "_class", NULL
10856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10863 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10865 wxPyEndAllowThreads(__tstate
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10868 Py_INCREF(Py_None
); resultobj
= Py_None
;
10875 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10876 PyObject
*resultobj
;
10877 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10878 wxWindow
*arg2
= (wxWindow
*) 0 ;
10879 int arg3
= (int) wxID_ANY
;
10880 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10881 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10882 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10883 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10884 long arg6
= (long) 0 ;
10885 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10886 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10890 bool temp7
= false ;
10891 PyObject
* obj0
= 0 ;
10892 PyObject
* obj1
= 0 ;
10893 PyObject
* obj2
= 0 ;
10894 PyObject
* obj3
= 0 ;
10895 PyObject
* obj4
= 0 ;
10896 PyObject
* obj5
= 0 ;
10897 PyObject
* obj6
= 0 ;
10898 char *kwnames
[] = {
10899 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10905 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10908 arg3
= (int)SWIG_As_int(obj2
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10914 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10920 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10924 arg6
= (long)SWIG_As_long(obj5
);
10925 if (PyErr_Occurred()) SWIG_fail
;
10929 arg7
= wxString_in_helper(obj6
);
10930 if (arg7
== NULL
) SWIG_fail
;
10935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10936 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10938 wxPyEndAllowThreads(__tstate
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10958 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10959 PyObject
*resultobj
;
10960 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10961 PyObject
* obj0
= 0 ;
10962 char *kwnames
[] = {
10963 (char *) "self", NULL
10966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10971 (arg1
)->RefreshAll();
10973 wxPyEndAllowThreads(__tstate
);
10974 if (PyErr_Occurred()) SWIG_fail
;
10976 Py_INCREF(Py_None
); resultobj
= Py_None
;
10983 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10984 PyObject
*resultobj
;
10985 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10987 PyObject
* obj0
= 0 ;
10988 PyObject
* obj1
= 0 ;
10989 char *kwnames
[] = {
10990 (char *) "self",(char *) "count", NULL
10993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10996 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10997 if (PyErr_Occurred()) SWIG_fail
;
10999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11000 (arg1
)->SetItemCount(arg2
);
11002 wxPyEndAllowThreads(__tstate
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11005 Py_INCREF(Py_None
); resultobj
= Py_None
;
11012 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11013 PyObject
*resultobj
;
11014 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11015 wxFileSystem
*result
;
11016 PyObject
* obj0
= 0 ;
11017 char *kwnames
[] = {
11018 (char *) "self", NULL
11021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
11022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11027 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
11028 result
= (wxFileSystem
*) &_result_ref
;
11031 wxPyEndAllowThreads(__tstate
);
11032 if (PyErr_Occurred()) SWIG_fail
;
11034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
11041 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
11043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11044 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
11046 return Py_BuildValue((char *)"");
11048 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11049 PyObject
*resultobj
;
11050 wxPyTaskBarIcon
*result
;
11051 char *kwnames
[] = {
11055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
11057 if (!wxPyCheckForApp()) SWIG_fail
;
11058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11059 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
11061 wxPyEndAllowThreads(__tstate
);
11062 if (PyErr_Occurred()) SWIG_fail
;
11064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
11071 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11072 PyObject
*resultobj
;
11073 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11074 PyObject
*arg2
= (PyObject
*) 0 ;
11075 PyObject
*arg3
= (PyObject
*) 0 ;
11077 PyObject
* obj0
= 0 ;
11078 PyObject
* obj1
= 0 ;
11079 PyObject
* obj2
= 0 ;
11080 PyObject
* obj3
= 0 ;
11081 char *kwnames
[] = {
11082 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11090 arg4
= (int)SWIG_As_int(obj3
);
11091 if (PyErr_Occurred()) SWIG_fail
;
11093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11094 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
11096 wxPyEndAllowThreads(__tstate
);
11097 if (PyErr_Occurred()) SWIG_fail
;
11099 Py_INCREF(Py_None
); resultobj
= Py_None
;
11106 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11107 PyObject
*resultobj
;
11108 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11109 PyObject
* obj0
= 0 ;
11110 char *kwnames
[] = {
11111 (char *) "self", NULL
11114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
11115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11119 wxPyTaskBarIcon_Destroy(arg1
);
11121 wxPyEndAllowThreads(__tstate
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11124 Py_INCREF(Py_None
); resultobj
= Py_None
;
11131 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11132 PyObject
*resultobj
;
11133 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11135 PyObject
* obj0
= 0 ;
11136 char *kwnames
[] = {
11137 (char *) "self", NULL
11140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
11141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11145 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
11147 wxPyEndAllowThreads(__tstate
);
11148 if (PyErr_Occurred()) SWIG_fail
;
11151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11159 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11160 PyObject
*resultobj
;
11161 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11163 PyObject
* obj0
= 0 ;
11164 char *kwnames
[] = {
11165 (char *) "self", NULL
11168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
11169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
11175 wxPyEndAllowThreads(__tstate
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11187 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11188 PyObject
*resultobj
;
11189 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11191 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11192 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11194 bool temp3
= false ;
11195 PyObject
* obj0
= 0 ;
11196 PyObject
* obj1
= 0 ;
11197 PyObject
* obj2
= 0 ;
11198 char *kwnames
[] = {
11199 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11205 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11206 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11208 if (arg2
== NULL
) {
11209 PyErr_SetString(PyExc_TypeError
,"null reference");
11214 arg3
= wxString_in_helper(obj2
);
11215 if (arg3
== NULL
) SWIG_fail
;
11220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11221 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
11223 wxPyEndAllowThreads(__tstate
);
11224 if (PyErr_Occurred()) SWIG_fail
;
11227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11243 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11244 PyObject
*resultobj
;
11245 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11247 PyObject
* obj0
= 0 ;
11248 char *kwnames
[] = {
11249 (char *) "self", NULL
11252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
11253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11257 result
= (bool)(arg1
)->RemoveIcon();
11259 wxPyEndAllowThreads(__tstate
);
11260 if (PyErr_Occurred()) SWIG_fail
;
11263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11271 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11272 PyObject
*resultobj
;
11273 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11274 wxMenu
*arg2
= (wxMenu
*) 0 ;
11276 PyObject
* obj0
= 0 ;
11277 PyObject
* obj1
= 0 ;
11278 char *kwnames
[] = {
11279 (char *) "self",(char *) "menu", NULL
11282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
11283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11285 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
11286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11289 result
= (bool)(arg1
)->PopupMenu(arg2
);
11291 wxPyEndAllowThreads(__tstate
);
11292 if (PyErr_Occurred()) SWIG_fail
;
11295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11303 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
11305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11306 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
11308 return Py_BuildValue((char *)"");
11310 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
*resultobj
;
11313 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
11314 wxTaskBarIconEvent
*result
;
11315 PyObject
* obj0
= 0 ;
11316 PyObject
* obj1
= 0 ;
11317 char *kwnames
[] = {
11318 (char *) "evtType",(char *) "tbIcon", NULL
11321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11322 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11323 if (PyErr_Occurred()) SWIG_fail
;
11324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
11325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11328 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
11330 wxPyEndAllowThreads(__tstate
);
11331 if (PyErr_Occurred()) SWIG_fail
;
11333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
11340 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
11342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11343 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
11345 return Py_BuildValue((char *)"");
11347 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
11348 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
11353 static PyObject
*_wrap_FileSelectorPromptStr_get() {
11358 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11360 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11367 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
11368 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
11373 static PyObject
*_wrap_DirSelectorPromptStr_get() {
11378 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11380 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11387 static int _wrap_DirDialogNameStr_set(PyObject
*) {
11388 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11393 static PyObject
*_wrap_DirDialogNameStr_get() {
11398 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11400 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11407 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
11408 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11413 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11418 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11420 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11427 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
11428 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11433 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11438 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11440 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11447 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
11448 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11453 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11458 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11460 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11467 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11468 PyObject
*resultobj
;
11469 wxColourData
*result
;
11470 char *kwnames
[] = {
11474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11477 result
= (wxColourData
*)new wxColourData();
11479 wxPyEndAllowThreads(__tstate
);
11480 if (PyErr_Occurred()) SWIG_fail
;
11482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11489 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11490 PyObject
*resultobj
;
11491 wxColourData
*arg1
= (wxColourData
*) 0 ;
11492 PyObject
* obj0
= 0 ;
11493 char *kwnames
[] = {
11494 (char *) "self", NULL
11497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11504 wxPyEndAllowThreads(__tstate
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11507 Py_INCREF(Py_None
); resultobj
= Py_None
;
11514 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11515 PyObject
*resultobj
;
11516 wxColourData
*arg1
= (wxColourData
*) 0 ;
11518 PyObject
* obj0
= 0 ;
11519 char *kwnames
[] = {
11520 (char *) "self", NULL
11523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11528 result
= (bool)(arg1
)->GetChooseFull();
11530 wxPyEndAllowThreads(__tstate
);
11531 if (PyErr_Occurred()) SWIG_fail
;
11534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11542 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11543 PyObject
*resultobj
;
11544 wxColourData
*arg1
= (wxColourData
*) 0 ;
11546 PyObject
* obj0
= 0 ;
11547 char *kwnames
[] = {
11548 (char *) "self", NULL
11551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11556 result
= (arg1
)->GetColour();
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11562 wxColour
* resultptr
;
11563 resultptr
= new wxColour((wxColour
&) result
);
11564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11572 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11573 PyObject
*resultobj
;
11574 wxColourData
*arg1
= (wxColourData
*) 0 ;
11577 PyObject
* obj0
= 0 ;
11578 PyObject
* obj1
= 0 ;
11579 char *kwnames
[] = {
11580 (char *) "self",(char *) "i", NULL
11583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11586 arg2
= (int)SWIG_As_int(obj1
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11590 result
= (arg1
)->GetCustomColour(arg2
);
11592 wxPyEndAllowThreads(__tstate
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11596 wxColour
* resultptr
;
11597 resultptr
= new wxColour((wxColour
&) result
);
11598 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11606 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11607 PyObject
*resultobj
;
11608 wxColourData
*arg1
= (wxColourData
*) 0 ;
11610 PyObject
* obj0
= 0 ;
11611 PyObject
* obj1
= 0 ;
11612 char *kwnames
[] = {
11613 (char *) "self",(char *) "flag", NULL
11616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11619 arg2
= (int)SWIG_As_int(obj1
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11623 (arg1
)->SetChooseFull(arg2
);
11625 wxPyEndAllowThreads(__tstate
);
11626 if (PyErr_Occurred()) SWIG_fail
;
11628 Py_INCREF(Py_None
); resultobj
= Py_None
;
11635 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11636 PyObject
*resultobj
;
11637 wxColourData
*arg1
= (wxColourData
*) 0 ;
11638 wxColour
*arg2
= 0 ;
11640 PyObject
* obj0
= 0 ;
11641 PyObject
* obj1
= 0 ;
11642 char *kwnames
[] = {
11643 (char *) "self",(char *) "colour", NULL
11646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11651 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11655 (arg1
)->SetColour((wxColour
const &)*arg2
);
11657 wxPyEndAllowThreads(__tstate
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11660 Py_INCREF(Py_None
); resultobj
= Py_None
;
11667 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11668 PyObject
*resultobj
;
11669 wxColourData
*arg1
= (wxColourData
*) 0 ;
11671 wxColour
*arg3
= 0 ;
11673 PyObject
* obj0
= 0 ;
11674 PyObject
* obj1
= 0 ;
11675 PyObject
* obj2
= 0 ;
11676 char *kwnames
[] = {
11677 (char *) "self",(char *) "i",(char *) "colour", NULL
11680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11683 arg2
= (int)SWIG_As_int(obj1
);
11684 if (PyErr_Occurred()) SWIG_fail
;
11687 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11691 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11693 wxPyEndAllowThreads(__tstate
);
11694 if (PyErr_Occurred()) SWIG_fail
;
11696 Py_INCREF(Py_None
); resultobj
= Py_None
;
11703 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
11705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11706 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11708 return Py_BuildValue((char *)"");
11710 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11711 PyObject
*resultobj
;
11712 wxWindow
*arg1
= (wxWindow
*) 0 ;
11713 wxColourData
*arg2
= (wxColourData
*) NULL
;
11714 wxColourDialog
*result
;
11715 PyObject
* obj0
= 0 ;
11716 PyObject
* obj1
= 0 ;
11717 char *kwnames
[] = {
11718 (char *) "parent",(char *) "data", NULL
11721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11725 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11729 if (!wxPyCheckForApp()) SWIG_fail
;
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11733 wxPyEndAllowThreads(__tstate
);
11734 if (PyErr_Occurred()) SWIG_fail
;
11736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11743 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11744 PyObject
*resultobj
;
11745 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11746 wxColourData
*result
;
11747 PyObject
* obj0
= 0 ;
11748 char *kwnames
[] = {
11749 (char *) "self", NULL
11752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11758 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11759 result
= (wxColourData
*) &_result_ref
;
11762 wxPyEndAllowThreads(__tstate
);
11763 if (PyErr_Occurred()) SWIG_fail
;
11765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11772 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
11774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11775 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11777 return Py_BuildValue((char *)"");
11779 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11780 PyObject
*resultobj
;
11781 wxWindow
*arg1
= (wxWindow
*) 0 ;
11782 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11783 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11784 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11785 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11786 long arg4
= (long) 0 ;
11787 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11788 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11789 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11790 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11791 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11792 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11793 wxDirDialog
*result
;
11794 bool temp2
= false ;
11795 bool temp3
= false ;
11798 bool temp7
= false ;
11799 PyObject
* obj0
= 0 ;
11800 PyObject
* obj1
= 0 ;
11801 PyObject
* obj2
= 0 ;
11802 PyObject
* obj3
= 0 ;
11803 PyObject
* obj4
= 0 ;
11804 PyObject
* obj5
= 0 ;
11805 PyObject
* obj6
= 0 ;
11806 char *kwnames
[] = {
11807 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11815 arg2
= wxString_in_helper(obj1
);
11816 if (arg2
== NULL
) SWIG_fail
;
11822 arg3
= wxString_in_helper(obj2
);
11823 if (arg3
== NULL
) SWIG_fail
;
11828 arg4
= (long)SWIG_As_long(obj3
);
11829 if (PyErr_Occurred()) SWIG_fail
;
11834 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11840 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11845 arg7
= wxString_in_helper(obj6
);
11846 if (arg7
== NULL
) SWIG_fail
;
11851 if (!wxPyCheckForApp()) SWIG_fail
;
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11855 wxPyEndAllowThreads(__tstate
);
11856 if (PyErr_Occurred()) SWIG_fail
;
11858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11889 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11890 PyObject
*resultobj
;
11891 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11893 PyObject
* obj0
= 0 ;
11894 char *kwnames
[] = {
11895 (char *) "self", NULL
11898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11903 result
= (arg1
)->GetPath();
11905 wxPyEndAllowThreads(__tstate
);
11906 if (PyErr_Occurred()) SWIG_fail
;
11910 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11912 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11921 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11922 PyObject
*resultobj
;
11923 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11925 PyObject
* obj0
= 0 ;
11926 char *kwnames
[] = {
11927 (char *) "self", NULL
11930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11935 result
= (arg1
)->GetMessage();
11937 wxPyEndAllowThreads(__tstate
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11942 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11944 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11953 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11954 PyObject
*resultobj
;
11955 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11957 PyObject
* obj0
= 0 ;
11958 char *kwnames
[] = {
11959 (char *) "self", NULL
11962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11967 result
= (long)(arg1
)->GetStyle();
11969 wxPyEndAllowThreads(__tstate
);
11970 if (PyErr_Occurred()) SWIG_fail
;
11972 resultobj
= SWIG_From_long((long)result
);
11979 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11980 PyObject
*resultobj
;
11981 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11982 wxString
*arg2
= 0 ;
11983 bool temp2
= false ;
11984 PyObject
* obj0
= 0 ;
11985 PyObject
* obj1
= 0 ;
11986 char *kwnames
[] = {
11987 (char *) "self",(char *) "message", NULL
11990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11994 arg2
= wxString_in_helper(obj1
);
11995 if (arg2
== NULL
) SWIG_fail
;
11999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12000 (arg1
)->SetMessage((wxString
const &)*arg2
);
12002 wxPyEndAllowThreads(__tstate
);
12003 if (PyErr_Occurred()) SWIG_fail
;
12005 Py_INCREF(Py_None
); resultobj
= Py_None
;
12020 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12021 PyObject
*resultobj
;
12022 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12023 wxString
*arg2
= 0 ;
12024 bool temp2
= false ;
12025 PyObject
* obj0
= 0 ;
12026 PyObject
* obj1
= 0 ;
12027 char *kwnames
[] = {
12028 (char *) "self",(char *) "path", NULL
12031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12035 arg2
= wxString_in_helper(obj1
);
12036 if (arg2
== NULL
) SWIG_fail
;
12040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12041 (arg1
)->SetPath((wxString
const &)*arg2
);
12043 wxPyEndAllowThreads(__tstate
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12046 Py_INCREF(Py_None
); resultobj
= Py_None
;
12061 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
12063 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12064 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
12066 return Py_BuildValue((char *)"");
12068 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12069 PyObject
*resultobj
;
12070 wxWindow
*arg1
= (wxWindow
*) 0 ;
12071 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
12072 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12073 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12074 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12075 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12076 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12077 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
12078 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
12079 long arg6
= (long) 0 ;
12080 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12081 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12082 wxFileDialog
*result
;
12083 bool temp2
= false ;
12084 bool temp3
= false ;
12085 bool temp4
= false ;
12086 bool temp5
= false ;
12088 PyObject
* obj0
= 0 ;
12089 PyObject
* obj1
= 0 ;
12090 PyObject
* obj2
= 0 ;
12091 PyObject
* obj3
= 0 ;
12092 PyObject
* obj4
= 0 ;
12093 PyObject
* obj5
= 0 ;
12094 PyObject
* obj6
= 0 ;
12095 char *kwnames
[] = {
12096 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12104 arg2
= wxString_in_helper(obj1
);
12105 if (arg2
== NULL
) SWIG_fail
;
12111 arg3
= wxString_in_helper(obj2
);
12112 if (arg3
== NULL
) SWIG_fail
;
12118 arg4
= wxString_in_helper(obj3
);
12119 if (arg4
== NULL
) SWIG_fail
;
12125 arg5
= wxString_in_helper(obj4
);
12126 if (arg5
== NULL
) SWIG_fail
;
12131 arg6
= (long)SWIG_As_long(obj5
);
12132 if (PyErr_Occurred()) SWIG_fail
;
12137 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12141 if (!wxPyCheckForApp()) SWIG_fail
;
12142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12143 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
12145 wxPyEndAllowThreads(__tstate
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
12187 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12188 PyObject
*resultobj
;
12189 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12190 wxString
*arg2
= 0 ;
12191 bool temp2
= false ;
12192 PyObject
* obj0
= 0 ;
12193 PyObject
* obj1
= 0 ;
12194 char *kwnames
[] = {
12195 (char *) "self",(char *) "message", NULL
12198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12202 arg2
= wxString_in_helper(obj1
);
12203 if (arg2
== NULL
) SWIG_fail
;
12207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12208 (arg1
)->SetMessage((wxString
const &)*arg2
);
12210 wxPyEndAllowThreads(__tstate
);
12211 if (PyErr_Occurred()) SWIG_fail
;
12213 Py_INCREF(Py_None
); resultobj
= Py_None
;
12228 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12229 PyObject
*resultobj
;
12230 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12231 wxString
*arg2
= 0 ;
12232 bool temp2
= false ;
12233 PyObject
* obj0
= 0 ;
12234 PyObject
* obj1
= 0 ;
12235 char *kwnames
[] = {
12236 (char *) "self",(char *) "path", NULL
12239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12243 arg2
= wxString_in_helper(obj1
);
12244 if (arg2
== NULL
) SWIG_fail
;
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 (arg1
)->SetPath((wxString
const &)*arg2
);
12251 wxPyEndAllowThreads(__tstate
);
12252 if (PyErr_Occurred()) SWIG_fail
;
12254 Py_INCREF(Py_None
); resultobj
= Py_None
;
12269 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12270 PyObject
*resultobj
;
12271 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12272 wxString
*arg2
= 0 ;
12273 bool temp2
= false ;
12274 PyObject
* obj0
= 0 ;
12275 PyObject
* obj1
= 0 ;
12276 char *kwnames
[] = {
12277 (char *) "self",(char *) "dir", NULL
12280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
12281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12284 arg2
= wxString_in_helper(obj1
);
12285 if (arg2
== NULL
) SWIG_fail
;
12289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12290 (arg1
)->SetDirectory((wxString
const &)*arg2
);
12292 wxPyEndAllowThreads(__tstate
);
12293 if (PyErr_Occurred()) SWIG_fail
;
12295 Py_INCREF(Py_None
); resultobj
= Py_None
;
12310 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12311 PyObject
*resultobj
;
12312 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12313 wxString
*arg2
= 0 ;
12314 bool temp2
= false ;
12315 PyObject
* obj0
= 0 ;
12316 PyObject
* obj1
= 0 ;
12317 char *kwnames
[] = {
12318 (char *) "self",(char *) "name", NULL
12321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
12322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12325 arg2
= wxString_in_helper(obj1
);
12326 if (arg2
== NULL
) SWIG_fail
;
12330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12331 (arg1
)->SetFilename((wxString
const &)*arg2
);
12333 wxPyEndAllowThreads(__tstate
);
12334 if (PyErr_Occurred()) SWIG_fail
;
12336 Py_INCREF(Py_None
); resultobj
= Py_None
;
12351 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12352 PyObject
*resultobj
;
12353 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12354 wxString
*arg2
= 0 ;
12355 bool temp2
= false ;
12356 PyObject
* obj0
= 0 ;
12357 PyObject
* obj1
= 0 ;
12358 char *kwnames
[] = {
12359 (char *) "self",(char *) "wildCard", NULL
12362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
12363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12366 arg2
= wxString_in_helper(obj1
);
12367 if (arg2
== NULL
) SWIG_fail
;
12371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12372 (arg1
)->SetWildcard((wxString
const &)*arg2
);
12374 wxPyEndAllowThreads(__tstate
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12377 Py_INCREF(Py_None
); resultobj
= Py_None
;
12392 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12393 PyObject
*resultobj
;
12394 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12396 PyObject
* obj0
= 0 ;
12397 PyObject
* obj1
= 0 ;
12398 char *kwnames
[] = {
12399 (char *) "self",(char *) "style", NULL
12402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12405 arg2
= (long)SWIG_As_long(obj1
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12409 (arg1
)->SetStyle(arg2
);
12411 wxPyEndAllowThreads(__tstate
);
12412 if (PyErr_Occurred()) SWIG_fail
;
12414 Py_INCREF(Py_None
); resultobj
= Py_None
;
12421 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12422 PyObject
*resultobj
;
12423 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12425 PyObject
* obj0
= 0 ;
12426 PyObject
* obj1
= 0 ;
12427 char *kwnames
[] = {
12428 (char *) "self",(char *) "filterIndex", NULL
12431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12434 arg2
= (int)SWIG_As_int(obj1
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12438 (arg1
)->SetFilterIndex(arg2
);
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12443 Py_INCREF(Py_None
); resultobj
= Py_None
;
12450 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
*resultobj
;
12452 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12454 PyObject
* obj0
= 0 ;
12455 char *kwnames
[] = {
12456 (char *) "self", NULL
12459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12466 wxPyEndAllowThreads(__tstate
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12471 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12473 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12482 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12483 PyObject
*resultobj
;
12484 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12486 PyObject
* obj0
= 0 ;
12487 char *kwnames
[] = {
12488 (char *) "self", NULL
12491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12496 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12498 wxPyEndAllowThreads(__tstate
);
12499 if (PyErr_Occurred()) SWIG_fail
;
12503 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12505 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12514 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12515 PyObject
*resultobj
;
12516 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12518 PyObject
* obj0
= 0 ;
12519 char *kwnames
[] = {
12520 (char *) "self", NULL
12523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12528 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12530 wxPyEndAllowThreads(__tstate
);
12531 if (PyErr_Occurred()) SWIG_fail
;
12535 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12537 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12546 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12547 PyObject
*resultobj
;
12548 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12550 PyObject
* obj0
= 0 ;
12551 char *kwnames
[] = {
12552 (char *) "self", NULL
12555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12560 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12562 wxPyEndAllowThreads(__tstate
);
12563 if (PyErr_Occurred()) SWIG_fail
;
12567 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12569 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12578 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12579 PyObject
*resultobj
;
12580 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12582 PyObject
* obj0
= 0 ;
12583 char *kwnames
[] = {
12584 (char *) "self", NULL
12587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12599 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12601 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12610 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
;
12612 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12614 PyObject
* obj0
= 0 ;
12615 char *kwnames
[] = {
12616 (char *) "self", NULL
12619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12629 resultobj
= SWIG_From_long((long)result
);
12636 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12637 PyObject
*resultobj
;
12638 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12640 PyObject
* obj0
= 0 ;
12641 char *kwnames
[] = {
12642 (char *) "self", NULL
12645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12650 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12652 wxPyEndAllowThreads(__tstate
);
12653 if (PyErr_Occurred()) SWIG_fail
;
12655 resultobj
= SWIG_From_int((int)result
);
12662 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12663 PyObject
*resultobj
;
12664 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12666 PyObject
* obj0
= 0 ;
12667 char *kwnames
[] = {
12668 (char *) "self", NULL
12671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12676 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12678 wxPyEndAllowThreads(__tstate
);
12679 if (PyErr_Occurred()) SWIG_fail
;
12681 resultobj
= result
;
12688 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12689 PyObject
*resultobj
;
12690 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12692 PyObject
* obj0
= 0 ;
12693 char *kwnames
[] = {
12694 (char *) "self", NULL
12697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12702 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12704 wxPyEndAllowThreads(__tstate
);
12705 if (PyErr_Occurred()) SWIG_fail
;
12707 resultobj
= result
;
12714 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
12716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12717 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12719 return Py_BuildValue((char *)"");
12721 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12722 PyObject
*resultobj
;
12723 wxWindow
*arg1
= (wxWindow
*) 0 ;
12724 wxString
*arg2
= 0 ;
12725 wxString
*arg3
= 0 ;
12726 int arg4
= (int) 0 ;
12727 wxString
*arg5
= (wxString
*) NULL
;
12728 long arg6
= (long) wxCHOICEDLG_STYLE
;
12729 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12730 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12731 wxMultiChoiceDialog
*result
;
12732 bool temp2
= false ;
12733 bool temp3
= false ;
12735 PyObject
* obj0
= 0 ;
12736 PyObject
* obj1
= 0 ;
12737 PyObject
* obj2
= 0 ;
12738 PyObject
* obj3
= 0 ;
12739 PyObject
* obj4
= 0 ;
12740 PyObject
* obj5
= 0 ;
12741 char *kwnames
[] = {
12742 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12749 arg2
= wxString_in_helper(obj1
);
12750 if (arg2
== NULL
) SWIG_fail
;
12754 arg3
= wxString_in_helper(obj2
);
12755 if (arg3
== NULL
) SWIG_fail
;
12760 arg4
= PyList_Size(obj3
);
12761 arg5
= wxString_LIST_helper(obj3
);
12762 if (arg5
== NULL
) SWIG_fail
;
12766 arg6
= (long)SWIG_As_long(obj4
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12772 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12776 if (!wxPyCheckForApp()) SWIG_fail
;
12777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12778 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12780 wxPyEndAllowThreads(__tstate
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12793 if (arg5
) delete [] arg5
;
12806 if (arg5
) delete [] arg5
;
12812 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
;
12814 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12815 wxArrayInt
*arg2
= 0 ;
12816 bool temp2
= false ;
12817 PyObject
* obj0
= 0 ;
12818 PyObject
* obj1
= 0 ;
12819 char *kwnames
[] = {
12820 (char *) "self",(char *) "selections", NULL
12823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12827 if (! PySequence_Check(obj1
)) {
12828 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12831 arg2
= new wxArrayInt
;
12833 int i
, len
=PySequence_Length(obj1
);
12834 for (i
=0; i
<len
; i
++) {
12835 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12836 PyObject
* number
= PyNumber_Int(item
);
12837 arg2
->Add(PyInt_AS_LONG(number
));
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12849 Py_INCREF(Py_None
); resultobj
= Py_None
;
12851 if (temp2
) delete arg2
;
12856 if (temp2
) delete arg2
;
12862 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12863 PyObject
*resultobj
;
12864 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12866 PyObject
* obj0
= 0 ;
12867 char *kwnames
[] = {
12868 (char *) "self", NULL
12871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12876 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12878 wxPyEndAllowThreads(__tstate
);
12879 if (PyErr_Occurred()) SWIG_fail
;
12881 resultobj
= result
;
12888 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
12890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12891 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12893 return Py_BuildValue((char *)"");
12895 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12896 PyObject
*resultobj
;
12897 wxWindow
*arg1
= (wxWindow
*) 0 ;
12898 wxString
*arg2
= 0 ;
12899 wxString
*arg3
= 0 ;
12901 wxString
*arg5
= (wxString
*) 0 ;
12902 long arg6
= (long) wxCHOICEDLG_STYLE
;
12903 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12904 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12905 wxSingleChoiceDialog
*result
;
12906 bool temp2
= false ;
12907 bool temp3
= false ;
12909 PyObject
* obj0
= 0 ;
12910 PyObject
* obj1
= 0 ;
12911 PyObject
* obj2
= 0 ;
12912 PyObject
* obj3
= 0 ;
12913 PyObject
* obj4
= 0 ;
12914 PyObject
* obj5
= 0 ;
12915 char *kwnames
[] = {
12916 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12923 arg2
= wxString_in_helper(obj1
);
12924 if (arg2
== NULL
) SWIG_fail
;
12928 arg3
= wxString_in_helper(obj2
);
12929 if (arg3
== NULL
) SWIG_fail
;
12933 arg4
= PyList_Size(obj3
);
12934 arg5
= wxString_LIST_helper(obj3
);
12935 if (arg5
== NULL
) SWIG_fail
;
12938 arg6
= (long)SWIG_As_long(obj4
);
12939 if (PyErr_Occurred()) SWIG_fail
;
12944 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12948 if (!wxPyCheckForApp()) SWIG_fail
;
12949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12950 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12952 wxPyEndAllowThreads(__tstate
);
12953 if (PyErr_Occurred()) SWIG_fail
;
12955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12965 if (arg5
) delete [] arg5
;
12978 if (arg5
) delete [] arg5
;
12984 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12985 PyObject
*resultobj
;
12986 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12988 PyObject
* obj0
= 0 ;
12989 char *kwnames
[] = {
12990 (char *) "self", NULL
12993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12998 result
= (int)(arg1
)->GetSelection();
13000 wxPyEndAllowThreads(__tstate
);
13001 if (PyErr_Occurred()) SWIG_fail
;
13003 resultobj
= SWIG_From_int((int)result
);
13010 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13011 PyObject
*resultobj
;
13012 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13014 PyObject
* obj0
= 0 ;
13015 char *kwnames
[] = {
13016 (char *) "self", NULL
13019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13024 result
= (arg1
)->GetStringSelection();
13026 wxPyEndAllowThreads(__tstate
);
13027 if (PyErr_Occurred()) SWIG_fail
;
13031 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13033 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13042 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13043 PyObject
*resultobj
;
13044 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13046 PyObject
* obj0
= 0 ;
13047 PyObject
* obj1
= 0 ;
13048 char *kwnames
[] = {
13049 (char *) "self",(char *) "sel", NULL
13052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13055 arg2
= (int)SWIG_As_int(obj1
);
13056 if (PyErr_Occurred()) SWIG_fail
;
13058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13059 (arg1
)->SetSelection(arg2
);
13061 wxPyEndAllowThreads(__tstate
);
13062 if (PyErr_Occurred()) SWIG_fail
;
13064 Py_INCREF(Py_None
); resultobj
= Py_None
;
13071 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
13073 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13074 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
13076 return Py_BuildValue((char *)"");
13078 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13079 PyObject
*resultobj
;
13080 wxWindow
*arg1
= (wxWindow
*) 0 ;
13081 wxString
*arg2
= 0 ;
13082 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
13083 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13084 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13085 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13086 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13087 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
13088 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
13089 wxTextEntryDialog
*result
;
13090 bool temp2
= false ;
13091 bool temp3
= false ;
13092 bool temp4
= false ;
13094 PyObject
* obj0
= 0 ;
13095 PyObject
* obj1
= 0 ;
13096 PyObject
* obj2
= 0 ;
13097 PyObject
* obj3
= 0 ;
13098 PyObject
* obj4
= 0 ;
13099 PyObject
* obj5
= 0 ;
13100 char *kwnames
[] = {
13101 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13108 arg2
= wxString_in_helper(obj1
);
13109 if (arg2
== NULL
) SWIG_fail
;
13114 arg3
= wxString_in_helper(obj2
);
13115 if (arg3
== NULL
) SWIG_fail
;
13121 arg4
= wxString_in_helper(obj3
);
13122 if (arg4
== NULL
) SWIG_fail
;
13127 arg5
= (long)SWIG_As_long(obj4
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13133 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13137 if (!wxPyCheckForApp()) SWIG_fail
;
13138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13139 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
13141 wxPyEndAllowThreads(__tstate
);
13142 if (PyErr_Occurred()) SWIG_fail
;
13144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
13175 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13176 PyObject
*resultobj
;
13177 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13179 PyObject
* obj0
= 0 ;
13180 char *kwnames
[] = {
13181 (char *) "self", NULL
13184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
13185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13189 result
= (arg1
)->GetValue();
13191 wxPyEndAllowThreads(__tstate
);
13192 if (PyErr_Occurred()) SWIG_fail
;
13196 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13198 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13207 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13208 PyObject
*resultobj
;
13209 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13210 wxString
*arg2
= 0 ;
13211 bool temp2
= false ;
13212 PyObject
* obj0
= 0 ;
13213 PyObject
* obj1
= 0 ;
13214 char *kwnames
[] = {
13215 (char *) "self",(char *) "value", NULL
13218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13222 arg2
= wxString_in_helper(obj1
);
13223 if (arg2
== NULL
) SWIG_fail
;
13227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 (arg1
)->SetValue((wxString
const &)*arg2
);
13230 wxPyEndAllowThreads(__tstate
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13233 Py_INCREF(Py_None
); resultobj
= Py_None
;
13248 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
13250 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13251 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
13253 return Py_BuildValue((char *)"");
13255 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13256 PyObject
*resultobj
;
13257 wxFontData
*result
;
13258 char *kwnames
[] = {
13262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
13264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13265 result
= (wxFontData
*)new wxFontData();
13267 wxPyEndAllowThreads(__tstate
);
13268 if (PyErr_Occurred()) SWIG_fail
;
13270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
13277 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13278 PyObject
*resultobj
;
13279 wxFontData
*arg1
= (wxFontData
*) 0 ;
13280 PyObject
* obj0
= 0 ;
13281 char *kwnames
[] = {
13282 (char *) "self", NULL
13285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
13286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13292 wxPyEndAllowThreads(__tstate
);
13293 if (PyErr_Occurred()) SWIG_fail
;
13295 Py_INCREF(Py_None
); resultobj
= Py_None
;
13302 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13303 PyObject
*resultobj
;
13304 wxFontData
*arg1
= (wxFontData
*) 0 ;
13306 PyObject
* obj0
= 0 ;
13307 PyObject
* obj1
= 0 ;
13308 char *kwnames
[] = {
13309 (char *) "self",(char *) "enable", NULL
13312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
13313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13315 arg2
= (bool)SWIG_As_bool(obj1
);
13316 if (PyErr_Occurred()) SWIG_fail
;
13318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13319 (arg1
)->EnableEffects(arg2
);
13321 wxPyEndAllowThreads(__tstate
);
13322 if (PyErr_Occurred()) SWIG_fail
;
13324 Py_INCREF(Py_None
); resultobj
= Py_None
;
13331 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13332 PyObject
*resultobj
;
13333 wxFontData
*arg1
= (wxFontData
*) 0 ;
13335 PyObject
* obj0
= 0 ;
13336 char *kwnames
[] = {
13337 (char *) "self", NULL
13340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
13341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13345 result
= (bool)(arg1
)->GetAllowSymbols();
13347 wxPyEndAllowThreads(__tstate
);
13348 if (PyErr_Occurred()) SWIG_fail
;
13351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13359 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13360 PyObject
*resultobj
;
13361 wxFontData
*arg1
= (wxFontData
*) 0 ;
13363 PyObject
* obj0
= 0 ;
13364 char *kwnames
[] = {
13365 (char *) "self", NULL
13368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
13369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 result
= (arg1
)->GetColour();
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13379 wxColour
* resultptr
;
13380 resultptr
= new wxColour((wxColour
&) result
);
13381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13389 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13390 PyObject
*resultobj
;
13391 wxFontData
*arg1
= (wxFontData
*) 0 ;
13393 PyObject
* obj0
= 0 ;
13394 char *kwnames
[] = {
13395 (char *) "self", NULL
13398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13403 result
= (arg1
)->GetChosenFont();
13405 wxPyEndAllowThreads(__tstate
);
13406 if (PyErr_Occurred()) SWIG_fail
;
13409 wxFont
* resultptr
;
13410 resultptr
= new wxFont((wxFont
&) result
);
13411 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13419 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13420 PyObject
*resultobj
;
13421 wxFontData
*arg1
= (wxFontData
*) 0 ;
13423 PyObject
* obj0
= 0 ;
13424 char *kwnames
[] = {
13425 (char *) "self", NULL
13428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13433 result
= (bool)(arg1
)->GetEnableEffects();
13435 wxPyEndAllowThreads(__tstate
);
13436 if (PyErr_Occurred()) SWIG_fail
;
13439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13447 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13448 PyObject
*resultobj
;
13449 wxFontData
*arg1
= (wxFontData
*) 0 ;
13451 PyObject
* obj0
= 0 ;
13452 char *kwnames
[] = {
13453 (char *) "self", NULL
13456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13461 result
= (arg1
)->GetInitialFont();
13463 wxPyEndAllowThreads(__tstate
);
13464 if (PyErr_Occurred()) SWIG_fail
;
13467 wxFont
* resultptr
;
13468 resultptr
= new wxFont((wxFont
&) result
);
13469 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13477 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13478 PyObject
*resultobj
;
13479 wxFontData
*arg1
= (wxFontData
*) 0 ;
13481 PyObject
* obj0
= 0 ;
13482 char *kwnames
[] = {
13483 (char *) "self", NULL
13486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13491 result
= (bool)(arg1
)->GetShowHelp();
13493 wxPyEndAllowThreads(__tstate
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13505 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13506 PyObject
*resultobj
;
13507 wxFontData
*arg1
= (wxFontData
*) 0 ;
13509 PyObject
* obj0
= 0 ;
13510 PyObject
* obj1
= 0 ;
13511 char *kwnames
[] = {
13512 (char *) "self",(char *) "allowSymbols", NULL
13515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13518 arg2
= (bool)SWIG_As_bool(obj1
);
13519 if (PyErr_Occurred()) SWIG_fail
;
13521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13522 (arg1
)->SetAllowSymbols(arg2
);
13524 wxPyEndAllowThreads(__tstate
);
13525 if (PyErr_Occurred()) SWIG_fail
;
13527 Py_INCREF(Py_None
); resultobj
= Py_None
;
13534 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13535 PyObject
*resultobj
;
13536 wxFontData
*arg1
= (wxFontData
*) 0 ;
13538 PyObject
* obj0
= 0 ;
13539 PyObject
* obj1
= 0 ;
13540 char *kwnames
[] = {
13541 (char *) "self",(char *) "font", NULL
13544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13547 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13548 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13550 if (arg2
== NULL
) {
13551 PyErr_SetString(PyExc_TypeError
,"null reference");
13555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13556 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13558 wxPyEndAllowThreads(__tstate
);
13559 if (PyErr_Occurred()) SWIG_fail
;
13561 Py_INCREF(Py_None
); resultobj
= Py_None
;
13568 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13569 PyObject
*resultobj
;
13570 wxFontData
*arg1
= (wxFontData
*) 0 ;
13571 wxColour
*arg2
= 0 ;
13573 PyObject
* obj0
= 0 ;
13574 PyObject
* obj1
= 0 ;
13575 char *kwnames
[] = {
13576 (char *) "self",(char *) "colour", NULL
13579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13584 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13588 (arg1
)->SetColour((wxColour
const &)*arg2
);
13590 wxPyEndAllowThreads(__tstate
);
13591 if (PyErr_Occurred()) SWIG_fail
;
13593 Py_INCREF(Py_None
); resultobj
= Py_None
;
13600 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13601 PyObject
*resultobj
;
13602 wxFontData
*arg1
= (wxFontData
*) 0 ;
13604 PyObject
* obj0
= 0 ;
13605 PyObject
* obj1
= 0 ;
13606 char *kwnames
[] = {
13607 (char *) "self",(char *) "font", NULL
13610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13613 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13614 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13616 if (arg2
== NULL
) {
13617 PyErr_SetString(PyExc_TypeError
,"null reference");
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13627 Py_INCREF(Py_None
); resultobj
= Py_None
;
13634 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13635 PyObject
*resultobj
;
13636 wxFontData
*arg1
= (wxFontData
*) 0 ;
13639 PyObject
* obj0
= 0 ;
13640 PyObject
* obj1
= 0 ;
13641 PyObject
* obj2
= 0 ;
13642 char *kwnames
[] = {
13643 (char *) "self",(char *) "min",(char *) "max", NULL
13646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13649 arg2
= (int)SWIG_As_int(obj1
);
13650 if (PyErr_Occurred()) SWIG_fail
;
13651 arg3
= (int)SWIG_As_int(obj2
);
13652 if (PyErr_Occurred()) SWIG_fail
;
13654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13655 (arg1
)->SetRange(arg2
,arg3
);
13657 wxPyEndAllowThreads(__tstate
);
13658 if (PyErr_Occurred()) SWIG_fail
;
13660 Py_INCREF(Py_None
); resultobj
= Py_None
;
13667 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13668 PyObject
*resultobj
;
13669 wxFontData
*arg1
= (wxFontData
*) 0 ;
13671 PyObject
* obj0
= 0 ;
13672 PyObject
* obj1
= 0 ;
13673 char *kwnames
[] = {
13674 (char *) "self",(char *) "showHelp", NULL
13677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13680 arg2
= (bool)SWIG_As_bool(obj1
);
13681 if (PyErr_Occurred()) SWIG_fail
;
13683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13684 (arg1
)->SetShowHelp(arg2
);
13686 wxPyEndAllowThreads(__tstate
);
13687 if (PyErr_Occurred()) SWIG_fail
;
13689 Py_INCREF(Py_None
); resultobj
= Py_None
;
13696 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
13698 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13699 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13701 return Py_BuildValue((char *)"");
13703 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13704 PyObject
*resultobj
;
13705 wxWindow
*arg1
= (wxWindow
*) 0 ;
13706 wxFontData
*arg2
= 0 ;
13707 wxFontDialog
*result
;
13708 PyObject
* obj0
= 0 ;
13709 PyObject
* obj1
= 0 ;
13710 char *kwnames
[] = {
13711 (char *) "parent",(char *) "data", NULL
13714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13718 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13720 if (arg2
== NULL
) {
13721 PyErr_SetString(PyExc_TypeError
,"null reference");
13725 if (!wxPyCheckForApp()) SWIG_fail
;
13726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13727 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13729 wxPyEndAllowThreads(__tstate
);
13730 if (PyErr_Occurred()) SWIG_fail
;
13732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13739 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13740 PyObject
*resultobj
;
13741 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13742 wxFontData
*result
;
13743 PyObject
* obj0
= 0 ;
13744 char *kwnames
[] = {
13745 (char *) "self", NULL
13748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13754 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13755 result
= (wxFontData
*) &_result_ref
;
13758 wxPyEndAllowThreads(__tstate
);
13759 if (PyErr_Occurred()) SWIG_fail
;
13761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13768 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
13770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13771 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13773 return Py_BuildValue((char *)"");
13775 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13776 PyObject
*resultobj
;
13777 wxWindow
*arg1
= (wxWindow
*) 0 ;
13778 wxString
*arg2
= 0 ;
13779 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13780 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13781 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13782 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13783 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13784 wxMessageDialog
*result
;
13785 bool temp2
= false ;
13786 bool temp3
= false ;
13788 PyObject
* obj0
= 0 ;
13789 PyObject
* obj1
= 0 ;
13790 PyObject
* obj2
= 0 ;
13791 PyObject
* obj3
= 0 ;
13792 PyObject
* obj4
= 0 ;
13793 char *kwnames
[] = {
13794 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13801 arg2
= wxString_in_helper(obj1
);
13802 if (arg2
== NULL
) SWIG_fail
;
13807 arg3
= wxString_in_helper(obj2
);
13808 if (arg3
== NULL
) SWIG_fail
;
13813 arg4
= (long)SWIG_As_long(obj3
);
13814 if (PyErr_Occurred()) SWIG_fail
;
13819 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13823 if (!wxPyCheckForApp()) SWIG_fail
;
13824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13825 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13827 wxPyEndAllowThreads(__tstate
);
13828 if (PyErr_Occurred()) SWIG_fail
;
13830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13853 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
13855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13856 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13858 return Py_BuildValue((char *)"");
13860 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13861 PyObject
*resultobj
;
13862 wxString
*arg1
= 0 ;
13863 wxString
*arg2
= 0 ;
13864 int arg3
= (int) 100 ;
13865 wxWindow
*arg4
= (wxWindow
*) NULL
;
13866 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13867 wxProgressDialog
*result
;
13868 bool temp1
= false ;
13869 bool temp2
= false ;
13870 PyObject
* obj0
= 0 ;
13871 PyObject
* obj1
= 0 ;
13872 PyObject
* obj2
= 0 ;
13873 PyObject
* obj3
= 0 ;
13874 PyObject
* obj4
= 0 ;
13875 char *kwnames
[] = {
13876 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13881 arg1
= wxString_in_helper(obj0
);
13882 if (arg1
== NULL
) SWIG_fail
;
13886 arg2
= wxString_in_helper(obj1
);
13887 if (arg2
== NULL
) SWIG_fail
;
13891 arg3
= (int)SWIG_As_int(obj2
);
13892 if (PyErr_Occurred()) SWIG_fail
;
13895 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13899 arg5
= (int)SWIG_As_int(obj4
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13903 if (!wxPyCheckForApp()) SWIG_fail
;
13904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13905 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13907 wxPyEndAllowThreads(__tstate
);
13908 if (PyErr_Occurred()) SWIG_fail
;
13910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13933 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13934 PyObject
*resultobj
;
13935 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13937 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13938 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13940 bool temp3
= false ;
13941 PyObject
* obj0
= 0 ;
13942 PyObject
* obj1
= 0 ;
13943 PyObject
* obj2
= 0 ;
13944 char *kwnames
[] = {
13945 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13951 arg2
= (int)SWIG_As_int(obj1
);
13952 if (PyErr_Occurred()) SWIG_fail
;
13955 arg3
= wxString_in_helper(obj2
);
13956 if (arg3
== NULL
) SWIG_fail
;
13961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13962 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13964 wxPyEndAllowThreads(__tstate
);
13965 if (PyErr_Occurred()) SWIG_fail
;
13968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13984 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13985 PyObject
*resultobj
;
13986 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13987 PyObject
* obj0
= 0 ;
13988 char *kwnames
[] = {
13989 (char *) "self", NULL
13992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13999 wxPyEndAllowThreads(__tstate
);
14000 if (PyErr_Occurred()) SWIG_fail
;
14002 Py_INCREF(Py_None
); resultobj
= Py_None
;
14009 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
14011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14012 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
14014 return Py_BuildValue((char *)"");
14016 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14017 PyObject
*resultobj
;
14018 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14019 int arg2
= (int) 0 ;
14020 wxFindDialogEvent
*result
;
14021 PyObject
* obj0
= 0 ;
14022 PyObject
* obj1
= 0 ;
14023 char *kwnames
[] = {
14024 (char *) "commandType",(char *) "id", NULL
14027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14029 arg1
= (wxEventType
)SWIG_As_int(obj0
);
14030 if (PyErr_Occurred()) SWIG_fail
;
14033 arg2
= (int)SWIG_As_int(obj1
);
14034 if (PyErr_Occurred()) SWIG_fail
;
14037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14038 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
14040 wxPyEndAllowThreads(__tstate
);
14041 if (PyErr_Occurred()) SWIG_fail
;
14043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
14050 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14051 PyObject
*resultobj
;
14052 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14054 PyObject
* obj0
= 0 ;
14055 char *kwnames
[] = {
14056 (char *) "self", NULL
14059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
14060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14064 result
= (int)(arg1
)->GetFlags();
14066 wxPyEndAllowThreads(__tstate
);
14067 if (PyErr_Occurred()) SWIG_fail
;
14069 resultobj
= SWIG_From_int((int)result
);
14076 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14077 PyObject
*resultobj
;
14078 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14080 PyObject
* obj0
= 0 ;
14081 char *kwnames
[] = {
14082 (char *) "self", NULL
14085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
14086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14091 wxString
const &_result_ref
= (arg1
)->GetFindString();
14092 result
= (wxString
*) &_result_ref
;
14095 wxPyEndAllowThreads(__tstate
);
14096 if (PyErr_Occurred()) SWIG_fail
;
14100 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14102 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14111 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14112 PyObject
*resultobj
;
14113 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14115 PyObject
* obj0
= 0 ;
14116 char *kwnames
[] = {
14117 (char *) "self", NULL
14120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14126 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14127 result
= (wxString
*) &_result_ref
;
14130 wxPyEndAllowThreads(__tstate
);
14131 if (PyErr_Occurred()) SWIG_fail
;
14135 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14137 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14146 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14147 PyObject
*resultobj
;
14148 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14149 wxFindReplaceDialog
*result
;
14150 PyObject
* obj0
= 0 ;
14151 char *kwnames
[] = {
14152 (char *) "self", NULL
14155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
14156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14160 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
14162 wxPyEndAllowThreads(__tstate
);
14163 if (PyErr_Occurred()) SWIG_fail
;
14165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
14172 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14173 PyObject
*resultobj
;
14174 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14176 PyObject
* obj0
= 0 ;
14177 PyObject
* obj1
= 0 ;
14178 char *kwnames
[] = {
14179 (char *) "self",(char *) "flags", NULL
14182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14185 arg2
= (int)SWIG_As_int(obj1
);
14186 if (PyErr_Occurred()) SWIG_fail
;
14188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14189 (arg1
)->SetFlags(arg2
);
14191 wxPyEndAllowThreads(__tstate
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14194 Py_INCREF(Py_None
); resultobj
= Py_None
;
14201 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14202 PyObject
*resultobj
;
14203 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14204 wxString
*arg2
= 0 ;
14205 bool temp2
= false ;
14206 PyObject
* obj0
= 0 ;
14207 PyObject
* obj1
= 0 ;
14208 char *kwnames
[] = {
14209 (char *) "self",(char *) "str", NULL
14212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14216 arg2
= wxString_in_helper(obj1
);
14217 if (arg2
== NULL
) SWIG_fail
;
14221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14222 (arg1
)->SetFindString((wxString
const &)*arg2
);
14224 wxPyEndAllowThreads(__tstate
);
14225 if (PyErr_Occurred()) SWIG_fail
;
14227 Py_INCREF(Py_None
); resultobj
= Py_None
;
14242 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14243 PyObject
*resultobj
;
14244 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14245 wxString
*arg2
= 0 ;
14246 bool temp2
= false ;
14247 PyObject
* obj0
= 0 ;
14248 PyObject
* obj1
= 0 ;
14249 char *kwnames
[] = {
14250 (char *) "self",(char *) "str", NULL
14253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14257 arg2
= wxString_in_helper(obj1
);
14258 if (arg2
== NULL
) SWIG_fail
;
14262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14263 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14265 wxPyEndAllowThreads(__tstate
);
14266 if (PyErr_Occurred()) SWIG_fail
;
14268 Py_INCREF(Py_None
); resultobj
= Py_None
;
14283 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
14285 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14286 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
14288 return Py_BuildValue((char *)"");
14290 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14291 PyObject
*resultobj
;
14292 int arg1
= (int) 0 ;
14293 wxFindReplaceData
*result
;
14294 PyObject
* obj0
= 0 ;
14295 char *kwnames
[] = {
14296 (char *) "flags", NULL
14299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14301 arg1
= (int)SWIG_As_int(obj0
);
14302 if (PyErr_Occurred()) SWIG_fail
;
14305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14306 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
14308 wxPyEndAllowThreads(__tstate
);
14309 if (PyErr_Occurred()) SWIG_fail
;
14311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
14318 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14319 PyObject
*resultobj
;
14320 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14321 PyObject
* obj0
= 0 ;
14322 char *kwnames
[] = {
14323 (char *) "self", NULL
14326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14333 wxPyEndAllowThreads(__tstate
);
14334 if (PyErr_Occurred()) SWIG_fail
;
14336 Py_INCREF(Py_None
); resultobj
= Py_None
;
14343 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14344 PyObject
*resultobj
;
14345 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14347 PyObject
* obj0
= 0 ;
14348 char *kwnames
[] = {
14349 (char *) "self", NULL
14352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
14353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14358 wxString
const &_result_ref
= (arg1
)->GetFindString();
14359 result
= (wxString
*) &_result_ref
;
14362 wxPyEndAllowThreads(__tstate
);
14363 if (PyErr_Occurred()) SWIG_fail
;
14367 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14369 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14378 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14379 PyObject
*resultobj
;
14380 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14382 PyObject
* obj0
= 0 ;
14383 char *kwnames
[] = {
14384 (char *) "self", NULL
14387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14394 result
= (wxString
*) &_result_ref
;
14397 wxPyEndAllowThreads(__tstate
);
14398 if (PyErr_Occurred()) SWIG_fail
;
14402 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14404 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14413 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14414 PyObject
*resultobj
;
14415 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14417 PyObject
* obj0
= 0 ;
14418 char *kwnames
[] = {
14419 (char *) "self", NULL
14422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14427 result
= (int)(arg1
)->GetFlags();
14429 wxPyEndAllowThreads(__tstate
);
14430 if (PyErr_Occurred()) SWIG_fail
;
14432 resultobj
= SWIG_From_int((int)result
);
14439 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14440 PyObject
*resultobj
;
14441 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14443 PyObject
* obj0
= 0 ;
14444 PyObject
* obj1
= 0 ;
14445 char *kwnames
[] = {
14446 (char *) "self",(char *) "flags", NULL
14449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14452 arg2
= (int)SWIG_As_int(obj1
);
14453 if (PyErr_Occurred()) SWIG_fail
;
14455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14456 (arg1
)->SetFlags(arg2
);
14458 wxPyEndAllowThreads(__tstate
);
14459 if (PyErr_Occurred()) SWIG_fail
;
14461 Py_INCREF(Py_None
); resultobj
= Py_None
;
14468 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14469 PyObject
*resultobj
;
14470 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14471 wxString
*arg2
= 0 ;
14472 bool temp2
= false ;
14473 PyObject
* obj0
= 0 ;
14474 PyObject
* obj1
= 0 ;
14475 char *kwnames
[] = {
14476 (char *) "self",(char *) "str", NULL
14479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14483 arg2
= wxString_in_helper(obj1
);
14484 if (arg2
== NULL
) SWIG_fail
;
14488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14489 (arg1
)->SetFindString((wxString
const &)*arg2
);
14491 wxPyEndAllowThreads(__tstate
);
14492 if (PyErr_Occurred()) SWIG_fail
;
14494 Py_INCREF(Py_None
); resultobj
= Py_None
;
14509 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14510 PyObject
*resultobj
;
14511 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14512 wxString
*arg2
= 0 ;
14513 bool temp2
= false ;
14514 PyObject
* obj0
= 0 ;
14515 PyObject
* obj1
= 0 ;
14516 char *kwnames
[] = {
14517 (char *) "self",(char *) "str", NULL
14520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14524 arg2
= wxString_in_helper(obj1
);
14525 if (arg2
== NULL
) SWIG_fail
;
14529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14530 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14532 wxPyEndAllowThreads(__tstate
);
14533 if (PyErr_Occurred()) SWIG_fail
;
14535 Py_INCREF(Py_None
); resultobj
= Py_None
;
14550 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
14552 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14553 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14555 return Py_BuildValue((char *)"");
14557 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14558 PyObject
*resultobj
;
14559 wxWindow
*arg1
= (wxWindow
*) 0 ;
14560 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14561 wxString
*arg3
= 0 ;
14562 int arg4
= (int) 0 ;
14563 wxFindReplaceDialog
*result
;
14564 bool temp3
= false ;
14565 PyObject
* obj0
= 0 ;
14566 PyObject
* obj1
= 0 ;
14567 PyObject
* obj2
= 0 ;
14568 PyObject
* obj3
= 0 ;
14569 char *kwnames
[] = {
14570 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14579 arg3
= wxString_in_helper(obj2
);
14580 if (arg3
== NULL
) SWIG_fail
;
14584 arg4
= (int)SWIG_As_int(obj3
);
14585 if (PyErr_Occurred()) SWIG_fail
;
14588 if (!wxPyCheckForApp()) SWIG_fail
;
14589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14590 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14592 wxPyEndAllowThreads(__tstate
);
14593 if (PyErr_Occurred()) SWIG_fail
;
14595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14610 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14611 PyObject
*resultobj
;
14612 wxFindReplaceDialog
*result
;
14613 char *kwnames
[] = {
14617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14619 if (!wxPyCheckForApp()) SWIG_fail
;
14620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14621 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14623 wxPyEndAllowThreads(__tstate
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14633 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14634 PyObject
*resultobj
;
14635 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14636 wxWindow
*arg2
= (wxWindow
*) 0 ;
14637 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14638 wxString
*arg4
= 0 ;
14639 int arg5
= (int) 0 ;
14641 bool temp4
= false ;
14642 PyObject
* obj0
= 0 ;
14643 PyObject
* obj1
= 0 ;
14644 PyObject
* obj2
= 0 ;
14645 PyObject
* obj3
= 0 ;
14646 PyObject
* obj4
= 0 ;
14647 char *kwnames
[] = {
14648 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14656 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14659 arg4
= wxString_in_helper(obj3
);
14660 if (arg4
== NULL
) SWIG_fail
;
14664 arg5
= (int)SWIG_As_int(obj4
);
14665 if (PyErr_Occurred()) SWIG_fail
;
14668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14669 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14671 wxPyEndAllowThreads(__tstate
);
14672 if (PyErr_Occurred()) SWIG_fail
;
14675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14691 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14692 PyObject
*resultobj
;
14693 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14694 wxFindReplaceData
*result
;
14695 PyObject
* obj0
= 0 ;
14696 char *kwnames
[] = {
14697 (char *) "self", NULL
14700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14705 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14707 wxPyEndAllowThreads(__tstate
);
14708 if (PyErr_Occurred()) SWIG_fail
;
14710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14717 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14718 PyObject
*resultobj
;
14719 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14720 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14721 PyObject
* obj0
= 0 ;
14722 PyObject
* obj1
= 0 ;
14723 char *kwnames
[] = {
14724 (char *) "self",(char *) "data", NULL
14727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14734 (arg1
)->SetData(arg2
);
14736 wxPyEndAllowThreads(__tstate
);
14737 if (PyErr_Occurred()) SWIG_fail
;
14739 Py_INCREF(Py_None
); resultobj
= Py_None
;
14746 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
14748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14749 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14751 return Py_BuildValue((char *)"");
14753 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14754 PyObject
*resultobj
;
14755 wxWindow
*arg1
= (wxWindow
*) 0 ;
14756 int arg2
= (int) (int)-1 ;
14757 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14758 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14759 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14760 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14761 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14762 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14763 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14764 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14765 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14766 wxMDIParentFrame
*result
;
14767 bool temp3
= false ;
14770 bool temp7
= false ;
14771 PyObject
* obj0
= 0 ;
14772 PyObject
* obj1
= 0 ;
14773 PyObject
* obj2
= 0 ;
14774 PyObject
* obj3
= 0 ;
14775 PyObject
* obj4
= 0 ;
14776 PyObject
* obj5
= 0 ;
14777 PyObject
* obj6
= 0 ;
14778 char *kwnames
[] = {
14779 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14786 arg2
= (int)SWIG_As_int(obj1
);
14787 if (PyErr_Occurred()) SWIG_fail
;
14791 arg3
= wxString_in_helper(obj2
);
14792 if (arg3
== NULL
) SWIG_fail
;
14799 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14805 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14809 arg6
= (long)SWIG_As_long(obj5
);
14810 if (PyErr_Occurred()) SWIG_fail
;
14814 arg7
= wxString_in_helper(obj6
);
14815 if (arg7
== NULL
) SWIG_fail
;
14820 if (!wxPyCheckForApp()) SWIG_fail
;
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14822 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14824 wxPyEndAllowThreads(__tstate
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14850 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14851 PyObject
*resultobj
;
14852 wxMDIParentFrame
*result
;
14853 char *kwnames
[] = {
14857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14859 if (!wxPyCheckForApp()) SWIG_fail
;
14860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14861 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14863 wxPyEndAllowThreads(__tstate
);
14864 if (PyErr_Occurred()) SWIG_fail
;
14866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14873 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14874 PyObject
*resultobj
;
14875 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14876 wxWindow
*arg2
= (wxWindow
*) 0 ;
14877 int arg3
= (int) (int)-1 ;
14878 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14879 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14880 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14881 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14882 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14883 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14884 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14885 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14886 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14888 bool temp4
= false ;
14891 bool temp8
= false ;
14892 PyObject
* obj0
= 0 ;
14893 PyObject
* obj1
= 0 ;
14894 PyObject
* obj2
= 0 ;
14895 PyObject
* obj3
= 0 ;
14896 PyObject
* obj4
= 0 ;
14897 PyObject
* obj5
= 0 ;
14898 PyObject
* obj6
= 0 ;
14899 PyObject
* obj7
= 0 ;
14900 char *kwnames
[] = {
14901 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14907 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14910 arg3
= (int)SWIG_As_int(obj2
);
14911 if (PyErr_Occurred()) SWIG_fail
;
14915 arg4
= wxString_in_helper(obj3
);
14916 if (arg4
== NULL
) SWIG_fail
;
14923 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14929 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14933 arg7
= (long)SWIG_As_long(obj6
);
14934 if (PyErr_Occurred()) SWIG_fail
;
14938 arg8
= wxString_in_helper(obj7
);
14939 if (arg8
== NULL
) SWIG_fail
;
14944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14945 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14947 wxPyEndAllowThreads(__tstate
);
14948 if (PyErr_Occurred()) SWIG_fail
;
14951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14975 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14976 PyObject
*resultobj
;
14977 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14978 PyObject
* obj0
= 0 ;
14979 char *kwnames
[] = {
14980 (char *) "self", NULL
14983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14988 (arg1
)->ActivateNext();
14990 wxPyEndAllowThreads(__tstate
);
14991 if (PyErr_Occurred()) SWIG_fail
;
14993 Py_INCREF(Py_None
); resultobj
= Py_None
;
15000 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15001 PyObject
*resultobj
;
15002 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15003 PyObject
* obj0
= 0 ;
15004 char *kwnames
[] = {
15005 (char *) "self", NULL
15008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
15009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15013 (arg1
)->ActivatePrevious();
15015 wxPyEndAllowThreads(__tstate
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15018 Py_INCREF(Py_None
); resultobj
= Py_None
;
15025 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15026 PyObject
*resultobj
;
15027 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15028 PyObject
* obj0
= 0 ;
15029 char *kwnames
[] = {
15030 (char *) "self", NULL
15033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
15034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15038 (arg1
)->ArrangeIcons();
15040 wxPyEndAllowThreads(__tstate
);
15041 if (PyErr_Occurred()) SWIG_fail
;
15043 Py_INCREF(Py_None
); resultobj
= Py_None
;
15050 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15051 PyObject
*resultobj
;
15052 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15053 PyObject
* obj0
= 0 ;
15054 char *kwnames
[] = {
15055 (char *) "self", NULL
15058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
15059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15065 wxPyEndAllowThreads(__tstate
);
15066 if (PyErr_Occurred()) SWIG_fail
;
15068 Py_INCREF(Py_None
); resultobj
= Py_None
;
15075 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15076 PyObject
*resultobj
;
15077 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15078 wxMDIChildFrame
*result
;
15079 PyObject
* obj0
= 0 ;
15080 char *kwnames
[] = {
15081 (char *) "self", NULL
15084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
15085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15089 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
15091 wxPyEndAllowThreads(__tstate
);
15092 if (PyErr_Occurred()) SWIG_fail
;
15095 resultobj
= wxPyMake_wxObject(result
, 0);
15103 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15104 PyObject
*resultobj
;
15105 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15106 wxMDIClientWindow
*result
;
15107 PyObject
* obj0
= 0 ;
15108 char *kwnames
[] = {
15109 (char *) "self", NULL
15112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
15113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15117 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
15119 wxPyEndAllowThreads(__tstate
);
15120 if (PyErr_Occurred()) SWIG_fail
;
15123 resultobj
= wxPyMake_wxObject(result
, 0);
15131 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15132 PyObject
*resultobj
;
15133 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15135 PyObject
* obj0
= 0 ;
15136 char *kwnames
[] = {
15137 (char *) "self", NULL
15140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
15141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15145 result
= (wxWindow
*)(arg1
)->GetToolBar();
15147 wxPyEndAllowThreads(__tstate
);
15148 if (PyErr_Occurred()) SWIG_fail
;
15151 resultobj
= wxPyMake_wxObject(result
, 0);
15159 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15160 PyObject
*resultobj
;
15161 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15162 PyObject
* obj0
= 0 ;
15163 char *kwnames
[] = {
15164 (char *) "self", NULL
15167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
15168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15174 wxPyEndAllowThreads(__tstate
);
15175 if (PyErr_Occurred()) SWIG_fail
;
15177 Py_INCREF(Py_None
); resultobj
= Py_None
;
15184 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
15186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15187 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
15189 return Py_BuildValue((char *)"");
15191 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15192 PyObject
*resultobj
;
15193 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15194 int arg2
= (int) (int)-1 ;
15195 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15196 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15197 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15198 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15199 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15200 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15201 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
15202 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
15203 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15204 wxMDIChildFrame
*result
;
15205 bool temp3
= false ;
15208 bool temp7
= false ;
15209 PyObject
* obj0
= 0 ;
15210 PyObject
* obj1
= 0 ;
15211 PyObject
* obj2
= 0 ;
15212 PyObject
* obj3
= 0 ;
15213 PyObject
* obj4
= 0 ;
15214 PyObject
* obj5
= 0 ;
15215 PyObject
* obj6
= 0 ;
15216 char *kwnames
[] = {
15217 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15224 arg2
= (int)SWIG_As_int(obj1
);
15225 if (PyErr_Occurred()) SWIG_fail
;
15229 arg3
= wxString_in_helper(obj2
);
15230 if (arg3
== NULL
) SWIG_fail
;
15237 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15243 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15247 arg6
= (long)SWIG_As_long(obj5
);
15248 if (PyErr_Occurred()) SWIG_fail
;
15252 arg7
= wxString_in_helper(obj6
);
15253 if (arg7
== NULL
) SWIG_fail
;
15258 if (!wxPyCheckForApp()) SWIG_fail
;
15259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15260 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15262 wxPyEndAllowThreads(__tstate
);
15263 if (PyErr_Occurred()) SWIG_fail
;
15265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15288 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15289 PyObject
*resultobj
;
15290 wxMDIChildFrame
*result
;
15291 char *kwnames
[] = {
15295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
15297 if (!wxPyCheckForApp()) SWIG_fail
;
15298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15299 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
15301 wxPyEndAllowThreads(__tstate
);
15302 if (PyErr_Occurred()) SWIG_fail
;
15304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15311 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15312 PyObject
*resultobj
;
15313 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15314 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15315 int arg3
= (int) (int)-1 ;
15316 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15317 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15318 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15319 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15320 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15321 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15322 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
15323 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15324 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15326 bool temp4
= false ;
15329 bool temp8
= false ;
15330 PyObject
* obj0
= 0 ;
15331 PyObject
* obj1
= 0 ;
15332 PyObject
* obj2
= 0 ;
15333 PyObject
* obj3
= 0 ;
15334 PyObject
* obj4
= 0 ;
15335 PyObject
* obj5
= 0 ;
15336 PyObject
* obj6
= 0 ;
15337 PyObject
* obj7
= 0 ;
15338 char *kwnames
[] = {
15339 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15348 arg3
= (int)SWIG_As_int(obj2
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15353 arg4
= wxString_in_helper(obj3
);
15354 if (arg4
== NULL
) SWIG_fail
;
15361 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15367 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15371 arg7
= (long)SWIG_As_long(obj6
);
15372 if (PyErr_Occurred()) SWIG_fail
;
15376 arg8
= wxString_in_helper(obj7
);
15377 if (arg8
== NULL
) SWIG_fail
;
15382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15383 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15385 wxPyEndAllowThreads(__tstate
);
15386 if (PyErr_Occurred()) SWIG_fail
;
15389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15413 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15414 PyObject
*resultobj
;
15415 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15416 PyObject
* obj0
= 0 ;
15417 char *kwnames
[] = {
15418 (char *) "self", NULL
15421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15426 (arg1
)->Activate();
15428 wxPyEndAllowThreads(__tstate
);
15429 if (PyErr_Occurred()) SWIG_fail
;
15431 Py_INCREF(Py_None
); resultobj
= Py_None
;
15438 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15439 PyObject
*resultobj
;
15440 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15442 PyObject
* obj0
= 0 ;
15443 PyObject
* obj1
= 0 ;
15444 char *kwnames
[] = {
15445 (char *) "self",(char *) "maximize", NULL
15448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15451 arg2
= (bool)SWIG_As_bool(obj1
);
15452 if (PyErr_Occurred()) SWIG_fail
;
15454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15455 (arg1
)->Maximize(arg2
);
15457 wxPyEndAllowThreads(__tstate
);
15458 if (PyErr_Occurred()) SWIG_fail
;
15460 Py_INCREF(Py_None
); resultobj
= Py_None
;
15467 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15468 PyObject
*resultobj
;
15469 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15470 PyObject
* obj0
= 0 ;
15471 char *kwnames
[] = {
15472 (char *) "self", NULL
15475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15482 wxPyEndAllowThreads(__tstate
);
15483 if (PyErr_Occurred()) SWIG_fail
;
15485 Py_INCREF(Py_None
); resultobj
= Py_None
;
15492 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
15494 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15495 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15497 return Py_BuildValue((char *)"");
15499 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15500 PyObject
*resultobj
;
15501 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15502 long arg2
= (long) 0 ;
15503 wxMDIClientWindow
*result
;
15504 PyObject
* obj0
= 0 ;
15505 PyObject
* obj1
= 0 ;
15506 char *kwnames
[] = {
15507 (char *) "parent",(char *) "style", NULL
15510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15514 arg2
= (long)SWIG_As_long(obj1
);
15515 if (PyErr_Occurred()) SWIG_fail
;
15518 if (!wxPyCheckForApp()) SWIG_fail
;
15519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15520 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15522 wxPyEndAllowThreads(__tstate
);
15523 if (PyErr_Occurred()) SWIG_fail
;
15525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15532 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15533 PyObject
*resultobj
;
15534 wxMDIClientWindow
*result
;
15535 char *kwnames
[] = {
15539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15541 if (!wxPyCheckForApp()) SWIG_fail
;
15542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15543 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15545 wxPyEndAllowThreads(__tstate
);
15546 if (PyErr_Occurred()) SWIG_fail
;
15548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15555 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15556 PyObject
*resultobj
;
15557 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15558 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15559 long arg3
= (long) 0 ;
15561 PyObject
* obj0
= 0 ;
15562 PyObject
* obj1
= 0 ;
15563 PyObject
* obj2
= 0 ;
15564 char *kwnames
[] = {
15565 (char *) "self",(char *) "parent",(char *) "style", NULL
15568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15574 arg3
= (long)SWIG_As_long(obj2
);
15575 if (PyErr_Occurred()) SWIG_fail
;
15578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15579 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15581 wxPyEndAllowThreads(__tstate
);
15582 if (PyErr_Occurred()) SWIG_fail
;
15585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15593 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
15595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15596 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15598 return Py_BuildValue((char *)"");
15600 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15601 PyObject
*resultobj
;
15602 wxWindow
*arg1
= (wxWindow
*) 0 ;
15603 int arg2
= (int) (int)-1 ;
15604 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15605 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15606 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15607 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15608 long arg5
= (long) 0 ;
15609 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15610 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15611 wxPyWindow
*result
;
15614 bool temp6
= false ;
15615 PyObject
* obj0
= 0 ;
15616 PyObject
* obj1
= 0 ;
15617 PyObject
* obj2
= 0 ;
15618 PyObject
* obj3
= 0 ;
15619 PyObject
* obj4
= 0 ;
15620 PyObject
* obj5
= 0 ;
15621 char *kwnames
[] = {
15622 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15629 arg2
= (int)SWIG_As_int(obj1
);
15630 if (PyErr_Occurred()) SWIG_fail
;
15635 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15641 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15645 arg5
= (long)SWIG_As_long(obj4
);
15646 if (PyErr_Occurred()) SWIG_fail
;
15650 arg6
= wxString_in_helper(obj5
);
15651 if (arg6
== NULL
) SWIG_fail
;
15656 if (!wxPyCheckForApp()) SWIG_fail
;
15657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15658 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15660 wxPyEndAllowThreads(__tstate
);
15661 if (PyErr_Occurred()) SWIG_fail
;
15663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15678 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15679 PyObject
*resultobj
;
15680 wxPyWindow
*result
;
15681 char *kwnames
[] = {
15685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15687 if (!wxPyCheckForApp()) SWIG_fail
;
15688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15689 result
= (wxPyWindow
*)new wxPyWindow();
15691 wxPyEndAllowThreads(__tstate
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15701 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15702 PyObject
*resultobj
;
15703 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15704 PyObject
*arg2
= (PyObject
*) 0 ;
15705 PyObject
*arg3
= (PyObject
*) 0 ;
15706 PyObject
* obj0
= 0 ;
15707 PyObject
* obj1
= 0 ;
15708 PyObject
* obj2
= 0 ;
15709 char *kwnames
[] = {
15710 (char *) "self",(char *) "self",(char *) "_class", NULL
15713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15720 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15722 wxPyEndAllowThreads(__tstate
);
15723 if (PyErr_Occurred()) SWIG_fail
;
15725 Py_INCREF(Py_None
); resultobj
= Py_None
;
15732 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15733 PyObject
*resultobj
;
15734 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15737 PyObject
* obj0
= 0 ;
15738 PyObject
* obj1
= 0 ;
15739 char *kwnames
[] = {
15740 (char *) "self",(char *) "size", NULL
15743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15748 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15752 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
15754 wxPyEndAllowThreads(__tstate
);
15755 if (PyErr_Occurred()) SWIG_fail
;
15757 Py_INCREF(Py_None
); resultobj
= Py_None
;
15764 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15765 PyObject
*resultobj
;
15766 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15771 PyObject
* obj0
= 0 ;
15772 PyObject
* obj1
= 0 ;
15773 PyObject
* obj2
= 0 ;
15774 PyObject
* obj3
= 0 ;
15775 PyObject
* obj4
= 0 ;
15776 char *kwnames
[] = {
15777 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15783 arg2
= (int)SWIG_As_int(obj1
);
15784 if (PyErr_Occurred()) SWIG_fail
;
15785 arg3
= (int)SWIG_As_int(obj2
);
15786 if (PyErr_Occurred()) SWIG_fail
;
15787 arg4
= (int)SWIG_As_int(obj3
);
15788 if (PyErr_Occurred()) SWIG_fail
;
15789 arg5
= (int)SWIG_As_int(obj4
);
15790 if (PyErr_Occurred()) SWIG_fail
;
15792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15793 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15795 wxPyEndAllowThreads(__tstate
);
15796 if (PyErr_Occurred()) SWIG_fail
;
15798 Py_INCREF(Py_None
); resultobj
= Py_None
;
15805 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15806 PyObject
*resultobj
;
15807 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15812 int arg6
= (int) wxSIZE_AUTO
;
15813 PyObject
* obj0
= 0 ;
15814 PyObject
* obj1
= 0 ;
15815 PyObject
* obj2
= 0 ;
15816 PyObject
* obj3
= 0 ;
15817 PyObject
* obj4
= 0 ;
15818 PyObject
* obj5
= 0 ;
15819 char *kwnames
[] = {
15820 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15826 arg2
= (int)SWIG_As_int(obj1
);
15827 if (PyErr_Occurred()) SWIG_fail
;
15828 arg3
= (int)SWIG_As_int(obj2
);
15829 if (PyErr_Occurred()) SWIG_fail
;
15830 arg4
= (int)SWIG_As_int(obj3
);
15831 if (PyErr_Occurred()) SWIG_fail
;
15832 arg5
= (int)SWIG_As_int(obj4
);
15833 if (PyErr_Occurred()) SWIG_fail
;
15835 arg6
= (int)SWIG_As_int(obj5
);
15836 if (PyErr_Occurred()) SWIG_fail
;
15839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15840 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15842 wxPyEndAllowThreads(__tstate
);
15843 if (PyErr_Occurred()) SWIG_fail
;
15845 Py_INCREF(Py_None
); resultobj
= Py_None
;
15852 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15853 PyObject
*resultobj
;
15854 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15857 PyObject
* obj0
= 0 ;
15858 PyObject
* obj1
= 0 ;
15859 PyObject
* obj2
= 0 ;
15860 char *kwnames
[] = {
15861 (char *) "self",(char *) "width",(char *) "height", NULL
15864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15867 arg2
= (int)SWIG_As_int(obj1
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15869 arg3
= (int)SWIG_As_int(obj2
);
15870 if (PyErr_Occurred()) SWIG_fail
;
15872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15873 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15875 wxPyEndAllowThreads(__tstate
);
15876 if (PyErr_Occurred()) SWIG_fail
;
15878 Py_INCREF(Py_None
); resultobj
= Py_None
;
15885 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15886 PyObject
*resultobj
;
15887 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15890 PyObject
* obj0
= 0 ;
15891 PyObject
* obj1
= 0 ;
15892 PyObject
* obj2
= 0 ;
15893 char *kwnames
[] = {
15894 (char *) "self",(char *) "x",(char *) "y", NULL
15897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15900 arg2
= (int)SWIG_As_int(obj1
);
15901 if (PyErr_Occurred()) SWIG_fail
;
15902 arg3
= (int)SWIG_As_int(obj2
);
15903 if (PyErr_Occurred()) SWIG_fail
;
15905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15906 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15908 wxPyEndAllowThreads(__tstate
);
15909 if (PyErr_Occurred()) SWIG_fail
;
15911 Py_INCREF(Py_None
); resultobj
= Py_None
;
15918 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15919 PyObject
*resultobj
;
15920 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15921 int *arg2
= (int *) 0 ;
15922 int *arg3
= (int *) 0 ;
15927 PyObject
* obj0
= 0 ;
15928 char *kwnames
[] = {
15929 (char *) "self", NULL
15932 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15933 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15939 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15941 wxPyEndAllowThreads(__tstate
);
15942 if (PyErr_Occurred()) SWIG_fail
;
15944 Py_INCREF(Py_None
); resultobj
= Py_None
;
15945 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15946 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15947 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15948 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15955 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15956 PyObject
*resultobj
;
15957 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15958 int *arg2
= (int *) 0 ;
15959 int *arg3
= (int *) 0 ;
15964 PyObject
* obj0
= 0 ;
15965 char *kwnames
[] = {
15966 (char *) "self", NULL
15969 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15970 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15976 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15978 wxPyEndAllowThreads(__tstate
);
15979 if (PyErr_Occurred()) SWIG_fail
;
15981 Py_INCREF(Py_None
); resultobj
= Py_None
;
15982 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15983 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15984 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15985 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15992 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15993 PyObject
*resultobj
;
15994 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15995 int *arg2
= (int *) 0 ;
15996 int *arg3
= (int *) 0 ;
16001 PyObject
* obj0
= 0 ;
16002 char *kwnames
[] = {
16003 (char *) "self", NULL
16006 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16007 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16013 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16015 wxPyEndAllowThreads(__tstate
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16018 Py_INCREF(Py_None
); resultobj
= Py_None
;
16019 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16020 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16021 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16022 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16029 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16030 PyObject
*resultobj
;
16031 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16033 PyObject
* obj0
= 0 ;
16034 char *kwnames
[] = {
16035 (char *) "self", NULL
16038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16043 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
16045 wxPyEndAllowThreads(__tstate
);
16046 if (PyErr_Occurred()) SWIG_fail
;
16049 wxSize
* resultptr
;
16050 resultptr
= new wxSize((wxSize
&) result
);
16051 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16059 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16060 PyObject
*resultobj
;
16061 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16063 PyObject
* obj0
= 0 ;
16064 char *kwnames
[] = {
16065 (char *) "self", NULL
16068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16073 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
16075 wxPyEndAllowThreads(__tstate
);
16076 if (PyErr_Occurred()) SWIG_fail
;
16079 wxSize
* resultptr
;
16080 resultptr
= new wxSize((wxSize
&) result
);
16081 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16089 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16090 PyObject
*resultobj
;
16091 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16092 PyObject
* obj0
= 0 ;
16093 char *kwnames
[] = {
16094 (char *) "self", NULL
16097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16102 (arg1
)->base_InitDialog();
16104 wxPyEndAllowThreads(__tstate
);
16105 if (PyErr_Occurred()) SWIG_fail
;
16107 Py_INCREF(Py_None
); resultobj
= Py_None
;
16114 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16115 PyObject
*resultobj
;
16116 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16118 PyObject
* obj0
= 0 ;
16119 char *kwnames
[] = {
16120 (char *) "self", NULL
16123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16128 result
= (bool)(arg1
)->base_TransferDataToWindow();
16130 wxPyEndAllowThreads(__tstate
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16142 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16143 PyObject
*resultobj
;
16144 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16146 PyObject
* obj0
= 0 ;
16147 char *kwnames
[] = {
16148 (char *) "self", NULL
16151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16156 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16158 wxPyEndAllowThreads(__tstate
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16170 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16171 PyObject
*resultobj
;
16172 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16174 PyObject
* obj0
= 0 ;
16175 char *kwnames
[] = {
16176 (char *) "self", NULL
16179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
16180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16184 result
= (bool)(arg1
)->base_Validate();
16186 wxPyEndAllowThreads(__tstate
);
16187 if (PyErr_Occurred()) SWIG_fail
;
16190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16198 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16199 PyObject
*resultobj
;
16200 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16202 PyObject
* obj0
= 0 ;
16203 char *kwnames
[] = {
16204 (char *) "self", NULL
16207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16212 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
16214 wxPyEndAllowThreads(__tstate
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16226 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16227 PyObject
*resultobj
;
16228 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16230 PyObject
* obj0
= 0 ;
16231 char *kwnames
[] = {
16232 (char *) "self", NULL
16235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16240 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16242 wxPyEndAllowThreads(__tstate
);
16243 if (PyErr_Occurred()) SWIG_fail
;
16246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16254 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16255 PyObject
*resultobj
;
16256 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16258 PyObject
* obj0
= 0 ;
16259 char *kwnames
[] = {
16260 (char *) "self", NULL
16263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16268 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
16270 wxPyEndAllowThreads(__tstate
);
16271 if (PyErr_Occurred()) SWIG_fail
;
16274 wxSize
* resultptr
;
16275 resultptr
= new wxSize((wxSize
&) result
);
16276 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16284 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16285 PyObject
*resultobj
;
16286 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16287 wxWindow
*arg2
= (wxWindow
*) 0 ;
16288 PyObject
* obj0
= 0 ;
16289 PyObject
* obj1
= 0 ;
16290 char *kwnames
[] = {
16291 (char *) "self",(char *) "child", NULL
16294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16297 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16301 (arg1
)->base_AddChild(arg2
);
16303 wxPyEndAllowThreads(__tstate
);
16304 if (PyErr_Occurred()) SWIG_fail
;
16306 Py_INCREF(Py_None
); resultobj
= Py_None
;
16313 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16314 PyObject
*resultobj
;
16315 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16316 wxWindow
*arg2
= (wxWindow
*) 0 ;
16317 PyObject
* obj0
= 0 ;
16318 PyObject
* obj1
= 0 ;
16319 char *kwnames
[] = {
16320 (char *) "self",(char *) "child", NULL
16323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16330 (arg1
)->base_RemoveChild(arg2
);
16332 wxPyEndAllowThreads(__tstate
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16335 Py_INCREF(Py_None
); resultobj
= Py_None
;
16342 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16343 PyObject
*resultobj
;
16344 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16346 PyObject
* obj0
= 0 ;
16347 char *kwnames
[] = {
16348 (char *) "self", NULL
16351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16356 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
16358 wxPyEndAllowThreads(__tstate
);
16359 if (PyErr_Occurred()) SWIG_fail
;
16362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16370 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16371 PyObject
*resultobj
;
16372 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16373 wxColour
*arg2
= 0 ;
16375 PyObject
* obj0
= 0 ;
16376 PyObject
* obj1
= 0 ;
16377 char *kwnames
[] = {
16378 (char *) "self",(char *) "c", NULL
16381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16386 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16390 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16392 wxPyEndAllowThreads(__tstate
);
16393 if (PyErr_Occurred()) SWIG_fail
;
16395 Py_INCREF(Py_None
); resultobj
= Py_None
;
16402 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16403 PyObject
*resultobj
;
16404 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16405 wxVisualAttributes result
;
16406 PyObject
* obj0
= 0 ;
16407 char *kwnames
[] = {
16408 (char *) "self", NULL
16411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",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
= (arg1
)->base_GetDefaultAttributes();
16418 wxPyEndAllowThreads(__tstate
);
16419 if (PyErr_Occurred()) SWIG_fail
;
16422 wxVisualAttributes
* resultptr
;
16423 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16424 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16432 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
16434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16435 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16437 return Py_BuildValue((char *)"");
16439 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16440 PyObject
*resultobj
;
16441 wxWindow
*arg1
= (wxWindow
*) 0 ;
16442 int arg2
= (int) (int)-1 ;
16443 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16444 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16445 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16446 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16447 long arg5
= (long) 0 ;
16448 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16449 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16453 bool temp6
= false ;
16454 PyObject
* obj0
= 0 ;
16455 PyObject
* obj1
= 0 ;
16456 PyObject
* obj2
= 0 ;
16457 PyObject
* obj3
= 0 ;
16458 PyObject
* obj4
= 0 ;
16459 PyObject
* obj5
= 0 ;
16460 char *kwnames
[] = {
16461 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16468 arg2
= (int)SWIG_As_int(obj1
);
16469 if (PyErr_Occurred()) SWIG_fail
;
16474 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16480 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16484 arg5
= (long)SWIG_As_long(obj4
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16489 arg6
= wxString_in_helper(obj5
);
16490 if (arg6
== NULL
) SWIG_fail
;
16495 if (!wxPyCheckForApp()) SWIG_fail
;
16496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16497 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16499 wxPyEndAllowThreads(__tstate
);
16500 if (PyErr_Occurred()) SWIG_fail
;
16502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16517 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16518 PyObject
*resultobj
;
16520 char *kwnames
[] = {
16524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16526 if (!wxPyCheckForApp()) SWIG_fail
;
16527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16528 result
= (wxPyPanel
*)new wxPyPanel();
16530 wxPyEndAllowThreads(__tstate
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16540 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16541 PyObject
*resultobj
;
16542 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16543 PyObject
*arg2
= (PyObject
*) 0 ;
16544 PyObject
*arg3
= (PyObject
*) 0 ;
16545 PyObject
* obj0
= 0 ;
16546 PyObject
* obj1
= 0 ;
16547 PyObject
* obj2
= 0 ;
16548 char *kwnames
[] = {
16549 (char *) "self",(char *) "self",(char *) "_class", NULL
16552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16559 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16561 wxPyEndAllowThreads(__tstate
);
16562 if (PyErr_Occurred()) SWIG_fail
;
16564 Py_INCREF(Py_None
); resultobj
= Py_None
;
16571 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16572 PyObject
*resultobj
;
16573 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16576 PyObject
* obj0
= 0 ;
16577 PyObject
* obj1
= 0 ;
16578 char *kwnames
[] = {
16579 (char *) "self",(char *) "size", NULL
16582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16587 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16591 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16593 wxPyEndAllowThreads(__tstate
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16596 Py_INCREF(Py_None
); resultobj
= Py_None
;
16603 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16610 PyObject
* obj0
= 0 ;
16611 PyObject
* obj1
= 0 ;
16612 PyObject
* obj2
= 0 ;
16613 PyObject
* obj3
= 0 ;
16614 PyObject
* obj4
= 0 ;
16615 char *kwnames
[] = {
16616 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16622 arg2
= (int)SWIG_As_int(obj1
);
16623 if (PyErr_Occurred()) SWIG_fail
;
16624 arg3
= (int)SWIG_As_int(obj2
);
16625 if (PyErr_Occurred()) SWIG_fail
;
16626 arg4
= (int)SWIG_As_int(obj3
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16628 arg5
= (int)SWIG_As_int(obj4
);
16629 if (PyErr_Occurred()) SWIG_fail
;
16631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16632 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16634 wxPyEndAllowThreads(__tstate
);
16635 if (PyErr_Occurred()) SWIG_fail
;
16637 Py_INCREF(Py_None
); resultobj
= Py_None
;
16644 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16645 PyObject
*resultobj
;
16646 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16651 int arg6
= (int) wxSIZE_AUTO
;
16652 PyObject
* obj0
= 0 ;
16653 PyObject
* obj1
= 0 ;
16654 PyObject
* obj2
= 0 ;
16655 PyObject
* obj3
= 0 ;
16656 PyObject
* obj4
= 0 ;
16657 PyObject
* obj5
= 0 ;
16658 char *kwnames
[] = {
16659 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16665 arg2
= (int)SWIG_As_int(obj1
);
16666 if (PyErr_Occurred()) SWIG_fail
;
16667 arg3
= (int)SWIG_As_int(obj2
);
16668 if (PyErr_Occurred()) SWIG_fail
;
16669 arg4
= (int)SWIG_As_int(obj3
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16671 arg5
= (int)SWIG_As_int(obj4
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16674 arg6
= (int)SWIG_As_int(obj5
);
16675 if (PyErr_Occurred()) SWIG_fail
;
16678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16679 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16681 wxPyEndAllowThreads(__tstate
);
16682 if (PyErr_Occurred()) SWIG_fail
;
16684 Py_INCREF(Py_None
); resultobj
= Py_None
;
16691 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16692 PyObject
*resultobj
;
16693 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16696 PyObject
* obj0
= 0 ;
16697 PyObject
* obj1
= 0 ;
16698 PyObject
* obj2
= 0 ;
16699 char *kwnames
[] = {
16700 (char *) "self",(char *) "width",(char *) "height", NULL
16703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16706 arg2
= (int)SWIG_As_int(obj1
);
16707 if (PyErr_Occurred()) SWIG_fail
;
16708 arg3
= (int)SWIG_As_int(obj2
);
16709 if (PyErr_Occurred()) SWIG_fail
;
16711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16712 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16714 wxPyEndAllowThreads(__tstate
);
16715 if (PyErr_Occurred()) SWIG_fail
;
16717 Py_INCREF(Py_None
); resultobj
= Py_None
;
16724 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16725 PyObject
*resultobj
;
16726 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16729 PyObject
* obj0
= 0 ;
16730 PyObject
* obj1
= 0 ;
16731 PyObject
* obj2
= 0 ;
16732 char *kwnames
[] = {
16733 (char *) "self",(char *) "x",(char *) "y", NULL
16736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16739 arg2
= (int)SWIG_As_int(obj1
);
16740 if (PyErr_Occurred()) SWIG_fail
;
16741 arg3
= (int)SWIG_As_int(obj2
);
16742 if (PyErr_Occurred()) SWIG_fail
;
16744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16745 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16747 wxPyEndAllowThreads(__tstate
);
16748 if (PyErr_Occurred()) SWIG_fail
;
16750 Py_INCREF(Py_None
); resultobj
= Py_None
;
16757 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16758 PyObject
*resultobj
;
16759 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16760 int *arg2
= (int *) 0 ;
16761 int *arg3
= (int *) 0 ;
16766 PyObject
* obj0
= 0 ;
16767 char *kwnames
[] = {
16768 (char *) "self", NULL
16771 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16772 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16778 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16780 wxPyEndAllowThreads(__tstate
);
16781 if (PyErr_Occurred()) SWIG_fail
;
16783 Py_INCREF(Py_None
); resultobj
= Py_None
;
16784 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16785 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16786 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16787 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16794 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16795 PyObject
*resultobj
;
16796 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16797 int *arg2
= (int *) 0 ;
16798 int *arg3
= (int *) 0 ;
16803 PyObject
* obj0
= 0 ;
16804 char *kwnames
[] = {
16805 (char *) "self", NULL
16808 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16809 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16815 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16817 wxPyEndAllowThreads(__tstate
);
16818 if (PyErr_Occurred()) SWIG_fail
;
16820 Py_INCREF(Py_None
); resultobj
= Py_None
;
16821 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16822 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16823 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16824 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16831 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16832 PyObject
*resultobj
;
16833 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16834 int *arg2
= (int *) 0 ;
16835 int *arg3
= (int *) 0 ;
16840 PyObject
* obj0
= 0 ;
16841 char *kwnames
[] = {
16842 (char *) "self", NULL
16845 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16846 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16852 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16854 wxPyEndAllowThreads(__tstate
);
16855 if (PyErr_Occurred()) SWIG_fail
;
16857 Py_INCREF(Py_None
); resultobj
= Py_None
;
16858 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16859 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16860 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16861 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16868 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16869 PyObject
*resultobj
;
16870 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16872 PyObject
* obj0
= 0 ;
16873 char *kwnames
[] = {
16874 (char *) "self", NULL
16877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16882 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16884 wxPyEndAllowThreads(__tstate
);
16885 if (PyErr_Occurred()) SWIG_fail
;
16888 wxSize
* resultptr
;
16889 resultptr
= new wxSize((wxSize
&) result
);
16890 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16898 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16899 PyObject
*resultobj
;
16900 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16902 PyObject
* obj0
= 0 ;
16903 char *kwnames
[] = {
16904 (char *) "self", NULL
16907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16912 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16914 wxPyEndAllowThreads(__tstate
);
16915 if (PyErr_Occurred()) SWIG_fail
;
16918 wxSize
* resultptr
;
16919 resultptr
= new wxSize((wxSize
&) result
);
16920 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16928 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16929 PyObject
*resultobj
;
16930 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16931 PyObject
* obj0
= 0 ;
16932 char *kwnames
[] = {
16933 (char *) "self", NULL
16936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16941 (arg1
)->base_InitDialog();
16943 wxPyEndAllowThreads(__tstate
);
16944 if (PyErr_Occurred()) SWIG_fail
;
16946 Py_INCREF(Py_None
); resultobj
= Py_None
;
16953 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16954 PyObject
*resultobj
;
16955 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16957 PyObject
* obj0
= 0 ;
16958 char *kwnames
[] = {
16959 (char *) "self", NULL
16962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16967 result
= (bool)(arg1
)->base_TransferDataToWindow();
16969 wxPyEndAllowThreads(__tstate
);
16970 if (PyErr_Occurred()) SWIG_fail
;
16973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16981 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16982 PyObject
*resultobj
;
16983 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16985 PyObject
* obj0
= 0 ;
16986 char *kwnames
[] = {
16987 (char *) "self", NULL
16990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16995 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16997 wxPyEndAllowThreads(__tstate
);
16998 if (PyErr_Occurred()) SWIG_fail
;
17001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17009 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17010 PyObject
*resultobj
;
17011 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17013 PyObject
* obj0
= 0 ;
17014 char *kwnames
[] = {
17015 (char *) "self", NULL
17018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
17019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17023 result
= (bool)(arg1
)->base_Validate();
17025 wxPyEndAllowThreads(__tstate
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17037 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17038 PyObject
*resultobj
;
17039 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17041 PyObject
* obj0
= 0 ;
17042 char *kwnames
[] = {
17043 (char *) "self", NULL
17046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17051 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
17053 wxPyEndAllowThreads(__tstate
);
17054 if (PyErr_Occurred()) SWIG_fail
;
17057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17065 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17066 PyObject
*resultobj
;
17067 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17069 PyObject
* obj0
= 0 ;
17070 char *kwnames
[] = {
17071 (char *) "self", NULL
17074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17079 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17081 wxPyEndAllowThreads(__tstate
);
17082 if (PyErr_Occurred()) SWIG_fail
;
17085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17093 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17094 PyObject
*resultobj
;
17095 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17097 PyObject
* obj0
= 0 ;
17098 char *kwnames
[] = {
17099 (char *) "self", NULL
17102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17107 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
17109 wxPyEndAllowThreads(__tstate
);
17110 if (PyErr_Occurred()) SWIG_fail
;
17113 wxSize
* resultptr
;
17114 resultptr
= new wxSize((wxSize
&) result
);
17115 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17123 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17124 PyObject
*resultobj
;
17125 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17126 wxWindow
*arg2
= (wxWindow
*) 0 ;
17127 PyObject
* obj0
= 0 ;
17128 PyObject
* obj1
= 0 ;
17129 char *kwnames
[] = {
17130 (char *) "self",(char *) "child", NULL
17133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17136 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17140 (arg1
)->base_AddChild(arg2
);
17142 wxPyEndAllowThreads(__tstate
);
17143 if (PyErr_Occurred()) SWIG_fail
;
17145 Py_INCREF(Py_None
); resultobj
= Py_None
;
17152 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17153 PyObject
*resultobj
;
17154 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17155 wxWindow
*arg2
= (wxWindow
*) 0 ;
17156 PyObject
* obj0
= 0 ;
17157 PyObject
* obj1
= 0 ;
17158 char *kwnames
[] = {
17159 (char *) "self",(char *) "child", NULL
17162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17165 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17169 (arg1
)->base_RemoveChild(arg2
);
17171 wxPyEndAllowThreads(__tstate
);
17172 if (PyErr_Occurred()) SWIG_fail
;
17174 Py_INCREF(Py_None
); resultobj
= Py_None
;
17181 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17182 PyObject
*resultobj
;
17183 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17185 PyObject
* obj0
= 0 ;
17186 char *kwnames
[] = {
17187 (char *) "self", NULL
17190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17195 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
17197 wxPyEndAllowThreads(__tstate
);
17198 if (PyErr_Occurred()) SWIG_fail
;
17201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17209 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17210 PyObject
*resultobj
;
17211 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17212 wxColour
*arg2
= 0 ;
17214 PyObject
* obj0
= 0 ;
17215 PyObject
* obj1
= 0 ;
17216 char *kwnames
[] = {
17217 (char *) "self",(char *) "c", NULL
17220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17225 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17229 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17231 wxPyEndAllowThreads(__tstate
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17234 Py_INCREF(Py_None
); resultobj
= Py_None
;
17241 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17242 PyObject
*resultobj
;
17243 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17244 wxVisualAttributes result
;
17245 PyObject
* obj0
= 0 ;
17246 char *kwnames
[] = {
17247 (char *) "self", NULL
17250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",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
= (arg1
)->base_GetDefaultAttributes();
17257 wxPyEndAllowThreads(__tstate
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17261 wxVisualAttributes
* resultptr
;
17262 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17271 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
17273 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17274 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
17276 return Py_BuildValue((char *)"");
17278 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17279 PyObject
*resultobj
;
17280 wxWindow
*arg1
= (wxWindow
*) 0 ;
17281 int arg2
= (int) (int)-1 ;
17282 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17283 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17284 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17285 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17286 long arg5
= (long) 0 ;
17287 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17288 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17289 wxPyScrolledWindow
*result
;
17292 bool temp6
= false ;
17293 PyObject
* obj0
= 0 ;
17294 PyObject
* obj1
= 0 ;
17295 PyObject
* obj2
= 0 ;
17296 PyObject
* obj3
= 0 ;
17297 PyObject
* obj4
= 0 ;
17298 PyObject
* obj5
= 0 ;
17299 char *kwnames
[] = {
17300 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17307 arg2
= (int)SWIG_As_int(obj1
);
17308 if (PyErr_Occurred()) SWIG_fail
;
17313 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17319 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17323 arg5
= (long)SWIG_As_long(obj4
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17328 arg6
= wxString_in_helper(obj5
);
17329 if (arg6
== NULL
) SWIG_fail
;
17334 if (!wxPyCheckForApp()) SWIG_fail
;
17335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17336 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17338 wxPyEndAllowThreads(__tstate
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17356 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17357 PyObject
*resultobj
;
17358 wxPyScrolledWindow
*result
;
17359 char *kwnames
[] = {
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
17365 if (!wxPyCheckForApp()) SWIG_fail
;
17366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17367 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
17369 wxPyEndAllowThreads(__tstate
);
17370 if (PyErr_Occurred()) SWIG_fail
;
17372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17379 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17380 PyObject
*resultobj
;
17381 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17382 PyObject
*arg2
= (PyObject
*) 0 ;
17383 PyObject
*arg3
= (PyObject
*) 0 ;
17384 PyObject
* obj0
= 0 ;
17385 PyObject
* obj1
= 0 ;
17386 PyObject
* obj2
= 0 ;
17387 char *kwnames
[] = {
17388 (char *) "self",(char *) "self",(char *) "_class", NULL
17391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17398 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17400 wxPyEndAllowThreads(__tstate
);
17401 if (PyErr_Occurred()) SWIG_fail
;
17403 Py_INCREF(Py_None
); resultobj
= Py_None
;
17410 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17411 PyObject
*resultobj
;
17412 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17415 PyObject
* obj0
= 0 ;
17416 PyObject
* obj1
= 0 ;
17417 char *kwnames
[] = {
17418 (char *) "self",(char *) "size", NULL
17421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17426 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17430 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17432 wxPyEndAllowThreads(__tstate
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17435 Py_INCREF(Py_None
); resultobj
= Py_None
;
17442 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17443 PyObject
*resultobj
;
17444 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17449 PyObject
* obj0
= 0 ;
17450 PyObject
* obj1
= 0 ;
17451 PyObject
* obj2
= 0 ;
17452 PyObject
* obj3
= 0 ;
17453 PyObject
* obj4
= 0 ;
17454 char *kwnames
[] = {
17455 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17461 arg2
= (int)SWIG_As_int(obj1
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17463 arg3
= (int)SWIG_As_int(obj2
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17465 arg4
= (int)SWIG_As_int(obj3
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17467 arg5
= (int)SWIG_As_int(obj4
);
17468 if (PyErr_Occurred()) SWIG_fail
;
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17471 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17476 Py_INCREF(Py_None
); resultobj
= Py_None
;
17483 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17484 PyObject
*resultobj
;
17485 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17490 int arg6
= (int) wxSIZE_AUTO
;
17491 PyObject
* obj0
= 0 ;
17492 PyObject
* obj1
= 0 ;
17493 PyObject
* obj2
= 0 ;
17494 PyObject
* obj3
= 0 ;
17495 PyObject
* obj4
= 0 ;
17496 PyObject
* obj5
= 0 ;
17497 char *kwnames
[] = {
17498 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17504 arg2
= (int)SWIG_As_int(obj1
);
17505 if (PyErr_Occurred()) SWIG_fail
;
17506 arg3
= (int)SWIG_As_int(obj2
);
17507 if (PyErr_Occurred()) SWIG_fail
;
17508 arg4
= (int)SWIG_As_int(obj3
);
17509 if (PyErr_Occurred()) SWIG_fail
;
17510 arg5
= (int)SWIG_As_int(obj4
);
17511 if (PyErr_Occurred()) SWIG_fail
;
17513 arg6
= (int)SWIG_As_int(obj5
);
17514 if (PyErr_Occurred()) SWIG_fail
;
17517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17518 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17520 wxPyEndAllowThreads(__tstate
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17523 Py_INCREF(Py_None
); resultobj
= Py_None
;
17530 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17531 PyObject
*resultobj
;
17532 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17535 PyObject
* obj0
= 0 ;
17536 PyObject
* obj1
= 0 ;
17537 PyObject
* obj2
= 0 ;
17538 char *kwnames
[] = {
17539 (char *) "self",(char *) "width",(char *) "height", NULL
17542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17545 arg2
= (int)SWIG_As_int(obj1
);
17546 if (PyErr_Occurred()) SWIG_fail
;
17547 arg3
= (int)SWIG_As_int(obj2
);
17548 if (PyErr_Occurred()) SWIG_fail
;
17550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17551 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17553 wxPyEndAllowThreads(__tstate
);
17554 if (PyErr_Occurred()) SWIG_fail
;
17556 Py_INCREF(Py_None
); resultobj
= Py_None
;
17563 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17564 PyObject
*resultobj
;
17565 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17568 PyObject
* obj0
= 0 ;
17569 PyObject
* obj1
= 0 ;
17570 PyObject
* obj2
= 0 ;
17571 char *kwnames
[] = {
17572 (char *) "self",(char *) "x",(char *) "y", NULL
17575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17578 arg2
= (int)SWIG_As_int(obj1
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17580 arg3
= (int)SWIG_As_int(obj2
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17584 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17586 wxPyEndAllowThreads(__tstate
);
17587 if (PyErr_Occurred()) SWIG_fail
;
17589 Py_INCREF(Py_None
); resultobj
= Py_None
;
17596 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17597 PyObject
*resultobj
;
17598 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17599 int *arg2
= (int *) 0 ;
17600 int *arg3
= (int *) 0 ;
17605 PyObject
* obj0
= 0 ;
17606 char *kwnames
[] = {
17607 (char *) "self", NULL
17610 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17611 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17617 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17619 wxPyEndAllowThreads(__tstate
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17622 Py_INCREF(Py_None
); resultobj
= Py_None
;
17623 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17624 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17625 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17626 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17633 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17634 PyObject
*resultobj
;
17635 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17636 int *arg2
= (int *) 0 ;
17637 int *arg3
= (int *) 0 ;
17642 PyObject
* obj0
= 0 ;
17643 char *kwnames
[] = {
17644 (char *) "self", NULL
17647 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17648 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17654 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17656 wxPyEndAllowThreads(__tstate
);
17657 if (PyErr_Occurred()) SWIG_fail
;
17659 Py_INCREF(Py_None
); resultobj
= Py_None
;
17660 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17661 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17662 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17663 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17670 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17671 PyObject
*resultobj
;
17672 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17673 int *arg2
= (int *) 0 ;
17674 int *arg3
= (int *) 0 ;
17679 PyObject
* obj0
= 0 ;
17680 char *kwnames
[] = {
17681 (char *) "self", NULL
17684 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17685 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17691 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17693 wxPyEndAllowThreads(__tstate
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17696 Py_INCREF(Py_None
); resultobj
= Py_None
;
17697 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17698 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17699 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17700 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17707 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17708 PyObject
*resultobj
;
17709 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17711 PyObject
* obj0
= 0 ;
17712 char *kwnames
[] = {
17713 (char *) "self", NULL
17716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17721 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17723 wxPyEndAllowThreads(__tstate
);
17724 if (PyErr_Occurred()) SWIG_fail
;
17727 wxSize
* resultptr
;
17728 resultptr
= new wxSize((wxSize
&) result
);
17729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17737 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17738 PyObject
*resultobj
;
17739 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17741 PyObject
* obj0
= 0 ;
17742 char *kwnames
[] = {
17743 (char *) "self", NULL
17746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17751 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17753 wxPyEndAllowThreads(__tstate
);
17754 if (PyErr_Occurred()) SWIG_fail
;
17757 wxSize
* resultptr
;
17758 resultptr
= new wxSize((wxSize
&) result
);
17759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17767 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17768 PyObject
*resultobj
;
17769 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17770 PyObject
* obj0
= 0 ;
17771 char *kwnames
[] = {
17772 (char *) "self", NULL
17775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17780 (arg1
)->base_InitDialog();
17782 wxPyEndAllowThreads(__tstate
);
17783 if (PyErr_Occurred()) SWIG_fail
;
17785 Py_INCREF(Py_None
); resultobj
= Py_None
;
17792 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17793 PyObject
*resultobj
;
17794 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17796 PyObject
* obj0
= 0 ;
17797 char *kwnames
[] = {
17798 (char *) "self", NULL
17801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17806 result
= (bool)(arg1
)->base_TransferDataToWindow();
17808 wxPyEndAllowThreads(__tstate
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17820 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17821 PyObject
*resultobj
;
17822 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17824 PyObject
* obj0
= 0 ;
17825 char *kwnames
[] = {
17826 (char *) "self", NULL
17829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17834 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17836 wxPyEndAllowThreads(__tstate
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17848 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17849 PyObject
*resultobj
;
17850 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17852 PyObject
* obj0
= 0 ;
17853 char *kwnames
[] = {
17854 (char *) "self", NULL
17857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17862 result
= (bool)(arg1
)->base_Validate();
17864 wxPyEndAllowThreads(__tstate
);
17865 if (PyErr_Occurred()) SWIG_fail
;
17868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17876 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17877 PyObject
*resultobj
;
17878 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17880 PyObject
* obj0
= 0 ;
17881 char *kwnames
[] = {
17882 (char *) "self", NULL
17885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17890 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17904 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17905 PyObject
*resultobj
;
17906 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17908 PyObject
* obj0
= 0 ;
17909 char *kwnames
[] = {
17910 (char *) "self", NULL
17913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17918 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17920 wxPyEndAllowThreads(__tstate
);
17921 if (PyErr_Occurred()) SWIG_fail
;
17924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17932 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17933 PyObject
*resultobj
;
17934 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17936 PyObject
* obj0
= 0 ;
17937 char *kwnames
[] = {
17938 (char *) "self", NULL
17941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17946 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17948 wxPyEndAllowThreads(__tstate
);
17949 if (PyErr_Occurred()) SWIG_fail
;
17952 wxSize
* resultptr
;
17953 resultptr
= new wxSize((wxSize
&) result
);
17954 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17962 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17963 PyObject
*resultobj
;
17964 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17965 wxWindow
*arg2
= (wxWindow
*) 0 ;
17966 PyObject
* obj0
= 0 ;
17967 PyObject
* obj1
= 0 ;
17968 char *kwnames
[] = {
17969 (char *) "self",(char *) "child", NULL
17972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17975 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17979 (arg1
)->base_AddChild(arg2
);
17981 wxPyEndAllowThreads(__tstate
);
17982 if (PyErr_Occurred()) SWIG_fail
;
17984 Py_INCREF(Py_None
); resultobj
= Py_None
;
17991 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17992 PyObject
*resultobj
;
17993 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17994 wxWindow
*arg2
= (wxWindow
*) 0 ;
17995 PyObject
* obj0
= 0 ;
17996 PyObject
* obj1
= 0 ;
17997 char *kwnames
[] = {
17998 (char *) "self",(char *) "child", NULL
18001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18004 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18008 (arg1
)->base_RemoveChild(arg2
);
18010 wxPyEndAllowThreads(__tstate
);
18011 if (PyErr_Occurred()) SWIG_fail
;
18013 Py_INCREF(Py_None
); resultobj
= Py_None
;
18020 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18021 PyObject
*resultobj
;
18022 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18024 PyObject
* obj0
= 0 ;
18025 char *kwnames
[] = {
18026 (char *) "self", NULL
18029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18034 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
18036 wxPyEndAllowThreads(__tstate
);
18037 if (PyErr_Occurred()) SWIG_fail
;
18040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18048 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18049 PyObject
*resultobj
;
18050 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18051 wxColour
*arg2
= 0 ;
18053 PyObject
* obj0
= 0 ;
18054 PyObject
* obj1
= 0 ;
18055 char *kwnames
[] = {
18056 (char *) "self",(char *) "c", NULL
18059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18064 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18068 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
18070 wxPyEndAllowThreads(__tstate
);
18071 if (PyErr_Occurred()) SWIG_fail
;
18073 Py_INCREF(Py_None
); resultobj
= Py_None
;
18080 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18081 PyObject
*resultobj
;
18082 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18083 wxVisualAttributes result
;
18084 PyObject
* obj0
= 0 ;
18085 char *kwnames
[] = {
18086 (char *) "self", NULL
18089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",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
= (arg1
)->base_GetDefaultAttributes();
18096 wxPyEndAllowThreads(__tstate
);
18097 if (PyErr_Occurred()) SWIG_fail
;
18100 wxVisualAttributes
* resultptr
;
18101 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18102 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18110 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
18112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18113 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
18115 return Py_BuildValue((char *)"");
18117 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
18118 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
18123 static PyObject
*_wrap_PrintoutTitleStr_get() {
18128 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18130 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18137 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
18138 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
18143 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
18148 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18150 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18157 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
18158 PyObject
*resultobj
;
18159 wxPrintData
*result
;
18161 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
18163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18164 result
= (wxPrintData
*)new wxPrintData();
18166 wxPyEndAllowThreads(__tstate
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18176 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
18177 PyObject
*resultobj
;
18178 wxPrintData
*arg1
= 0 ;
18179 wxPrintData
*result
;
18180 PyObject
* obj0
= 0 ;
18182 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
18183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18184 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18186 if (arg1
== NULL
) {
18187 PyErr_SetString(PyExc_TypeError
,"null reference");
18191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18192 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
18194 wxPyEndAllowThreads(__tstate
);
18195 if (PyErr_Occurred()) SWIG_fail
;
18197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18204 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
18209 argc
= PyObject_Length(args
);
18210 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
18211 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18214 return _wrap_new_PrintData__SWIG_0(self
,args
);
18220 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
18228 return _wrap_new_PrintData__SWIG_1(self
,args
);
18232 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintData'");
18237 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18238 PyObject
*resultobj
;
18239 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18240 PyObject
* obj0
= 0 ;
18241 char *kwnames
[] = {
18242 (char *) "self", NULL
18245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
18246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18252 wxPyEndAllowThreads(__tstate
);
18253 if (PyErr_Occurred()) SWIG_fail
;
18255 Py_INCREF(Py_None
); resultobj
= Py_None
;
18262 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18263 PyObject
*resultobj
;
18264 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18266 PyObject
* obj0
= 0 ;
18267 char *kwnames
[] = {
18268 (char *) "self", NULL
18271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18276 result
= (int)(arg1
)->GetNoCopies();
18278 wxPyEndAllowThreads(__tstate
);
18279 if (PyErr_Occurred()) SWIG_fail
;
18281 resultobj
= SWIG_From_int((int)result
);
18288 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18289 PyObject
*resultobj
;
18290 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18292 PyObject
* obj0
= 0 ;
18293 char *kwnames
[] = {
18294 (char *) "self", NULL
18297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
18298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18302 result
= (bool)(arg1
)->GetCollate();
18304 wxPyEndAllowThreads(__tstate
);
18305 if (PyErr_Occurred()) SWIG_fail
;
18308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18316 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18317 PyObject
*resultobj
;
18318 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18320 PyObject
* obj0
= 0 ;
18321 char *kwnames
[] = {
18322 (char *) "self", NULL
18325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
18326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18330 result
= (int)(arg1
)->GetOrientation();
18332 wxPyEndAllowThreads(__tstate
);
18333 if (PyErr_Occurred()) SWIG_fail
;
18335 resultobj
= SWIG_From_int((int)result
);
18342 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18343 PyObject
*resultobj
;
18344 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18346 PyObject
* obj0
= 0 ;
18347 char *kwnames
[] = {
18348 (char *) "self", NULL
18351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
18352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18356 result
= (bool)(arg1
)->Ok();
18358 wxPyEndAllowThreads(__tstate
);
18359 if (PyErr_Occurred()) SWIG_fail
;
18362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18370 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18371 PyObject
*resultobj
;
18372 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18374 PyObject
* obj0
= 0 ;
18375 char *kwnames
[] = {
18376 (char *) "self", NULL
18379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18385 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18386 result
= (wxString
*) &_result_ref
;
18389 wxPyEndAllowThreads(__tstate
);
18390 if (PyErr_Occurred()) SWIG_fail
;
18394 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18396 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18405 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18406 PyObject
*resultobj
;
18407 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18409 PyObject
* obj0
= 0 ;
18410 char *kwnames
[] = {
18411 (char *) "self", NULL
18414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18419 result
= (bool)(arg1
)->GetColour();
18421 wxPyEndAllowThreads(__tstate
);
18422 if (PyErr_Occurred()) SWIG_fail
;
18425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18433 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18434 PyObject
*resultobj
;
18435 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18437 PyObject
* obj0
= 0 ;
18438 char *kwnames
[] = {
18439 (char *) "self", NULL
18442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18447 result
= (int)(arg1
)->GetDuplex();
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18452 resultobj
= SWIG_From_int((int)result
);
18459 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18460 PyObject
*resultobj
;
18461 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18463 PyObject
* obj0
= 0 ;
18464 char *kwnames
[] = {
18465 (char *) "self", NULL
18468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18473 result
= (int)(arg1
)->GetPaperId();
18475 wxPyEndAllowThreads(__tstate
);
18476 if (PyErr_Occurred()) SWIG_fail
;
18478 resultobj
= SWIG_From_int((int)result
);
18485 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18486 PyObject
*resultobj
;
18487 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18489 PyObject
* obj0
= 0 ;
18490 char *kwnames
[] = {
18491 (char *) "self", NULL
18494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18500 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18501 result
= (wxSize
*) &_result_ref
;
18504 wxPyEndAllowThreads(__tstate
);
18505 if (PyErr_Occurred()) SWIG_fail
;
18507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18514 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18515 PyObject
*resultobj
;
18516 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18518 PyObject
* obj0
= 0 ;
18519 char *kwnames
[] = {
18520 (char *) "self", NULL
18523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18528 result
= (int)(arg1
)->GetQuality();
18530 wxPyEndAllowThreads(__tstate
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18533 resultobj
= SWIG_From_int((int)result
);
18540 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18541 PyObject
*resultobj
;
18542 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18544 PyObject
* obj0
= 0 ;
18545 char *kwnames
[] = {
18546 (char *) "self", NULL
18549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
18550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18554 result
= (int)(arg1
)->GetBin();
18556 wxPyEndAllowThreads(__tstate
);
18557 if (PyErr_Occurred()) SWIG_fail
;
18559 resultobj
= SWIG_From_int((int)result
);
18566 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18567 PyObject
*resultobj
;
18568 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18570 PyObject
* obj0
= 0 ;
18571 PyObject
* obj1
= 0 ;
18572 char *kwnames
[] = {
18573 (char *) "self",(char *) "v", NULL
18576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18579 arg2
= (int)SWIG_As_int(obj1
);
18580 if (PyErr_Occurred()) SWIG_fail
;
18582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18583 (arg1
)->SetNoCopies(arg2
);
18585 wxPyEndAllowThreads(__tstate
);
18586 if (PyErr_Occurred()) SWIG_fail
;
18588 Py_INCREF(Py_None
); resultobj
= Py_None
;
18595 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18596 PyObject
*resultobj
;
18597 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18599 PyObject
* obj0
= 0 ;
18600 PyObject
* obj1
= 0 ;
18601 char *kwnames
[] = {
18602 (char *) "self",(char *) "flag", NULL
18605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18608 arg2
= (bool)SWIG_As_bool(obj1
);
18609 if (PyErr_Occurred()) SWIG_fail
;
18611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18612 (arg1
)->SetCollate(arg2
);
18614 wxPyEndAllowThreads(__tstate
);
18615 if (PyErr_Occurred()) SWIG_fail
;
18617 Py_INCREF(Py_None
); resultobj
= Py_None
;
18624 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18625 PyObject
*resultobj
;
18626 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18628 PyObject
* obj0
= 0 ;
18629 PyObject
* obj1
= 0 ;
18630 char *kwnames
[] = {
18631 (char *) "self",(char *) "orient", NULL
18634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18637 arg2
= (int)SWIG_As_int(obj1
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18641 (arg1
)->SetOrientation(arg2
);
18643 wxPyEndAllowThreads(__tstate
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18646 Py_INCREF(Py_None
); resultobj
= Py_None
;
18653 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18654 PyObject
*resultobj
;
18655 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18656 wxString
*arg2
= 0 ;
18657 bool temp2
= false ;
18658 PyObject
* obj0
= 0 ;
18659 PyObject
* obj1
= 0 ;
18660 char *kwnames
[] = {
18661 (char *) "self",(char *) "name", NULL
18664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18668 arg2
= wxString_in_helper(obj1
);
18669 if (arg2
== NULL
) SWIG_fail
;
18673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18674 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18676 wxPyEndAllowThreads(__tstate
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18679 Py_INCREF(Py_None
); resultobj
= Py_None
;
18694 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18695 PyObject
*resultobj
;
18696 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18698 PyObject
* obj0
= 0 ;
18699 PyObject
* obj1
= 0 ;
18700 char *kwnames
[] = {
18701 (char *) "self",(char *) "colour", NULL
18704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18707 arg2
= (bool)SWIG_As_bool(obj1
);
18708 if (PyErr_Occurred()) SWIG_fail
;
18710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18711 (arg1
)->SetColour(arg2
);
18713 wxPyEndAllowThreads(__tstate
);
18714 if (PyErr_Occurred()) SWIG_fail
;
18716 Py_INCREF(Py_None
); resultobj
= Py_None
;
18723 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18724 PyObject
*resultobj
;
18725 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18727 PyObject
* obj0
= 0 ;
18728 PyObject
* obj1
= 0 ;
18729 char *kwnames
[] = {
18730 (char *) "self",(char *) "duplex", NULL
18733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18736 arg2
= (int)SWIG_As_int(obj1
);
18737 if (PyErr_Occurred()) SWIG_fail
;
18739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18740 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18742 wxPyEndAllowThreads(__tstate
);
18743 if (PyErr_Occurred()) SWIG_fail
;
18745 Py_INCREF(Py_None
); resultobj
= Py_None
;
18752 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18753 PyObject
*resultobj
;
18754 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18756 PyObject
* obj0
= 0 ;
18757 PyObject
* obj1
= 0 ;
18758 char *kwnames
[] = {
18759 (char *) "self",(char *) "sizeId", NULL
18762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18765 arg2
= (int)SWIG_As_int(obj1
);
18766 if (PyErr_Occurred()) SWIG_fail
;
18768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18769 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18771 wxPyEndAllowThreads(__tstate
);
18772 if (PyErr_Occurred()) SWIG_fail
;
18774 Py_INCREF(Py_None
); resultobj
= Py_None
;
18781 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18782 PyObject
*resultobj
;
18783 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18786 PyObject
* obj0
= 0 ;
18787 PyObject
* obj1
= 0 ;
18788 char *kwnames
[] = {
18789 (char *) "self",(char *) "sz", NULL
18792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18797 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18801 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18803 wxPyEndAllowThreads(__tstate
);
18804 if (PyErr_Occurred()) SWIG_fail
;
18806 Py_INCREF(Py_None
); resultobj
= Py_None
;
18813 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18814 PyObject
*resultobj
;
18815 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18817 PyObject
* obj0
= 0 ;
18818 PyObject
* obj1
= 0 ;
18819 char *kwnames
[] = {
18820 (char *) "self",(char *) "quality", NULL
18823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18826 arg2
= (int)SWIG_As_int(obj1
);
18827 if (PyErr_Occurred()) SWIG_fail
;
18829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18830 (arg1
)->SetQuality(arg2
);
18832 wxPyEndAllowThreads(__tstate
);
18833 if (PyErr_Occurred()) SWIG_fail
;
18835 Py_INCREF(Py_None
); resultobj
= Py_None
;
18842 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18843 PyObject
*resultobj
;
18844 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18846 PyObject
* obj0
= 0 ;
18847 PyObject
* obj1
= 0 ;
18848 char *kwnames
[] = {
18849 (char *) "self",(char *) "bin", NULL
18852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
18853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18855 arg2
= (int)SWIG_As_int(obj1
);
18856 if (PyErr_Occurred()) SWIG_fail
;
18858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18859 (arg1
)->SetBin((wxPrintBin
)arg2
);
18861 wxPyEndAllowThreads(__tstate
);
18862 if (PyErr_Occurred()) SWIG_fail
;
18864 Py_INCREF(Py_None
); resultobj
= Py_None
;
18871 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18872 PyObject
*resultobj
;
18873 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18875 PyObject
* obj0
= 0 ;
18876 char *kwnames
[] = {
18877 (char *) "self", NULL
18880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18886 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18887 result
= (wxString
*) &_result_ref
;
18890 wxPyEndAllowThreads(__tstate
);
18891 if (PyErr_Occurred()) SWIG_fail
;
18895 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18897 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18906 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18907 PyObject
*resultobj
;
18908 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18910 PyObject
* obj0
= 0 ;
18911 char *kwnames
[] = {
18912 (char *) "self", NULL
18915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18921 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18922 result
= (wxString
*) &_result_ref
;
18925 wxPyEndAllowThreads(__tstate
);
18926 if (PyErr_Occurred()) SWIG_fail
;
18930 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18932 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18941 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18942 PyObject
*resultobj
;
18943 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18945 PyObject
* obj0
= 0 ;
18946 char *kwnames
[] = {
18947 (char *) "self", NULL
18950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18956 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18957 result
= (wxString
*) &_result_ref
;
18960 wxPyEndAllowThreads(__tstate
);
18961 if (PyErr_Occurred()) SWIG_fail
;
18965 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18967 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18976 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18977 PyObject
*resultobj
;
18978 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18980 PyObject
* obj0
= 0 ;
18981 char *kwnames
[] = {
18982 (char *) "self", NULL
18985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18991 wxString
const &_result_ref
= (arg1
)->GetFilename();
18992 result
= (wxString
*) &_result_ref
;
18995 wxPyEndAllowThreads(__tstate
);
18996 if (PyErr_Occurred()) SWIG_fail
;
19000 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19002 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19011 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19012 PyObject
*resultobj
;
19013 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19015 PyObject
* obj0
= 0 ;
19016 char *kwnames
[] = {
19017 (char *) "self", NULL
19020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
19021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19026 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
19027 result
= (wxString
*) &_result_ref
;
19030 wxPyEndAllowThreads(__tstate
);
19031 if (PyErr_Occurred()) SWIG_fail
;
19035 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19037 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19046 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19047 PyObject
*resultobj
;
19048 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19050 PyObject
* obj0
= 0 ;
19051 char *kwnames
[] = {
19052 (char *) "self", NULL
19055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
19056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19060 result
= (double)(arg1
)->GetPrinterScaleX();
19062 wxPyEndAllowThreads(__tstate
);
19063 if (PyErr_Occurred()) SWIG_fail
;
19065 resultobj
= SWIG_From_double((double)result
);
19072 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19073 PyObject
*resultobj
;
19074 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19076 PyObject
* obj0
= 0 ;
19077 char *kwnames
[] = {
19078 (char *) "self", NULL
19081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
19082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19086 result
= (double)(arg1
)->GetPrinterScaleY();
19088 wxPyEndAllowThreads(__tstate
);
19089 if (PyErr_Occurred()) SWIG_fail
;
19091 resultobj
= SWIG_From_double((double)result
);
19098 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19099 PyObject
*resultobj
;
19100 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19102 PyObject
* obj0
= 0 ;
19103 char *kwnames
[] = {
19104 (char *) "self", NULL
19107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
19108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19112 result
= (long)(arg1
)->GetPrinterTranslateX();
19114 wxPyEndAllowThreads(__tstate
);
19115 if (PyErr_Occurred()) SWIG_fail
;
19117 resultobj
= SWIG_From_long((long)result
);
19124 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19125 PyObject
*resultobj
;
19126 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19128 PyObject
* obj0
= 0 ;
19129 char *kwnames
[] = {
19130 (char *) "self", NULL
19133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
19134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19138 result
= (long)(arg1
)->GetPrinterTranslateY();
19140 wxPyEndAllowThreads(__tstate
);
19141 if (PyErr_Occurred()) SWIG_fail
;
19143 resultobj
= SWIG_From_long((long)result
);
19150 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19151 PyObject
*resultobj
;
19152 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19154 PyObject
* obj0
= 0 ;
19155 char *kwnames
[] = {
19156 (char *) "self", NULL
19159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
19160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19164 result
= (int)(arg1
)->GetPrintMode();
19166 wxPyEndAllowThreads(__tstate
);
19167 if (PyErr_Occurred()) SWIG_fail
;
19169 resultobj
= SWIG_From_int((int)result
);
19176 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19177 PyObject
*resultobj
;
19178 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19179 wxString
*arg2
= 0 ;
19180 bool temp2
= false ;
19181 PyObject
* obj0
= 0 ;
19182 PyObject
* obj1
= 0 ;
19183 char *kwnames
[] = {
19184 (char *) "self",(char *) "command", NULL
19187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19191 arg2
= wxString_in_helper(obj1
);
19192 if (arg2
== NULL
) SWIG_fail
;
19196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19197 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
19199 wxPyEndAllowThreads(__tstate
);
19200 if (PyErr_Occurred()) SWIG_fail
;
19202 Py_INCREF(Py_None
); resultobj
= Py_None
;
19217 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19218 PyObject
*resultobj
;
19219 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19220 wxString
*arg2
= 0 ;
19221 bool temp2
= false ;
19222 PyObject
* obj0
= 0 ;
19223 PyObject
* obj1
= 0 ;
19224 char *kwnames
[] = {
19225 (char *) "self",(char *) "options", NULL
19228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
19229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19232 arg2
= wxString_in_helper(obj1
);
19233 if (arg2
== NULL
) SWIG_fail
;
19237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19238 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
19240 wxPyEndAllowThreads(__tstate
);
19241 if (PyErr_Occurred()) SWIG_fail
;
19243 Py_INCREF(Py_None
); resultobj
= Py_None
;
19258 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19259 PyObject
*resultobj
;
19260 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19261 wxString
*arg2
= 0 ;
19262 bool temp2
= false ;
19263 PyObject
* obj0
= 0 ;
19264 PyObject
* obj1
= 0 ;
19265 char *kwnames
[] = {
19266 (char *) "self",(char *) "command", NULL
19269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19273 arg2
= wxString_in_helper(obj1
);
19274 if (arg2
== NULL
) SWIG_fail
;
19278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19279 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
19281 wxPyEndAllowThreads(__tstate
);
19282 if (PyErr_Occurred()) SWIG_fail
;
19284 Py_INCREF(Py_None
); resultobj
= Py_None
;
19299 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19300 PyObject
*resultobj
;
19301 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19302 wxString
*arg2
= 0 ;
19303 bool temp2
= false ;
19304 PyObject
* obj0
= 0 ;
19305 PyObject
* obj1
= 0 ;
19306 char *kwnames
[] = {
19307 (char *) "self",(char *) "filename", NULL
19310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
19311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19314 arg2
= wxString_in_helper(obj1
);
19315 if (arg2
== NULL
) SWIG_fail
;
19319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19320 (arg1
)->SetFilename((wxString
const &)*arg2
);
19322 wxPyEndAllowThreads(__tstate
);
19323 if (PyErr_Occurred()) SWIG_fail
;
19325 Py_INCREF(Py_None
); resultobj
= Py_None
;
19340 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19341 PyObject
*resultobj
;
19342 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19343 wxString
*arg2
= 0 ;
19344 bool temp2
= false ;
19345 PyObject
* obj0
= 0 ;
19346 PyObject
* obj1
= 0 ;
19347 char *kwnames
[] = {
19348 (char *) "self",(char *) "path", NULL
19351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
19352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19355 arg2
= wxString_in_helper(obj1
);
19356 if (arg2
== NULL
) SWIG_fail
;
19360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19361 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
19363 wxPyEndAllowThreads(__tstate
);
19364 if (PyErr_Occurred()) SWIG_fail
;
19366 Py_INCREF(Py_None
); resultobj
= Py_None
;
19381 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19382 PyObject
*resultobj
;
19383 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19385 PyObject
* obj0
= 0 ;
19386 PyObject
* obj1
= 0 ;
19387 char *kwnames
[] = {
19388 (char *) "self",(char *) "x", NULL
19391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
19392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19394 arg2
= (double)SWIG_As_double(obj1
);
19395 if (PyErr_Occurred()) SWIG_fail
;
19397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19398 (arg1
)->SetPrinterScaleX(arg2
);
19400 wxPyEndAllowThreads(__tstate
);
19401 if (PyErr_Occurred()) SWIG_fail
;
19403 Py_INCREF(Py_None
); resultobj
= Py_None
;
19410 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19411 PyObject
*resultobj
;
19412 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19414 PyObject
* obj0
= 0 ;
19415 PyObject
* obj1
= 0 ;
19416 char *kwnames
[] = {
19417 (char *) "self",(char *) "y", NULL
19420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
19421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19423 arg2
= (double)SWIG_As_double(obj1
);
19424 if (PyErr_Occurred()) SWIG_fail
;
19426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19427 (arg1
)->SetPrinterScaleY(arg2
);
19429 wxPyEndAllowThreads(__tstate
);
19430 if (PyErr_Occurred()) SWIG_fail
;
19432 Py_INCREF(Py_None
); resultobj
= Py_None
;
19439 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19440 PyObject
*resultobj
;
19441 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19444 PyObject
* obj0
= 0 ;
19445 PyObject
* obj1
= 0 ;
19446 PyObject
* obj2
= 0 ;
19447 char *kwnames
[] = {
19448 (char *) "self",(char *) "x",(char *) "y", NULL
19451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19454 arg2
= (double)SWIG_As_double(obj1
);
19455 if (PyErr_Occurred()) SWIG_fail
;
19456 arg3
= (double)SWIG_As_double(obj2
);
19457 if (PyErr_Occurred()) SWIG_fail
;
19459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19460 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19462 wxPyEndAllowThreads(__tstate
);
19463 if (PyErr_Occurred()) SWIG_fail
;
19465 Py_INCREF(Py_None
); resultobj
= Py_None
;
19472 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19473 PyObject
*resultobj
;
19474 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19476 PyObject
* obj0
= 0 ;
19477 PyObject
* obj1
= 0 ;
19478 char *kwnames
[] = {
19479 (char *) "self",(char *) "x", NULL
19482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19485 arg2
= (long)SWIG_As_long(obj1
);
19486 if (PyErr_Occurred()) SWIG_fail
;
19488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19489 (arg1
)->SetPrinterTranslateX(arg2
);
19491 wxPyEndAllowThreads(__tstate
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19494 Py_INCREF(Py_None
); resultobj
= Py_None
;
19501 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19502 PyObject
*resultobj
;
19503 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19505 PyObject
* obj0
= 0 ;
19506 PyObject
* obj1
= 0 ;
19507 char *kwnames
[] = {
19508 (char *) "self",(char *) "y", NULL
19511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19514 arg2
= (long)SWIG_As_long(obj1
);
19515 if (PyErr_Occurred()) SWIG_fail
;
19517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19518 (arg1
)->SetPrinterTranslateY(arg2
);
19520 wxPyEndAllowThreads(__tstate
);
19521 if (PyErr_Occurred()) SWIG_fail
;
19523 Py_INCREF(Py_None
); resultobj
= Py_None
;
19530 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19531 PyObject
*resultobj
;
19532 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19535 PyObject
* obj0
= 0 ;
19536 PyObject
* obj1
= 0 ;
19537 PyObject
* obj2
= 0 ;
19538 char *kwnames
[] = {
19539 (char *) "self",(char *) "x",(char *) "y", NULL
19542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19545 arg2
= (long)SWIG_As_long(obj1
);
19546 if (PyErr_Occurred()) SWIG_fail
;
19547 arg3
= (long)SWIG_As_long(obj2
);
19548 if (PyErr_Occurred()) SWIG_fail
;
19550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19551 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19553 wxPyEndAllowThreads(__tstate
);
19554 if (PyErr_Occurred()) SWIG_fail
;
19556 Py_INCREF(Py_None
); resultobj
= Py_None
;
19563 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19564 PyObject
*resultobj
;
19565 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19567 PyObject
* obj0
= 0 ;
19568 PyObject
* obj1
= 0 ;
19569 char *kwnames
[] = {
19570 (char *) "self",(char *) "printMode", NULL
19573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19576 arg2
= (int)SWIG_As_int(obj1
);
19577 if (PyErr_Occurred()) SWIG_fail
;
19579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19580 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19582 wxPyEndAllowThreads(__tstate
);
19583 if (PyErr_Occurred()) SWIG_fail
;
19585 Py_INCREF(Py_None
); resultobj
= Py_None
;
19592 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19593 PyObject
*resultobj
;
19594 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19595 wxOutputStream
*result
;
19596 PyObject
* obj0
= 0 ;
19597 char *kwnames
[] = {
19598 (char *) "self", NULL
19601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
19602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19606 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
19608 wxPyEndAllowThreads(__tstate
);
19609 if (PyErr_Occurred()) SWIG_fail
;
19611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
19618 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19619 PyObject
*resultobj
;
19620 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19621 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
19622 PyObject
* obj0
= 0 ;
19623 PyObject
* obj1
= 0 ;
19624 char *kwnames
[] = {
19625 (char *) "self",(char *) "outputstream", NULL
19628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
19629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19631 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19635 (arg1
)->SetOutputStream(arg2
);
19637 wxPyEndAllowThreads(__tstate
);
19638 if (PyErr_Occurred()) SWIG_fail
;
19640 Py_INCREF(Py_None
); resultobj
= Py_None
;
19647 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
19649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19650 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19652 return Py_BuildValue((char *)"");
19654 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
19655 PyObject
*resultobj
;
19656 wxPageSetupDialogData
*result
;
19658 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
19660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19661 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19663 wxPyEndAllowThreads(__tstate
);
19664 if (PyErr_Occurred()) SWIG_fail
;
19666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19673 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
19674 PyObject
*resultobj
;
19675 wxPageSetupDialogData
*arg1
= 0 ;
19676 wxPageSetupDialogData
*result
;
19677 PyObject
* obj0
= 0 ;
19679 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
19680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19681 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19683 if (arg1
== NULL
) {
19684 PyErr_SetString(PyExc_TypeError
,"null reference");
19688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19689 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
19691 wxPyEndAllowThreads(__tstate
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19701 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
19706 argc
= PyObject_Length(args
);
19707 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19708 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19711 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
19717 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
19725 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
19729 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PageSetupDialogData'");
19734 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19735 PyObject
*resultobj
;
19736 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19737 PyObject
* obj0
= 0 ;
19738 char *kwnames
[] = {
19739 (char *) "self", NULL
19742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19749 wxPyEndAllowThreads(__tstate
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19752 Py_INCREF(Py_None
); resultobj
= Py_None
;
19759 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19760 PyObject
*resultobj
;
19761 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19763 PyObject
* obj0
= 0 ;
19764 PyObject
* obj1
= 0 ;
19765 char *kwnames
[] = {
19766 (char *) "self",(char *) "flag", NULL
19769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19772 arg2
= (bool)SWIG_As_bool(obj1
);
19773 if (PyErr_Occurred()) SWIG_fail
;
19775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19776 (arg1
)->EnableHelp(arg2
);
19778 wxPyEndAllowThreads(__tstate
);
19779 if (PyErr_Occurred()) SWIG_fail
;
19781 Py_INCREF(Py_None
); resultobj
= Py_None
;
19788 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19789 PyObject
*resultobj
;
19790 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19792 PyObject
* obj0
= 0 ;
19793 PyObject
* obj1
= 0 ;
19794 char *kwnames
[] = {
19795 (char *) "self",(char *) "flag", NULL
19798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19801 arg2
= (bool)SWIG_As_bool(obj1
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19805 (arg1
)->EnableMargins(arg2
);
19807 wxPyEndAllowThreads(__tstate
);
19808 if (PyErr_Occurred()) SWIG_fail
;
19810 Py_INCREF(Py_None
); resultobj
= Py_None
;
19817 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19818 PyObject
*resultobj
;
19819 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19821 PyObject
* obj0
= 0 ;
19822 PyObject
* obj1
= 0 ;
19823 char *kwnames
[] = {
19824 (char *) "self",(char *) "flag", NULL
19827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19830 arg2
= (bool)SWIG_As_bool(obj1
);
19831 if (PyErr_Occurred()) SWIG_fail
;
19833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19834 (arg1
)->EnableOrientation(arg2
);
19836 wxPyEndAllowThreads(__tstate
);
19837 if (PyErr_Occurred()) SWIG_fail
;
19839 Py_INCREF(Py_None
); resultobj
= Py_None
;
19846 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19847 PyObject
*resultobj
;
19848 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19850 PyObject
* obj0
= 0 ;
19851 PyObject
* obj1
= 0 ;
19852 char *kwnames
[] = {
19853 (char *) "self",(char *) "flag", NULL
19856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19859 arg2
= (bool)SWIG_As_bool(obj1
);
19860 if (PyErr_Occurred()) SWIG_fail
;
19862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19863 (arg1
)->EnablePaper(arg2
);
19865 wxPyEndAllowThreads(__tstate
);
19866 if (PyErr_Occurred()) SWIG_fail
;
19868 Py_INCREF(Py_None
); resultobj
= Py_None
;
19875 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19876 PyObject
*resultobj
;
19877 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19879 PyObject
* obj0
= 0 ;
19880 PyObject
* obj1
= 0 ;
19881 char *kwnames
[] = {
19882 (char *) "self",(char *) "flag", NULL
19885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19888 arg2
= (bool)SWIG_As_bool(obj1
);
19889 if (PyErr_Occurred()) SWIG_fail
;
19891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19892 (arg1
)->EnablePrinter(arg2
);
19894 wxPyEndAllowThreads(__tstate
);
19895 if (PyErr_Occurred()) SWIG_fail
;
19897 Py_INCREF(Py_None
); resultobj
= Py_None
;
19904 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19905 PyObject
*resultobj
;
19906 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19908 PyObject
* obj0
= 0 ;
19909 char *kwnames
[] = {
19910 (char *) "self", NULL
19913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19918 result
= (bool)(arg1
)->GetDefaultMinMargins();
19920 wxPyEndAllowThreads(__tstate
);
19921 if (PyErr_Occurred()) SWIG_fail
;
19924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19932 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19933 PyObject
*resultobj
;
19934 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19936 PyObject
* obj0
= 0 ;
19937 char *kwnames
[] = {
19938 (char *) "self", NULL
19941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19946 result
= (bool)(arg1
)->GetEnableMargins();
19948 wxPyEndAllowThreads(__tstate
);
19949 if (PyErr_Occurred()) SWIG_fail
;
19952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19960 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19961 PyObject
*resultobj
;
19962 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19964 PyObject
* obj0
= 0 ;
19965 char *kwnames
[] = {
19966 (char *) "self", NULL
19969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19974 result
= (bool)(arg1
)->GetEnableOrientation();
19976 wxPyEndAllowThreads(__tstate
);
19977 if (PyErr_Occurred()) SWIG_fail
;
19980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19988 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19989 PyObject
*resultobj
;
19990 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19992 PyObject
* obj0
= 0 ;
19993 char *kwnames
[] = {
19994 (char *) "self", NULL
19997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20002 result
= (bool)(arg1
)->GetEnablePaper();
20004 wxPyEndAllowThreads(__tstate
);
20005 if (PyErr_Occurred()) SWIG_fail
;
20008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20016 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20017 PyObject
*resultobj
;
20018 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20020 PyObject
* obj0
= 0 ;
20021 char *kwnames
[] = {
20022 (char *) "self", NULL
20025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
20026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20030 result
= (bool)(arg1
)->GetEnablePrinter();
20032 wxPyEndAllowThreads(__tstate
);
20033 if (PyErr_Occurred()) SWIG_fail
;
20036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20044 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20045 PyObject
*resultobj
;
20046 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20048 PyObject
* obj0
= 0 ;
20049 char *kwnames
[] = {
20050 (char *) "self", NULL
20053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20058 result
= (bool)(arg1
)->GetEnableHelp();
20060 wxPyEndAllowThreads(__tstate
);
20061 if (PyErr_Occurred()) SWIG_fail
;
20064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20072 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20073 PyObject
*resultobj
;
20074 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20076 PyObject
* obj0
= 0 ;
20077 char *kwnames
[] = {
20078 (char *) "self", NULL
20081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
20082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20086 result
= (bool)(arg1
)->GetDefaultInfo();
20088 wxPyEndAllowThreads(__tstate
);
20089 if (PyErr_Occurred()) SWIG_fail
;
20092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20100 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20101 PyObject
*resultobj
;
20102 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20104 PyObject
* obj0
= 0 ;
20105 char *kwnames
[] = {
20106 (char *) "self", NULL
20109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20114 result
= (arg1
)->GetMarginTopLeft();
20116 wxPyEndAllowThreads(__tstate
);
20117 if (PyErr_Occurred()) SWIG_fail
;
20120 wxPoint
* resultptr
;
20121 resultptr
= new wxPoint((wxPoint
&) result
);
20122 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20130 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20131 PyObject
*resultobj
;
20132 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20134 PyObject
* obj0
= 0 ;
20135 char *kwnames
[] = {
20136 (char *) "self", NULL
20139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20144 result
= (arg1
)->GetMarginBottomRight();
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20150 wxPoint
* resultptr
;
20151 resultptr
= new wxPoint((wxPoint
&) result
);
20152 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20160 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20161 PyObject
*resultobj
;
20162 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20164 PyObject
* obj0
= 0 ;
20165 char *kwnames
[] = {
20166 (char *) "self", NULL
20169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20174 result
= (arg1
)->GetMinMarginTopLeft();
20176 wxPyEndAllowThreads(__tstate
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20180 wxPoint
* resultptr
;
20181 resultptr
= new wxPoint((wxPoint
&) result
);
20182 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20190 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(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_GetMinMarginBottomRight",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
= (arg1
)->GetMinMarginBottomRight();
20206 wxPyEndAllowThreads(__tstate
);
20207 if (PyErr_Occurred()) SWIG_fail
;
20210 wxPoint
* resultptr
;
20211 resultptr
= new wxPoint((wxPoint
&) result
);
20212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20220 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20221 PyObject
*resultobj
;
20222 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20224 PyObject
* obj0
= 0 ;
20225 char *kwnames
[] = {
20226 (char *) "self", NULL
20229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20234 result
= (int)(arg1
)->GetPaperId();
20236 wxPyEndAllowThreads(__tstate
);
20237 if (PyErr_Occurred()) SWIG_fail
;
20239 resultobj
= SWIG_From_int((int)result
);
20246 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(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_GetPaperSize",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
= (arg1
)->GetPaperSize();
20262 wxPyEndAllowThreads(__tstate
);
20263 if (PyErr_Occurred()) SWIG_fail
;
20266 wxSize
* resultptr
;
20267 resultptr
= new wxSize((wxSize
&) result
);
20268 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20276 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20277 PyObject
*resultobj
;
20278 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20279 wxPrintData
*result
;
20280 PyObject
* obj0
= 0 ;
20281 char *kwnames
[] = {
20282 (char *) "self", NULL
20285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20291 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20292 result
= (wxPrintData
*) &_result_ref
;
20295 wxPyEndAllowThreads(__tstate
);
20296 if (PyErr_Occurred()) SWIG_fail
;
20298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20305 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20306 PyObject
*resultobj
;
20307 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20309 PyObject
* obj0
= 0 ;
20310 char *kwnames
[] = {
20311 (char *) "self", NULL
20314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20319 result
= (bool)(arg1
)->Ok();
20321 wxPyEndAllowThreads(__tstate
);
20322 if (PyErr_Occurred()) SWIG_fail
;
20325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20333 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20334 PyObject
*resultobj
;
20335 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20337 PyObject
* obj0
= 0 ;
20338 PyObject
* obj1
= 0 ;
20339 char *kwnames
[] = {
20340 (char *) "self",(char *) "flag", NULL
20343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
20344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20346 arg2
= (bool)SWIG_As_bool(obj1
);
20347 if (PyErr_Occurred()) SWIG_fail
;
20349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20350 (arg1
)->SetDefaultInfo(arg2
);
20352 wxPyEndAllowThreads(__tstate
);
20353 if (PyErr_Occurred()) SWIG_fail
;
20355 Py_INCREF(Py_None
); resultobj
= Py_None
;
20362 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20363 PyObject
*resultobj
;
20364 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20366 PyObject
* obj0
= 0 ;
20367 PyObject
* obj1
= 0 ;
20368 char *kwnames
[] = {
20369 (char *) "self",(char *) "flag", NULL
20372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20375 arg2
= (bool)SWIG_As_bool(obj1
);
20376 if (PyErr_Occurred()) SWIG_fail
;
20378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20379 (arg1
)->SetDefaultMinMargins(arg2
);
20381 wxPyEndAllowThreads(__tstate
);
20382 if (PyErr_Occurred()) SWIG_fail
;
20384 Py_INCREF(Py_None
); resultobj
= Py_None
;
20391 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20392 PyObject
*resultobj
;
20393 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20394 wxPoint
*arg2
= 0 ;
20396 PyObject
* obj0
= 0 ;
20397 PyObject
* obj1
= 0 ;
20398 char *kwnames
[] = {
20399 (char *) "self",(char *) "pt", NULL
20402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20407 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20411 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
20413 wxPyEndAllowThreads(__tstate
);
20414 if (PyErr_Occurred()) SWIG_fail
;
20416 Py_INCREF(Py_None
); resultobj
= Py_None
;
20423 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20424 PyObject
*resultobj
;
20425 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20426 wxPoint
*arg2
= 0 ;
20428 PyObject
* obj0
= 0 ;
20429 PyObject
* obj1
= 0 ;
20430 char *kwnames
[] = {
20431 (char *) "self",(char *) "pt", NULL
20434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20439 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20443 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20445 wxPyEndAllowThreads(__tstate
);
20446 if (PyErr_Occurred()) SWIG_fail
;
20448 Py_INCREF(Py_None
); resultobj
= Py_None
;
20455 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20456 PyObject
*resultobj
;
20457 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20458 wxPoint
*arg2
= 0 ;
20460 PyObject
* obj0
= 0 ;
20461 PyObject
* obj1
= 0 ;
20462 char *kwnames
[] = {
20463 (char *) "self",(char *) "pt", NULL
20466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20471 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20477 wxPyEndAllowThreads(__tstate
);
20478 if (PyErr_Occurred()) SWIG_fail
;
20480 Py_INCREF(Py_None
); resultobj
= Py_None
;
20487 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20488 PyObject
*resultobj
;
20489 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20490 wxPoint
*arg2
= 0 ;
20492 PyObject
* obj0
= 0 ;
20493 PyObject
* obj1
= 0 ;
20494 char *kwnames
[] = {
20495 (char *) "self",(char *) "pt", NULL
20498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20503 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20507 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20509 wxPyEndAllowThreads(__tstate
);
20510 if (PyErr_Occurred()) SWIG_fail
;
20512 Py_INCREF(Py_None
); resultobj
= Py_None
;
20519 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20520 PyObject
*resultobj
;
20521 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20523 PyObject
* obj0
= 0 ;
20524 PyObject
* obj1
= 0 ;
20525 char *kwnames
[] = {
20526 (char *) "self",(char *) "id", NULL
20529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20532 arg2
= (int)SWIG_As_int(obj1
);
20533 if (PyErr_Occurred()) SWIG_fail
;
20535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20536 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20538 wxPyEndAllowThreads(__tstate
);
20539 if (PyErr_Occurred()) SWIG_fail
;
20541 Py_INCREF(Py_None
); resultobj
= Py_None
;
20548 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20549 PyObject
*resultobj
;
20550 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20553 PyObject
* obj0
= 0 ;
20554 PyObject
* obj1
= 0 ;
20555 char *kwnames
[] = {
20556 (char *) "self",(char *) "size", NULL
20559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20564 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20568 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20570 wxPyEndAllowThreads(__tstate
);
20571 if (PyErr_Occurred()) SWIG_fail
;
20573 Py_INCREF(Py_None
); resultobj
= Py_None
;
20580 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20581 PyObject
*resultobj
;
20582 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20583 wxPrintData
*arg2
= 0 ;
20584 PyObject
* obj0
= 0 ;
20585 PyObject
* obj1
= 0 ;
20586 char *kwnames
[] = {
20587 (char *) "self",(char *) "printData", NULL
20590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20594 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20596 if (arg2
== NULL
) {
20597 PyErr_SetString(PyExc_TypeError
,"null reference");
20601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20602 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20604 wxPyEndAllowThreads(__tstate
);
20605 if (PyErr_Occurred()) SWIG_fail
;
20607 Py_INCREF(Py_None
); resultobj
= Py_None
;
20614 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
20616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20617 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20619 return Py_BuildValue((char *)"");
20621 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20622 PyObject
*resultobj
;
20623 wxWindow
*arg1
= (wxWindow
*) 0 ;
20624 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20625 wxPageSetupDialog
*result
;
20626 PyObject
* obj0
= 0 ;
20627 PyObject
* obj1
= 0 ;
20628 char *kwnames
[] = {
20629 (char *) "parent",(char *) "data", NULL
20632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20640 if (!wxPyCheckForApp()) SWIG_fail
;
20641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20642 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20644 wxPyEndAllowThreads(__tstate
);
20645 if (PyErr_Occurred()) SWIG_fail
;
20647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20654 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20655 PyObject
*resultobj
;
20656 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20657 wxPageSetupDialogData
*result
;
20658 PyObject
* obj0
= 0 ;
20659 char *kwnames
[] = {
20660 (char *) "self", NULL
20663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20669 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20670 result
= (wxPageSetupDialogData
*) &_result_ref
;
20673 wxPyEndAllowThreads(__tstate
);
20674 if (PyErr_Occurred()) SWIG_fail
;
20676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20683 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20684 PyObject
*resultobj
;
20685 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20687 PyObject
* obj0
= 0 ;
20688 char *kwnames
[] = {
20689 (char *) "self", NULL
20692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20697 result
= (int)(arg1
)->ShowModal();
20699 wxPyEndAllowThreads(__tstate
);
20700 if (PyErr_Occurred()) SWIG_fail
;
20702 resultobj
= SWIG_From_int((int)result
);
20709 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
20711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20712 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20714 return Py_BuildValue((char *)"");
20716 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
20717 PyObject
*resultobj
;
20718 wxPrintDialogData
*result
;
20720 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20723 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20725 wxPyEndAllowThreads(__tstate
);
20726 if (PyErr_Occurred()) SWIG_fail
;
20728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20735 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
20736 PyObject
*resultobj
;
20737 wxPrintData
*arg1
= 0 ;
20738 wxPrintDialogData
*result
;
20739 PyObject
* obj0
= 0 ;
20741 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20743 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20745 if (arg1
== NULL
) {
20746 PyErr_SetString(PyExc_TypeError
,"null reference");
20750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20751 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20753 wxPyEndAllowThreads(__tstate
);
20754 if (PyErr_Occurred()) SWIG_fail
;
20756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20763 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20768 argc
= PyObject_Length(args
);
20769 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20770 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20773 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20779 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20787 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20791 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20796 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20797 PyObject
*resultobj
;
20798 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20799 PyObject
* obj0
= 0 ;
20800 char *kwnames
[] = {
20801 (char *) "self", NULL
20804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20811 wxPyEndAllowThreads(__tstate
);
20812 if (PyErr_Occurred()) SWIG_fail
;
20814 Py_INCREF(Py_None
); resultobj
= Py_None
;
20821 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20822 PyObject
*resultobj
;
20823 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20825 PyObject
* obj0
= 0 ;
20826 char *kwnames
[] = {
20827 (char *) "self", NULL
20830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20835 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20837 wxPyEndAllowThreads(__tstate
);
20838 if (PyErr_Occurred()) SWIG_fail
;
20840 resultobj
= SWIG_From_int((int)result
);
20847 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20848 PyObject
*resultobj
;
20849 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20851 PyObject
* obj0
= 0 ;
20852 char *kwnames
[] = {
20853 (char *) "self", NULL
20856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20861 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20863 wxPyEndAllowThreads(__tstate
);
20864 if (PyErr_Occurred()) SWIG_fail
;
20866 resultobj
= SWIG_From_int((int)result
);
20873 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20874 PyObject
*resultobj
;
20875 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20877 PyObject
* obj0
= 0 ;
20878 char *kwnames
[] = {
20879 (char *) "self", NULL
20882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20887 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20889 wxPyEndAllowThreads(__tstate
);
20890 if (PyErr_Occurred()) SWIG_fail
;
20892 resultobj
= SWIG_From_int((int)result
);
20899 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20900 PyObject
*resultobj
;
20901 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20903 PyObject
* obj0
= 0 ;
20904 char *kwnames
[] = {
20905 (char *) "self", NULL
20908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20913 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20915 wxPyEndAllowThreads(__tstate
);
20916 if (PyErr_Occurred()) SWIG_fail
;
20918 resultobj
= SWIG_From_int((int)result
);
20925 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20926 PyObject
*resultobj
;
20927 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20929 PyObject
* obj0
= 0 ;
20930 char *kwnames
[] = {
20931 (char *) "self", NULL
20934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20939 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20941 wxPyEndAllowThreads(__tstate
);
20942 if (PyErr_Occurred()) SWIG_fail
;
20944 resultobj
= SWIG_From_int((int)result
);
20951 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20952 PyObject
*resultobj
;
20953 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20955 PyObject
* obj0
= 0 ;
20956 char *kwnames
[] = {
20957 (char *) "self", NULL
20960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20965 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20967 wxPyEndAllowThreads(__tstate
);
20968 if (PyErr_Occurred()) SWIG_fail
;
20971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20979 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20980 PyObject
*resultobj
;
20981 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20983 PyObject
* obj0
= 0 ;
20984 char *kwnames
[] = {
20985 (char *) "self", NULL
20988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20993 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20995 wxPyEndAllowThreads(__tstate
);
20996 if (PyErr_Occurred()) SWIG_fail
;
20999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21007 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21008 PyObject
*resultobj
;
21009 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21011 PyObject
* obj0
= 0 ;
21012 char *kwnames
[] = {
21013 (char *) "self", NULL
21016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
21017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21021 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
21023 wxPyEndAllowThreads(__tstate
);
21024 if (PyErr_Occurred()) SWIG_fail
;
21027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21035 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21036 PyObject
*resultobj
;
21037 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21039 PyObject
* obj0
= 0 ;
21040 char *kwnames
[] = {
21041 (char *) "self", NULL
21044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
21045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21049 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
21051 wxPyEndAllowThreads(__tstate
);
21052 if (PyErr_Occurred()) SWIG_fail
;
21055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21063 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21064 PyObject
*resultobj
;
21065 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21067 PyObject
* obj0
= 0 ;
21068 char *kwnames
[] = {
21069 (char *) "self", NULL
21072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
21073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21077 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
21079 wxPyEndAllowThreads(__tstate
);
21080 if (PyErr_Occurred()) SWIG_fail
;
21083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21091 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21092 PyObject
*resultobj
;
21093 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21095 PyObject
* obj0
= 0 ;
21096 PyObject
* obj1
= 0 ;
21097 char *kwnames
[] = {
21098 (char *) "self",(char *) "v", NULL
21101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21104 arg2
= (int)SWIG_As_int(obj1
);
21105 if (PyErr_Occurred()) SWIG_fail
;
21107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21108 (arg1
)->SetFromPage(arg2
);
21110 wxPyEndAllowThreads(__tstate
);
21111 if (PyErr_Occurred()) SWIG_fail
;
21113 Py_INCREF(Py_None
); resultobj
= Py_None
;
21120 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21121 PyObject
*resultobj
;
21122 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21124 PyObject
* obj0
= 0 ;
21125 PyObject
* obj1
= 0 ;
21126 char *kwnames
[] = {
21127 (char *) "self",(char *) "v", NULL
21130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21133 arg2
= (int)SWIG_As_int(obj1
);
21134 if (PyErr_Occurred()) SWIG_fail
;
21136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21137 (arg1
)->SetToPage(arg2
);
21139 wxPyEndAllowThreads(__tstate
);
21140 if (PyErr_Occurred()) SWIG_fail
;
21142 Py_INCREF(Py_None
); resultobj
= Py_None
;
21149 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21150 PyObject
*resultobj
;
21151 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21153 PyObject
* obj0
= 0 ;
21154 PyObject
* obj1
= 0 ;
21155 char *kwnames
[] = {
21156 (char *) "self",(char *) "v", NULL
21159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21162 arg2
= (int)SWIG_As_int(obj1
);
21163 if (PyErr_Occurred()) SWIG_fail
;
21165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21166 (arg1
)->SetMinPage(arg2
);
21168 wxPyEndAllowThreads(__tstate
);
21169 if (PyErr_Occurred()) SWIG_fail
;
21171 Py_INCREF(Py_None
); resultobj
= Py_None
;
21178 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21179 PyObject
*resultobj
;
21180 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21182 PyObject
* obj0
= 0 ;
21183 PyObject
* obj1
= 0 ;
21184 char *kwnames
[] = {
21185 (char *) "self",(char *) "v", NULL
21188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21191 arg2
= (int)SWIG_As_int(obj1
);
21192 if (PyErr_Occurred()) SWIG_fail
;
21194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21195 (arg1
)->SetMaxPage(arg2
);
21197 wxPyEndAllowThreads(__tstate
);
21198 if (PyErr_Occurred()) SWIG_fail
;
21200 Py_INCREF(Py_None
); resultobj
= Py_None
;
21207 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21208 PyObject
*resultobj
;
21209 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21211 PyObject
* obj0
= 0 ;
21212 PyObject
* obj1
= 0 ;
21213 char *kwnames
[] = {
21214 (char *) "self",(char *) "v", NULL
21217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21220 arg2
= (int)SWIG_As_int(obj1
);
21221 if (PyErr_Occurred()) SWIG_fail
;
21223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21224 (arg1
)->SetNoCopies(arg2
);
21226 wxPyEndAllowThreads(__tstate
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21229 Py_INCREF(Py_None
); resultobj
= Py_None
;
21236 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21237 PyObject
*resultobj
;
21238 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21240 PyObject
* obj0
= 0 ;
21241 PyObject
* obj1
= 0 ;
21242 char *kwnames
[] = {
21243 (char *) "self",(char *) "flag", NULL
21246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
21247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21249 arg2
= (bool)SWIG_As_bool(obj1
);
21250 if (PyErr_Occurred()) SWIG_fail
;
21252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21253 (arg1
)->SetAllPages(arg2
);
21255 wxPyEndAllowThreads(__tstate
);
21256 if (PyErr_Occurred()) SWIG_fail
;
21258 Py_INCREF(Py_None
); resultobj
= Py_None
;
21265 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21266 PyObject
*resultobj
;
21267 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21269 PyObject
* obj0
= 0 ;
21270 PyObject
* obj1
= 0 ;
21271 char *kwnames
[] = {
21272 (char *) "self",(char *) "flag", NULL
21275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21278 arg2
= (bool)SWIG_As_bool(obj1
);
21279 if (PyErr_Occurred()) SWIG_fail
;
21281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21282 (arg1
)->SetSelection(arg2
);
21284 wxPyEndAllowThreads(__tstate
);
21285 if (PyErr_Occurred()) SWIG_fail
;
21287 Py_INCREF(Py_None
); resultobj
= Py_None
;
21294 static PyObject
*_wrap_PrintDialogData_SetCollate(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_SetCollate",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
)->SetCollate(arg2
);
21313 wxPyEndAllowThreads(__tstate
);
21314 if (PyErr_Occurred()) SWIG_fail
;
21316 Py_INCREF(Py_None
); resultobj
= Py_None
;
21323 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(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 *) "flag", NULL
21333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",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
= (bool)SWIG_As_bool(obj1
);
21337 if (PyErr_Occurred()) SWIG_fail
;
21339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21340 (arg1
)->SetPrintToFile(arg2
);
21342 wxPyEndAllowThreads(__tstate
);
21343 if (PyErr_Occurred()) SWIG_fail
;
21345 Py_INCREF(Py_None
); resultobj
= Py_None
;
21352 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(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 *) "flag", NULL
21362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",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
= (bool)SWIG_As_bool(obj1
);
21366 if (PyErr_Occurred()) SWIG_fail
;
21368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21369 (arg1
)->SetSetupDialog(arg2
);
21371 wxPyEndAllowThreads(__tstate
);
21372 if (PyErr_Occurred()) SWIG_fail
;
21374 Py_INCREF(Py_None
); resultobj
= Py_None
;
21381 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(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 *) "flag", NULL
21391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",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
= (bool)SWIG_As_bool(obj1
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21398 (arg1
)->EnablePrintToFile(arg2
);
21400 wxPyEndAllowThreads(__tstate
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21403 Py_INCREF(Py_None
); resultobj
= Py_None
;
21410 static PyObject
*_wrap_PrintDialogData_EnableSelection(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 *) "flag", NULL
21420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",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
= (bool)SWIG_As_bool(obj1
);
21424 if (PyErr_Occurred()) SWIG_fail
;
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 (arg1
)->EnableSelection(arg2
);
21429 wxPyEndAllowThreads(__tstate
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21432 Py_INCREF(Py_None
); resultobj
= Py_None
;
21439 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(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 *) "flag", NULL
21449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",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
= (bool)SWIG_As_bool(obj1
);
21453 if (PyErr_Occurred()) SWIG_fail
;
21455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21456 (arg1
)->EnablePageNumbers(arg2
);
21458 wxPyEndAllowThreads(__tstate
);
21459 if (PyErr_Occurred()) SWIG_fail
;
21461 Py_INCREF(Py_None
); resultobj
= Py_None
;
21468 static PyObject
*_wrap_PrintDialogData_EnableHelp(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_EnableHelp",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
)->EnableHelp(arg2
);
21487 wxPyEndAllowThreads(__tstate
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21490 Py_INCREF(Py_None
); resultobj
= Py_None
;
21497 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21498 PyObject
*resultobj
;
21499 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21501 PyObject
* obj0
= 0 ;
21502 char *kwnames
[] = {
21503 (char *) "self", NULL
21506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21511 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21513 wxPyEndAllowThreads(__tstate
);
21514 if (PyErr_Occurred()) SWIG_fail
;
21517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21525 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21526 PyObject
*resultobj
;
21527 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21529 PyObject
* obj0
= 0 ;
21530 char *kwnames
[] = {
21531 (char *) "self", NULL
21534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21539 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21541 wxPyEndAllowThreads(__tstate
);
21542 if (PyErr_Occurred()) SWIG_fail
;
21545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21553 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21554 PyObject
*resultobj
;
21555 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21557 PyObject
* obj0
= 0 ;
21558 char *kwnames
[] = {
21559 (char *) "self", NULL
21562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21567 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21569 wxPyEndAllowThreads(__tstate
);
21570 if (PyErr_Occurred()) SWIG_fail
;
21573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21581 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21582 PyObject
*resultobj
;
21583 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21585 PyObject
* obj0
= 0 ;
21586 char *kwnames
[] = {
21587 (char *) "self", NULL
21590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21595 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21597 wxPyEndAllowThreads(__tstate
);
21598 if (PyErr_Occurred()) SWIG_fail
;
21601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21609 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21610 PyObject
*resultobj
;
21611 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21613 PyObject
* obj0
= 0 ;
21614 char *kwnames
[] = {
21615 (char *) "self", NULL
21618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21623 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21625 wxPyEndAllowThreads(__tstate
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21637 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21638 PyObject
*resultobj
;
21639 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21640 wxPrintData
*result
;
21641 PyObject
* obj0
= 0 ;
21642 char *kwnames
[] = {
21643 (char *) "self", NULL
21646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21652 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21653 result
= (wxPrintData
*) &_result_ref
;
21656 wxPyEndAllowThreads(__tstate
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21666 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21667 PyObject
*resultobj
;
21668 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21669 wxPrintData
*arg2
= 0 ;
21670 PyObject
* obj0
= 0 ;
21671 PyObject
* obj1
= 0 ;
21672 char *kwnames
[] = {
21673 (char *) "self",(char *) "printData", NULL
21676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21680 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21682 if (arg2
== NULL
) {
21683 PyErr_SetString(PyExc_TypeError
,"null reference");
21687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21688 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21693 Py_INCREF(Py_None
); resultobj
= Py_None
;
21700 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
21702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21703 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21705 return Py_BuildValue((char *)"");
21707 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21708 PyObject
*resultobj
;
21709 wxWindow
*arg1
= (wxWindow
*) 0 ;
21710 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21711 wxPrintDialog
*result
;
21712 PyObject
* obj0
= 0 ;
21713 PyObject
* obj1
= 0 ;
21714 char *kwnames
[] = {
21715 (char *) "parent",(char *) "data", NULL
21718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21726 if (!wxPyCheckForApp()) SWIG_fail
;
21727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21728 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21730 wxPyEndAllowThreads(__tstate
);
21731 if (PyErr_Occurred()) SWIG_fail
;
21733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21740 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21741 PyObject
*resultobj
;
21742 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21743 wxPrintDialogData
*result
;
21744 PyObject
* obj0
= 0 ;
21745 char *kwnames
[] = {
21746 (char *) "self", NULL
21749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21755 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21756 result
= (wxPrintDialogData
*) &_result_ref
;
21759 wxPyEndAllowThreads(__tstate
);
21760 if (PyErr_Occurred()) SWIG_fail
;
21762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21769 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21770 PyObject
*resultobj
;
21771 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21773 PyObject
* obj0
= 0 ;
21774 char *kwnames
[] = {
21775 (char *) "self", NULL
21778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21783 result
= (wxDC
*)(arg1
)->GetPrintDC();
21785 wxPyEndAllowThreads(__tstate
);
21786 if (PyErr_Occurred()) SWIG_fail
;
21789 resultobj
= wxPyMake_wxObject(result
, 1);
21797 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21798 PyObject
*resultobj
;
21799 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21801 PyObject
* obj0
= 0 ;
21802 char *kwnames
[] = {
21803 (char *) "self", NULL
21806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21811 result
= (int)(arg1
)->ShowModal();
21813 wxPyEndAllowThreads(__tstate
);
21814 if (PyErr_Occurred()) SWIG_fail
;
21816 resultobj
= SWIG_From_int((int)result
);
21823 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
21825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21826 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21828 return Py_BuildValue((char *)"");
21830 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21831 PyObject
*resultobj
;
21832 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21834 PyObject
* obj0
= 0 ;
21835 char *kwnames
[] = {
21836 (char *) "data", NULL
21839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21845 if (!wxPyCheckForApp()) SWIG_fail
;
21846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21847 result
= (wxPrinter
*)new wxPrinter(arg1
);
21849 wxPyEndAllowThreads(__tstate
);
21850 if (PyErr_Occurred()) SWIG_fail
;
21852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21859 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21860 PyObject
*resultobj
;
21861 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21862 PyObject
* obj0
= 0 ;
21863 char *kwnames
[] = {
21864 (char *) "self", NULL
21867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21874 wxPyEndAllowThreads(__tstate
);
21875 if (PyErr_Occurred()) SWIG_fail
;
21877 Py_INCREF(Py_None
); resultobj
= Py_None
;
21884 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21885 PyObject
*resultobj
;
21886 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21887 wxWindow
*arg2
= (wxWindow
*) 0 ;
21888 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21889 PyObject
* obj0
= 0 ;
21890 PyObject
* obj1
= 0 ;
21891 PyObject
* obj2
= 0 ;
21892 char *kwnames
[] = {
21893 (char *) "self",(char *) "parent",(char *) "printout", NULL
21896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21899 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21901 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21905 (arg1
)->CreateAbortWindow(arg2
,arg3
);
21907 wxPyEndAllowThreads(__tstate
);
21908 if (PyErr_Occurred()) SWIG_fail
;
21910 Py_INCREF(Py_None
); resultobj
= Py_None
;
21917 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21918 PyObject
*resultobj
;
21919 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21920 wxPrintDialogData
*result
;
21921 PyObject
* obj0
= 0 ;
21922 char *kwnames
[] = {
21923 (char *) "self", NULL
21926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21932 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21933 result
= (wxPrintDialogData
*) &_result_ref
;
21936 wxPyEndAllowThreads(__tstate
);
21937 if (PyErr_Occurred()) SWIG_fail
;
21939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21946 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21947 PyObject
*resultobj
;
21948 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21949 wxWindow
*arg2
= (wxWindow
*) 0 ;
21950 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21951 int arg4
= (int) true ;
21953 PyObject
* obj0
= 0 ;
21954 PyObject
* obj1
= 0 ;
21955 PyObject
* obj2
= 0 ;
21956 PyObject
* obj3
= 0 ;
21957 char *kwnames
[] = {
21958 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21964 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21966 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21969 arg4
= (int)SWIG_As_int(obj3
);
21970 if (PyErr_Occurred()) SWIG_fail
;
21973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21974 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21976 wxPyEndAllowThreads(__tstate
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21988 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21989 PyObject
*resultobj
;
21990 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21991 wxWindow
*arg2
= (wxWindow
*) 0 ;
21993 PyObject
* obj0
= 0 ;
21994 PyObject
* obj1
= 0 ;
21995 char *kwnames
[] = {
21996 (char *) "self",(char *) "parent", NULL
21999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22002 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22006 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
22008 wxPyEndAllowThreads(__tstate
);
22009 if (PyErr_Occurred()) SWIG_fail
;
22012 resultobj
= wxPyMake_wxObject(result
, 0);
22020 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22021 PyObject
*resultobj
;
22022 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22023 wxWindow
*arg2
= (wxWindow
*) 0 ;
22024 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22025 wxString
*arg4
= 0 ;
22026 bool temp4
= false ;
22027 PyObject
* obj0
= 0 ;
22028 PyObject
* obj1
= 0 ;
22029 PyObject
* obj2
= 0 ;
22030 PyObject
* obj3
= 0 ;
22031 char *kwnames
[] = {
22032 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
22035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22038 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22040 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22043 arg4
= wxString_in_helper(obj3
);
22044 if (arg4
== NULL
) SWIG_fail
;
22048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22049 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
22051 wxPyEndAllowThreads(__tstate
);
22052 if (PyErr_Occurred()) SWIG_fail
;
22054 Py_INCREF(Py_None
); resultobj
= Py_None
;
22069 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22070 PyObject
*resultobj
;
22071 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22072 wxWindow
*arg2
= (wxWindow
*) 0 ;
22074 PyObject
* obj0
= 0 ;
22075 PyObject
* obj1
= 0 ;
22076 char *kwnames
[] = {
22077 (char *) "self",(char *) "parent", NULL
22080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
22081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22087 result
= (bool)(arg1
)->Setup(arg2
);
22089 wxPyEndAllowThreads(__tstate
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22101 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22102 PyObject
*resultobj
;
22103 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22105 PyObject
* obj0
= 0 ;
22106 char *kwnames
[] = {
22107 (char *) "self", NULL
22110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
22111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22115 result
= (bool)(arg1
)->GetAbort();
22117 wxPyEndAllowThreads(__tstate
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22129 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22130 PyObject
*resultobj
;
22132 char *kwnames
[] = {
22136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
22138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22139 result
= (int)wxPrinter::GetLastError();
22141 wxPyEndAllowThreads(__tstate
);
22142 if (PyErr_Occurred()) SWIG_fail
;
22144 resultobj
= SWIG_From_int((int)result
);
22151 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
22153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22154 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
22156 return Py_BuildValue((char *)"");
22158 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22159 PyObject
*resultobj
;
22160 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
22161 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22162 wxPyPrintout
*result
;
22163 bool temp1
= false ;
22164 PyObject
* obj0
= 0 ;
22165 char *kwnames
[] = {
22166 (char *) "title", NULL
22169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
22172 arg1
= wxString_in_helper(obj0
);
22173 if (arg1
== NULL
) SWIG_fail
;
22178 if (!wxPyCheckForApp()) SWIG_fail
;
22179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22180 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
22182 wxPyEndAllowThreads(__tstate
);
22183 if (PyErr_Occurred()) SWIG_fail
;
22186 resultobj
= wxPyMake_wxObject(result
, 1);
22202 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22203 PyObject
*resultobj
;
22204 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22205 PyObject
*arg2
= (PyObject
*) 0 ;
22206 PyObject
*arg3
= (PyObject
*) 0 ;
22207 PyObject
* obj0
= 0 ;
22208 PyObject
* obj1
= 0 ;
22209 PyObject
* obj2
= 0 ;
22210 char *kwnames
[] = {
22211 (char *) "self",(char *) "self",(char *) "_class", NULL
22214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22221 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22223 wxPyEndAllowThreads(__tstate
);
22224 if (PyErr_Occurred()) SWIG_fail
;
22226 Py_INCREF(Py_None
); resultobj
= Py_None
;
22233 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22234 PyObject
*resultobj
;
22235 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22237 PyObject
* obj0
= 0 ;
22238 char *kwnames
[] = {
22239 (char *) "self", NULL
22242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
22243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22247 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
22249 wxPyEndAllowThreads(__tstate
);
22250 if (PyErr_Occurred()) SWIG_fail
;
22254 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22256 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22265 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22266 PyObject
*resultobj
;
22267 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22269 PyObject
* obj0
= 0 ;
22270 char *kwnames
[] = {
22271 (char *) "self", NULL
22274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
22275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22279 result
= (wxDC
*)(arg1
)->GetDC();
22281 wxPyEndAllowThreads(__tstate
);
22282 if (PyErr_Occurred()) SWIG_fail
;
22285 resultobj
= wxPyMake_wxObject(result
, 0);
22293 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22294 PyObject
*resultobj
;
22295 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22296 wxDC
*arg2
= (wxDC
*) 0 ;
22297 PyObject
* obj0
= 0 ;
22298 PyObject
* obj1
= 0 ;
22299 char *kwnames
[] = {
22300 (char *) "self",(char *) "dc", NULL
22303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22306 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22310 (arg1
)->SetDC(arg2
);
22312 wxPyEndAllowThreads(__tstate
);
22313 if (PyErr_Occurred()) SWIG_fail
;
22315 Py_INCREF(Py_None
); resultobj
= Py_None
;
22322 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22323 PyObject
*resultobj
;
22324 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22327 PyObject
* obj0
= 0 ;
22328 PyObject
* obj1
= 0 ;
22329 PyObject
* obj2
= 0 ;
22330 char *kwnames
[] = {
22331 (char *) "self",(char *) "w",(char *) "h", NULL
22334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22337 arg2
= (int)SWIG_As_int(obj1
);
22338 if (PyErr_Occurred()) SWIG_fail
;
22339 arg3
= (int)SWIG_As_int(obj2
);
22340 if (PyErr_Occurred()) SWIG_fail
;
22342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22343 (arg1
)->SetPageSizePixels(arg2
,arg3
);
22345 wxPyEndAllowThreads(__tstate
);
22346 if (PyErr_Occurred()) SWIG_fail
;
22348 Py_INCREF(Py_None
); resultobj
= Py_None
;
22355 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22356 PyObject
*resultobj
;
22357 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22358 int *arg2
= (int *) 0 ;
22359 int *arg3
= (int *) 0 ;
22364 PyObject
* obj0
= 0 ;
22365 char *kwnames
[] = {
22366 (char *) "self", NULL
22369 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22370 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
22372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22376 (arg1
)->GetPageSizePixels(arg2
,arg3
);
22378 wxPyEndAllowThreads(__tstate
);
22379 if (PyErr_Occurred()) SWIG_fail
;
22381 Py_INCREF(Py_None
); resultobj
= Py_None
;
22382 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22383 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22384 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22385 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22392 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22393 PyObject
*resultobj
;
22394 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22397 PyObject
* obj0
= 0 ;
22398 PyObject
* obj1
= 0 ;
22399 PyObject
* obj2
= 0 ;
22400 char *kwnames
[] = {
22401 (char *) "self",(char *) "w",(char *) "h", NULL
22404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22407 arg2
= (int)SWIG_As_int(obj1
);
22408 if (PyErr_Occurred()) SWIG_fail
;
22409 arg3
= (int)SWIG_As_int(obj2
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22413 (arg1
)->SetPageSizeMM(arg2
,arg3
);
22415 wxPyEndAllowThreads(__tstate
);
22416 if (PyErr_Occurred()) SWIG_fail
;
22418 Py_INCREF(Py_None
); resultobj
= Py_None
;
22425 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22426 PyObject
*resultobj
;
22427 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22428 int *arg2
= (int *) 0 ;
22429 int *arg3
= (int *) 0 ;
22434 PyObject
* obj0
= 0 ;
22435 char *kwnames
[] = {
22436 (char *) "self", NULL
22439 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22440 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22446 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22448 wxPyEndAllowThreads(__tstate
);
22449 if (PyErr_Occurred()) SWIG_fail
;
22451 Py_INCREF(Py_None
); resultobj
= Py_None
;
22452 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22453 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22454 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22455 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22462 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22463 PyObject
*resultobj
;
22464 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22467 PyObject
* obj0
= 0 ;
22468 PyObject
* obj1
= 0 ;
22469 PyObject
* obj2
= 0 ;
22470 char *kwnames
[] = {
22471 (char *) "self",(char *) "x",(char *) "y", NULL
22474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22477 arg2
= (int)SWIG_As_int(obj1
);
22478 if (PyErr_Occurred()) SWIG_fail
;
22479 arg3
= (int)SWIG_As_int(obj2
);
22480 if (PyErr_Occurred()) SWIG_fail
;
22482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22483 (arg1
)->SetPPIScreen(arg2
,arg3
);
22485 wxPyEndAllowThreads(__tstate
);
22486 if (PyErr_Occurred()) SWIG_fail
;
22488 Py_INCREF(Py_None
); resultobj
= Py_None
;
22495 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22496 PyObject
*resultobj
;
22497 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22498 int *arg2
= (int *) 0 ;
22499 int *arg3
= (int *) 0 ;
22504 PyObject
* obj0
= 0 ;
22505 char *kwnames
[] = {
22506 (char *) "self", NULL
22509 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22510 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22516 (arg1
)->GetPPIScreen(arg2
,arg3
);
22518 wxPyEndAllowThreads(__tstate
);
22519 if (PyErr_Occurred()) SWIG_fail
;
22521 Py_INCREF(Py_None
); resultobj
= Py_None
;
22522 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22523 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22524 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22525 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22532 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22533 PyObject
*resultobj
;
22534 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22537 PyObject
* obj0
= 0 ;
22538 PyObject
* obj1
= 0 ;
22539 PyObject
* obj2
= 0 ;
22540 char *kwnames
[] = {
22541 (char *) "self",(char *) "x",(char *) "y", NULL
22544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22547 arg2
= (int)SWIG_As_int(obj1
);
22548 if (PyErr_Occurred()) SWIG_fail
;
22549 arg3
= (int)SWIG_As_int(obj2
);
22550 if (PyErr_Occurred()) SWIG_fail
;
22552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22553 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22555 wxPyEndAllowThreads(__tstate
);
22556 if (PyErr_Occurred()) SWIG_fail
;
22558 Py_INCREF(Py_None
); resultobj
= Py_None
;
22565 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22566 PyObject
*resultobj
;
22567 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22568 int *arg2
= (int *) 0 ;
22569 int *arg3
= (int *) 0 ;
22574 PyObject
* obj0
= 0 ;
22575 char *kwnames
[] = {
22576 (char *) "self", NULL
22579 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22580 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22586 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22588 wxPyEndAllowThreads(__tstate
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22591 Py_INCREF(Py_None
); resultobj
= Py_None
;
22592 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22593 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22594 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22595 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22602 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22603 PyObject
*resultobj
;
22604 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22606 PyObject
* obj0
= 0 ;
22607 char *kwnames
[] = {
22608 (char *) "self", NULL
22611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22616 result
= (bool)(arg1
)->IsPreview();
22618 wxPyEndAllowThreads(__tstate
);
22619 if (PyErr_Occurred()) SWIG_fail
;
22622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22630 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22631 PyObject
*resultobj
;
22632 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22634 PyObject
* obj0
= 0 ;
22635 PyObject
* obj1
= 0 ;
22636 char *kwnames
[] = {
22637 (char *) "self",(char *) "p", NULL
22640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22643 arg2
= (bool)SWIG_As_bool(obj1
);
22644 if (PyErr_Occurred()) SWIG_fail
;
22646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22647 (arg1
)->SetIsPreview(arg2
);
22649 wxPyEndAllowThreads(__tstate
);
22650 if (PyErr_Occurred()) SWIG_fail
;
22652 Py_INCREF(Py_None
); resultobj
= Py_None
;
22659 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22660 PyObject
*resultobj
;
22661 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22665 PyObject
* obj0
= 0 ;
22666 PyObject
* obj1
= 0 ;
22667 PyObject
* obj2
= 0 ;
22668 char *kwnames
[] = {
22669 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22675 arg2
= (int)SWIG_As_int(obj1
);
22676 if (PyErr_Occurred()) SWIG_fail
;
22677 arg3
= (int)SWIG_As_int(obj2
);
22678 if (PyErr_Occurred()) SWIG_fail
;
22680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22681 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22683 wxPyEndAllowThreads(__tstate
);
22684 if (PyErr_Occurred()) SWIG_fail
;
22687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22695 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22696 PyObject
*resultobj
;
22697 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22698 PyObject
* obj0
= 0 ;
22699 char *kwnames
[] = {
22700 (char *) "self", NULL
22703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22708 (arg1
)->base_OnEndDocument();
22710 wxPyEndAllowThreads(__tstate
);
22711 if (PyErr_Occurred()) SWIG_fail
;
22713 Py_INCREF(Py_None
); resultobj
= Py_None
;
22720 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22721 PyObject
*resultobj
;
22722 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22723 PyObject
* obj0
= 0 ;
22724 char *kwnames
[] = {
22725 (char *) "self", NULL
22728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22733 (arg1
)->base_OnBeginPrinting();
22735 wxPyEndAllowThreads(__tstate
);
22736 if (PyErr_Occurred()) SWIG_fail
;
22738 Py_INCREF(Py_None
); resultobj
= Py_None
;
22745 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22746 PyObject
*resultobj
;
22747 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22748 PyObject
* obj0
= 0 ;
22749 char *kwnames
[] = {
22750 (char *) "self", NULL
22753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22758 (arg1
)->base_OnEndPrinting();
22760 wxPyEndAllowThreads(__tstate
);
22761 if (PyErr_Occurred()) SWIG_fail
;
22763 Py_INCREF(Py_None
); resultobj
= Py_None
;
22770 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22771 PyObject
*resultobj
;
22772 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22773 PyObject
* obj0
= 0 ;
22774 char *kwnames
[] = {
22775 (char *) "self", NULL
22778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22783 (arg1
)->base_OnPreparePrinting();
22785 wxPyEndAllowThreads(__tstate
);
22786 if (PyErr_Occurred()) SWIG_fail
;
22788 Py_INCREF(Py_None
); resultobj
= Py_None
;
22795 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22796 PyObject
*resultobj
;
22797 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22800 PyObject
* obj0
= 0 ;
22801 PyObject
* obj1
= 0 ;
22802 char *kwnames
[] = {
22803 (char *) "self",(char *) "page", NULL
22806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22809 arg2
= (int)SWIG_As_int(obj1
);
22810 if (PyErr_Occurred()) SWIG_fail
;
22812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22813 result
= (bool)(arg1
)->base_HasPage(arg2
);
22815 wxPyEndAllowThreads(__tstate
);
22816 if (PyErr_Occurred()) SWIG_fail
;
22819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22827 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22828 PyObject
*resultobj
;
22829 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22830 int *arg2
= (int *) 0 ;
22831 int *arg3
= (int *) 0 ;
22832 int *arg4
= (int *) 0 ;
22833 int *arg5
= (int *) 0 ;
22842 PyObject
* obj0
= 0 ;
22843 char *kwnames
[] = {
22844 (char *) "self", NULL
22847 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22848 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22849 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
22850 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
22851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
22852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22856 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22858 wxPyEndAllowThreads(__tstate
);
22859 if (PyErr_Occurred()) SWIG_fail
;
22861 Py_INCREF(Py_None
); resultobj
= Py_None
;
22862 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22863 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22864 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22865 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22866 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
22867 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
22868 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
22869 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
22876 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
22878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22879 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22881 return Py_BuildValue((char *)"");
22883 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22884 PyObject
*resultobj
;
22885 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22886 wxWindow
*arg2
= (wxWindow
*) 0 ;
22887 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22888 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22889 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22890 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22891 long arg5
= (long) 0 ;
22892 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22893 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22894 wxPreviewCanvas
*result
;
22897 bool temp6
= false ;
22898 PyObject
* obj0
= 0 ;
22899 PyObject
* obj1
= 0 ;
22900 PyObject
* obj2
= 0 ;
22901 PyObject
* obj3
= 0 ;
22902 PyObject
* obj4
= 0 ;
22903 PyObject
* obj5
= 0 ;
22904 char *kwnames
[] = {
22905 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22916 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22922 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22926 arg5
= (long)SWIG_As_long(obj4
);
22927 if (PyErr_Occurred()) SWIG_fail
;
22931 arg6
= wxString_in_helper(obj5
);
22932 if (arg6
== NULL
) SWIG_fail
;
22937 if (!wxPyCheckForApp()) SWIG_fail
;
22938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22939 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22941 wxPyEndAllowThreads(__tstate
);
22942 if (PyErr_Occurred()) SWIG_fail
;
22944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22959 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
22961 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22962 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22964 return Py_BuildValue((char *)"");
22966 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22967 PyObject
*resultobj
;
22968 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22969 wxFrame
*arg2
= (wxFrame
*) 0 ;
22970 wxString
*arg3
= 0 ;
22971 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22972 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22973 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22974 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22975 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22976 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22977 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22978 wxPreviewFrame
*result
;
22979 bool temp3
= false ;
22982 bool temp7
= false ;
22983 PyObject
* obj0
= 0 ;
22984 PyObject
* obj1
= 0 ;
22985 PyObject
* obj2
= 0 ;
22986 PyObject
* obj3
= 0 ;
22987 PyObject
* obj4
= 0 ;
22988 PyObject
* obj5
= 0 ;
22989 PyObject
* obj6
= 0 ;
22990 char *kwnames
[] = {
22991 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23000 arg3
= wxString_in_helper(obj2
);
23001 if (arg3
== NULL
) SWIG_fail
;
23007 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23013 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23017 arg6
= (long)SWIG_As_long(obj5
);
23018 if (PyErr_Occurred()) SWIG_fail
;
23022 arg7
= wxString_in_helper(obj6
);
23023 if (arg7
== NULL
) SWIG_fail
;
23028 if (!wxPyCheckForApp()) SWIG_fail
;
23029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23030 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23032 wxPyEndAllowThreads(__tstate
);
23033 if (PyErr_Occurred()) SWIG_fail
;
23035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
23058 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23059 PyObject
*resultobj
;
23060 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23061 PyObject
* obj0
= 0 ;
23062 char *kwnames
[] = {
23063 (char *) "self", NULL
23066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
23067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23071 (arg1
)->Initialize();
23073 wxPyEndAllowThreads(__tstate
);
23074 if (PyErr_Occurred()) SWIG_fail
;
23076 Py_INCREF(Py_None
); resultobj
= Py_None
;
23083 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23084 PyObject
*resultobj
;
23085 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23086 PyObject
* obj0
= 0 ;
23087 char *kwnames
[] = {
23088 (char *) "self", NULL
23091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
23092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23096 (arg1
)->CreateControlBar();
23098 wxPyEndAllowThreads(__tstate
);
23099 if (PyErr_Occurred()) SWIG_fail
;
23101 Py_INCREF(Py_None
); resultobj
= Py_None
;
23108 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23109 PyObject
*resultobj
;
23110 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23111 PyObject
* obj0
= 0 ;
23112 char *kwnames
[] = {
23113 (char *) "self", NULL
23116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
23117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23121 (arg1
)->CreateCanvas();
23123 wxPyEndAllowThreads(__tstate
);
23124 if (PyErr_Occurred()) SWIG_fail
;
23126 Py_INCREF(Py_None
); resultobj
= Py_None
;
23133 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23134 PyObject
*resultobj
;
23135 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23136 wxPreviewControlBar
*result
;
23137 PyObject
* obj0
= 0 ;
23138 char *kwnames
[] = {
23139 (char *) "self", NULL
23142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
23143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23147 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
23149 wxPyEndAllowThreads(__tstate
);
23150 if (PyErr_Occurred()) SWIG_fail
;
23152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
23159 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
23161 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23162 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
23164 return Py_BuildValue((char *)"");
23166 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23167 PyObject
*resultobj
;
23168 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23170 wxWindow
*arg3
= (wxWindow
*) 0 ;
23171 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23172 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23173 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23174 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23175 long arg6
= (long) wxTAB_TRAVERSAL
;
23176 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
23177 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23178 wxPreviewControlBar
*result
;
23181 bool temp7
= false ;
23182 PyObject
* obj0
= 0 ;
23183 PyObject
* obj1
= 0 ;
23184 PyObject
* obj2
= 0 ;
23185 PyObject
* obj3
= 0 ;
23186 PyObject
* obj4
= 0 ;
23187 PyObject
* obj5
= 0 ;
23188 PyObject
* obj6
= 0 ;
23189 char *kwnames
[] = {
23190 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23196 arg2
= (long)SWIG_As_long(obj1
);
23197 if (PyErr_Occurred()) SWIG_fail
;
23198 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
23199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23203 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23209 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23213 arg6
= (long)SWIG_As_long(obj5
);
23214 if (PyErr_Occurred()) SWIG_fail
;
23218 arg7
= wxString_in_helper(obj6
);
23219 if (arg7
== NULL
) SWIG_fail
;
23224 if (!wxPyCheckForApp()) SWIG_fail
;
23225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23226 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23228 wxPyEndAllowThreads(__tstate
);
23229 if (PyErr_Occurred()) SWIG_fail
;
23231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
23246 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23247 PyObject
*resultobj
;
23248 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23250 PyObject
* obj0
= 0 ;
23251 char *kwnames
[] = {
23252 (char *) "self", NULL
23255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
23256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23260 result
= (int)(arg1
)->GetZoomControl();
23262 wxPyEndAllowThreads(__tstate
);
23263 if (PyErr_Occurred()) SWIG_fail
;
23265 resultobj
= SWIG_From_int((int)result
);
23272 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23273 PyObject
*resultobj
;
23274 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23276 PyObject
* obj0
= 0 ;
23277 PyObject
* obj1
= 0 ;
23278 char *kwnames
[] = {
23279 (char *) "self",(char *) "zoom", NULL
23282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
23283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23285 arg2
= (int)SWIG_As_int(obj1
);
23286 if (PyErr_Occurred()) SWIG_fail
;
23288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23289 (arg1
)->SetZoomControl(arg2
);
23291 wxPyEndAllowThreads(__tstate
);
23292 if (PyErr_Occurred()) SWIG_fail
;
23294 Py_INCREF(Py_None
); resultobj
= Py_None
;
23301 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23302 PyObject
*resultobj
;
23303 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23304 wxPrintPreview
*result
;
23305 PyObject
* obj0
= 0 ;
23306 char *kwnames
[] = {
23307 (char *) "self", NULL
23310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
23311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23315 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
23317 wxPyEndAllowThreads(__tstate
);
23318 if (PyErr_Occurred()) SWIG_fail
;
23320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
23327 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23328 PyObject
*resultobj
;
23329 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23330 PyObject
* obj0
= 0 ;
23331 char *kwnames
[] = {
23332 (char *) "self", NULL
23335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
23336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23342 wxPyEndAllowThreads(__tstate
);
23343 if (PyErr_Occurred()) SWIG_fail
;
23345 Py_INCREF(Py_None
); resultobj
= Py_None
;
23352 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23353 PyObject
*resultobj
;
23354 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23355 PyObject
* obj0
= 0 ;
23356 char *kwnames
[] = {
23357 (char *) "self", NULL
23360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
23361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23365 (arg1
)->OnPrevious();
23367 wxPyEndAllowThreads(__tstate
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23370 Py_INCREF(Py_None
); resultobj
= Py_None
;
23377 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23378 PyObject
*resultobj
;
23379 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23380 PyObject
* obj0
= 0 ;
23381 char *kwnames
[] = {
23382 (char *) "self", NULL
23385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
23386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23392 wxPyEndAllowThreads(__tstate
);
23393 if (PyErr_Occurred()) SWIG_fail
;
23395 Py_INCREF(Py_None
); resultobj
= Py_None
;
23402 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23403 PyObject
*resultobj
;
23404 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23405 PyObject
* obj0
= 0 ;
23406 char *kwnames
[] = {
23407 (char *) "self", NULL
23410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
23411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23417 wxPyEndAllowThreads(__tstate
);
23418 if (PyErr_Occurred()) SWIG_fail
;
23420 Py_INCREF(Py_None
); resultobj
= Py_None
;
23427 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23428 PyObject
*resultobj
;
23429 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23430 PyObject
* obj0
= 0 ;
23431 char *kwnames
[] = {
23432 (char *) "self", NULL
23435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23442 wxPyEndAllowThreads(__tstate
);
23443 if (PyErr_Occurred()) SWIG_fail
;
23445 Py_INCREF(Py_None
); resultobj
= Py_None
;
23452 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
23454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23455 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23457 return Py_BuildValue((char *)"");
23459 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
23460 PyObject
*resultobj
;
23461 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23462 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23463 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23464 wxPrintPreview
*result
;
23465 PyObject
* obj0
= 0 ;
23466 PyObject
* obj1
= 0 ;
23467 PyObject
* obj2
= 0 ;
23469 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23475 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23479 if (!wxPyCheckForApp()) SWIG_fail
;
23480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23481 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23483 wxPyEndAllowThreads(__tstate
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23493 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
23494 PyObject
*resultobj
;
23495 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23496 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23497 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23498 wxPrintPreview
*result
;
23499 PyObject
* obj0
= 0 ;
23500 PyObject
* obj1
= 0 ;
23501 PyObject
* obj2
= 0 ;
23503 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23506 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23508 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23511 if (!wxPyCheckForApp()) SWIG_fail
;
23512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23513 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23515 wxPyEndAllowThreads(__tstate
);
23516 if (PyErr_Occurred()) SWIG_fail
;
23518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23525 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23530 argc
= PyObject_Length(args
);
23531 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23532 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23534 if ((argc
>= 2) && (argc
<= 3)) {
23538 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23548 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23557 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23561 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23569 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23578 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23588 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23598 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23606 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23612 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23617 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23618 PyObject
*resultobj
;
23619 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23622 PyObject
* obj0
= 0 ;
23623 PyObject
* obj1
= 0 ;
23624 char *kwnames
[] = {
23625 (char *) "self",(char *) "pageNum", NULL
23628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23631 arg2
= (int)SWIG_As_int(obj1
);
23632 if (PyErr_Occurred()) SWIG_fail
;
23634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23635 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23637 wxPyEndAllowThreads(__tstate
);
23638 if (PyErr_Occurred()) SWIG_fail
;
23641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23649 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23650 PyObject
*resultobj
;
23651 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23653 PyObject
* obj0
= 0 ;
23654 char *kwnames
[] = {
23655 (char *) "self", NULL
23658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23663 result
= (int)(arg1
)->GetCurrentPage();
23665 wxPyEndAllowThreads(__tstate
);
23666 if (PyErr_Occurred()) SWIG_fail
;
23668 resultobj
= SWIG_From_int((int)result
);
23675 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23676 PyObject
*resultobj
;
23677 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23678 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23679 PyObject
* obj0
= 0 ;
23680 PyObject
* obj1
= 0 ;
23681 char *kwnames
[] = {
23682 (char *) "self",(char *) "printout", NULL
23685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23688 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23692 (arg1
)->SetPrintout(arg2
);
23694 wxPyEndAllowThreads(__tstate
);
23695 if (PyErr_Occurred()) SWIG_fail
;
23697 Py_INCREF(Py_None
); resultobj
= Py_None
;
23704 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23705 PyObject
*resultobj
;
23706 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23707 wxPyPrintout
*result
;
23708 PyObject
* obj0
= 0 ;
23709 char *kwnames
[] = {
23710 (char *) "self", NULL
23713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23718 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23720 wxPyEndAllowThreads(__tstate
);
23721 if (PyErr_Occurred()) SWIG_fail
;
23724 resultobj
= wxPyMake_wxObject(result
, 0);
23732 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23733 PyObject
*resultobj
;
23734 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23735 wxPyPrintout
*result
;
23736 PyObject
* obj0
= 0 ;
23737 char *kwnames
[] = {
23738 (char *) "self", NULL
23741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23746 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23748 wxPyEndAllowThreads(__tstate
);
23749 if (PyErr_Occurred()) SWIG_fail
;
23752 resultobj
= wxPyMake_wxObject(result
, 0);
23760 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23761 PyObject
*resultobj
;
23762 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23763 wxFrame
*arg2
= (wxFrame
*) 0 ;
23764 PyObject
* obj0
= 0 ;
23765 PyObject
* obj1
= 0 ;
23766 char *kwnames
[] = {
23767 (char *) "self",(char *) "frame", NULL
23770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23773 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23777 (arg1
)->SetFrame(arg2
);
23779 wxPyEndAllowThreads(__tstate
);
23780 if (PyErr_Occurred()) SWIG_fail
;
23782 Py_INCREF(Py_None
); resultobj
= Py_None
;
23789 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23790 PyObject
*resultobj
;
23791 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23792 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23793 PyObject
* obj0
= 0 ;
23794 PyObject
* obj1
= 0 ;
23795 char *kwnames
[] = {
23796 (char *) "self",(char *) "canvas", NULL
23799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23802 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23806 (arg1
)->SetCanvas(arg2
);
23808 wxPyEndAllowThreads(__tstate
);
23809 if (PyErr_Occurred()) SWIG_fail
;
23811 Py_INCREF(Py_None
); resultobj
= Py_None
;
23818 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23819 PyObject
*resultobj
;
23820 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23822 PyObject
* obj0
= 0 ;
23823 char *kwnames
[] = {
23824 (char *) "self", NULL
23827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23832 result
= (wxFrame
*)(arg1
)->GetFrame();
23834 wxPyEndAllowThreads(__tstate
);
23835 if (PyErr_Occurred()) SWIG_fail
;
23838 resultobj
= wxPyMake_wxObject(result
, 0);
23846 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23847 PyObject
*resultobj
;
23848 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23849 wxPreviewCanvas
*result
;
23850 PyObject
* obj0
= 0 ;
23851 char *kwnames
[] = {
23852 (char *) "self", NULL
23855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
23856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23860 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23862 wxPyEndAllowThreads(__tstate
);
23863 if (PyErr_Occurred()) SWIG_fail
;
23865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23872 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23873 PyObject
*resultobj
;
23874 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23875 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23878 PyObject
* obj0
= 0 ;
23879 PyObject
* obj1
= 0 ;
23880 PyObject
* obj2
= 0 ;
23881 char *kwnames
[] = {
23882 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23890 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23891 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23893 if (arg3
== NULL
) {
23894 PyErr_SetString(PyExc_TypeError
,"null reference");
23898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23899 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
23901 wxPyEndAllowThreads(__tstate
);
23902 if (PyErr_Occurred()) SWIG_fail
;
23905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23913 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23914 PyObject
*resultobj
;
23915 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23916 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23919 PyObject
* obj0
= 0 ;
23920 PyObject
* obj1
= 0 ;
23921 PyObject
* obj2
= 0 ;
23922 char *kwnames
[] = {
23923 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23931 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23932 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23934 if (arg3
== NULL
) {
23935 PyErr_SetString(PyExc_TypeError
,"null reference");
23939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23940 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23942 wxPyEndAllowThreads(__tstate
);
23943 if (PyErr_Occurred()) SWIG_fail
;
23946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23954 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23955 PyObject
*resultobj
;
23956 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23959 PyObject
* obj0
= 0 ;
23960 PyObject
* obj1
= 0 ;
23961 char *kwnames
[] = {
23962 (char *) "self",(char *) "pageNum", NULL
23965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23968 arg2
= (int)SWIG_As_int(obj1
);
23969 if (PyErr_Occurred()) SWIG_fail
;
23971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23972 result
= (bool)(arg1
)->RenderPage(arg2
);
23974 wxPyEndAllowThreads(__tstate
);
23975 if (PyErr_Occurred()) SWIG_fail
;
23978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23986 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23987 PyObject
*resultobj
;
23988 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23989 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23990 PyObject
* obj0
= 0 ;
23991 PyObject
* obj1
= 0 ;
23992 char *kwnames
[] = {
23993 (char *) "self",(char *) "canvas", NULL
23996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
23997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23999 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24003 (arg1
)->AdjustScrollbars(arg2
);
24005 wxPyEndAllowThreads(__tstate
);
24006 if (PyErr_Occurred()) SWIG_fail
;
24008 Py_INCREF(Py_None
); resultobj
= Py_None
;
24015 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24016 PyObject
*resultobj
;
24017 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24018 wxPrintDialogData
*result
;
24019 PyObject
* obj0
= 0 ;
24020 char *kwnames
[] = {
24021 (char *) "self", NULL
24024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24030 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24031 result
= (wxPrintDialogData
*) &_result_ref
;
24034 wxPyEndAllowThreads(__tstate
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24044 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24045 PyObject
*resultobj
;
24046 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24048 PyObject
* obj0
= 0 ;
24049 PyObject
* obj1
= 0 ;
24050 char *kwnames
[] = {
24051 (char *) "self",(char *) "percent", NULL
24054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24057 arg2
= (int)SWIG_As_int(obj1
);
24058 if (PyErr_Occurred()) SWIG_fail
;
24060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24061 (arg1
)->SetZoom(arg2
);
24063 wxPyEndAllowThreads(__tstate
);
24064 if (PyErr_Occurred()) SWIG_fail
;
24066 Py_INCREF(Py_None
); resultobj
= Py_None
;
24073 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24074 PyObject
*resultobj
;
24075 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24077 PyObject
* obj0
= 0 ;
24078 char *kwnames
[] = {
24079 (char *) "self", NULL
24082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
24083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24087 result
= (int)(arg1
)->GetZoom();
24089 wxPyEndAllowThreads(__tstate
);
24090 if (PyErr_Occurred()) SWIG_fail
;
24092 resultobj
= SWIG_From_int((int)result
);
24099 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24100 PyObject
*resultobj
;
24101 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24103 PyObject
* obj0
= 0 ;
24104 char *kwnames
[] = {
24105 (char *) "self", NULL
24108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
24109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24113 result
= (int)(arg1
)->GetMaxPage();
24115 wxPyEndAllowThreads(__tstate
);
24116 if (PyErr_Occurred()) SWIG_fail
;
24118 resultobj
= SWIG_From_int((int)result
);
24125 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24126 PyObject
*resultobj
;
24127 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24129 PyObject
* obj0
= 0 ;
24130 char *kwnames
[] = {
24131 (char *) "self", NULL
24134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
24135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24139 result
= (int)(arg1
)->GetMinPage();
24141 wxPyEndAllowThreads(__tstate
);
24142 if (PyErr_Occurred()) SWIG_fail
;
24144 resultobj
= SWIG_From_int((int)result
);
24151 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24152 PyObject
*resultobj
;
24153 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24155 PyObject
* obj0
= 0 ;
24156 char *kwnames
[] = {
24157 (char *) "self", NULL
24160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
24161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24165 result
= (bool)(arg1
)->Ok();
24167 wxPyEndAllowThreads(__tstate
);
24168 if (PyErr_Occurred()) SWIG_fail
;
24171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24179 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24180 PyObject
*resultobj
;
24181 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24183 PyObject
* obj0
= 0 ;
24184 PyObject
* obj1
= 0 ;
24185 char *kwnames
[] = {
24186 (char *) "self",(char *) "ok", NULL
24189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
24190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24192 arg2
= (bool)SWIG_As_bool(obj1
);
24193 if (PyErr_Occurred()) SWIG_fail
;
24195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24196 (arg1
)->SetOk(arg2
);
24198 wxPyEndAllowThreads(__tstate
);
24199 if (PyErr_Occurred()) SWIG_fail
;
24201 Py_INCREF(Py_None
); resultobj
= Py_None
;
24208 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24209 PyObject
*resultobj
;
24210 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24213 PyObject
* obj0
= 0 ;
24214 PyObject
* obj1
= 0 ;
24215 char *kwnames
[] = {
24216 (char *) "self",(char *) "interactive", NULL
24219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24222 arg2
= (bool)SWIG_As_bool(obj1
);
24223 if (PyErr_Occurred()) SWIG_fail
;
24225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24226 result
= (bool)(arg1
)->Print(arg2
);
24228 wxPyEndAllowThreads(__tstate
);
24229 if (PyErr_Occurred()) SWIG_fail
;
24232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24240 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24241 PyObject
*resultobj
;
24242 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24243 PyObject
* obj0
= 0 ;
24244 char *kwnames
[] = {
24245 (char *) "self", NULL
24248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24253 (arg1
)->DetermineScaling();
24255 wxPyEndAllowThreads(__tstate
);
24256 if (PyErr_Occurred()) SWIG_fail
;
24258 Py_INCREF(Py_None
); resultobj
= Py_None
;
24265 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24267 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24268 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
24270 return Py_BuildValue((char *)"");
24272 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
24273 PyObject
*resultobj
;
24274 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24275 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24276 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
24277 wxPyPrintPreview
*result
;
24278 PyObject
* obj0
= 0 ;
24279 PyObject
* obj1
= 0 ;
24280 PyObject
* obj2
= 0 ;
24282 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24285 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24288 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
24289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24292 if (!wxPyCheckForApp()) SWIG_fail
;
24293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24294 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24296 wxPyEndAllowThreads(__tstate
);
24297 if (PyErr_Occurred()) SWIG_fail
;
24299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24306 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
24307 PyObject
*resultobj
;
24308 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24309 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24310 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
24311 wxPyPrintPreview
*result
;
24312 PyObject
* obj0
= 0 ;
24313 PyObject
* obj1
= 0 ;
24314 PyObject
* obj2
= 0 ;
24316 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24319 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24321 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
24322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24324 if (!wxPyCheckForApp()) SWIG_fail
;
24325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24326 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24328 wxPyEndAllowThreads(__tstate
);
24329 if (PyErr_Occurred()) SWIG_fail
;
24331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24338 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
24343 argc
= PyObject_Length(args
);
24344 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
24345 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24347 if ((argc
>= 2) && (argc
<= 3)) {
24351 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24361 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24370 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24374 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
24382 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24391 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24401 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24411 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24419 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24425 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24430 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24431 PyObject
*resultobj
;
24432 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24433 PyObject
*arg2
= (PyObject
*) 0 ;
24434 PyObject
*arg3
= (PyObject
*) 0 ;
24435 PyObject
* obj0
= 0 ;
24436 PyObject
* obj1
= 0 ;
24437 PyObject
* obj2
= 0 ;
24438 char *kwnames
[] = {
24439 (char *) "self",(char *) "self",(char *) "_class", NULL
24442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24449 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24451 wxPyEndAllowThreads(__tstate
);
24452 if (PyErr_Occurred()) SWIG_fail
;
24454 Py_INCREF(Py_None
); resultobj
= Py_None
;
24461 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24462 PyObject
*resultobj
;
24463 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24466 PyObject
* obj0
= 0 ;
24467 PyObject
* obj1
= 0 ;
24468 char *kwnames
[] = {
24469 (char *) "self",(char *) "pageNum", NULL
24472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24475 arg2
= (int)SWIG_As_int(obj1
);
24476 if (PyErr_Occurred()) SWIG_fail
;
24478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24479 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24481 wxPyEndAllowThreads(__tstate
);
24482 if (PyErr_Occurred()) SWIG_fail
;
24485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24493 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24494 PyObject
*resultobj
;
24495 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24496 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24499 PyObject
* obj0
= 0 ;
24500 PyObject
* obj1
= 0 ;
24501 PyObject
* obj2
= 0 ;
24502 char *kwnames
[] = {
24503 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24511 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24512 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24514 if (arg3
== NULL
) {
24515 PyErr_SetString(PyExc_TypeError
,"null reference");
24519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24520 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24522 wxPyEndAllowThreads(__tstate
);
24523 if (PyErr_Occurred()) SWIG_fail
;
24526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24534 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24535 PyObject
*resultobj
;
24536 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24537 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24540 PyObject
* obj0
= 0 ;
24541 PyObject
* obj1
= 0 ;
24542 PyObject
* obj2
= 0 ;
24543 char *kwnames
[] = {
24544 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24550 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24552 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24553 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24555 if (arg3
== NULL
) {
24556 PyErr_SetString(PyExc_TypeError
,"null reference");
24560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24561 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24575 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24576 PyObject
*resultobj
;
24577 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24580 PyObject
* obj0
= 0 ;
24581 PyObject
* obj1
= 0 ;
24582 char *kwnames
[] = {
24583 (char *) "self",(char *) "pageNum", NULL
24586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24589 arg2
= (int)SWIG_As_int(obj1
);
24590 if (PyErr_Occurred()) SWIG_fail
;
24592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24593 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24595 wxPyEndAllowThreads(__tstate
);
24596 if (PyErr_Occurred()) SWIG_fail
;
24599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24607 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24608 PyObject
*resultobj
;
24609 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24611 PyObject
* obj0
= 0 ;
24612 PyObject
* obj1
= 0 ;
24613 char *kwnames
[] = {
24614 (char *) "self",(char *) "percent", NULL
24617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24620 arg2
= (int)SWIG_As_int(obj1
);
24621 if (PyErr_Occurred()) SWIG_fail
;
24623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24624 (arg1
)->base_SetZoom(arg2
);
24626 wxPyEndAllowThreads(__tstate
);
24627 if (PyErr_Occurred()) SWIG_fail
;
24629 Py_INCREF(Py_None
); resultobj
= Py_None
;
24636 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24637 PyObject
*resultobj
;
24638 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24641 PyObject
* obj0
= 0 ;
24642 PyObject
* obj1
= 0 ;
24643 char *kwnames
[] = {
24644 (char *) "self",(char *) "interactive", NULL
24647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24650 arg2
= (bool)SWIG_As_bool(obj1
);
24651 if (PyErr_Occurred()) SWIG_fail
;
24653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24654 result
= (bool)(arg1
)->base_Print(arg2
);
24656 wxPyEndAllowThreads(__tstate
);
24657 if (PyErr_Occurred()) SWIG_fail
;
24660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24668 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24669 PyObject
*resultobj
;
24670 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24671 PyObject
* obj0
= 0 ;
24672 char *kwnames
[] = {
24673 (char *) "self", NULL
24676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24681 (arg1
)->base_DetermineScaling();
24683 wxPyEndAllowThreads(__tstate
);
24684 if (PyErr_Occurred()) SWIG_fail
;
24686 Py_INCREF(Py_None
); resultobj
= Py_None
;
24693 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24696 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24698 return Py_BuildValue((char *)"");
24700 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24701 PyObject
*resultobj
;
24702 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24703 wxFrame
*arg2
= (wxFrame
*) 0 ;
24704 wxString
*arg3
= 0 ;
24705 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24706 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24707 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24708 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24709 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24710 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24711 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24712 wxPyPreviewFrame
*result
;
24713 bool temp3
= false ;
24716 bool temp7
= false ;
24717 PyObject
* obj0
= 0 ;
24718 PyObject
* obj1
= 0 ;
24719 PyObject
* obj2
= 0 ;
24720 PyObject
* obj3
= 0 ;
24721 PyObject
* obj4
= 0 ;
24722 PyObject
* obj5
= 0 ;
24723 PyObject
* obj6
= 0 ;
24724 char *kwnames
[] = {
24725 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24731 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24734 arg3
= wxString_in_helper(obj2
);
24735 if (arg3
== NULL
) SWIG_fail
;
24741 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24747 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24751 arg6
= (long)SWIG_As_long(obj5
);
24752 if (PyErr_Occurred()) SWIG_fail
;
24756 arg7
= wxString_in_helper(obj6
);
24757 if (arg7
== NULL
) SWIG_fail
;
24762 if (!wxPyCheckForApp()) SWIG_fail
;
24763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24764 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24766 wxPyEndAllowThreads(__tstate
);
24767 if (PyErr_Occurred()) SWIG_fail
;
24769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24792 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24793 PyObject
*resultobj
;
24794 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24795 PyObject
*arg2
= (PyObject
*) 0 ;
24796 PyObject
*arg3
= (PyObject
*) 0 ;
24797 PyObject
* obj0
= 0 ;
24798 PyObject
* obj1
= 0 ;
24799 PyObject
* obj2
= 0 ;
24800 char *kwnames
[] = {
24801 (char *) "self",(char *) "self",(char *) "_class", NULL
24804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24811 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24813 wxPyEndAllowThreads(__tstate
);
24814 if (PyErr_Occurred()) SWIG_fail
;
24816 Py_INCREF(Py_None
); resultobj
= Py_None
;
24823 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24824 PyObject
*resultobj
;
24825 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24826 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24827 PyObject
* obj0
= 0 ;
24828 PyObject
* obj1
= 0 ;
24829 char *kwnames
[] = {
24830 (char *) "self",(char *) "canvas", NULL
24833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24840 (arg1
)->SetPreviewCanvas(arg2
);
24842 wxPyEndAllowThreads(__tstate
);
24843 if (PyErr_Occurred()) SWIG_fail
;
24845 Py_INCREF(Py_None
); resultobj
= Py_None
;
24852 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24853 PyObject
*resultobj
;
24854 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24855 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24856 PyObject
* obj0
= 0 ;
24857 PyObject
* obj1
= 0 ;
24858 char *kwnames
[] = {
24859 (char *) "self",(char *) "bar", NULL
24862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24869 (arg1
)->SetControlBar(arg2
);
24871 wxPyEndAllowThreads(__tstate
);
24872 if (PyErr_Occurred()) SWIG_fail
;
24874 Py_INCREF(Py_None
); resultobj
= Py_None
;
24881 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24882 PyObject
*resultobj
;
24883 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24884 PyObject
* obj0
= 0 ;
24885 char *kwnames
[] = {
24886 (char *) "self", NULL
24889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24894 (arg1
)->base_Initialize();
24896 wxPyEndAllowThreads(__tstate
);
24897 if (PyErr_Occurred()) SWIG_fail
;
24899 Py_INCREF(Py_None
); resultobj
= Py_None
;
24906 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24907 PyObject
*resultobj
;
24908 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24909 PyObject
* obj0
= 0 ;
24910 char *kwnames
[] = {
24911 (char *) "self", NULL
24914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24919 (arg1
)->base_CreateCanvas();
24921 wxPyEndAllowThreads(__tstate
);
24922 if (PyErr_Occurred()) SWIG_fail
;
24924 Py_INCREF(Py_None
); resultobj
= Py_None
;
24931 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24932 PyObject
*resultobj
;
24933 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24934 PyObject
* obj0
= 0 ;
24935 char *kwnames
[] = {
24936 (char *) "self", NULL
24939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24944 (arg1
)->base_CreateControlBar();
24946 wxPyEndAllowThreads(__tstate
);
24947 if (PyErr_Occurred()) SWIG_fail
;
24949 Py_INCREF(Py_None
); resultobj
= Py_None
;
24956 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
24958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24959 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24961 return Py_BuildValue((char *)"");
24963 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24964 PyObject
*resultobj
;
24965 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24967 wxWindow
*arg3
= (wxWindow
*) 0 ;
24968 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24969 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24970 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24971 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24972 long arg6
= (long) 0 ;
24973 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24974 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24975 wxPyPreviewControlBar
*result
;
24978 bool temp7
= false ;
24979 PyObject
* obj0
= 0 ;
24980 PyObject
* obj1
= 0 ;
24981 PyObject
* obj2
= 0 ;
24982 PyObject
* obj3
= 0 ;
24983 PyObject
* obj4
= 0 ;
24984 PyObject
* obj5
= 0 ;
24985 PyObject
* obj6
= 0 ;
24986 char *kwnames
[] = {
24987 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24993 arg2
= (long)SWIG_As_long(obj1
);
24994 if (PyErr_Occurred()) SWIG_fail
;
24995 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25000 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25006 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25010 arg6
= (long)SWIG_As_long(obj5
);
25011 if (PyErr_Occurred()) SWIG_fail
;
25015 arg7
= wxString_in_helper(obj6
);
25016 if (arg7
== NULL
) SWIG_fail
;
25021 if (!wxPyCheckForApp()) SWIG_fail
;
25022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25023 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25025 wxPyEndAllowThreads(__tstate
);
25026 if (PyErr_Occurred()) SWIG_fail
;
25028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
25043 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25044 PyObject
*resultobj
;
25045 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25046 PyObject
*arg2
= (PyObject
*) 0 ;
25047 PyObject
*arg3
= (PyObject
*) 0 ;
25048 PyObject
* obj0
= 0 ;
25049 PyObject
* obj1
= 0 ;
25050 PyObject
* obj2
= 0 ;
25051 char *kwnames
[] = {
25052 (char *) "self",(char *) "self",(char *) "_class", NULL
25055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25062 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25064 wxPyEndAllowThreads(__tstate
);
25065 if (PyErr_Occurred()) SWIG_fail
;
25067 Py_INCREF(Py_None
); resultobj
= Py_None
;
25074 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25075 PyObject
*resultobj
;
25076 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25077 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
25078 PyObject
* obj0
= 0 ;
25079 PyObject
* obj1
= 0 ;
25080 char *kwnames
[] = {
25081 (char *) "self",(char *) "preview", NULL
25084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
25085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25087 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
25088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25091 (arg1
)->SetPrintPreview(arg2
);
25093 wxPyEndAllowThreads(__tstate
);
25094 if (PyErr_Occurred()) SWIG_fail
;
25096 Py_INCREF(Py_None
); resultobj
= Py_None
;
25103 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25104 PyObject
*resultobj
;
25105 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25106 PyObject
* obj0
= 0 ;
25107 char *kwnames
[] = {
25108 (char *) "self", NULL
25111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
25112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25116 (arg1
)->base_CreateButtons();
25118 wxPyEndAllowThreads(__tstate
);
25119 if (PyErr_Occurred()) SWIG_fail
;
25121 Py_INCREF(Py_None
); resultobj
= Py_None
;
25128 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25129 PyObject
*resultobj
;
25130 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25132 PyObject
* obj0
= 0 ;
25133 PyObject
* obj1
= 0 ;
25134 char *kwnames
[] = {
25135 (char *) "self",(char *) "zoom", NULL
25138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25141 arg2
= (int)SWIG_As_int(obj1
);
25142 if (PyErr_Occurred()) SWIG_fail
;
25144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25145 (arg1
)->base_SetZoomControl(arg2
);
25147 wxPyEndAllowThreads(__tstate
);
25148 if (PyErr_Occurred()) SWIG_fail
;
25150 Py_INCREF(Py_None
); resultobj
= Py_None
;
25157 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25159 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25160 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
25162 return Py_BuildValue((char *)"");
25164 static PyMethodDef SwigMethods
[] = {
25165 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25166 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25167 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25168 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25169 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25170 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
25171 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25172 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25173 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25174 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25175 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25176 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25177 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25178 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25179 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25180 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25181 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25182 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25183 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25184 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25185 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
25186 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
25187 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25188 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25189 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25190 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25191 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25192 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25193 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25194 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25195 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25196 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25197 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25198 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25199 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25200 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25201 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25202 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25203 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25204 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25205 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25206 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25207 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25208 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25209 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25210 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25211 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25212 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25213 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
25214 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25215 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25216 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25217 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25218 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25219 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25220 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25221 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25222 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25223 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25224 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25225 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25226 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25227 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25228 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25229 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25230 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25231 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25232 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25233 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25234 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25235 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25236 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25237 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
25238 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25239 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25240 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25241 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25242 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25243 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25244 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25245 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25246 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25247 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25248 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25249 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
25250 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25251 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25252 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25253 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
25254 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25255 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25256 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25257 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
25258 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25259 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25260 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25261 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25262 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
25263 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25264 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25265 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25266 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25267 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25268 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25269 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25270 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25271 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25272 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25273 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25274 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25275 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25276 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25277 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25278 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25279 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
25280 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25281 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25282 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25283 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25284 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25285 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25286 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25287 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25288 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25289 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25290 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25291 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25292 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25293 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25294 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25295 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25296 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25297 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25298 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25299 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25300 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25301 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25302 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25303 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25304 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25305 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25306 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25307 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
25308 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25309 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25310 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25311 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25312 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25313 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25314 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
25315 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25316 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25317 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25318 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25319 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25320 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25321 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25322 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25323 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25324 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25325 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25326 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25327 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25328 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25329 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25330 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25331 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25332 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25333 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25334 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25335 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25336 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25337 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
25338 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25339 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25340 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25341 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25342 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25343 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25344 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25345 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
25346 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25347 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25348 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25349 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25350 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25351 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25352 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25353 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25354 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25355 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25356 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25357 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
25358 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25359 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25360 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25361 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25362 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25363 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
25364 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25365 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25366 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25367 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25368 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25369 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25370 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25371 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25372 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
25373 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25374 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25375 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25376 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25377 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25378 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
25379 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25380 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25381 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
25382 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25383 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25384 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
25385 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25386 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25387 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25388 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
25389 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25390 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25391 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25392 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25393 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25394 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25395 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25396 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25397 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25398 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25399 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25400 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25401 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25402 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25403 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25404 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25405 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25406 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25407 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25408 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25409 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25410 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25411 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25412 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25413 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25414 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25415 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25416 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25417 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25418 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25419 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25420 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25421 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25422 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25423 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25424 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25425 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25426 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25427 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25428 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25429 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25430 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25431 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25432 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
25433 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25434 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25435 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25436 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25437 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25438 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25439 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25440 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
25441 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25442 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25443 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25444 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25445 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25446 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25447 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25448 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25449 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
25450 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25451 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
25452 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25453 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25454 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25455 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25456 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25457 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25458 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25459 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25460 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
25461 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25462 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25463 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
25464 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25465 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25466 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25467 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25468 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25469 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25470 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
25471 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25472 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25473 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25474 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25475 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25476 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25477 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25478 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25479 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25480 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25481 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25482 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25483 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25484 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25485 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25486 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25487 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25488 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
25489 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25490 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25491 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25492 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25493 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25494 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25495 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25496 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25497 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25498 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25499 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25500 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25501 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
25502 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25503 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25504 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25505 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25506 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25507 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25508 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25509 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25510 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25511 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25512 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25513 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25514 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25515 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25516 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25517 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
25518 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25519 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25520 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
25521 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25522 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
25523 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25524 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25525 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25526 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
25527 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25528 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25529 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25530 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25531 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25532 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25533 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25534 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25535 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
25536 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25537 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25538 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25539 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25540 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25541 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25542 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25543 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25544 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
25545 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25546 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25547 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25548 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25549 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25550 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
25551 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25552 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25553 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25554 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25555 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25556 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25557 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25558 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25559 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25560 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25561 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25562 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
25563 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25564 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25565 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25566 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25567 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25568 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25569 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
25570 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25571 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25572 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25573 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
25574 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25575 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25576 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25577 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25578 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25579 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25580 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25581 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25582 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25583 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25584 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25585 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25586 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25587 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25588 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25589 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25590 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25591 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25592 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25593 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25594 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25595 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25596 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25597 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25598 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25599 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
25600 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25601 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25602 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25603 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25604 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25605 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25606 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25607 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25608 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25609 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25610 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25611 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25612 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25613 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25614 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25615 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25616 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25617 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25618 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25619 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25620 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25621 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25622 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25623 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25624 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25625 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
25626 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25627 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25628 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25629 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25630 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25631 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25632 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25633 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25634 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25635 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25636 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25637 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25638 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25639 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25640 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25641 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25642 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25643 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25644 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25645 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25646 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25647 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25648 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25649 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25650 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25651 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25652 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
25653 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25654 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25655 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25656 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25657 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25658 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25659 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25660 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25661 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25662 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25663 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25664 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25665 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25666 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25667 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25668 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25669 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25670 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25671 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25672 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25673 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25674 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25675 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25676 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25677 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25678 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25679 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25680 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25681 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25682 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25683 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25684 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25685 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25686 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25687 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25688 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25689 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25690 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25691 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25692 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25693 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25694 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25695 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25696 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25697 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25698 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25699 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
25700 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
25701 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25702 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25703 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25704 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25705 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25706 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25707 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25708 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25709 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25710 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25711 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25712 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25713 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25714 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25715 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25716 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25717 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25718 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25719 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25720 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25721 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25722 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25723 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25724 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25725 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25726 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25727 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25728 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25729 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25730 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25731 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
25732 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25733 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25734 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25735 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
25736 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
25737 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25738 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25739 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25740 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25741 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25742 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25743 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25744 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25745 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25746 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25747 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25748 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25749 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25750 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25751 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25752 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25753 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25754 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25755 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25756 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25757 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25758 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25759 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25760 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25761 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25762 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25763 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25764 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25765 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25766 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25767 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25768 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25769 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
25770 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25771 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25772 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25773 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25774 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
25775 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25776 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25777 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25778 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25779 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25780 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25781 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25782 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25783 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25784 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25785 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
25786 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25787 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25788 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25789 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25790 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25791 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25792 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25793 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25794 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25795 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25796 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25797 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25798 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25799 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25800 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25801 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25802 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25803 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25804 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25805 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25806 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25807 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25808 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
25809 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25810 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
25811 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25812 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25813 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25814 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25815 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25816 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
25817 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25818 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25819 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25820 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25821 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25822 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25823 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25824 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25825 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25826 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
25827 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
25828 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25829 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25830 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25831 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25832 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25833 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25834 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25835 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25836 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25837 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25838 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25839 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25840 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25841 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25842 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25843 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25844 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25845 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25846 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25847 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25848 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25849 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25850 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
25851 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
25852 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25853 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25854 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25855 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25856 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25857 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25858 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25859 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25860 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
25861 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25862 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25863 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25864 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25865 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25866 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25867 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25868 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
25869 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25870 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25871 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25872 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25873 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25874 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
25875 { NULL
, NULL
, 0, NULL
}
25879 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25881 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25882 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25884 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25885 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25887 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25888 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25890 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25891 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25893 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25894 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25896 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25897 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25899 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25900 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25902 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
25903 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25905 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25906 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25908 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25909 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25911 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
25912 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25914 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25915 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25917 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25918 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25920 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
25921 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25923 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25924 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25926 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25927 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25929 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25930 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25932 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25933 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25935 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25936 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25938 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25939 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25941 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25942 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25944 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25945 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25947 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25948 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25950 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25951 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25953 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25954 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25956 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25957 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25959 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25960 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25962 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25963 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25965 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25966 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25968 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25969 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25971 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25972 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25974 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25975 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25977 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25978 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25980 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25981 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25983 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25984 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25986 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25987 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25989 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25990 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25992 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25993 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25995 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25996 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25998 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25999 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
26001 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
26002 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
26004 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
26005 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26007 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
26008 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26010 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
26011 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26013 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
26014 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26016 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
26017 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26019 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
26020 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
26022 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
26023 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
26025 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
26026 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
26028 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
26029 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
26031 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
26032 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26034 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
26035 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26037 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
26038 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26040 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
26041 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26043 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
26044 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26046 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
26047 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26049 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
26050 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26052 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
26053 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
26055 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
26056 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
26058 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
26059 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26061 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
26062 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
26064 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
26065 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26067 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
26068 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
26070 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
26071 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26073 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
26074 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
26076 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
26077 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
26079 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
26080 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
26082 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
26083 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
26085 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
26086 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26088 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
26089 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
26091 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
26092 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
26094 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
26095 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26097 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
26098 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
26100 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
26101 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26103 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
26104 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26106 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
26107 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26109 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
26110 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
26112 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
26113 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26115 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
26116 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
26118 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
26119 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26121 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
26122 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26124 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
26125 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26127 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26128 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26130 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26131 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26133 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
26134 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
26136 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
26137 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26139 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
26140 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26142 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
26143 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26145 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
26146 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26148 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
26149 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26151 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
26152 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26154 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
26155 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26157 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
26158 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26160 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
26161 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26163 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
26164 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
26166 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
26167 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
26169 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
26170 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
26172 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
26173 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
26175 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
26176 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26178 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
26179 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
26181 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
26182 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
26184 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
26185 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
26187 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
26188 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
26190 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
26191 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26193 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
26194 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26196 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
26197 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26199 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
26200 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
26202 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26203 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26205 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26206 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26208 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26209 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26211 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26212 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26214 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26215 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26217 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26218 return (void *)((wxObject
*) ((wxSizer
*) x
));
26220 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26221 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26223 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26224 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26226 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
26227 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26229 static void *_p_wxEventTo_p_wxObject(void *x
) {
26230 return (void *)((wxObject
*) ((wxEvent
*) x
));
26232 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
26233 return (void *)((wxObject
*) ((wxFontData
*) x
));
26235 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
26236 return (void *)((wxObject
*) ((wxPrintData
*) x
));
26238 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26239 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26241 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26242 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26244 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26245 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26247 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
26248 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
26250 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
26251 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
26253 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
26254 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26256 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26257 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26259 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26260 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26262 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26263 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26265 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26266 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26268 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26269 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26271 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26272 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26274 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
26275 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26277 static void *_p_wxControlTo_p_wxObject(void *x
) {
26278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26280 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26281 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26283 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
26284 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26286 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26287 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26289 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
26290 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
26292 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26293 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26295 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
26296 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26298 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
26299 return (void *)((wxObject
*) ((wxColourData
*) x
));
26301 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26302 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26304 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26305 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26307 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
26308 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
26310 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
26311 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26313 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
26314 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26316 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
26317 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26319 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
26320 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26322 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
26323 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26325 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
26326 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26328 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
26329 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26331 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
26332 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26334 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26335 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26337 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
26338 return (void *)((wxObject
*) ((wxPrinter
*) x
));
26340 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26341 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26343 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26344 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26346 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26347 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26349 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26350 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26352 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26353 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26355 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26356 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26358 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26359 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26361 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26362 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26364 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26365 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26367 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26368 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26370 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26371 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26373 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26374 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26376 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26377 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26379 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26380 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26382 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26383 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26385 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26386 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26388 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26389 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26391 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26392 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26394 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26395 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26397 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26398 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26400 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26401 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26403 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26404 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26406 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
26407 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26409 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
26410 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26412 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
26413 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26415 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26416 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26418 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
26419 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26421 static void *_p_wxImageTo_p_wxObject(void *x
) {
26422 return (void *)((wxObject
*) ((wxImage
*) x
));
26424 static void *_p_wxFrameTo_p_wxObject(void *x
) {
26425 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26427 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26428 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26430 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26431 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26433 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26434 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26436 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26437 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26439 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26440 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26442 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26443 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26445 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26446 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26448 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26449 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26451 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26452 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26454 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26455 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26457 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26458 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26460 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26461 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26463 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26464 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26466 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26467 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26469 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26470 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26472 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26473 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26475 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26476 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26478 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26479 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26481 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26482 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26484 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26485 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
26487 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26488 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26490 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26491 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26493 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26494 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26496 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26497 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26499 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26500 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26502 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26503 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26505 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26506 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26508 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26509 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26511 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26512 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26514 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26515 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26517 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26518 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26520 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26521 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26523 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26524 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26526 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26527 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26529 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26530 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26532 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26533 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26535 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26536 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26538 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26539 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26541 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26542 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26544 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26545 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26547 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26548 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26550 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26551 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26553 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26554 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26556 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26557 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26559 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26560 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26562 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26563 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26565 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26566 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26568 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26569 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26571 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26572 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26574 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26575 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26577 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26578 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26580 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26581 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26583 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26584 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26586 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26587 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26589 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26590 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26592 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26593 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26595 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26596 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26598 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26599 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26601 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26602 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26604 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26605 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26607 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26608 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26610 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26611 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26613 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
26614 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
26616 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
26617 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
26619 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26620 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26622 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
26623 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
26625 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26626 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26628 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26629 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26631 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26632 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26634 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26635 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26637 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26638 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26640 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26641 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26643 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26644 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26646 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26647 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26649 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26650 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26652 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26653 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26655 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26656 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26658 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26659 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26661 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26662 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26664 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26665 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26667 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26668 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26670 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26671 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26673 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26674 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26676 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26677 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26679 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26680 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26682 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26683 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26685 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26686 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26688 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26689 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26691 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26692 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26694 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26695 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26697 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26698 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26700 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26701 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26703 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26704 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
26706 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26707 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26709 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26710 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26712 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26713 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26715 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26716 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26718 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26719 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26721 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26722 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26724 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26725 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26727 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26728 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26730 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26731 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26733 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26734 return (void *)((wxWindow
*) ((wxControl
*) x
));
26736 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26737 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26739 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26740 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26742 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26743 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26745 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26746 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26748 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26749 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26751 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26752 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26754 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26755 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26757 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26758 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26760 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26761 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26763 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26764 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26766 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26767 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26769 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26770 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26772 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26773 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26775 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26776 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26778 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26779 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26781 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26782 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26784 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26785 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26787 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26788 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26790 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26791 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26793 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26794 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26796 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26797 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26799 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26800 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26802 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26803 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26805 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26806 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26808 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26809 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26811 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26812 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26814 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26815 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26817 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26818 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26820 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26821 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26823 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26824 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26826 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26827 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26829 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26830 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26832 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26833 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26835 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26836 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26838 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26839 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26841 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26842 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26844 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26845 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26847 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26848 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26850 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26851 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26853 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26854 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26856 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26857 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26859 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26860 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26862 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26863 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26865 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26866 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26868 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26869 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26871 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26872 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26874 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26875 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26877 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26878 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26880 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26881 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26883 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26884 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26886 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26887 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26889 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
26890 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
26892 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
26893 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26895 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}};
26896 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}};
26897 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}};
26898 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}};
26899 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}};
26900 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}};
26901 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}};
26902 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}};
26903 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}};
26904 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}};
26905 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}};
26906 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}};
26907 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}};
26908 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}};
26909 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}};
26910 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}};
26911 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}};
26912 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}};
26913 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}};
26914 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}};
26915 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}};
26916 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}};
26917 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}};
26918 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}};
26919 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}};
26920 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}};
26921 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}};
26922 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}};
26923 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}};
26924 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}};
26925 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}};
26926 static swig_type_info _swigt__p_wxTextEntryDialog
[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26927 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}};
26928 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}};
26929 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}};
26930 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}};
26931 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}};
26932 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_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}};
26933 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}};
26934 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}};
26935 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}};
26936 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}};
26937 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}};
26938 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}};
26939 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}};
26940 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}};
26941 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}};
26942 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}};
26943 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}};
26944 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}};
26945 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}};
26946 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_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_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26947 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26948 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}};
26949 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}};
26950 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}};
26951 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}};
26952 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}};
26953 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}};
26954 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}};
26955 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}};
26956 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}};
26957 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_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_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}};
26958 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_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_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26959 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}};
26960 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}};
26961 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}};
26962 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}};
26963 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}};
26964 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}};
26965 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}};
26966 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}};
26967 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}};
26968 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}};
26969 static swig_type_info _swigt__p_wxDialog
[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 0, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26970 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}};
26971 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}};
26972 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}};
26973 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}};
26974 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}};
26975 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}};
26976 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}};
26977 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}};
26978 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}};
26979 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}};
26980 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}};
26981 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}};
26983 static swig_type_info
*swig_types_initial
[] = {
26984 _swigt__p_wxQueryLayoutInfoEvent
,
26985 _swigt__p_wxPreviewFrame
,
26986 _swigt__p_wxPyPreviewFrame
,
26987 _swigt__p_wxPyPanel
,
26989 _swigt__p_wxFontData
,
26991 _swigt__p_wxPrintData
,
26992 _swigt__p_wxTaskBarIcon
,
26993 _swigt__p_wxPyTaskBarIcon
,
26994 _swigt__p_wxIconBundle
,
26995 _swigt__p_wxLayoutAlgorithm
,
26996 _swigt__p_wxFindDialogEvent
,
26997 _swigt__p_wxPreviewCanvas
,
26999 _swigt__p_wxSplitterEvent
,
27000 _swigt__p_wxRegion
,
27001 _swigt__p_wxFindReplaceData
,
27006 _swigt__p_wxVisualAttributes
,
27007 _swigt__p_wxMDIChildFrame
,
27008 _swigt__p_wxColourData
,
27009 _swigt__p_wxNotifyEvent
,
27010 _swigt__p_wxPyWindow
,
27011 _swigt__p_wxSplashScreen
,
27012 _swigt__p_wxFindReplaceDialog
,
27013 _swigt__p_wxProgressDialog
,
27014 _swigt__p_wxMessageDialog
,
27015 _swigt__p_wxTextEntryDialog
,
27016 _swigt__p_wxSingleChoiceDialog
,
27017 _swigt__p_wxMultiChoiceDialog
,
27018 _swigt__p_wxFileDialog
,
27019 _swigt__p_wxPrinter
,
27020 _swigt__p_wxArrayInt
,
27021 _swigt__p_wxEvtHandler
,
27022 _swigt__p_wxCalculateLayoutEvent
,
27023 _swigt__p_wxPyHtmlListBox
,
27024 _swigt__p_wxPyVListBox
,
27027 _swigt__p_wxMiniFrame
,
27029 _swigt__p_wxPyPrintout
,
27030 _swigt__p_wxTaskBarIconEvent
,
27031 _swigt__p_wxScrollWinEvent
,
27032 _swigt__p_wxStatusBar
,
27033 _swigt__p_wxMDIParentFrame
,
27035 _swigt__p_wxObject
,
27036 _swigt__p_wxOutputStream
,
27037 _swigt__p_wxMDIClientWindow
,
27038 _swigt__p_wxTipWindow
,
27039 _swigt__p_wxPyPopupTransientWindow
,
27040 _swigt__p_wxSashLayoutWindow
,
27041 _swigt__p_wxSplitterWindow
,
27042 _swigt__p_wxSplashScreenWindow
,
27043 _swigt__p_wxPyVScrolledWindow
,
27044 _swigt__p_wxPopupWindow
,
27045 _swigt__p_wxSashWindow
,
27046 _swigt__p_wxTopLevelWindow
,
27047 _swigt__p_wxWindow
,
27048 _swigt__p_wxScrolledWindow
,
27049 _swigt__p_wxMenuBar
,
27050 _swigt__p_wxPyScrolledWindow
,
27051 _swigt__p_wxPrintPreview
,
27052 _swigt__p_wxSashEvent
,
27053 _swigt__p_wxString
,
27054 _swigt__p_wxPyPrintPreview
,
27055 _swigt__p_wxFontDialog
,
27056 _swigt__p_wxDirDialog
,
27057 _swigt__p_wxColourDialog
,
27058 _swigt__p_wxDialog
,
27060 _swigt__p_wxPageSetupDialog
,
27061 _swigt__p_wxPrintDialog
,
27062 _swigt__p_wxFileSystem
,
27063 _swigt__p_wxBitmap
,
27064 _swigt__p_wxCommandEvent
,
27065 _swigt__p_wxPreviewControlBar
,
27066 _swigt__p_wxPyPreviewControlBar
,
27067 _swigt__p_wxColour
,
27068 _swigt__p_wxToolBar
,
27069 _swigt__p_wxPageSetupDialogData
,
27070 _swigt__p_wxPrintDialogData
,
27075 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27077 static swig_const_info swig_const_table
[] = {
27078 {0, 0, 0, 0.0, 0, 0}};
27087 SWIGEXPORT(void) SWIG_init(void) {
27088 static PyObject
*SWIG_globals
= 0;
27089 static int typeinit
= 0;
27092 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
27093 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27094 d
= PyModule_GetDict(m
);
27097 for (i
= 0; swig_types_initial
[i
]; i
++) {
27098 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
27102 SWIG_InstallConstants(d
,swig_const_table
);
27104 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
27105 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
27106 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
27107 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
27108 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
27109 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP
));
27110 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)wxICONIZE
));
27111 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE
));
27112 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE
));
27113 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX
));
27114 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME
));
27115 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU
));
27116 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX
));
27117 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX
));
27118 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ
));
27119 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT
));
27120 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX
));
27121 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER
));
27122 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT
));
27123 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE
));
27124 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE
));
27125 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW
));
27126 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT
));
27127 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU
));
27128 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR
));
27129 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED
));
27130 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int((int)wxFRAME_DRAWER
));
27131 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL
));
27132 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS
));
27133 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS
));
27134 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)wxNO_3D
));
27135 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR
));
27136 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR
));
27137 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR
));
27138 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER
));
27139 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION
));
27140 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL
));
27141 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG
));
27142 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO
));
27143 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR
));
27144 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT
));
27145 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN
));
27146 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE
));
27147 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT
));
27148 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT
));
27149 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL
));
27150 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT
));
27151 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED
));
27152 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
27153 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER
));
27154 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH
));
27155 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT
));
27156 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE
));
27157 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH
));
27158 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER
));
27159 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME
));
27160 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER
));
27161 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)wxSP_3D
));
27162 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL
));
27163 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL
));
27164 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE
));
27165 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING
));
27166 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN
));
27167 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
27168 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
27169 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
27170 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
27171 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
27172 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
27173 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE
));
27174 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING
));
27175 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN
));
27176 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER
));
27177 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER
));
27178 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH
));
27179 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER
));
27180 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)wxSW_3D
));
27181 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP
));
27182 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT
));
27183 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM
));
27184 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT
));
27185 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE
));
27186 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK
));
27187 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE
));
27188 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
27189 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL
));
27190 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL
));
27191 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE
));
27192 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP
));
27193 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT
));
27194 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT
));
27195 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM
));
27196 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y
));
27197 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X
));
27198 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH
));
27199 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY
));
27200 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
27201 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
27202 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
27204 // Map renamed classes back to their common name for OOR
27205 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27206 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27207 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27209 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
27210 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
27211 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
27212 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
27213 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
27214 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
27215 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
27216 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
27217 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
27218 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
27219 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
27220 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
27221 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
27222 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE
));
27223 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN
));
27224 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD
));
27225 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE
));
27226 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG
));
27227 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN
));
27228 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE
));
27229 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD
));
27230 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
27231 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
27232 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
27233 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
27234 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
27235 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27236 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27237 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27238 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27239 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27240 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27241 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27242 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
27243 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
27244 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
27245 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE
));
27246 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW
));
27247 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE
));
27248 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER
));
27249 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM
));
27250 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)wxPRINTBIN_DEFAULT
));
27251 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)wxPRINTBIN_ONLYONE
));
27252 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)wxPRINTBIN_LOWER
));
27253 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)wxPRINTBIN_MIDDLE
));
27254 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)wxPRINTBIN_MANUAL
));
27255 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)wxPRINTBIN_ENVELOPE
));
27256 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)wxPRINTBIN_ENVMANUAL
));
27257 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)wxPRINTBIN_AUTO
));
27258 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)wxPRINTBIN_TRACTOR
));
27259 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)wxPRINTBIN_SMALLFMT
));
27260 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)wxPRINTBIN_LARGEFMT
));
27261 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)wxPRINTBIN_LARGECAPACITY
));
27262 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)wxPRINTBIN_CASSETTE
));
27263 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)wxPRINTBIN_FORMSOURCE
));
27264 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)wxPRINTBIN_USER
));
27265 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR
));
27266 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED
));
27267 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR
));
27268 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT
));
27269 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS
));
27270 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT
));
27271 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM
));
27272 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST
));
27273 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST
));
27274 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO
));
27275 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT
));
27276 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE
));
27277 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT
));
27278 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS
));
27279 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT
));
27280 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM
));
27281 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST
));
27282 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST
));
27283 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO
));
27285 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");