1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
212 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
213 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
214 #define SWIGTYPE_p_wxPyPanel swig_types[3]
215 #define SWIGTYPE_p_wxMenu swig_types[4]
216 #define SWIGTYPE_p_wxFontData swig_types[5]
217 #define SWIGTYPE_p_wxEvent swig_types[6]
218 #define SWIGTYPE_p_wxPrintData swig_types[7]
219 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
220 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
221 #define SWIGTYPE_p_wxIconBundle swig_types[10]
222 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
223 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
224 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
225 #define SWIGTYPE_p_wxFont swig_types[14]
226 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
227 #define SWIGTYPE_p_wxRegion swig_types[16]
228 #define SWIGTYPE_p_wxFindReplaceData swig_types[17]
229 #define SWIGTYPE_p_int swig_types[18]
230 #define SWIGTYPE_p_wxSize swig_types[19]
231 #define SWIGTYPE_p_wxDC swig_types[20]
232 #define SWIGTYPE_p_wxIcon swig_types[21]
233 #define SWIGTYPE_p_wxVisualAttributes swig_types[22]
234 #define SWIGTYPE_p_wxMDIChildFrame swig_types[23]
235 #define SWIGTYPE_p_wxColourData swig_types[24]
236 #define SWIGTYPE_p_wxNotifyEvent swig_types[25]
237 #define SWIGTYPE_p_wxPyWindow swig_types[26]
238 #define SWIGTYPE_p_wxSplashScreen swig_types[27]
239 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[28]
240 #define SWIGTYPE_p_wxProgressDialog swig_types[29]
241 #define SWIGTYPE_p_wxMessageDialog swig_types[30]
242 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31]
243 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
244 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
245 #define SWIGTYPE_p_wxFileDialog swig_types[34]
246 #define SWIGTYPE_p_wxTextEntryDialog swig_types[35]
247 #define SWIGTYPE_p_wxPrinter swig_types[36]
248 #define SWIGTYPE_p_wxArrayInt swig_types[37]
249 #define SWIGTYPE_p_wxEvtHandler swig_types[38]
250 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[39]
251 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[40]
252 #define SWIGTYPE_p_wxPyVListBox swig_types[41]
253 #define SWIGTYPE_p_wxRect swig_types[42]
254 #define SWIGTYPE_p_char swig_types[43]
255 #define SWIGTYPE_p_wxMiniFrame swig_types[44]
256 #define SWIGTYPE_p_wxFrame swig_types[45]
257 #define SWIGTYPE_p_wxPyPrintout swig_types[46]
258 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[47]
259 #define SWIGTYPE_p_wxScrollWinEvent swig_types[48]
260 #define SWIGTYPE_p_wxStatusBar swig_types[49]
261 #define SWIGTYPE_p_wxMDIParentFrame swig_types[50]
262 #define SWIGTYPE_p_wxPoint swig_types[51]
263 #define SWIGTYPE_p_wxObject swig_types[52]
264 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
265 #define SWIGTYPE_p_wxTipWindow swig_types[54]
266 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
267 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
268 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[57]
269 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
270 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[59]
271 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
272 #define SWIGTYPE_p_wxSashWindow swig_types[61]
273 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
274 #define SWIGTYPE_p_wxWindow swig_types[63]
275 #define SWIGTYPE_p_wxScrolledWindow swig_types[64]
276 #define SWIGTYPE_p_wxMenuBar swig_types[65]
277 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[66]
278 #define SWIGTYPE_p_wxPrintPreview swig_types[67]
279 #define SWIGTYPE_p_wxSashEvent swig_types[68]
280 #define SWIGTYPE_p_wxString swig_types[69]
281 #define SWIGTYPE_p_wxPyPrintPreview swig_types[70]
282 #define SWIGTYPE_p_wxFontDialog swig_types[71]
283 #define SWIGTYPE_p_wxDirDialog swig_types[72]
284 #define SWIGTYPE_p_wxColourDialog swig_types[73]
285 #define SWIGTYPE_p_wxDialog swig_types[74]
286 #define SWIGTYPE_p_wxPanel swig_types[75]
287 #define SWIGTYPE_p_wxPageSetupDialog swig_types[76]
288 #define SWIGTYPE_p_wxPrintDialog swig_types[77]
289 #define SWIGTYPE_p_wxFileSystem swig_types[78]
290 #define SWIGTYPE_p_wxBitmap swig_types[79]
291 #define SWIGTYPE_p_wxCommandEvent swig_types[80]
292 #define SWIGTYPE_p_wxPreviewControlBar swig_types[81]
293 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[82]
294 #define SWIGTYPE_p_wxColour swig_types[83]
295 #define SWIGTYPE_p_wxToolBar swig_types[84]
296 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
297 #define SWIGTYPE_p_wxPrintDialogData swig_types[86]
298 static swig_type_info
*swig_types
[88];
300 /* -------- TYPES TABLE (END) -------- */
303 /*-----------------------------------------------
304 @(target):= _windows_.so
305 ------------------------------------------------*/
306 #define SWIG_init init_windows_
308 #define SWIG_name "_windows_"
310 /* Auxiliar swig macros that appear in the header */
312 #define SWIG_OLDOBJ 1
313 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
314 #define SWIG_PYSTR SWIG_NEWOBJ + 1
317 #define SWIGSTATICINLINE(a) static inline a
318 #define SWIGSTATIC(a) static a
319 #define swig_new_array(size,Type) (new Type[(size)])
320 #define swig_delete(cptr) delete cptr
321 #define swig_delete_array(cptr) delete[] cptr
322 #define swig_const_cast(a,Type) const_cast<Type >(a)
323 #define swig_static_cast(a,Type) static_cast<Type >(a)
324 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
325 #define swig_new_copy(ptr,Type) (new Type(*ptr))
326 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
330 #define SWIGSTATICINLINE(a) static a
331 #define SWIGSTATIC(a) static a
332 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
333 #define swig_delete(cptr) free((char*)cptr)
334 #define swig_delete_array(cptr) free((char*)cptr)
335 #define swig_const_cast(a,Type) (Type)(a)
336 #define swig_static_cast(a,Type) (Type)(a)
337 #define swig_reinterpret_cast(a,Type) (Type)(a)
338 #define swig_numeric_cast(a,Type) (Type)(a)
339 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
341 #endif /* __cplusplus */
344 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
345 #define SWIG_From_signed_SS_char PyInt_FromLong
347 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
348 #define SWIG_From_unsigned_SS_char PyInt_FromLong
350 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
351 #define SWIG_From_short PyInt_FromLong
353 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
354 #define SWIG_From_unsigned_SS_short PyInt_FromLong
356 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
357 #define SWIG_From_int PyInt_FromLong
359 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
360 #define SWIG_From_long PyInt_FromLong
362 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
363 #define SWIG_From_float PyFloat_FromDouble
365 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
366 #define SWIG_From_double PyFloat_FromDouble
370 #include "wx/wxPython/wxPython.h"
371 #include "wx/wxPython/pyclasses.h"
374 static const wxString
wxPyEmptyString(wxEmptyString
);
375 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
382 SWIGSTATICINLINE(int)
383 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
386 if (value
< min_value
) {
388 PyErr_Format(PyExc_OverflowError
,
389 "value %ld is less than '%s' minimum %ld",
390 value
, errmsg
, min_value
);
393 } else if (value
> max_value
) {
395 PyErr_Format(PyExc_OverflowError
,
396 "value %ld is greater than '%s' maximum %ld",
397 value
, errmsg
, max_value
);
405 // See my_fragments.i
406 SWIGSTATICINLINE(int)
407 SWIG_AsVal_long(PyObject
* obj
, long* val
)
409 if (PyNumber_Check(obj
)) {
410 if (val
) *val
= PyInt_AsLong(obj
);
414 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
415 obj
->ob_type
->tp_name
);
416 PyErr_SetObject(PyExc_TypeError
, errmsg
);
423 #if INT_MAX != LONG_MAX
424 SWIGSTATICINLINE(int)
425 SWIG_AsVal_int(PyObject
*obj
, int *val
)
427 const char* errmsg
= val
? "int" : 0;
429 if (SWIG_AsVal_long(obj
, &v
)) {
430 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
431 if (val
) *val
= swig_numeric_cast(v
, int);
440 PyErr_SetString(PyExc_TypeError
, "an int is expected");
445 SWIGSTATICINLINE(int)
446 SWIG_AsVal_int(PyObject
*obj
, int *val
)
448 return SWIG_AsVal_long(obj
,(long*)val
);
453 SWIGSTATICINLINE(int)
454 SWIG_As_int(PyObject
* obj
)
457 if (!SWIG_AsVal_int(obj
, &v
)) {
459 this is needed to make valgrind/purify happier. the other
460 solution is throw an exception, but since this code should work
463 memset((void*)&v
, 0, sizeof(int));
469 SWIGSTATICINLINE(long)
470 SWIG_As_long(PyObject
* obj
)
473 if (!SWIG_AsVal_long(obj
, &v
)) {
475 this is needed to make valgrind/purify happier. the other
476 solution is throw an exception, but since this code should work
479 memset((void*)&v
, 0, sizeof(long));
485 SWIGSTATICINLINE(int)
486 SWIG_Check_int(PyObject
* obj
)
488 return SWIG_AsVal_int(obj
, (int*)0);
492 SWIGSTATICINLINE(int)
493 SWIG_Check_long(PyObject
* obj
)
495 return SWIG_AsVal_long(obj
, (long*)0);
499 SWIGSTATICINLINE(int)
500 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
502 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
503 if (obj
== Py_True
) {
504 if (val
) *val
= true;
507 if (obj
== Py_False
) {
508 if (val
) *val
= false;
512 if (SWIG_AsVal_int(obj
, &res
)) {
513 if (val
) *val
= (bool)res
;
517 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
523 SWIGSTATICINLINE(bool)
524 SWIG_As_bool(PyObject
* obj
)
527 if (!SWIG_AsVal_bool(obj
, &v
)) {
529 this is needed to make valgrind/purify happier. the other
530 solution is throw an exception, but since this code should work
533 memset((void*)&v
, 0, sizeof(bool));
539 SWIGSTATICINLINE(int)
540 SWIG_Check_bool(PyObject
* obj
)
542 return SWIG_AsVal_bool(obj
, (bool*)0);
546 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
552 } else if (target
== Py_None
) {
556 if (!PyTuple_Check(target
)) {
558 target
= PyTuple_New(1);
559 PyTuple_SetItem(target
, 0, o2
);
562 PyTuple_SetItem(o3
, 0, o
);
565 target
= PySequence_Concat(o2
, o3
);
574 // See my_fragments.i
575 SWIGSTATICINLINE(int)
576 SWIG_AsVal_double(PyObject
*obj
, double* val
)
578 if (PyNumber_Check(obj
)) {
579 if (val
) *val
= PyFloat_AsDouble(obj
);
583 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
584 obj
->ob_type
->tp_name
);
585 PyErr_SetObject(PyExc_TypeError
, errmsg
);
592 SWIGSTATICINLINE(double)
593 SWIG_As_double(PyObject
* obj
)
596 if (!SWIG_AsVal_double(obj
, &v
)) {
598 this is needed to make valgrind/purify happier. the other
599 solution is throw an exception, but since this code should work
602 memset((void*)&v
, 0, sizeof(double));
608 SWIGSTATICINLINE(int)
609 SWIG_Check_double(PyObject
* obj
)
611 return SWIG_AsVal_double(obj
, (double*)0);
614 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
615 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
616 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
617 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
618 void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
619 bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
622 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
624 self
->GetFieldRect(i
, r
);
627 static const wxString
wxPySplitterNameStr(wxT("splitter"));
628 static const wxString
wxPySashNameStr(wxT("sashWindow"));
629 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
631 #include <wx/popupwin.h>
634 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
637 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
638 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
639 : wxPopupTransientWindow(parent
, style
) {}
641 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
642 DEC_PYCALLBACK__(OnDismiss
);
643 DEC_PYCALLBACK_BOOL_(CanDismiss
);
648 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
649 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
650 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
653 #include <wx/tipwin.h>
655 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
656 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
659 #include <wx/tipwin.h>
662 #include <wx/vscroll.h>
665 class wxPyVScrolledWindow
: public wxVScrolledWindow
667 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
669 wxPyVScrolledWindow() : wxVScrolledWindow() {}
671 wxPyVScrolledWindow(wxWindow
*parent
,
672 wxWindowID id
= wxID_ANY
,
673 const wxPoint
& pos
= wxDefaultPosition
,
674 const wxSize
& size
= wxDefaultSize
,
676 const wxString
& name
= wxPyPanelNameStr
)
677 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
680 // Overridable virtuals
682 // this function must be overridden in the derived class and it should
683 // return the height of the given line in pixels
684 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
687 // this function doesn't have to be overridden but it may be useful to do
688 // it if calculating the lines heights is a relatively expensive operation
689 // as it gives the user code a possibility to calculate several of them at
692 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
693 // shouldn't rely on the latter being called for all lines in the interval
694 // specified here. It is also possible that OnGetLineHeight() will be
695 // called for the lines outside of this interval, so this is really just a
696 // hint, not a promise.
698 // finally note that lineMin is inclusive, while lineMax is exclusive, as
700 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
703 // when the number of lines changes, we try to estimate the total height
704 // of all lines which is a rather expensive operation in terms of lines
705 // access, so if the user code may estimate the average height
706 // better/faster than we do, it should override this function to implement
709 // this function should return the best guess for the total height it may
711 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
714 // Also expose some other interesting protected methods
717 // find the index of the line we need to show at the top of the window such
718 // that the last (fully or partially) visible line is the given one
719 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
720 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
722 // get the total height of the lines between lineMin (inclusive) and
723 // lineMax (exclusive)
724 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
725 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
731 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
733 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
734 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
735 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
738 // See my_fragments.i
739 SWIGSTATICINLINE(int)
740 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
743 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
744 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
748 *val
= (unsigned long)v
;
753 SWIGSTATICINLINE(unsigned long)
754 SWIG_As_unsigned_SS_long(PyObject
* obj
)
757 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
759 this is needed to make valgrind/purify happier. the other
760 solution is throw an exception, but since this code should work
763 memset((void*)&v
, 0, sizeof(unsigned long));
769 SWIGSTATICINLINE(int)
770 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
772 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
776 SWIGSTATICINLINE(PyObject
* )
777 SWIG_From_unsigned_SS_long(unsigned long value
)
779 return (value
> LONG_MAX
) ?
780 PyLong_FromUnsignedLong(value
)
781 : PyInt_FromLong(swig_numeric_cast(value
,long));
785 #include <wx/vlbox.h>
787 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
789 class wxPyVListBox
: public wxVListBox
791 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
793 wxPyVListBox() : wxVListBox() {}
795 wxPyVListBox(wxWindow
*parent
,
796 wxWindowID id
= wxID_ANY
,
797 const wxPoint
& pos
= wxDefaultPosition
,
798 const wxSize
& size
= wxDefaultSize
,
800 const wxString
& name
= wxPyVListBoxNameStr
)
801 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
804 // Overridable virtuals
806 // the derived class must implement this function to actually draw the item
807 // with the given index on the provided DC
808 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
809 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
812 // the derived class must implement this method to return the height of the
814 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
815 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
818 // this method may be used to draw separators between the lines; note that
819 // the rectangle may be modified, typically to deflate it a bit before
820 // passing to OnDrawItem()
822 // the base class version doesn't do anything
823 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
824 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
827 // this method is used to draw the items background and, maybe, a border
830 // the base class version implements a reasonable default behaviour which
831 // consists in drawing the selected item with the standard background
832 // colour and drawing a border around the item if it is either selected or
834 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
835 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
841 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
843 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
844 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
845 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
846 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
849 PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
850 unsigned long cookie
= 0;
851 int selected
= self
->GetFirstSelected(cookie
);
852 bool blocked
= wxPyBeginBlockThreads();
853 PyObject
* tup
= PyTuple_New(2);
854 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
855 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
856 wxPyEndBlockThreads(blocked
);
859 PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
860 int selected
= self
->GetNextSelected(cookie
);
861 bool blocked
= wxPyBeginBlockThreads();
862 PyObject
* tup
= PyTuple_New(2);
863 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
864 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
865 wxPyEndBlockThreads(blocked
);
869 #include <wx/htmllbox.h>
872 class wxPyHtmlListBox
: public wxHtmlListBox
874 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
876 wxPyHtmlListBox() : wxHtmlListBox() {}
878 wxPyHtmlListBox(wxWindow
*parent
,
879 wxWindowID id
= wxID_ANY
,
880 const wxPoint
& pos
= wxDefaultPosition
,
881 const wxSize
& size
= wxDefaultSize
,
883 const wxString
& name
= wxPyVListBoxNameStr
)
884 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
887 // Overridable virtuals
889 // this method must be implemented in the derived class and should return
890 // the body (i.e. without <html>) of the HTML for the given item
891 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
893 // this function may be overridden to decorate HTML returned by OnGetItem()
894 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
897 // // this method allows to customize the selection appearance: it may be used
898 // // to specify the colour of the text which normally has the given colour
899 // // colFg when it is inside the selection
901 // // by default, the original colour is not used at all and all text has the
902 // // same (default for this system) colour inside selection
903 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
905 // // this is the same as GetSelectedTextColour() but allows to customize the
906 // // background colour -- this is even more rarely used as you can change it
907 // // globally using SetSelectionBackground()
908 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
915 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
917 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
918 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
924 #ifndef wxHAS_TASK_BAR_ICON
925 // implement dummy classes for platforms that don't have it
927 class wxTaskBarIcon
: public wxEvtHandler
930 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
934 class wxTaskBarIconEvent
: public wxEvent
937 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
938 { wxPyRaiseNotImplemented(); }
939 virtual wxEvent
* Clone() const { return NULL
; }
940 bool IsOk() const { return false; }
941 bool IsIconInstalled() const { return false; }
942 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
943 bool RemoveIcon() { return false; }
944 bool PopupMenu(wxMenu
*menu
) { return false; }
948 wxEVT_TASKBAR_MOVE
= 0,
949 wxEVT_TASKBAR_LEFT_DOWN
= 0,
950 wxEVT_TASKBAR_LEFT_UP
= 0,
951 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
952 wxEVT_TASKBAR_RIGHT_UP
= 0,
953 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
954 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
959 // Otherwise make a class that can virtualize CreatePopupMenu
960 class wxPyTaskBarIcon
: public wxTaskBarIcon
962 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
);
964 wxPyTaskBarIcon() : wxTaskBarIcon()
967 wxMenu
* CreatePopupMenu() {
970 bool blocked
= wxPyBeginBlockThreads();
971 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
974 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
976 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
981 wxPyEndBlockThreads(blocked
);
983 rval
= wxTaskBarIcon::CreatePopupMenu();
990 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
994 void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
998 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
999 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
1000 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
1001 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1002 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
1003 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
1004 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
1006 self
->GetFilenames(arr
);
1007 return wxArrayString2PyList_helper(arr
);
1009 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
1011 self
->GetPaths(arr
);
1012 return wxArrayString2PyList_helper(arr
);
1014 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
1015 return wxArrayInt2PyList_helper(self
->GetSelections());
1017 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
1018 return new wxSingleChoiceDialog(parent
, message
, caption
,
1019 choices
, choices_array
, NULL
, style
, pos
);
1021 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
1025 // C++ version of Python aware wxWindow
1026 class wxPyWindow
: public wxWindow
1028 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
1030 wxPyWindow() : wxWindow() {}
1031 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
1032 const wxPoint
& pos
= wxDefaultPosition
,
1033 const wxSize
& size
= wxDefaultSize
,
1035 const wxString
& name
= wxPyPanelNameStr
)
1036 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
1038 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
1040 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1041 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1042 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1043 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1045 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1046 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1047 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1049 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1050 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1052 DEC_PYCALLBACK__(InitDialog
);
1053 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1054 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1055 DEC_PYCALLBACK_BOOL_(Validate
);
1057 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1058 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1059 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1061 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1062 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1064 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1065 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1066 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1071 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
1073 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
1074 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
1075 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
1076 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
1078 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
1079 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
1080 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
1082 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
1083 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
1085 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
1086 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
1087 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
1088 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
1090 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
1091 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
1092 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
1094 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
1095 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
1097 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
1098 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
1099 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
1102 // C++ version of Python aware wxPanel
1103 class wxPyPanel
: public wxPanel
1105 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
1107 wxPyPanel() : wxPanel() {}
1108 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
1109 const wxPoint
& pos
= wxDefaultPosition
,
1110 const wxSize
& size
= wxDefaultSize
,
1112 const wxString
& name
= wxPyPanelNameStr
)
1113 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
1115 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
1118 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1119 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1120 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1121 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1123 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1124 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1125 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1127 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1128 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1130 DEC_PYCALLBACK__(InitDialog
);
1131 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1132 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1133 DEC_PYCALLBACK_BOOL_(Validate
);
1135 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1136 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1137 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1139 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1140 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1142 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1143 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1144 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1149 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
1151 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
1152 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
1153 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
1154 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
1156 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
1157 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
1158 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
1160 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
1161 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
1163 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
1164 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
1165 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
1166 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
1168 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
1169 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
1170 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
1172 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
1173 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
1175 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
1176 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
1177 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
1180 // C++ version of Python aware wxScrolledWindow
1181 class wxPyScrolledWindow
: public wxScrolledWindow
1183 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1185 wxPyScrolledWindow() : wxScrolledWindow() {}
1186 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1187 const wxPoint
& pos
= wxDefaultPosition
,
1188 const wxSize
& size
= wxDefaultSize
,
1190 const wxString
& name
= wxPyPanelNameStr
)
1191 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1193 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
1195 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1196 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1197 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1198 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1200 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1201 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1202 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1204 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1205 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1207 DEC_PYCALLBACK__(InitDialog
);
1208 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1209 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1210 DEC_PYCALLBACK_BOOL_(Validate
);
1212 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1213 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1214 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1216 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1217 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1219 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1220 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1221 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1226 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1228 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1229 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1230 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1231 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1233 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1234 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1235 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1237 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1238 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1240 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1241 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1242 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1243 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1245 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1246 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1247 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1249 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1250 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1252 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1253 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1254 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
1258 #include "wx/wxPython/printfw.h"
1261 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1262 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1265 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
1267 // Since this one would be tough and ugly to do with the Macros...
1268 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1269 bool hadErr
= false;
1272 bool blocked
= wxPyBeginBlockThreads();
1273 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1274 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1275 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1278 val
= PyTuple_GetItem(result
, 0);
1279 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1282 val
= PyTuple_GetItem(result
, 1);
1283 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1286 val
= PyTuple_GetItem(result
, 2);
1287 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1290 val
= PyTuple_GetItem(result
, 3);
1291 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1298 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1303 wxPyEndBlockThreads(blocked
);
1305 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1308 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1309 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1313 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1314 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1315 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1316 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1317 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1318 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1319 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1325 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1326 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1327 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1330 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1331 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1334 bool blocked = wxPyBeginBlockThreads(); \
1335 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1336 PyObject* win = wxPyMake_wxObject(a,false); \
1337 PyObject* dc = wxPyMake_wxObject(&b,false); \
1338 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
1342 wxPyEndBlockThreads(blocked); \
1344 rval = PCLASS::CBNAME(a, b); \
1347 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1348 return PCLASS::CBNAME(a, b); \
1354 class wxPyPrintPreview
: public wxPrintPreview
1356 DECLARE_CLASS(wxPyPrintPreview
)
1358 wxPyPrintPreview(wxPyPrintout
* printout
,
1359 wxPyPrintout
* printoutForPrinting
,
1360 wxPrintDialogData
* data
=NULL
)
1361 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1363 wxPyPrintPreview(wxPyPrintout
* printout
,
1364 wxPyPrintout
* printoutForPrinting
,
1365 wxPrintData
* data
=NULL
)
1366 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1369 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1370 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1371 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1372 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1373 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1374 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1375 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1380 // Stupid renamed classes... Fix this in 2.5...
1381 #if defined(__WXMSW__)
1382 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1383 #elif defined(__WXMAC__)
1384 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1386 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1389 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1390 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1391 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1392 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1393 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1394 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1395 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1398 class wxPyPreviewFrame
: public wxPreviewFrame
1400 DECLARE_CLASS(wxPyPreviewFrame
);
1402 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1403 const wxString
& title
,
1404 const wxPoint
& pos
= wxDefaultPosition
,
1405 const wxSize
& size
= wxDefaultSize
,
1406 long style
= wxDEFAULT_FRAME_STYLE
,
1407 const wxString
& name
= wxPyFrameNameStr
)
1408 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1411 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1412 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1414 DEC_PYCALLBACK_VOID_(Initialize
);
1415 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1416 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1421 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1423 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1424 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1425 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1428 class wxPyPreviewControlBar
: public wxPreviewControlBar
1430 DECLARE_CLASS(wxPyPreviewControlBar
);
1432 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1435 const wxPoint
& pos
= wxDefaultPosition
,
1436 const wxSize
& size
= wxDefaultSize
,
1438 const wxString
& name
= wxPyPanelNameStr
)
1439 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1442 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1444 DEC_PYCALLBACK_VOID_(CreateButtons
);
1445 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1450 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1451 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1452 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1457 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1458 PyObject
*resultobj
;
1459 wxWindow
*arg1
= (wxWindow
*) 0 ;
1460 int arg2
= (int) (int)-1 ;
1461 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1462 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1463 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1464 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1465 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1466 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1467 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1471 bool temp6
= false ;
1472 PyObject
* obj0
= 0 ;
1473 PyObject
* obj1
= 0 ;
1474 PyObject
* obj2
= 0 ;
1475 PyObject
* obj3
= 0 ;
1476 PyObject
* obj4
= 0 ;
1477 PyObject
* obj5
= 0 ;
1479 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1486 arg2
= (int)SWIG_As_int(obj1
);
1487 if (PyErr_Occurred()) SWIG_fail
;
1492 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1498 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1502 arg5
= (long)SWIG_As_long(obj4
);
1503 if (PyErr_Occurred()) SWIG_fail
;
1507 arg6
= wxString_in_helper(obj5
);
1508 if (arg6
== NULL
) SWIG_fail
;
1513 if (!wxPyCheckForApp()) SWIG_fail
;
1514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1515 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1517 wxPyEndAllowThreads(__tstate
);
1518 if (PyErr_Occurred()) SWIG_fail
;
1520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1535 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1536 PyObject
*resultobj
;
1542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1544 if (!wxPyCheckForApp()) SWIG_fail
;
1545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1546 result
= (wxPanel
*)new wxPanel();
1548 wxPyEndAllowThreads(__tstate
);
1549 if (PyErr_Occurred()) SWIG_fail
;
1551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1558 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1559 PyObject
*resultobj
;
1560 wxPanel
*arg1
= (wxPanel
*) 0 ;
1561 wxWindow
*arg2
= (wxWindow
*) 0 ;
1562 int arg3
= (int) (int)-1 ;
1563 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1564 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1565 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1566 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1567 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1568 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1569 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1573 bool temp7
= false ;
1574 PyObject
* obj0
= 0 ;
1575 PyObject
* obj1
= 0 ;
1576 PyObject
* obj2
= 0 ;
1577 PyObject
* obj3
= 0 ;
1578 PyObject
* obj4
= 0 ;
1579 PyObject
* obj5
= 0 ;
1580 PyObject
* obj6
= 0 ;
1582 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1591 arg3
= (int)SWIG_As_int(obj2
);
1592 if (PyErr_Occurred()) SWIG_fail
;
1597 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1603 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1607 arg6
= (long)SWIG_As_long(obj5
);
1608 if (PyErr_Occurred()) SWIG_fail
;
1612 arg7
= wxString_in_helper(obj6
);
1613 if (arg7
== NULL
) SWIG_fail
;
1618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1619 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1621 wxPyEndAllowThreads(__tstate
);
1622 if (PyErr_Occurred()) SWIG_fail
;
1625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1641 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1642 PyObject
*resultobj
;
1643 wxPanel
*arg1
= (wxPanel
*) 0 ;
1644 PyObject
* obj0
= 0 ;
1646 (char *) "self", NULL
1649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1654 (arg1
)->InitDialog();
1656 wxPyEndAllowThreads(__tstate
);
1657 if (PyErr_Occurred()) SWIG_fail
;
1659 Py_INCREF(Py_None
); resultobj
= Py_None
;
1666 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
*resultobj
;
1668 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1669 wxVisualAttributes result
;
1670 PyObject
* obj0
= 0 ;
1672 (char *) "variant", NULL
1675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1677 arg1
= (int)SWIG_As_int(obj0
);
1678 if (PyErr_Occurred()) SWIG_fail
;
1681 if (!wxPyCheckForApp()) SWIG_fail
;
1682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1683 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1685 wxPyEndAllowThreads(__tstate
);
1686 if (PyErr_Occurred()) SWIG_fail
;
1689 wxVisualAttributes
* resultptr
;
1690 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1699 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
1701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1702 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1704 return Py_BuildValue((char *)"");
1706 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1707 PyObject
*resultobj
;
1708 wxWindow
*arg1
= (wxWindow
*) 0 ;
1709 int arg2
= (int) (int)-1 ;
1710 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1711 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1712 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1713 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1714 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1715 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1716 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1717 wxScrolledWindow
*result
;
1720 bool temp6
= false ;
1721 PyObject
* obj0
= 0 ;
1722 PyObject
* obj1
= 0 ;
1723 PyObject
* obj2
= 0 ;
1724 PyObject
* obj3
= 0 ;
1725 PyObject
* obj4
= 0 ;
1726 PyObject
* obj5
= 0 ;
1728 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1735 arg2
= (int)SWIG_As_int(obj1
);
1736 if (PyErr_Occurred()) SWIG_fail
;
1741 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1747 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1751 arg5
= (long)SWIG_As_long(obj4
);
1752 if (PyErr_Occurred()) SWIG_fail
;
1756 arg6
= wxString_in_helper(obj5
);
1757 if (arg6
== NULL
) SWIG_fail
;
1762 if (!wxPyCheckForApp()) SWIG_fail
;
1763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1764 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1766 wxPyEndAllowThreads(__tstate
);
1767 if (PyErr_Occurred()) SWIG_fail
;
1769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1784 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1785 PyObject
*resultobj
;
1786 wxScrolledWindow
*result
;
1791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1793 if (!wxPyCheckForApp()) SWIG_fail
;
1794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1795 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1797 wxPyEndAllowThreads(__tstate
);
1798 if (PyErr_Occurred()) SWIG_fail
;
1800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1807 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
*resultobj
;
1809 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1810 wxWindow
*arg2
= (wxWindow
*) 0 ;
1811 int arg3
= (int) (int)-1 ;
1812 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1813 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1814 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1815 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1816 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1817 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1818 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1822 bool temp7
= false ;
1823 PyObject
* obj0
= 0 ;
1824 PyObject
* obj1
= 0 ;
1825 PyObject
* obj2
= 0 ;
1826 PyObject
* obj3
= 0 ;
1827 PyObject
* obj4
= 0 ;
1828 PyObject
* obj5
= 0 ;
1829 PyObject
* obj6
= 0 ;
1831 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1837 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1840 arg3
= (int)SWIG_As_int(obj2
);
1841 if (PyErr_Occurred()) SWIG_fail
;
1846 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1852 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1856 arg6
= (long)SWIG_As_long(obj5
);
1857 if (PyErr_Occurred()) SWIG_fail
;
1861 arg7
= wxString_in_helper(obj6
);
1862 if (arg7
== NULL
) SWIG_fail
;
1867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1868 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1870 wxPyEndAllowThreads(__tstate
);
1871 if (PyErr_Occurred()) SWIG_fail
;
1874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1890 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1891 PyObject
*resultobj
;
1892 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1897 int arg6
= (int) 0 ;
1898 int arg7
= (int) 0 ;
1899 bool arg8
= (bool) false ;
1900 PyObject
* obj0
= 0 ;
1901 PyObject
* obj1
= 0 ;
1902 PyObject
* obj2
= 0 ;
1903 PyObject
* obj3
= 0 ;
1904 PyObject
* obj4
= 0 ;
1905 PyObject
* obj5
= 0 ;
1906 PyObject
* obj6
= 0 ;
1907 PyObject
* obj7
= 0 ;
1909 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1915 arg2
= (int)SWIG_As_int(obj1
);
1916 if (PyErr_Occurred()) SWIG_fail
;
1917 arg3
= (int)SWIG_As_int(obj2
);
1918 if (PyErr_Occurred()) SWIG_fail
;
1919 arg4
= (int)SWIG_As_int(obj3
);
1920 if (PyErr_Occurred()) SWIG_fail
;
1921 arg5
= (int)SWIG_As_int(obj4
);
1922 if (PyErr_Occurred()) SWIG_fail
;
1924 arg6
= (int)SWIG_As_int(obj5
);
1925 if (PyErr_Occurred()) SWIG_fail
;
1928 arg7
= (int)SWIG_As_int(obj6
);
1929 if (PyErr_Occurred()) SWIG_fail
;
1932 arg8
= (bool)SWIG_As_bool(obj7
);
1933 if (PyErr_Occurred()) SWIG_fail
;
1936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1937 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1939 wxPyEndAllowThreads(__tstate
);
1940 if (PyErr_Occurred()) SWIG_fail
;
1942 Py_INCREF(Py_None
); resultobj
= Py_None
;
1949 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1950 PyObject
*resultobj
;
1951 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1954 PyObject
* obj0
= 0 ;
1955 PyObject
* obj1
= 0 ;
1956 PyObject
* obj2
= 0 ;
1958 (char *) "self",(char *) "x",(char *) "y", NULL
1961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1964 arg2
= (int)SWIG_As_int(obj1
);
1965 if (PyErr_Occurred()) SWIG_fail
;
1966 arg3
= (int)SWIG_As_int(obj2
);
1967 if (PyErr_Occurred()) SWIG_fail
;
1969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1970 (arg1
)->Scroll(arg2
,arg3
);
1972 wxPyEndAllowThreads(__tstate
);
1973 if (PyErr_Occurred()) SWIG_fail
;
1975 Py_INCREF(Py_None
); resultobj
= Py_None
;
1982 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1983 PyObject
*resultobj
;
1984 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1987 PyObject
* obj0
= 0 ;
1988 PyObject
* obj1
= 0 ;
1990 (char *) "self",(char *) "orient", NULL
1993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1996 arg2
= (int)SWIG_As_int(obj1
);
1997 if (PyErr_Occurred()) SWIG_fail
;
1999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2000 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
2002 wxPyEndAllowThreads(__tstate
);
2003 if (PyErr_Occurred()) SWIG_fail
;
2005 resultobj
= SWIG_From_int((int)result
);
2012 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2013 PyObject
*resultobj
;
2014 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2017 PyObject
* obj0
= 0 ;
2018 PyObject
* obj1
= 0 ;
2019 PyObject
* obj2
= 0 ;
2021 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2027 arg2
= (int)SWIG_As_int(obj1
);
2028 if (PyErr_Occurred()) SWIG_fail
;
2029 arg3
= (int)SWIG_As_int(obj2
);
2030 if (PyErr_Occurred()) SWIG_fail
;
2032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2033 (arg1
)->SetScrollPageSize(arg2
,arg3
);
2035 wxPyEndAllowThreads(__tstate
);
2036 if (PyErr_Occurred()) SWIG_fail
;
2038 Py_INCREF(Py_None
); resultobj
= Py_None
;
2045 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2046 PyObject
*resultobj
;
2047 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2050 PyObject
* obj0
= 0 ;
2051 PyObject
* obj1
= 0 ;
2052 PyObject
* obj2
= 0 ;
2054 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2060 arg2
= (int)SWIG_As_int(obj1
);
2061 if (PyErr_Occurred()) SWIG_fail
;
2062 arg3
= (int)SWIG_As_int(obj2
);
2063 if (PyErr_Occurred()) SWIG_fail
;
2065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2066 (arg1
)->SetScrollRate(arg2
,arg3
);
2068 wxPyEndAllowThreads(__tstate
);
2069 if (PyErr_Occurred()) SWIG_fail
;
2071 Py_INCREF(Py_None
); resultobj
= Py_None
;
2078 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2079 PyObject
*resultobj
;
2080 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2081 int *arg2
= (int *) 0 ;
2082 int *arg3
= (int *) 0 ;
2087 PyObject
* obj0
= 0 ;
2089 (char *) "self", NULL
2092 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2093 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
2095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2099 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
2101 wxPyEndAllowThreads(__tstate
);
2102 if (PyErr_Occurred()) SWIG_fail
;
2104 Py_INCREF(Py_None
); resultobj
= Py_None
;
2105 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2106 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2107 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2108 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2115 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2116 PyObject
*resultobj
;
2117 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2120 PyObject
* obj0
= 0 ;
2121 PyObject
* obj1
= 0 ;
2122 PyObject
* obj2
= 0 ;
2124 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2130 arg2
= (bool)SWIG_As_bool(obj1
);
2131 if (PyErr_Occurred()) SWIG_fail
;
2132 arg3
= (bool)SWIG_As_bool(obj2
);
2133 if (PyErr_Occurred()) SWIG_fail
;
2135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2136 (arg1
)->EnableScrolling(arg2
,arg3
);
2138 wxPyEndAllowThreads(__tstate
);
2139 if (PyErr_Occurred()) SWIG_fail
;
2141 Py_INCREF(Py_None
); resultobj
= Py_None
;
2148 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2149 PyObject
*resultobj
;
2150 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2151 int *arg2
= (int *) 0 ;
2152 int *arg3
= (int *) 0 ;
2157 PyObject
* obj0
= 0 ;
2159 (char *) "self", NULL
2162 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2163 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
2165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2169 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
2171 wxPyEndAllowThreads(__tstate
);
2172 if (PyErr_Occurred()) SWIG_fail
;
2174 Py_INCREF(Py_None
); resultobj
= Py_None
;
2175 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2176 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2177 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2178 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2185 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2186 PyObject
*resultobj
;
2187 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2190 PyObject
* obj0
= 0 ;
2191 PyObject
* obj1
= 0 ;
2192 PyObject
* obj2
= 0 ;
2194 (char *) "self",(char *) "xs",(char *) "ys", NULL
2197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2200 arg2
= (double)SWIG_As_double(obj1
);
2201 if (PyErr_Occurred()) SWIG_fail
;
2202 arg3
= (double)SWIG_As_double(obj2
);
2203 if (PyErr_Occurred()) SWIG_fail
;
2205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2206 (arg1
)->SetScale(arg2
,arg3
);
2208 wxPyEndAllowThreads(__tstate
);
2209 if (PyErr_Occurred()) SWIG_fail
;
2211 Py_INCREF(Py_None
); resultobj
= Py_None
;
2218 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2219 PyObject
*resultobj
;
2220 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2222 PyObject
* obj0
= 0 ;
2224 (char *) "self", NULL
2227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2232 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2234 wxPyEndAllowThreads(__tstate
);
2235 if (PyErr_Occurred()) SWIG_fail
;
2237 resultobj
= SWIG_From_double((double)result
);
2244 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
*resultobj
;
2246 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2248 PyObject
* obj0
= 0 ;
2250 (char *) "self", NULL
2253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2258 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2260 wxPyEndAllowThreads(__tstate
);
2261 if (PyErr_Occurred()) SWIG_fail
;
2263 resultobj
= SWIG_From_double((double)result
);
2270 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2271 PyObject
*resultobj
;
2272 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2276 PyObject
* obj0
= 0 ;
2277 PyObject
* obj1
= 0 ;
2279 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2284 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2288 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2290 wxPyEndAllowThreads(__tstate
);
2291 if (PyErr_Occurred()) SWIG_fail
;
2294 wxPoint
* resultptr
;
2295 resultptr
= new wxPoint((wxPoint
&) result
);
2296 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2304 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2305 PyObject
*resultobj
;
2306 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2309 int *arg4
= (int *) 0 ;
2310 int *arg5
= (int *) 0 ;
2315 PyObject
* obj0
= 0 ;
2316 PyObject
* obj1
= 0 ;
2317 PyObject
* obj2
= 0 ;
2319 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2320 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2321 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2324 arg2
= (int)SWIG_As_int(obj1
);
2325 if (PyErr_Occurred()) SWIG_fail
;
2326 arg3
= (int)SWIG_As_int(obj2
);
2327 if (PyErr_Occurred()) SWIG_fail
;
2329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2330 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2332 wxPyEndAllowThreads(__tstate
);
2333 if (PyErr_Occurred()) SWIG_fail
;
2335 Py_INCREF(Py_None
); resultobj
= Py_None
;
2336 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2337 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
2338 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2339 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
2346 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2351 argc
= PyObject_Length(args
);
2352 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2353 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2359 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2368 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2371 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2379 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2387 _v
= SWIG_Check_int(argv
[1]);
2389 _v
= SWIG_Check_int(argv
[2]);
2391 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2397 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2402 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2403 PyObject
*resultobj
;
2404 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2408 PyObject
* obj0
= 0 ;
2409 PyObject
* obj1
= 0 ;
2411 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2416 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2420 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2422 wxPyEndAllowThreads(__tstate
);
2423 if (PyErr_Occurred()) SWIG_fail
;
2426 wxPoint
* resultptr
;
2427 resultptr
= new wxPoint((wxPoint
&) result
);
2428 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2436 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2437 PyObject
*resultobj
;
2438 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2441 int *arg4
= (int *) 0 ;
2442 int *arg5
= (int *) 0 ;
2447 PyObject
* obj0
= 0 ;
2448 PyObject
* obj1
= 0 ;
2449 PyObject
* obj2
= 0 ;
2451 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2452 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2453 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2456 arg2
= (int)SWIG_As_int(obj1
);
2457 if (PyErr_Occurred()) SWIG_fail
;
2458 arg3
= (int)SWIG_As_int(obj2
);
2459 if (PyErr_Occurred()) SWIG_fail
;
2461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2462 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2464 wxPyEndAllowThreads(__tstate
);
2465 if (PyErr_Occurred()) SWIG_fail
;
2467 Py_INCREF(Py_None
); resultobj
= Py_None
;
2468 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2469 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
2470 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2471 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
2478 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2483 argc
= PyObject_Length(args
);
2484 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2485 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2491 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2500 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2503 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2511 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2519 _v
= SWIG_Check_int(argv
[1]);
2521 _v
= SWIG_Check_int(argv
[2]);
2523 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2529 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2534 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2535 PyObject
*resultobj
;
2536 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2537 PyObject
* obj0
= 0 ;
2539 (char *) "self", NULL
2542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2547 (arg1
)->AdjustScrollbars();
2549 wxPyEndAllowThreads(__tstate
);
2550 if (PyErr_Occurred()) SWIG_fail
;
2552 Py_INCREF(Py_None
); resultobj
= Py_None
;
2559 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2560 PyObject
*resultobj
;
2561 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2562 wxScrollWinEvent
*arg2
= 0 ;
2564 PyObject
* obj0
= 0 ;
2565 PyObject
* obj1
= 0 ;
2567 (char *) "self",(char *) "event", NULL
2570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2574 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2577 PyErr_SetString(PyExc_TypeError
,"null reference");
2581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2582 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2584 wxPyEndAllowThreads(__tstate
);
2585 if (PyErr_Occurred()) SWIG_fail
;
2587 resultobj
= SWIG_From_int((int)result
);
2594 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2595 PyObject
*resultobj
;
2596 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2597 wxWindow
*arg2
= (wxWindow
*) 0 ;
2598 PyObject
* obj0
= 0 ;
2599 PyObject
* obj1
= 0 ;
2601 (char *) "self",(char *) "target", NULL
2604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2611 (arg1
)->SetTargetWindow(arg2
);
2613 wxPyEndAllowThreads(__tstate
);
2614 if (PyErr_Occurred()) SWIG_fail
;
2616 Py_INCREF(Py_None
); resultobj
= Py_None
;
2623 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
*resultobj
;
2625 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2627 PyObject
* obj0
= 0 ;
2629 (char *) "self", NULL
2632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2637 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2639 wxPyEndAllowThreads(__tstate
);
2640 if (PyErr_Occurred()) SWIG_fail
;
2643 resultobj
= wxPyMake_wxObject(result
, 0);
2651 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2652 PyObject
*resultobj
;
2653 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2655 PyObject
* obj0
= 0 ;
2656 PyObject
* obj1
= 0 ;
2658 (char *) "self",(char *) "dc", NULL
2661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
2662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2665 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2668 PyErr_SetString(PyExc_TypeError
,"null reference");
2672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2673 (arg1
)->DoPrepareDC(*arg2
);
2675 wxPyEndAllowThreads(__tstate
);
2676 if (PyErr_Occurred()) SWIG_fail
;
2678 Py_INCREF(Py_None
); resultobj
= Py_None
;
2685 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2686 PyObject
*resultobj
;
2687 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2688 wxVisualAttributes result
;
2689 PyObject
* obj0
= 0 ;
2691 (char *) "variant", NULL
2694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2696 arg1
= (int)SWIG_As_int(obj0
);
2697 if (PyErr_Occurred()) SWIG_fail
;
2700 if (!wxPyCheckForApp()) SWIG_fail
;
2701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2702 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2704 wxPyEndAllowThreads(__tstate
);
2705 if (PyErr_Occurred()) SWIG_fail
;
2708 wxVisualAttributes
* resultptr
;
2709 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2710 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2718 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
2720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2721 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2723 return Py_BuildValue((char *)"");
2725 static int _wrap_FrameNameStr_set(PyObject
*) {
2726 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2731 static PyObject
*_wrap_FrameNameStr_get() {
2736 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2738 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2745 static int _wrap_DialogNameStr_set(PyObject
*) {
2746 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2751 static PyObject
*_wrap_DialogNameStr_get() {
2756 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2758 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2765 static int _wrap_StatusLineNameStr_set(PyObject
*) {
2766 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2771 static PyObject
*_wrap_StatusLineNameStr_get() {
2776 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2778 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2785 static int _wrap_ToolBarNameStr_set(PyObject
*) {
2786 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2791 static PyObject
*_wrap_ToolBarNameStr_get() {
2796 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2798 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2805 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2806 PyObject
*resultobj
;
2807 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2808 bool arg2
= (bool) true ;
2809 PyObject
* obj0
= 0 ;
2810 PyObject
* obj1
= 0 ;
2812 (char *) "self",(char *) "maximize", NULL
2815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2819 arg2
= (bool)SWIG_As_bool(obj1
);
2820 if (PyErr_Occurred()) SWIG_fail
;
2823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2824 (arg1
)->Maximize(arg2
);
2826 wxPyEndAllowThreads(__tstate
);
2827 if (PyErr_Occurred()) SWIG_fail
;
2829 Py_INCREF(Py_None
); resultobj
= Py_None
;
2836 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2837 PyObject
*resultobj
;
2838 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2839 PyObject
* obj0
= 0 ;
2841 (char *) "self", NULL
2844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2851 wxPyEndAllowThreads(__tstate
);
2852 if (PyErr_Occurred()) SWIG_fail
;
2854 Py_INCREF(Py_None
); resultobj
= Py_None
;
2861 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2862 PyObject
*resultobj
;
2863 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2864 bool arg2
= (bool) true ;
2865 PyObject
* obj0
= 0 ;
2866 PyObject
* obj1
= 0 ;
2868 (char *) "self",(char *) "iconize", NULL
2871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2875 arg2
= (bool)SWIG_As_bool(obj1
);
2876 if (PyErr_Occurred()) SWIG_fail
;
2879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2880 (arg1
)->Iconize(arg2
);
2882 wxPyEndAllowThreads(__tstate
);
2883 if (PyErr_Occurred()) SWIG_fail
;
2885 Py_INCREF(Py_None
); resultobj
= Py_None
;
2892 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2893 PyObject
*resultobj
;
2894 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2896 PyObject
* obj0
= 0 ;
2898 (char *) "self", NULL
2901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2906 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2908 wxPyEndAllowThreads(__tstate
);
2909 if (PyErr_Occurred()) SWIG_fail
;
2912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2920 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2921 PyObject
*resultobj
;
2922 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2924 PyObject
* obj0
= 0 ;
2926 (char *) "self", NULL
2929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2934 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2936 wxPyEndAllowThreads(__tstate
);
2937 if (PyErr_Occurred()) SWIG_fail
;
2940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2948 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2949 PyObject
*resultobj
;
2950 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2952 PyObject
* obj0
= 0 ;
2954 (char *) "self", NULL
2957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2962 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2964 wxPyEndAllowThreads(__tstate
);
2965 if (PyErr_Occurred()) SWIG_fail
;
2969 resultptr
= new wxIcon((wxIcon
&) result
);
2970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2978 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2979 PyObject
*resultobj
;
2980 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2982 PyObject
* obj0
= 0 ;
2983 PyObject
* obj1
= 0 ;
2985 (char *) "self",(char *) "icon", NULL
2988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2992 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2995 PyErr_SetString(PyExc_TypeError
,"null reference");
2999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3000 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
3002 wxPyEndAllowThreads(__tstate
);
3003 if (PyErr_Occurred()) SWIG_fail
;
3005 Py_INCREF(Py_None
); resultobj
= Py_None
;
3012 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3013 PyObject
*resultobj
;
3014 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3015 wxIconBundle
*arg2
= 0 ;
3016 PyObject
* obj0
= 0 ;
3017 PyObject
* obj1
= 0 ;
3019 (char *) "self",(char *) "icons", NULL
3022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
3023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3025 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
3026 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3029 PyErr_SetString(PyExc_TypeError
,"null reference");
3033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3034 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
3036 wxPyEndAllowThreads(__tstate
);
3037 if (PyErr_Occurred()) SWIG_fail
;
3039 Py_INCREF(Py_None
); resultobj
= Py_None
;
3046 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3047 PyObject
*resultobj
;
3048 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3050 long arg3
= (long) wxFULLSCREEN_ALL
;
3052 PyObject
* obj0
= 0 ;
3053 PyObject
* obj1
= 0 ;
3054 PyObject
* obj2
= 0 ;
3056 (char *) "self",(char *) "show",(char *) "style", NULL
3059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3062 arg2
= (bool)SWIG_As_bool(obj1
);
3063 if (PyErr_Occurred()) SWIG_fail
;
3065 arg3
= (long)SWIG_As_long(obj2
);
3066 if (PyErr_Occurred()) SWIG_fail
;
3069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3070 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
3072 wxPyEndAllowThreads(__tstate
);
3073 if (PyErr_Occurred()) SWIG_fail
;
3076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3084 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3085 PyObject
*resultobj
;
3086 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3088 PyObject
* obj0
= 0 ;
3090 (char *) "self", NULL
3093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
3094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3098 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
3100 wxPyEndAllowThreads(__tstate
);
3101 if (PyErr_Occurred()) SWIG_fail
;
3104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3112 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3113 PyObject
*resultobj
;
3114 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3115 wxString
*arg2
= 0 ;
3116 bool temp2
= false ;
3117 PyObject
* obj0
= 0 ;
3118 PyObject
* obj1
= 0 ;
3120 (char *) "self",(char *) "title", NULL
3123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
3124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3127 arg2
= wxString_in_helper(obj1
);
3128 if (arg2
== NULL
) SWIG_fail
;
3132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3133 (arg1
)->SetTitle((wxString
const &)*arg2
);
3135 wxPyEndAllowThreads(__tstate
);
3136 if (PyErr_Occurred()) SWIG_fail
;
3138 Py_INCREF(Py_None
); resultobj
= Py_None
;
3153 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3154 PyObject
*resultobj
;
3155 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3157 PyObject
* obj0
= 0 ;
3159 (char *) "self", NULL
3162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3167 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3169 wxPyEndAllowThreads(__tstate
);
3170 if (PyErr_Occurred()) SWIG_fail
;
3174 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3176 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3185 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3186 PyObject
*resultobj
;
3187 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3188 wxRegion
*arg2
= 0 ;
3190 PyObject
* obj0
= 0 ;
3191 PyObject
* obj1
= 0 ;
3193 (char *) "self",(char *) "region", NULL
3196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3199 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3200 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3203 PyErr_SetString(PyExc_TypeError
,"null reference");
3207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3208 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3210 wxPyEndAllowThreads(__tstate
);
3211 if (PyErr_Occurred()) SWIG_fail
;
3214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3222 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3223 PyObject
*resultobj
;
3224 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3225 int arg2
= (int) wxUSER_ATTENTION_INFO
;
3226 PyObject
* obj0
= 0 ;
3227 PyObject
* obj1
= 0 ;
3229 (char *) "self",(char *) "flags", NULL
3232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
3233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3236 arg2
= (int)SWIG_As_int(obj1
);
3237 if (PyErr_Occurred()) SWIG_fail
;
3240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3241 (arg1
)->RequestUserAttention(arg2
);
3243 wxPyEndAllowThreads(__tstate
);
3244 if (PyErr_Occurred()) SWIG_fail
;
3246 Py_INCREF(Py_None
); resultobj
= Py_None
;
3253 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3254 PyObject
*resultobj
;
3255 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3257 PyObject
* obj0
= 0 ;
3259 (char *) "self", NULL
3262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
3263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3267 result
= (bool)(arg1
)->IsActive();
3269 wxPyEndAllowThreads(__tstate
);
3270 if (PyErr_Occurred()) SWIG_fail
;
3273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3281 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
*resultobj
;
3283 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3285 PyObject
* obj0
= 0 ;
3286 PyObject
* obj1
= 0 ;
3288 (char *) "self",(char *) "on", NULL
3291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
3292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3294 arg2
= (bool)SWIG_As_bool(obj1
);
3295 if (PyErr_Occurred()) SWIG_fail
;
3297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3298 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
3300 wxPyEndAllowThreads(__tstate
);
3301 if (PyErr_Occurred()) SWIG_fail
;
3303 Py_INCREF(Py_None
); resultobj
= Py_None
;
3310 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3311 PyObject
*resultobj
;
3312 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3314 PyObject
* obj0
= 0 ;
3316 (char *) "self", NULL
3319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
3320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3324 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
3326 wxPyEndAllowThreads(__tstate
);
3327 if (PyErr_Occurred()) SWIG_fail
;
3330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3338 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
3340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3341 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3343 return Py_BuildValue((char *)"");
3345 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
*resultobj
;
3347 wxWindow
*arg1
= (wxWindow
*) 0 ;
3348 int arg2
= (int) (int)-1 ;
3349 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3350 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3351 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3352 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3353 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3354 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3355 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3356 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3357 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3359 bool temp3
= false ;
3362 bool temp7
= false ;
3363 PyObject
* obj0
= 0 ;
3364 PyObject
* obj1
= 0 ;
3365 PyObject
* obj2
= 0 ;
3366 PyObject
* obj3
= 0 ;
3367 PyObject
* obj4
= 0 ;
3368 PyObject
* obj5
= 0 ;
3369 PyObject
* obj6
= 0 ;
3371 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3378 arg2
= (int)SWIG_As_int(obj1
);
3379 if (PyErr_Occurred()) SWIG_fail
;
3383 arg3
= wxString_in_helper(obj2
);
3384 if (arg3
== NULL
) SWIG_fail
;
3391 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3397 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3401 arg6
= (long)SWIG_As_long(obj5
);
3402 if (PyErr_Occurred()) SWIG_fail
;
3406 arg7
= wxString_in_helper(obj6
);
3407 if (arg7
== NULL
) SWIG_fail
;
3412 if (!wxPyCheckForApp()) SWIG_fail
;
3413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3414 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3416 wxPyEndAllowThreads(__tstate
);
3417 if (PyErr_Occurred()) SWIG_fail
;
3419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3442 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3443 PyObject
*resultobj
;
3449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3451 if (!wxPyCheckForApp()) SWIG_fail
;
3452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3453 result
= (wxFrame
*)new wxFrame();
3455 wxPyEndAllowThreads(__tstate
);
3456 if (PyErr_Occurred()) SWIG_fail
;
3458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3465 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3466 PyObject
*resultobj
;
3467 wxFrame
*arg1
= (wxFrame
*) 0 ;
3468 wxWindow
*arg2
= (wxWindow
*) 0 ;
3469 int arg3
= (int) (int)-1 ;
3470 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3471 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3472 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3473 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3474 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3475 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3476 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3477 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3478 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3480 bool temp4
= false ;
3483 bool temp8
= false ;
3484 PyObject
* obj0
= 0 ;
3485 PyObject
* obj1
= 0 ;
3486 PyObject
* obj2
= 0 ;
3487 PyObject
* obj3
= 0 ;
3488 PyObject
* obj4
= 0 ;
3489 PyObject
* obj5
= 0 ;
3490 PyObject
* obj6
= 0 ;
3491 PyObject
* obj7
= 0 ;
3493 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3499 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3502 arg3
= (int)SWIG_As_int(obj2
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3507 arg4
= wxString_in_helper(obj3
);
3508 if (arg4
== NULL
) SWIG_fail
;
3515 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3521 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3525 arg7
= (long)SWIG_As_long(obj6
);
3526 if (PyErr_Occurred()) SWIG_fail
;
3530 arg8
= wxString_in_helper(obj7
);
3531 if (arg8
== NULL
) SWIG_fail
;
3536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3537 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3539 wxPyEndAllowThreads(__tstate
);
3540 if (PyErr_Occurred()) SWIG_fail
;
3543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3567 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3568 PyObject
*resultobj
;
3569 wxFrame
*arg1
= (wxFrame
*) 0 ;
3571 PyObject
* obj0
= 0 ;
3573 (char *) "self", NULL
3576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3581 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3583 wxPyEndAllowThreads(__tstate
);
3584 if (PyErr_Occurred()) SWIG_fail
;
3587 wxPoint
* resultptr
;
3588 resultptr
= new wxPoint((wxPoint
&) result
);
3589 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3597 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
*resultobj
;
3599 wxFrame
*arg1
= (wxFrame
*) 0 ;
3600 PyObject
* obj0
= 0 ;
3602 (char *) "self", NULL
3605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3610 (arg1
)->SendSizeEvent();
3612 wxPyEndAllowThreads(__tstate
);
3613 if (PyErr_Occurred()) SWIG_fail
;
3615 Py_INCREF(Py_None
); resultobj
= Py_None
;
3622 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3623 PyObject
*resultobj
;
3624 wxFrame
*arg1
= (wxFrame
*) 0 ;
3625 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3626 PyObject
* obj0
= 0 ;
3627 PyObject
* obj1
= 0 ;
3629 (char *) "self",(char *) "menubar", NULL
3632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3639 (arg1
)->SetMenuBar(arg2
);
3641 wxPyEndAllowThreads(__tstate
);
3642 if (PyErr_Occurred()) SWIG_fail
;
3644 Py_INCREF(Py_None
); resultobj
= Py_None
;
3651 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3652 PyObject
*resultobj
;
3653 wxFrame
*arg1
= (wxFrame
*) 0 ;
3655 PyObject
* obj0
= 0 ;
3657 (char *) "self", NULL
3660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3665 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3667 wxPyEndAllowThreads(__tstate
);
3668 if (PyErr_Occurred()) SWIG_fail
;
3671 resultobj
= wxPyMake_wxObject(result
, 0);
3679 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3680 PyObject
*resultobj
;
3681 wxFrame
*arg1
= (wxFrame
*) 0 ;
3684 PyObject
* obj0
= 0 ;
3685 PyObject
* obj1
= 0 ;
3687 (char *) "self",(char *) "winid", NULL
3690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3693 arg2
= (int)SWIG_As_int(obj1
);
3694 if (PyErr_Occurred()) SWIG_fail
;
3696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3697 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3699 wxPyEndAllowThreads(__tstate
);
3700 if (PyErr_Occurred()) SWIG_fail
;
3703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3711 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3712 PyObject
*resultobj
;
3713 wxFrame
*arg1
= (wxFrame
*) 0 ;
3714 int arg2
= (int) 1 ;
3715 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
3716 int arg4
= (int) 0 ;
3717 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3718 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3719 wxStatusBar
*result
;
3720 bool temp5
= false ;
3721 PyObject
* obj0
= 0 ;
3722 PyObject
* obj1
= 0 ;
3723 PyObject
* obj2
= 0 ;
3724 PyObject
* obj3
= 0 ;
3725 PyObject
* obj4
= 0 ;
3727 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3734 arg2
= (int)SWIG_As_int(obj1
);
3735 if (PyErr_Occurred()) SWIG_fail
;
3738 arg3
= (long)SWIG_As_long(obj2
);
3739 if (PyErr_Occurred()) SWIG_fail
;
3742 arg4
= (int)SWIG_As_int(obj3
);
3743 if (PyErr_Occurred()) SWIG_fail
;
3747 arg5
= wxString_in_helper(obj4
);
3748 if (arg5
== NULL
) SWIG_fail
;
3753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3754 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3756 wxPyEndAllowThreads(__tstate
);
3757 if (PyErr_Occurred()) SWIG_fail
;
3760 resultobj
= wxPyMake_wxObject(result
, 0);
3776 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3777 PyObject
*resultobj
;
3778 wxFrame
*arg1
= (wxFrame
*) 0 ;
3779 wxStatusBar
*result
;
3780 PyObject
* obj0
= 0 ;
3782 (char *) "self", NULL
3785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3790 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3792 wxPyEndAllowThreads(__tstate
);
3793 if (PyErr_Occurred()) SWIG_fail
;
3796 resultobj
= wxPyMake_wxObject(result
, 0);
3804 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
*resultobj
;
3806 wxFrame
*arg1
= (wxFrame
*) 0 ;
3807 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3808 PyObject
* obj0
= 0 ;
3809 PyObject
* obj1
= 0 ;
3811 (char *) "self",(char *) "statBar", NULL
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3817 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 (arg1
)->SetStatusBar(arg2
);
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) SWIG_fail
;
3826 Py_INCREF(Py_None
); resultobj
= Py_None
;
3833 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
*resultobj
;
3835 wxFrame
*arg1
= (wxFrame
*) 0 ;
3836 wxString
*arg2
= 0 ;
3837 int arg3
= (int) 0 ;
3838 bool temp2
= false ;
3839 PyObject
* obj0
= 0 ;
3840 PyObject
* obj1
= 0 ;
3841 PyObject
* obj2
= 0 ;
3843 (char *) "self",(char *) "text",(char *) "number", NULL
3846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3850 arg2
= wxString_in_helper(obj1
);
3851 if (arg2
== NULL
) SWIG_fail
;
3855 arg3
= (int)SWIG_As_int(obj2
);
3856 if (PyErr_Occurred()) SWIG_fail
;
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3862 wxPyEndAllowThreads(__tstate
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3865 Py_INCREF(Py_None
); resultobj
= Py_None
;
3880 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3881 PyObject
*resultobj
;
3882 wxFrame
*arg1
= (wxFrame
*) 0 ;
3884 int *arg3
= (int *) 0 ;
3885 PyObject
* obj0
= 0 ;
3886 PyObject
* obj1
= 0 ;
3888 (char *) "self",(char *) "widths", NULL
3891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3895 arg2
= PyList_Size(obj1
);
3896 arg3
= int_LIST_helper(obj1
);
3897 if (arg3
== NULL
) SWIG_fail
;
3900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3903 wxPyEndAllowThreads(__tstate
);
3904 if (PyErr_Occurred()) SWIG_fail
;
3906 Py_INCREF(Py_None
); resultobj
= Py_None
;
3908 if (arg3
) delete [] arg3
;
3913 if (arg3
) delete [] arg3
;
3919 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3920 PyObject
*resultobj
;
3921 wxFrame
*arg1
= (wxFrame
*) 0 ;
3922 wxString
*arg2
= 0 ;
3923 int arg3
= (int) 0 ;
3924 bool temp2
= false ;
3925 PyObject
* obj0
= 0 ;
3926 PyObject
* obj1
= 0 ;
3927 PyObject
* obj2
= 0 ;
3929 (char *) "self",(char *) "text",(char *) "number", NULL
3932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3936 arg2
= wxString_in_helper(obj1
);
3937 if (arg2
== NULL
) SWIG_fail
;
3941 arg3
= (int)SWIG_As_int(obj2
);
3942 if (PyErr_Occurred()) SWIG_fail
;
3945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3946 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3948 wxPyEndAllowThreads(__tstate
);
3949 if (PyErr_Occurred()) SWIG_fail
;
3951 Py_INCREF(Py_None
); resultobj
= Py_None
;
3966 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
;
3968 wxFrame
*arg1
= (wxFrame
*) 0 ;
3969 int arg2
= (int) 0 ;
3970 PyObject
* obj0
= 0 ;
3971 PyObject
* obj1
= 0 ;
3973 (char *) "self",(char *) "number", NULL
3976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3980 arg2
= (int)SWIG_As_int(obj1
);
3981 if (PyErr_Occurred()) SWIG_fail
;
3984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3985 (arg1
)->PopStatusText(arg2
);
3987 wxPyEndAllowThreads(__tstate
);
3988 if (PyErr_Occurred()) SWIG_fail
;
3990 Py_INCREF(Py_None
); resultobj
= Py_None
;
3997 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3998 PyObject
*resultobj
;
3999 wxFrame
*arg1
= (wxFrame
*) 0 ;
4001 PyObject
* obj0
= 0 ;
4002 PyObject
* obj1
= 0 ;
4004 (char *) "self",(char *) "n", NULL
4007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
4008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4010 arg2
= (int)SWIG_As_int(obj1
);
4011 if (PyErr_Occurred()) SWIG_fail
;
4013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4014 (arg1
)->SetStatusBarPane(arg2
);
4016 wxPyEndAllowThreads(__tstate
);
4017 if (PyErr_Occurred()) SWIG_fail
;
4019 Py_INCREF(Py_None
); resultobj
= Py_None
;
4026 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4027 PyObject
*resultobj
;
4028 wxFrame
*arg1
= (wxFrame
*) 0 ;
4030 PyObject
* obj0
= 0 ;
4032 (char *) "self", NULL
4035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
4036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4040 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
4042 wxPyEndAllowThreads(__tstate
);
4043 if (PyErr_Occurred()) SWIG_fail
;
4045 resultobj
= SWIG_From_int((int)result
);
4052 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
*resultobj
;
4054 wxFrame
*arg1
= (wxFrame
*) 0 ;
4055 long arg2
= (long) -1 ;
4056 int arg3
= (int) -1 ;
4057 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
4058 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4060 bool temp4
= false ;
4061 PyObject
* obj0
= 0 ;
4062 PyObject
* obj1
= 0 ;
4063 PyObject
* obj2
= 0 ;
4064 PyObject
* obj3
= 0 ;
4066 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
4069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4073 arg2
= (long)SWIG_As_long(obj1
);
4074 if (PyErr_Occurred()) SWIG_fail
;
4077 arg3
= (int)SWIG_As_int(obj2
);
4078 if (PyErr_Occurred()) SWIG_fail
;
4082 arg4
= wxString_in_helper(obj3
);
4083 if (arg4
== NULL
) SWIG_fail
;
4088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4089 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
4091 wxPyEndAllowThreads(__tstate
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4095 resultobj
= wxPyMake_wxObject(result
, 0);
4111 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
*resultobj
;
4113 wxFrame
*arg1
= (wxFrame
*) 0 ;
4115 PyObject
* obj0
= 0 ;
4117 (char *) "self", NULL
4120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
4121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4125 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
4127 wxPyEndAllowThreads(__tstate
);
4128 if (PyErr_Occurred()) SWIG_fail
;
4131 resultobj
= wxPyMake_wxObject(result
, 0);
4139 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
*resultobj
;
4141 wxFrame
*arg1
= (wxFrame
*) 0 ;
4142 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
4143 PyObject
* obj0
= 0 ;
4144 PyObject
* obj1
= 0 ;
4146 (char *) "self",(char *) "toolbar", NULL
4149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4152 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
4153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4156 (arg1
)->SetToolBar(arg2
);
4158 wxPyEndAllowThreads(__tstate
);
4159 if (PyErr_Occurred()) SWIG_fail
;
4161 Py_INCREF(Py_None
); resultobj
= Py_None
;
4168 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4169 PyObject
*resultobj
;
4170 wxFrame
*arg1
= (wxFrame
*) 0 ;
4171 wxString
*arg2
= 0 ;
4173 bool temp2
= false ;
4174 PyObject
* obj0
= 0 ;
4175 PyObject
* obj1
= 0 ;
4176 PyObject
* obj2
= 0 ;
4178 (char *) "self",(char *) "text",(char *) "show", NULL
4181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4185 arg2
= wxString_in_helper(obj1
);
4186 if (arg2
== NULL
) SWIG_fail
;
4189 arg3
= (bool)SWIG_As_bool(obj2
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4193 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
4195 wxPyEndAllowThreads(__tstate
);
4196 if (PyErr_Occurred()) SWIG_fail
;
4198 Py_INCREF(Py_None
); resultobj
= Py_None
;
4213 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
*resultobj
;
4215 wxFrame
*arg1
= (wxFrame
*) 0 ;
4216 wxMenu
*arg2
= (wxMenu
*) NULL
;
4217 PyObject
* obj0
= 0 ;
4218 PyObject
* obj1
= 0 ;
4220 (char *) "self",(char *) "menu", NULL
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
4224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4227 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
4228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4232 (arg1
)->DoMenuUpdates(arg2
);
4234 wxPyEndAllowThreads(__tstate
);
4235 if (PyErr_Occurred()) SWIG_fail
;
4237 Py_INCREF(Py_None
); resultobj
= Py_None
;
4244 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4245 PyObject
*resultobj
;
4246 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4247 wxVisualAttributes result
;
4248 PyObject
* obj0
= 0 ;
4250 (char *) "variant", NULL
4253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4255 arg1
= (int)SWIG_As_int(obj0
);
4256 if (PyErr_Occurred()) SWIG_fail
;
4259 if (!wxPyCheckForApp()) SWIG_fail
;
4260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4261 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4263 wxPyEndAllowThreads(__tstate
);
4264 if (PyErr_Occurred()) SWIG_fail
;
4267 wxVisualAttributes
* resultptr
;
4268 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4269 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4277 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
4279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4280 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4282 return Py_BuildValue((char *)"");
4284 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
*resultobj
;
4286 wxWindow
*arg1
= (wxWindow
*) 0 ;
4287 int arg2
= (int) (int)-1 ;
4288 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4289 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4290 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4291 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4292 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4293 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4294 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4295 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4296 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4298 bool temp3
= false ;
4301 bool temp7
= false ;
4302 PyObject
* obj0
= 0 ;
4303 PyObject
* obj1
= 0 ;
4304 PyObject
* obj2
= 0 ;
4305 PyObject
* obj3
= 0 ;
4306 PyObject
* obj4
= 0 ;
4307 PyObject
* obj5
= 0 ;
4308 PyObject
* obj6
= 0 ;
4310 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4317 arg2
= (int)SWIG_As_int(obj1
);
4318 if (PyErr_Occurred()) SWIG_fail
;
4322 arg3
= wxString_in_helper(obj2
);
4323 if (arg3
== NULL
) SWIG_fail
;
4330 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4336 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4340 arg6
= (long)SWIG_As_long(obj5
);
4341 if (PyErr_Occurred()) SWIG_fail
;
4345 arg7
= wxString_in_helper(obj6
);
4346 if (arg7
== NULL
) SWIG_fail
;
4351 if (!wxPyCheckForApp()) SWIG_fail
;
4352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4353 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4355 wxPyEndAllowThreads(__tstate
);
4356 if (PyErr_Occurred()) SWIG_fail
;
4358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4381 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4382 PyObject
*resultobj
;
4388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4390 if (!wxPyCheckForApp()) SWIG_fail
;
4391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4392 result
= (wxDialog
*)new wxDialog();
4394 wxPyEndAllowThreads(__tstate
);
4395 if (PyErr_Occurred()) SWIG_fail
;
4397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4404 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4405 PyObject
*resultobj
;
4406 wxDialog
*arg1
= (wxDialog
*) 0 ;
4407 wxWindow
*arg2
= (wxWindow
*) 0 ;
4408 int arg3
= (int) (int)-1 ;
4409 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4410 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4411 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4412 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4413 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4414 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4415 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4416 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4417 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4419 bool temp4
= false ;
4422 bool temp8
= false ;
4423 PyObject
* obj0
= 0 ;
4424 PyObject
* obj1
= 0 ;
4425 PyObject
* obj2
= 0 ;
4426 PyObject
* obj3
= 0 ;
4427 PyObject
* obj4
= 0 ;
4428 PyObject
* obj5
= 0 ;
4429 PyObject
* obj6
= 0 ;
4430 PyObject
* obj7
= 0 ;
4432 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4438 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4441 arg3
= (int)SWIG_As_int(obj2
);
4442 if (PyErr_Occurred()) SWIG_fail
;
4446 arg4
= wxString_in_helper(obj3
);
4447 if (arg4
== NULL
) SWIG_fail
;
4454 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4460 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4464 arg7
= (long)SWIG_As_long(obj6
);
4465 if (PyErr_Occurred()) SWIG_fail
;
4469 arg8
= wxString_in_helper(obj7
);
4470 if (arg8
== NULL
) SWIG_fail
;
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4476 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4506 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
*resultobj
;
4508 wxDialog
*arg1
= (wxDialog
*) 0 ;
4510 PyObject
* obj0
= 0 ;
4511 PyObject
* obj1
= 0 ;
4513 (char *) "self",(char *) "returnCode", NULL
4516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4519 arg2
= (int)SWIG_As_int(obj1
);
4520 if (PyErr_Occurred()) SWIG_fail
;
4522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4523 (arg1
)->SetReturnCode(arg2
);
4525 wxPyEndAllowThreads(__tstate
);
4526 if (PyErr_Occurred()) SWIG_fail
;
4528 Py_INCREF(Py_None
); resultobj
= Py_None
;
4535 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4536 PyObject
*resultobj
;
4537 wxDialog
*arg1
= (wxDialog
*) 0 ;
4539 PyObject
* obj0
= 0 ;
4541 (char *) "self", NULL
4544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4549 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) SWIG_fail
;
4554 resultobj
= SWIG_From_int((int)result
);
4561 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
*resultobj
;
4563 wxDialog
*arg1
= (wxDialog
*) 0 ;
4564 wxString
*arg2
= 0 ;
4566 bool temp2
= false ;
4567 PyObject
* obj0
= 0 ;
4568 PyObject
* obj1
= 0 ;
4570 (char *) "self",(char *) "message", NULL
4573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4577 arg2
= wxString_in_helper(obj1
);
4578 if (arg2
== NULL
) SWIG_fail
;
4582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4583 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4585 wxPyEndAllowThreads(__tstate
);
4586 if (PyErr_Occurred()) SWIG_fail
;
4589 resultobj
= wxPyMake_wxSizer(result
, 0);
4605 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4606 PyObject
*resultobj
;
4607 wxDialog
*arg1
= (wxDialog
*) 0 ;
4610 PyObject
* obj0
= 0 ;
4611 PyObject
* obj1
= 0 ;
4613 (char *) "self",(char *) "flags", NULL
4616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4619 arg2
= (long)SWIG_As_long(obj1
);
4620 if (PyErr_Occurred()) SWIG_fail
;
4622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4623 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4625 wxPyEndAllowThreads(__tstate
);
4626 if (PyErr_Occurred()) SWIG_fail
;
4629 resultobj
= wxPyMake_wxSizer(result
, 0);
4637 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
*resultobj
;
4639 wxDialog
*arg1
= (wxDialog
*) 0 ;
4641 PyObject
* obj0
= 0 ;
4643 (char *) "self", NULL
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4651 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4653 wxPyEndAllowThreads(__tstate
);
4654 if (PyErr_Occurred()) SWIG_fail
;
4657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4665 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
*resultobj
;
4667 wxDialog
*arg1
= (wxDialog
*) 0 ;
4669 PyObject
* obj0
= 0 ;
4671 (char *) "self", NULL
4674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4679 result
= (int)(arg1
)->ShowModal();
4681 wxPyEndAllowThreads(__tstate
);
4682 if (PyErr_Occurred()) SWIG_fail
;
4684 resultobj
= SWIG_From_int((int)result
);
4691 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4692 PyObject
*resultobj
;
4693 wxDialog
*arg1
= (wxDialog
*) 0 ;
4695 PyObject
* obj0
= 0 ;
4696 PyObject
* obj1
= 0 ;
4698 (char *) "self",(char *) "retCode", NULL
4701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4704 arg2
= (int)SWIG_As_int(obj1
);
4705 if (PyErr_Occurred()) SWIG_fail
;
4707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4708 (arg1
)->EndModal(arg2
);
4710 wxPyEndAllowThreads(__tstate
);
4711 if (PyErr_Occurred()) SWIG_fail
;
4713 Py_INCREF(Py_None
); resultobj
= Py_None
;
4720 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4721 PyObject
*resultobj
;
4722 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4723 wxVisualAttributes result
;
4724 PyObject
* obj0
= 0 ;
4726 (char *) "variant", NULL
4729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4731 arg1
= (int)SWIG_As_int(obj0
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4735 if (!wxPyCheckForApp()) SWIG_fail
;
4736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4737 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4739 wxPyEndAllowThreads(__tstate
);
4740 if (PyErr_Occurred()) SWIG_fail
;
4743 wxVisualAttributes
* resultptr
;
4744 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4745 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4753 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
4755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4756 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4758 return Py_BuildValue((char *)"");
4760 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4761 PyObject
*resultobj
;
4762 wxWindow
*arg1
= (wxWindow
*) 0 ;
4763 int arg2
= (int) (int)-1 ;
4764 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4765 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4766 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4767 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4768 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4769 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4770 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4771 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4772 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4773 wxMiniFrame
*result
;
4774 bool temp3
= false ;
4777 bool temp7
= false ;
4778 PyObject
* obj0
= 0 ;
4779 PyObject
* obj1
= 0 ;
4780 PyObject
* obj2
= 0 ;
4781 PyObject
* obj3
= 0 ;
4782 PyObject
* obj4
= 0 ;
4783 PyObject
* obj5
= 0 ;
4784 PyObject
* obj6
= 0 ;
4786 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4793 arg2
= (int)SWIG_As_int(obj1
);
4794 if (PyErr_Occurred()) SWIG_fail
;
4798 arg3
= wxString_in_helper(obj2
);
4799 if (arg3
== NULL
) SWIG_fail
;
4806 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4812 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4816 arg6
= (long)SWIG_As_long(obj5
);
4817 if (PyErr_Occurred()) SWIG_fail
;
4821 arg7
= wxString_in_helper(obj6
);
4822 if (arg7
== NULL
) SWIG_fail
;
4827 if (!wxPyCheckForApp()) SWIG_fail
;
4828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4829 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4831 wxPyEndAllowThreads(__tstate
);
4832 if (PyErr_Occurred()) SWIG_fail
;
4834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4857 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
*resultobj
;
4859 wxMiniFrame
*result
;
4864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4866 if (!wxPyCheckForApp()) SWIG_fail
;
4867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4868 result
= (wxMiniFrame
*)new wxMiniFrame();
4870 wxPyEndAllowThreads(__tstate
);
4871 if (PyErr_Occurred()) SWIG_fail
;
4873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4880 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
*resultobj
;
4882 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4883 wxWindow
*arg2
= (wxWindow
*) 0 ;
4884 int arg3
= (int) (int)-1 ;
4885 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4886 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4887 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4888 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4889 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4890 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4891 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4892 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4893 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4895 bool temp4
= false ;
4898 bool temp8
= false ;
4899 PyObject
* obj0
= 0 ;
4900 PyObject
* obj1
= 0 ;
4901 PyObject
* obj2
= 0 ;
4902 PyObject
* obj3
= 0 ;
4903 PyObject
* obj4
= 0 ;
4904 PyObject
* obj5
= 0 ;
4905 PyObject
* obj6
= 0 ;
4906 PyObject
* obj7
= 0 ;
4908 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4917 arg3
= (int)SWIG_As_int(obj2
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4922 arg4
= wxString_in_helper(obj3
);
4923 if (arg4
== NULL
) SWIG_fail
;
4930 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4936 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4940 arg7
= (long)SWIG_As_long(obj6
);
4941 if (PyErr_Occurred()) SWIG_fail
;
4945 arg8
= wxString_in_helper(obj7
);
4946 if (arg8
== NULL
) SWIG_fail
;
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4982 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
4984 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4985 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4987 return Py_BuildValue((char *)"");
4989 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
*resultobj
;
4991 wxBitmap
*arg1
= 0 ;
4992 wxWindow
*arg2
= (wxWindow
*) 0 ;
4994 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4995 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4996 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4997 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4998 long arg6
= (long) wxNO_BORDER
;
4999 wxSplashScreenWindow
*result
;
5002 PyObject
* obj0
= 0 ;
5003 PyObject
* obj1
= 0 ;
5004 PyObject
* obj2
= 0 ;
5005 PyObject
* obj3
= 0 ;
5006 PyObject
* obj4
= 0 ;
5007 PyObject
* obj5
= 0 ;
5009 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5017 PyErr_SetString(PyExc_TypeError
,"null reference");
5020 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5022 arg3
= (int)SWIG_As_int(obj2
);
5023 if (PyErr_Occurred()) SWIG_fail
;
5027 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5033 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5037 arg6
= (long)SWIG_As_long(obj5
);
5038 if (PyErr_Occurred()) SWIG_fail
;
5041 if (!wxPyCheckForApp()) SWIG_fail
;
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
5055 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5056 PyObject
*resultobj
;
5057 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
5058 wxBitmap
*arg2
= 0 ;
5059 PyObject
* obj0
= 0 ;
5060 PyObject
* obj1
= 0 ;
5062 (char *) "self",(char *) "bitmap", NULL
5065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5068 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5069 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5072 PyErr_SetString(PyExc_TypeError
,"null reference");
5076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5077 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5079 wxPyEndAllowThreads(__tstate
);
5080 if (PyErr_Occurred()) SWIG_fail
;
5082 Py_INCREF(Py_None
); resultobj
= Py_None
;
5089 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
*resultobj
;
5091 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
5093 PyObject
* obj0
= 0 ;
5095 (char *) "self", NULL
5098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
5099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
5105 result
= (wxBitmap
*) &_result_ref
;
5108 wxPyEndAllowThreads(__tstate
);
5109 if (PyErr_Occurred()) SWIG_fail
;
5112 wxBitmap
* resultptr
= new wxBitmap(*result
);
5113 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5121 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
5123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5124 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
5126 return Py_BuildValue((char *)"");
5128 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5129 PyObject
*resultobj
;
5130 wxBitmap
*arg1
= 0 ;
5133 wxWindow
*arg4
= (wxWindow
*) 0 ;
5134 int arg5
= (int) -1 ;
5135 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
5136 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
5137 wxSize
const &arg7_defvalue
= wxDefaultSize
;
5138 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
5139 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
5140 wxSplashScreen
*result
;
5143 PyObject
* obj0
= 0 ;
5144 PyObject
* obj1
= 0 ;
5145 PyObject
* obj2
= 0 ;
5146 PyObject
* obj3
= 0 ;
5147 PyObject
* obj4
= 0 ;
5148 PyObject
* obj5
= 0 ;
5149 PyObject
* obj6
= 0 ;
5150 PyObject
* obj7
= 0 ;
5152 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5157 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5160 PyErr_SetString(PyExc_TypeError
,"null reference");
5163 arg2
= (long)SWIG_As_long(obj1
);
5164 if (PyErr_Occurred()) SWIG_fail
;
5165 arg3
= (int)SWIG_As_int(obj2
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5167 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
5168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5170 arg5
= (int)SWIG_As_int(obj4
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5176 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
5182 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
5186 arg8
= (long)SWIG_As_long(obj7
);
5187 if (PyErr_Occurred()) SWIG_fail
;
5190 if (!wxPyCheckForApp()) SWIG_fail
;
5191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5192 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
5194 wxPyEndAllowThreads(__tstate
);
5195 if (PyErr_Occurred()) SWIG_fail
;
5197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
5204 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
*resultobj
;
5206 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5208 PyObject
* obj0
= 0 ;
5210 (char *) "self", NULL
5213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
5214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5223 resultobj
= SWIG_From_long((long)result
);
5230 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5231 PyObject
*resultobj
;
5232 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5233 wxSplashScreenWindow
*result
;
5234 PyObject
* obj0
= 0 ;
5236 (char *) "self", NULL
5239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
5240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5244 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
5246 wxPyEndAllowThreads(__tstate
);
5247 if (PyErr_Occurred()) SWIG_fail
;
5249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
5256 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
*resultobj
;
5258 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5260 PyObject
* obj0
= 0 ;
5262 (char *) "self", NULL
5265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
5266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
5272 wxPyEndAllowThreads(__tstate
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5275 resultobj
= SWIG_From_int((int)result
);
5282 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
5284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5285 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
5287 return Py_BuildValue((char *)"");
5289 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5290 PyObject
*resultobj
;
5291 wxWindow
*arg1
= (wxWindow
*) 0 ;
5292 int arg2
= (int) -1 ;
5293 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
5294 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5295 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5296 wxStatusBar
*result
;
5297 bool temp4
= false ;
5298 PyObject
* obj0
= 0 ;
5299 PyObject
* obj1
= 0 ;
5300 PyObject
* obj2
= 0 ;
5301 PyObject
* obj3
= 0 ;
5303 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5310 arg2
= (int)SWIG_As_int(obj1
);
5311 if (PyErr_Occurred()) SWIG_fail
;
5314 arg3
= (long)SWIG_As_long(obj2
);
5315 if (PyErr_Occurred()) SWIG_fail
;
5319 arg4
= wxString_in_helper(obj3
);
5320 if (arg4
== NULL
) SWIG_fail
;
5325 if (!wxPyCheckForApp()) SWIG_fail
;
5326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5327 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5329 wxPyEndAllowThreads(__tstate
);
5330 if (PyErr_Occurred()) SWIG_fail
;
5332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5347 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5348 PyObject
*resultobj
;
5349 wxStatusBar
*result
;
5354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5356 if (!wxPyCheckForApp()) SWIG_fail
;
5357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5358 result
= (wxStatusBar
*)new wxStatusBar();
5360 wxPyEndAllowThreads(__tstate
);
5361 if (PyErr_Occurred()) SWIG_fail
;
5363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5370 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5371 PyObject
*resultobj
;
5372 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5373 wxWindow
*arg2
= (wxWindow
*) 0 ;
5374 int arg3
= (int) -1 ;
5375 long arg4
= (long) wxST_SIZEGRIP
;
5376 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5377 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5379 bool temp5
= false ;
5380 PyObject
* obj0
= 0 ;
5381 PyObject
* obj1
= 0 ;
5382 PyObject
* obj2
= 0 ;
5383 PyObject
* obj3
= 0 ;
5384 PyObject
* obj4
= 0 ;
5386 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5395 arg3
= (int)SWIG_As_int(obj2
);
5396 if (PyErr_Occurred()) SWIG_fail
;
5399 arg4
= (long)SWIG_As_long(obj3
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5404 arg5
= wxString_in_helper(obj4
);
5405 if (arg5
== NULL
) SWIG_fail
;
5410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5413 wxPyEndAllowThreads(__tstate
);
5414 if (PyErr_Occurred()) SWIG_fail
;
5417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5433 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5434 PyObject
*resultobj
;
5435 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5436 int arg2
= (int) 1 ;
5437 PyObject
* obj0
= 0 ;
5438 PyObject
* obj1
= 0 ;
5440 (char *) "self",(char *) "number", NULL
5443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5447 arg2
= (int)SWIG_As_int(obj1
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5452 (arg1
)->SetFieldsCount(arg2
);
5454 wxPyEndAllowThreads(__tstate
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5457 Py_INCREF(Py_None
); resultobj
= Py_None
;
5464 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5465 PyObject
*resultobj
;
5466 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5468 PyObject
* obj0
= 0 ;
5470 (char *) "self", NULL
5473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5478 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5480 wxPyEndAllowThreads(__tstate
);
5481 if (PyErr_Occurred()) SWIG_fail
;
5483 resultobj
= SWIG_From_int((int)result
);
5490 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
*resultobj
;
5492 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5493 wxString
*arg2
= 0 ;
5494 int arg3
= (int) 0 ;
5495 bool temp2
= false ;
5496 PyObject
* obj0
= 0 ;
5497 PyObject
* obj1
= 0 ;
5498 PyObject
* obj2
= 0 ;
5500 (char *) "self",(char *) "text",(char *) "number", NULL
5503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5507 arg2
= wxString_in_helper(obj1
);
5508 if (arg2
== NULL
) SWIG_fail
;
5512 arg3
= (int)SWIG_As_int(obj2
);
5513 if (PyErr_Occurred()) SWIG_fail
;
5516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5517 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5519 wxPyEndAllowThreads(__tstate
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5522 Py_INCREF(Py_None
); resultobj
= Py_None
;
5537 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5538 PyObject
*resultobj
;
5539 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5540 int arg2
= (int) 0 ;
5542 PyObject
* obj0
= 0 ;
5543 PyObject
* obj1
= 0 ;
5545 (char *) "self",(char *) "number", NULL
5548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5552 arg2
= (int)SWIG_As_int(obj1
);
5553 if (PyErr_Occurred()) SWIG_fail
;
5556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5557 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5564 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5566 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5575 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5576 PyObject
*resultobj
;
5577 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5578 wxString
*arg2
= 0 ;
5579 int arg3
= (int) 0 ;
5580 bool temp2
= false ;
5581 PyObject
* obj0
= 0 ;
5582 PyObject
* obj1
= 0 ;
5583 PyObject
* obj2
= 0 ;
5585 (char *) "self",(char *) "text",(char *) "number", NULL
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5592 arg2
= wxString_in_helper(obj1
);
5593 if (arg2
== NULL
) SWIG_fail
;
5597 arg3
= (int)SWIG_As_int(obj2
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5602 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5604 wxPyEndAllowThreads(__tstate
);
5605 if (PyErr_Occurred()) SWIG_fail
;
5607 Py_INCREF(Py_None
); resultobj
= Py_None
;
5622 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5623 PyObject
*resultobj
;
5624 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5625 int arg2
= (int) 0 ;
5626 PyObject
* obj0
= 0 ;
5627 PyObject
* obj1
= 0 ;
5629 (char *) "self",(char *) "number", NULL
5632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5636 arg2
= (int)SWIG_As_int(obj1
);
5637 if (PyErr_Occurred()) SWIG_fail
;
5640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5641 (arg1
)->PopStatusText(arg2
);
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5646 Py_INCREF(Py_None
); resultobj
= Py_None
;
5653 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5654 PyObject
*resultobj
;
5655 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5657 int *arg3
= (int *) 0 ;
5658 PyObject
* obj0
= 0 ;
5659 PyObject
* obj1
= 0 ;
5661 (char *) "self",(char *) "widths", NULL
5664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5668 arg2
= PyList_Size(obj1
);
5669 arg3
= int_LIST_helper(obj1
);
5670 if (arg3
== NULL
) SWIG_fail
;
5673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5674 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5676 wxPyEndAllowThreads(__tstate
);
5677 if (PyErr_Occurred()) SWIG_fail
;
5679 Py_INCREF(Py_None
); resultobj
= Py_None
;
5681 if (arg3
) delete [] arg3
;
5686 if (arg3
) delete [] arg3
;
5692 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
*resultobj
;
5694 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5696 int *arg3
= (int *) 0 ;
5697 PyObject
* obj0
= 0 ;
5698 PyObject
* obj1
= 0 ;
5700 (char *) "self",(char *) "styles", NULL
5703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
5704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5707 arg2
= PyList_Size(obj1
);
5708 arg3
= int_LIST_helper(obj1
);
5709 if (arg3
== NULL
) SWIG_fail
;
5712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
5715 wxPyEndAllowThreads(__tstate
);
5716 if (PyErr_Occurred()) SWIG_fail
;
5718 Py_INCREF(Py_None
); resultobj
= Py_None
;
5720 if (arg3
) delete [] arg3
;
5725 if (arg3
) delete [] arg3
;
5731 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5732 PyObject
*resultobj
;
5733 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5736 PyObject
* obj0
= 0 ;
5737 PyObject
* obj1
= 0 ;
5739 (char *) "self",(char *) "i", NULL
5742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5745 arg2
= (int)SWIG_As_int(obj1
);
5746 if (PyErr_Occurred()) SWIG_fail
;
5748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5749 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5751 wxPyEndAllowThreads(__tstate
);
5752 if (PyErr_Occurred()) SWIG_fail
;
5756 resultptr
= new wxRect((wxRect
&) result
);
5757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5765 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
*resultobj
;
5767 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5769 PyObject
* obj0
= 0 ;
5770 PyObject
* obj1
= 0 ;
5772 (char *) "self",(char *) "height", NULL
5775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5778 arg2
= (int)SWIG_As_int(obj1
);
5779 if (PyErr_Occurred()) SWIG_fail
;
5781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5782 (arg1
)->SetMinHeight(arg2
);
5784 wxPyEndAllowThreads(__tstate
);
5785 if (PyErr_Occurred()) SWIG_fail
;
5787 Py_INCREF(Py_None
); resultobj
= Py_None
;
5794 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5795 PyObject
*resultobj
;
5796 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5798 PyObject
* obj0
= 0 ;
5800 (char *) "self", NULL
5803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5808 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5810 wxPyEndAllowThreads(__tstate
);
5811 if (PyErr_Occurred()) SWIG_fail
;
5813 resultobj
= SWIG_From_int((int)result
);
5820 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5821 PyObject
*resultobj
;
5822 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5824 PyObject
* obj0
= 0 ;
5826 (char *) "self", NULL
5829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5834 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5836 wxPyEndAllowThreads(__tstate
);
5837 if (PyErr_Occurred()) SWIG_fail
;
5839 resultobj
= SWIG_From_int((int)result
);
5846 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5847 PyObject
*resultobj
;
5848 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5849 wxVisualAttributes result
;
5850 PyObject
* obj0
= 0 ;
5852 (char *) "variant", NULL
5855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5857 arg1
= (int)SWIG_As_int(obj0
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5861 if (!wxPyCheckForApp()) SWIG_fail
;
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5869 wxVisualAttributes
* resultptr
;
5870 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5871 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5879 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
5881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5882 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5884 return Py_BuildValue((char *)"");
5886 static int _wrap_SplitterNameStr_set(PyObject
*) {
5887 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5892 static PyObject
*_wrap_SplitterNameStr_get() {
5897 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5899 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5906 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5907 PyObject
*resultobj
;
5908 wxWindow
*arg1
= (wxWindow
*) 0 ;
5909 int arg2
= (int) -1 ;
5910 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5911 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5912 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5913 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5914 long arg5
= (long) wxSP_3D
;
5915 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5916 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5917 wxSplitterWindow
*result
;
5920 bool temp6
= false ;
5921 PyObject
* obj0
= 0 ;
5922 PyObject
* obj1
= 0 ;
5923 PyObject
* obj2
= 0 ;
5924 PyObject
* obj3
= 0 ;
5925 PyObject
* obj4
= 0 ;
5926 PyObject
* obj5
= 0 ;
5928 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5935 arg2
= (int)SWIG_As_int(obj1
);
5936 if (PyErr_Occurred()) SWIG_fail
;
5941 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5947 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5951 arg5
= (long)SWIG_As_long(obj4
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5956 arg6
= wxString_in_helper(obj5
);
5957 if (arg6
== NULL
) SWIG_fail
;
5962 if (!wxPyCheckForApp()) SWIG_fail
;
5963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5964 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5966 wxPyEndAllowThreads(__tstate
);
5967 if (PyErr_Occurred()) SWIG_fail
;
5969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5984 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
*resultobj
;
5986 wxSplitterWindow
*result
;
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5993 if (!wxPyCheckForApp()) SWIG_fail
;
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5995 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
6007 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
*resultobj
;
6009 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6010 wxWindow
*arg2
= (wxWindow
*) 0 ;
6011 int arg3
= (int) -1 ;
6012 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6013 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6014 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6015 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6016 long arg6
= (long) wxSP_3D
;
6017 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
6018 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6022 bool temp7
= false ;
6023 PyObject
* obj0
= 0 ;
6024 PyObject
* obj1
= 0 ;
6025 PyObject
* obj2
= 0 ;
6026 PyObject
* obj3
= 0 ;
6027 PyObject
* obj4
= 0 ;
6028 PyObject
* obj5
= 0 ;
6029 PyObject
* obj6
= 0 ;
6031 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6040 arg3
= (int)SWIG_As_int(obj2
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6046 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6052 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6056 arg6
= (long)SWIG_As_long(obj5
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6061 arg7
= wxString_in_helper(obj6
);
6062 if (arg7
== NULL
) SWIG_fail
;
6067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6068 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6070 wxPyEndAllowThreads(__tstate
);
6071 if (PyErr_Occurred()) SWIG_fail
;
6074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6090 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
*resultobj
;
6092 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6094 PyObject
* obj0
= 0 ;
6096 (char *) "self", NULL
6099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
6100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6104 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
6106 wxPyEndAllowThreads(__tstate
);
6107 if (PyErr_Occurred()) SWIG_fail
;
6110 resultobj
= wxPyMake_wxObject(result
, 0);
6118 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6119 PyObject
*resultobj
;
6120 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6122 PyObject
* obj0
= 0 ;
6124 (char *) "self", NULL
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
6128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6132 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
6134 wxPyEndAllowThreads(__tstate
);
6135 if (PyErr_Occurred()) SWIG_fail
;
6138 resultobj
= wxPyMake_wxObject(result
, 0);
6146 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
*resultobj
;
6148 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6150 PyObject
* obj0
= 0 ;
6151 PyObject
* obj1
= 0 ;
6153 (char *) "self",(char *) "mode", NULL
6156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
6157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6159 arg2
= (int)SWIG_As_int(obj1
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6163 (arg1
)->SetSplitMode(arg2
);
6165 wxPyEndAllowThreads(__tstate
);
6166 if (PyErr_Occurred()) SWIG_fail
;
6168 Py_INCREF(Py_None
); resultobj
= Py_None
;
6175 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6176 PyObject
*resultobj
;
6177 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6179 PyObject
* obj0
= 0 ;
6181 (char *) "self", NULL
6184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
6185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6189 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
6191 wxPyEndAllowThreads(__tstate
);
6192 if (PyErr_Occurred()) SWIG_fail
;
6194 resultobj
= SWIG_From_int((int)result
);
6201 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6202 PyObject
*resultobj
;
6203 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6204 wxWindow
*arg2
= (wxWindow
*) 0 ;
6205 PyObject
* obj0
= 0 ;
6206 PyObject
* obj1
= 0 ;
6208 (char *) "self",(char *) "window", NULL
6211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
6212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6214 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 (arg1
)->Initialize(arg2
);
6220 wxPyEndAllowThreads(__tstate
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6223 Py_INCREF(Py_None
); resultobj
= Py_None
;
6230 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
*resultobj
;
6232 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6233 wxWindow
*arg2
= (wxWindow
*) 0 ;
6234 wxWindow
*arg3
= (wxWindow
*) 0 ;
6235 int arg4
= (int) 0 ;
6237 PyObject
* obj0
= 0 ;
6238 PyObject
* obj1
= 0 ;
6239 PyObject
* obj2
= 0 ;
6240 PyObject
* obj3
= 0 ;
6242 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6248 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6250 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6253 arg4
= (int)SWIG_As_int(obj3
);
6254 if (PyErr_Occurred()) SWIG_fail
;
6257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6258 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
6260 wxPyEndAllowThreads(__tstate
);
6261 if (PyErr_Occurred()) SWIG_fail
;
6264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6272 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
*resultobj
;
6274 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6275 wxWindow
*arg2
= (wxWindow
*) 0 ;
6276 wxWindow
*arg3
= (wxWindow
*) 0 ;
6277 int arg4
= (int) 0 ;
6279 PyObject
* obj0
= 0 ;
6280 PyObject
* obj1
= 0 ;
6281 PyObject
* obj2
= 0 ;
6282 PyObject
* obj3
= 0 ;
6284 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6290 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6292 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6295 arg4
= (int)SWIG_As_int(obj3
);
6296 if (PyErr_Occurred()) SWIG_fail
;
6299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6300 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6302 wxPyEndAllowThreads(__tstate
);
6303 if (PyErr_Occurred()) SWIG_fail
;
6306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6314 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6315 PyObject
*resultobj
;
6316 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6317 wxWindow
*arg2
= (wxWindow
*) NULL
;
6319 PyObject
* obj0
= 0 ;
6320 PyObject
* obj1
= 0 ;
6322 (char *) "self",(char *) "toRemove", NULL
6325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6329 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6334 result
= (bool)(arg1
)->Unsplit(arg2
);
6336 wxPyEndAllowThreads(__tstate
);
6337 if (PyErr_Occurred()) SWIG_fail
;
6340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6348 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6349 PyObject
*resultobj
;
6350 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6351 wxWindow
*arg2
= (wxWindow
*) 0 ;
6352 wxWindow
*arg3
= (wxWindow
*) 0 ;
6354 PyObject
* obj0
= 0 ;
6355 PyObject
* obj1
= 0 ;
6356 PyObject
* obj2
= 0 ;
6358 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6364 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6366 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6370 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6372 wxPyEndAllowThreads(__tstate
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6384 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6385 PyObject
*resultobj
;
6386 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6387 PyObject
* obj0
= 0 ;
6389 (char *) "self", NULL
6392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6397 (arg1
)->UpdateSize();
6399 wxPyEndAllowThreads(__tstate
);
6400 if (PyErr_Occurred()) SWIG_fail
;
6402 Py_INCREF(Py_None
); resultobj
= Py_None
;
6409 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6410 PyObject
*resultobj
;
6411 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6413 PyObject
* obj0
= 0 ;
6415 (char *) "self", NULL
6418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6423 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6425 wxPyEndAllowThreads(__tstate
);
6426 if (PyErr_Occurred()) SWIG_fail
;
6429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6437 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6438 PyObject
*resultobj
;
6439 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6441 PyObject
* obj0
= 0 ;
6442 PyObject
* obj1
= 0 ;
6444 (char *) "self",(char *) "width", NULL
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6450 arg2
= (int)SWIG_As_int(obj1
);
6451 if (PyErr_Occurred()) SWIG_fail
;
6453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6454 (arg1
)->SetSashSize(arg2
);
6456 wxPyEndAllowThreads(__tstate
);
6457 if (PyErr_Occurred()) SWIG_fail
;
6459 Py_INCREF(Py_None
); resultobj
= Py_None
;
6466 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6467 PyObject
*resultobj
;
6468 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6470 PyObject
* obj0
= 0 ;
6471 PyObject
* obj1
= 0 ;
6473 (char *) "self",(char *) "width", NULL
6476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6479 arg2
= (int)SWIG_As_int(obj1
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6483 (arg1
)->SetBorderSize(arg2
);
6485 wxPyEndAllowThreads(__tstate
);
6486 if (PyErr_Occurred()) SWIG_fail
;
6488 Py_INCREF(Py_None
); resultobj
= Py_None
;
6495 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6496 PyObject
*resultobj
;
6497 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6499 PyObject
* obj0
= 0 ;
6501 (char *) "self", NULL
6504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6509 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6511 wxPyEndAllowThreads(__tstate
);
6512 if (PyErr_Occurred()) SWIG_fail
;
6514 resultobj
= SWIG_From_int((int)result
);
6521 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
*resultobj
;
6523 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6525 PyObject
* obj0
= 0 ;
6527 (char *) "self", NULL
6530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6535 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6537 wxPyEndAllowThreads(__tstate
);
6538 if (PyErr_Occurred()) SWIG_fail
;
6540 resultobj
= SWIG_From_int((int)result
);
6547 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6548 PyObject
*resultobj
;
6549 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6551 bool arg3
= (bool) true ;
6552 PyObject
* obj0
= 0 ;
6553 PyObject
* obj1
= 0 ;
6554 PyObject
* obj2
= 0 ;
6556 (char *) "self",(char *) "position",(char *) "redraw", NULL
6559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6562 arg2
= (int)SWIG_As_int(obj1
);
6563 if (PyErr_Occurred()) SWIG_fail
;
6565 arg3
= (bool)SWIG_As_bool(obj2
);
6566 if (PyErr_Occurred()) SWIG_fail
;
6569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6570 (arg1
)->SetSashPosition(arg2
,arg3
);
6572 wxPyEndAllowThreads(__tstate
);
6573 if (PyErr_Occurred()) SWIG_fail
;
6575 Py_INCREF(Py_None
); resultobj
= Py_None
;
6582 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6583 PyObject
*resultobj
;
6584 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6586 PyObject
* obj0
= 0 ;
6588 (char *) "self", NULL
6591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6596 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6598 wxPyEndAllowThreads(__tstate
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6601 resultobj
= SWIG_From_int((int)result
);
6608 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
*resultobj
;
6610 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6612 PyObject
* obj0
= 0 ;
6613 PyObject
* obj1
= 0 ;
6615 (char *) "self",(char *) "min", NULL
6618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6621 arg2
= (int)SWIG_As_int(obj1
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6625 (arg1
)->SetMinimumPaneSize(arg2
);
6627 wxPyEndAllowThreads(__tstate
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6630 Py_INCREF(Py_None
); resultobj
= Py_None
;
6637 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6638 PyObject
*resultobj
;
6639 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6641 PyObject
* obj0
= 0 ;
6643 (char *) "self", NULL
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6651 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6656 resultobj
= SWIG_From_int((int)result
);
6663 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6664 PyObject
*resultobj
;
6665 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6668 int arg4
= (int) 5 ;
6670 PyObject
* obj0
= 0 ;
6671 PyObject
* obj1
= 0 ;
6672 PyObject
* obj2
= 0 ;
6673 PyObject
* obj3
= 0 ;
6675 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6681 arg2
= (int)SWIG_As_int(obj1
);
6682 if (PyErr_Occurred()) SWIG_fail
;
6683 arg3
= (int)SWIG_As_int(obj2
);
6684 if (PyErr_Occurred()) SWIG_fail
;
6686 arg4
= (int)SWIG_As_int(obj3
);
6687 if (PyErr_Occurred()) SWIG_fail
;
6690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6691 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6693 wxPyEndAllowThreads(__tstate
);
6694 if (PyErr_Occurred()) SWIG_fail
;
6697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6705 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6706 PyObject
*resultobj
;
6707 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6708 PyObject
* obj0
= 0 ;
6710 (char *) "self", NULL
6713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6718 (arg1
)->SizeWindows();
6720 wxPyEndAllowThreads(__tstate
);
6721 if (PyErr_Occurred()) SWIG_fail
;
6723 Py_INCREF(Py_None
); resultobj
= Py_None
;
6730 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6731 PyObject
*resultobj
;
6732 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6734 PyObject
* obj0
= 0 ;
6735 PyObject
* obj1
= 0 ;
6737 (char *) "self",(char *) "needUpdating", NULL
6740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6743 arg2
= (bool)SWIG_As_bool(obj1
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6747 (arg1
)->SetNeedUpdating(arg2
);
6749 wxPyEndAllowThreads(__tstate
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6752 Py_INCREF(Py_None
); resultobj
= Py_None
;
6759 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6760 PyObject
*resultobj
;
6761 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6763 PyObject
* obj0
= 0 ;
6765 (char *) "self", NULL
6768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6773 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6787 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6788 PyObject
*resultobj
;
6789 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6790 wxVisualAttributes result
;
6791 PyObject
* obj0
= 0 ;
6793 (char *) "variant", NULL
6796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6798 arg1
= (int)SWIG_As_int(obj0
);
6799 if (PyErr_Occurred()) SWIG_fail
;
6802 if (!wxPyCheckForApp()) SWIG_fail
;
6803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6804 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6806 wxPyEndAllowThreads(__tstate
);
6807 if (PyErr_Occurred()) SWIG_fail
;
6810 wxVisualAttributes
* resultptr
;
6811 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6812 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6820 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
6822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6823 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6825 return Py_BuildValue((char *)"");
6827 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
*resultobj
;
6829 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6830 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6831 wxSplitterEvent
*result
;
6832 PyObject
* obj0
= 0 ;
6833 PyObject
* obj1
= 0 ;
6835 (char *) "type",(char *) "splitter", NULL
6838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6840 arg1
= (wxEventType
)SWIG_As_int(obj0
);
6841 if (PyErr_Occurred()) SWIG_fail
;
6844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6849 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6851 wxPyEndAllowThreads(__tstate
);
6852 if (PyErr_Occurred()) SWIG_fail
;
6854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6861 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6862 PyObject
*resultobj
;
6863 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6865 PyObject
* obj0
= 0 ;
6866 PyObject
* obj1
= 0 ;
6868 (char *) "self",(char *) "pos", NULL
6871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6874 arg2
= (int)SWIG_As_int(obj1
);
6875 if (PyErr_Occurred()) SWIG_fail
;
6877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6878 (arg1
)->SetSashPosition(arg2
);
6880 wxPyEndAllowThreads(__tstate
);
6881 if (PyErr_Occurred()) SWIG_fail
;
6883 Py_INCREF(Py_None
); resultobj
= Py_None
;
6890 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6891 PyObject
*resultobj
;
6892 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6894 PyObject
* obj0
= 0 ;
6896 (char *) "self", NULL
6899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6904 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6906 wxPyEndAllowThreads(__tstate
);
6907 if (PyErr_Occurred()) SWIG_fail
;
6909 resultobj
= SWIG_From_int((int)result
);
6916 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6917 PyObject
*resultobj
;
6918 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6920 PyObject
* obj0
= 0 ;
6922 (char *) "self", NULL
6925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6930 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6936 resultobj
= wxPyMake_wxObject(result
, 0);
6944 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
*resultobj
;
6946 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6948 PyObject
* obj0
= 0 ;
6950 (char *) "self", NULL
6953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6958 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6960 wxPyEndAllowThreads(__tstate
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6963 resultobj
= SWIG_From_int((int)result
);
6970 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
;
6972 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6974 PyObject
* obj0
= 0 ;
6976 (char *) "self", NULL
6979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6984 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6986 wxPyEndAllowThreads(__tstate
);
6987 if (PyErr_Occurred()) SWIG_fail
;
6989 resultobj
= SWIG_From_int((int)result
);
6996 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
6998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6999 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
7001 return Py_BuildValue((char *)"");
7003 static int _wrap_SashNameStr_set(PyObject
*) {
7004 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
7009 static PyObject
*_wrap_SashNameStr_get() {
7014 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
7016 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
7023 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
7024 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
7029 static PyObject
*_wrap_SashLayoutNameStr_get() {
7034 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
7036 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
7043 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7044 PyObject
*resultobj
;
7045 wxWindow
*arg1
= (wxWindow
*) 0 ;
7046 int arg2
= (int) -1 ;
7047 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7048 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7049 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7050 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7051 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7052 wxString
const &arg6_defvalue
= wxPySashNameStr
;
7053 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7054 wxSashWindow
*result
;
7057 bool temp6
= false ;
7058 PyObject
* obj0
= 0 ;
7059 PyObject
* obj1
= 0 ;
7060 PyObject
* obj2
= 0 ;
7061 PyObject
* obj3
= 0 ;
7062 PyObject
* obj4
= 0 ;
7063 PyObject
* obj5
= 0 ;
7065 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7072 arg2
= (int)SWIG_As_int(obj1
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7078 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7084 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7088 arg5
= (long)SWIG_As_long(obj4
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7093 arg6
= wxString_in_helper(obj5
);
7094 if (arg6
== NULL
) SWIG_fail
;
7099 if (!wxPyCheckForApp()) SWIG_fail
;
7100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7101 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7103 wxPyEndAllowThreads(__tstate
);
7104 if (PyErr_Occurred()) SWIG_fail
;
7106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7121 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7122 PyObject
*resultobj
;
7123 wxSashWindow
*result
;
7128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
7130 if (!wxPyCheckForApp()) SWIG_fail
;
7131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7132 result
= (wxSashWindow
*)new wxSashWindow();
7134 wxPyEndAllowThreads(__tstate
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7144 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
*resultobj
;
7146 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7147 wxWindow
*arg2
= (wxWindow
*) 0 ;
7148 int arg3
= (int) -1 ;
7149 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7150 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7151 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7152 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7153 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7154 wxString
const &arg7_defvalue
= wxPySashNameStr
;
7155 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7159 bool temp7
= false ;
7160 PyObject
* obj0
= 0 ;
7161 PyObject
* obj1
= 0 ;
7162 PyObject
* obj2
= 0 ;
7163 PyObject
* obj3
= 0 ;
7164 PyObject
* obj4
= 0 ;
7165 PyObject
* obj5
= 0 ;
7166 PyObject
* obj6
= 0 ;
7168 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7174 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7177 arg3
= (int)SWIG_As_int(obj2
);
7178 if (PyErr_Occurred()) SWIG_fail
;
7183 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7189 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7193 arg6
= (long)SWIG_As_long(obj5
);
7194 if (PyErr_Occurred()) SWIG_fail
;
7198 arg7
= wxString_in_helper(obj6
);
7199 if (arg7
== NULL
) SWIG_fail
;
7204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7205 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7207 wxPyEndAllowThreads(__tstate
);
7208 if (PyErr_Occurred()) SWIG_fail
;
7211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7227 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7228 PyObject
*resultobj
;
7229 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7232 PyObject
* obj0
= 0 ;
7233 PyObject
* obj1
= 0 ;
7234 PyObject
* obj2
= 0 ;
7236 (char *) "self",(char *) "edge",(char *) "sash", NULL
7239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7242 arg2
= (int)SWIG_As_int(obj1
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7244 arg3
= (bool)SWIG_As_bool(obj2
);
7245 if (PyErr_Occurred()) SWIG_fail
;
7247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7248 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
7250 wxPyEndAllowThreads(__tstate
);
7251 if (PyErr_Occurred()) SWIG_fail
;
7253 Py_INCREF(Py_None
); resultobj
= Py_None
;
7260 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7261 PyObject
*resultobj
;
7262 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7265 PyObject
* obj0
= 0 ;
7266 PyObject
* obj1
= 0 ;
7268 (char *) "self",(char *) "edge", NULL
7271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7274 arg2
= (int)SWIG_As_int(obj1
);
7275 if (PyErr_Occurred()) SWIG_fail
;
7277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7278 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
7280 wxPyEndAllowThreads(__tstate
);
7281 if (PyErr_Occurred()) SWIG_fail
;
7284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7292 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
*resultobj
;
7294 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7297 PyObject
* obj0
= 0 ;
7298 PyObject
* obj1
= 0 ;
7299 PyObject
* obj2
= 0 ;
7301 (char *) "self",(char *) "edge",(char *) "border", NULL
7304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7307 arg2
= (int)SWIG_As_int(obj1
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7309 arg3
= (bool)SWIG_As_bool(obj2
);
7310 if (PyErr_Occurred()) SWIG_fail
;
7312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7313 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7315 wxPyEndAllowThreads(__tstate
);
7316 if (PyErr_Occurred()) SWIG_fail
;
7318 Py_INCREF(Py_None
); resultobj
= Py_None
;
7325 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7326 PyObject
*resultobj
;
7327 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7330 PyObject
* obj0
= 0 ;
7331 PyObject
* obj1
= 0 ;
7333 (char *) "self",(char *) "edge", NULL
7336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7339 arg2
= (int)SWIG_As_int(obj1
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7343 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7345 wxPyEndAllowThreads(__tstate
);
7346 if (PyErr_Occurred()) SWIG_fail
;
7349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7357 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
*resultobj
;
7359 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7362 PyObject
* obj0
= 0 ;
7363 PyObject
* obj1
= 0 ;
7365 (char *) "self",(char *) "edge", NULL
7368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7371 arg2
= (int)SWIG_As_int(obj1
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7375 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7380 resultobj
= SWIG_From_int((int)result
);
7387 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
*resultobj
;
7389 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7391 PyObject
* obj0
= 0 ;
7392 PyObject
* obj1
= 0 ;
7394 (char *) "self",(char *) "width", NULL
7397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7400 arg2
= (int)SWIG_As_int(obj1
);
7401 if (PyErr_Occurred()) SWIG_fail
;
7403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7404 (arg1
)->SetDefaultBorderSize(arg2
);
7406 wxPyEndAllowThreads(__tstate
);
7407 if (PyErr_Occurred()) SWIG_fail
;
7409 Py_INCREF(Py_None
); resultobj
= Py_None
;
7416 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7417 PyObject
*resultobj
;
7418 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7420 PyObject
* obj0
= 0 ;
7422 (char *) "self", NULL
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7430 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7432 wxPyEndAllowThreads(__tstate
);
7433 if (PyErr_Occurred()) SWIG_fail
;
7435 resultobj
= SWIG_From_int((int)result
);
7442 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
;
7444 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7446 PyObject
* obj0
= 0 ;
7447 PyObject
* obj1
= 0 ;
7449 (char *) "self",(char *) "width", NULL
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7455 arg2
= (int)SWIG_As_int(obj1
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 (arg1
)->SetExtraBorderSize(arg2
);
7461 wxPyEndAllowThreads(__tstate
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7464 Py_INCREF(Py_None
); resultobj
= Py_None
;
7471 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7472 PyObject
*resultobj
;
7473 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7475 PyObject
* obj0
= 0 ;
7477 (char *) "self", NULL
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7485 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7487 wxPyEndAllowThreads(__tstate
);
7488 if (PyErr_Occurred()) SWIG_fail
;
7490 resultobj
= SWIG_From_int((int)result
);
7497 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7498 PyObject
*resultobj
;
7499 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7501 PyObject
* obj0
= 0 ;
7502 PyObject
* obj1
= 0 ;
7504 (char *) "self",(char *) "min", NULL
7507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7510 arg2
= (int)SWIG_As_int(obj1
);
7511 if (PyErr_Occurred()) SWIG_fail
;
7513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7514 (arg1
)->SetMinimumSizeX(arg2
);
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7519 Py_INCREF(Py_None
); resultobj
= Py_None
;
7526 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7527 PyObject
*resultobj
;
7528 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7530 PyObject
* obj0
= 0 ;
7531 PyObject
* obj1
= 0 ;
7533 (char *) "self",(char *) "min", NULL
7536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7539 arg2
= (int)SWIG_As_int(obj1
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7543 (arg1
)->SetMinimumSizeY(arg2
);
7545 wxPyEndAllowThreads(__tstate
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7548 Py_INCREF(Py_None
); resultobj
= Py_None
;
7555 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7556 PyObject
*resultobj
;
7557 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7559 PyObject
* obj0
= 0 ;
7561 (char *) "self", NULL
7564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7569 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7571 wxPyEndAllowThreads(__tstate
);
7572 if (PyErr_Occurred()) SWIG_fail
;
7574 resultobj
= SWIG_From_int((int)result
);
7581 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7582 PyObject
*resultobj
;
7583 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7585 PyObject
* obj0
= 0 ;
7587 (char *) "self", NULL
7590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7595 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7597 wxPyEndAllowThreads(__tstate
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7600 resultobj
= SWIG_From_int((int)result
);
7607 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7608 PyObject
*resultobj
;
7609 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7611 PyObject
* obj0
= 0 ;
7612 PyObject
* obj1
= 0 ;
7614 (char *) "self",(char *) "max", NULL
7617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7620 arg2
= (int)SWIG_As_int(obj1
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7624 (arg1
)->SetMaximumSizeX(arg2
);
7626 wxPyEndAllowThreads(__tstate
);
7627 if (PyErr_Occurred()) SWIG_fail
;
7629 Py_INCREF(Py_None
); resultobj
= Py_None
;
7636 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
*resultobj
;
7638 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7640 PyObject
* obj0
= 0 ;
7641 PyObject
* obj1
= 0 ;
7643 (char *) "self",(char *) "max", NULL
7646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7649 arg2
= (int)SWIG_As_int(obj1
);
7650 if (PyErr_Occurred()) SWIG_fail
;
7652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7653 (arg1
)->SetMaximumSizeY(arg2
);
7655 wxPyEndAllowThreads(__tstate
);
7656 if (PyErr_Occurred()) SWIG_fail
;
7658 Py_INCREF(Py_None
); resultobj
= Py_None
;
7665 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7666 PyObject
*resultobj
;
7667 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7669 PyObject
* obj0
= 0 ;
7671 (char *) "self", NULL
7674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7679 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7681 wxPyEndAllowThreads(__tstate
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7684 resultobj
= SWIG_From_int((int)result
);
7691 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7692 PyObject
*resultobj
;
7693 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7695 PyObject
* obj0
= 0 ;
7697 (char *) "self", NULL
7700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7705 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7707 wxPyEndAllowThreads(__tstate
);
7708 if (PyErr_Occurred()) SWIG_fail
;
7710 resultobj
= SWIG_From_int((int)result
);
7717 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7718 PyObject
*resultobj
;
7719 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7722 int arg4
= (int) 2 ;
7724 PyObject
* obj0
= 0 ;
7725 PyObject
* obj1
= 0 ;
7726 PyObject
* obj2
= 0 ;
7727 PyObject
* obj3
= 0 ;
7729 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7735 arg2
= (int)SWIG_As_int(obj1
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7737 arg3
= (int)SWIG_As_int(obj2
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7740 arg4
= (int)SWIG_As_int(obj3
);
7741 if (PyErr_Occurred()) SWIG_fail
;
7744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7745 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7747 wxPyEndAllowThreads(__tstate
);
7748 if (PyErr_Occurred()) SWIG_fail
;
7750 resultobj
= SWIG_From_int((int)result
);
7757 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7758 PyObject
*resultobj
;
7759 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7760 PyObject
* obj0
= 0 ;
7762 (char *) "self", NULL
7765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7770 (arg1
)->SizeWindows();
7772 wxPyEndAllowThreads(__tstate
);
7773 if (PyErr_Occurred()) SWIG_fail
;
7775 Py_INCREF(Py_None
); resultobj
= Py_None
;
7782 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
7784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7785 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7787 return Py_BuildValue((char *)"");
7789 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7790 PyObject
*resultobj
;
7791 int arg1
= (int) 0 ;
7792 int arg2
= (int) wxSASH_NONE
;
7793 wxSashEvent
*result
;
7794 PyObject
* obj0
= 0 ;
7795 PyObject
* obj1
= 0 ;
7797 (char *) "id",(char *) "edge", NULL
7800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7802 arg1
= (int)SWIG_As_int(obj0
);
7803 if (PyErr_Occurred()) SWIG_fail
;
7806 arg2
= (int)SWIG_As_int(obj1
);
7807 if (PyErr_Occurred()) SWIG_fail
;
7810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7811 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7813 wxPyEndAllowThreads(__tstate
);
7814 if (PyErr_Occurred()) SWIG_fail
;
7816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7823 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7824 PyObject
*resultobj
;
7825 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7827 PyObject
* obj0
= 0 ;
7828 PyObject
* obj1
= 0 ;
7830 (char *) "self",(char *) "edge", NULL
7833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7836 arg2
= (int)SWIG_As_int(obj1
);
7837 if (PyErr_Occurred()) SWIG_fail
;
7839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7840 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7842 wxPyEndAllowThreads(__tstate
);
7843 if (PyErr_Occurred()) SWIG_fail
;
7845 Py_INCREF(Py_None
); resultobj
= Py_None
;
7852 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7853 PyObject
*resultobj
;
7854 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7856 PyObject
* obj0
= 0 ;
7858 (char *) "self", NULL
7861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7866 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7868 wxPyEndAllowThreads(__tstate
);
7869 if (PyErr_Occurred()) SWIG_fail
;
7871 resultobj
= SWIG_From_int((int)result
);
7878 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7879 PyObject
*resultobj
;
7880 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7883 PyObject
* obj0
= 0 ;
7884 PyObject
* obj1
= 0 ;
7886 (char *) "self",(char *) "rect", NULL
7889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7894 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7898 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7900 wxPyEndAllowThreads(__tstate
);
7901 if (PyErr_Occurred()) SWIG_fail
;
7903 Py_INCREF(Py_None
); resultobj
= Py_None
;
7910 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7911 PyObject
*resultobj
;
7912 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7914 PyObject
* obj0
= 0 ;
7916 (char *) "self", NULL
7919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7924 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7926 wxPyEndAllowThreads(__tstate
);
7927 if (PyErr_Occurred()) SWIG_fail
;
7931 resultptr
= new wxRect((wxRect
&) result
);
7932 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7940 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7941 PyObject
*resultobj
;
7942 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7944 PyObject
* obj0
= 0 ;
7945 PyObject
* obj1
= 0 ;
7947 (char *) "self",(char *) "status", NULL
7950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7953 arg2
= (int)SWIG_As_int(obj1
);
7954 if (PyErr_Occurred()) SWIG_fail
;
7956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7957 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7959 wxPyEndAllowThreads(__tstate
);
7960 if (PyErr_Occurred()) SWIG_fail
;
7962 Py_INCREF(Py_None
); resultobj
= Py_None
;
7969 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7970 PyObject
*resultobj
;
7971 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7973 PyObject
* obj0
= 0 ;
7975 (char *) "self", NULL
7978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7983 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7985 wxPyEndAllowThreads(__tstate
);
7986 if (PyErr_Occurred()) SWIG_fail
;
7988 resultobj
= SWIG_From_int((int)result
);
7995 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
7997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7998 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
8000 return Py_BuildValue((char *)"");
8002 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8003 PyObject
*resultobj
;
8004 int arg1
= (int) 0 ;
8005 wxQueryLayoutInfoEvent
*result
;
8006 PyObject
* obj0
= 0 ;
8011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
8013 arg1
= (int)SWIG_As_int(obj0
);
8014 if (PyErr_Occurred()) SWIG_fail
;
8017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8018 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
8020 wxPyEndAllowThreads(__tstate
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
8030 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8031 PyObject
*resultobj
;
8032 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8034 PyObject
* obj0
= 0 ;
8035 PyObject
* obj1
= 0 ;
8037 (char *) "self",(char *) "length", NULL
8040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8043 arg2
= (int)SWIG_As_int(obj1
);
8044 if (PyErr_Occurred()) SWIG_fail
;
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 (arg1
)->SetRequestedLength(arg2
);
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8052 Py_INCREF(Py_None
); resultobj
= Py_None
;
8059 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8060 PyObject
*resultobj
;
8061 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8063 PyObject
* obj0
= 0 ;
8065 (char *) "self", NULL
8068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
8069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
8075 wxPyEndAllowThreads(__tstate
);
8076 if (PyErr_Occurred()) SWIG_fail
;
8078 resultobj
= SWIG_From_int((int)result
);
8085 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8086 PyObject
*resultobj
;
8087 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8089 PyObject
* obj0
= 0 ;
8090 PyObject
* obj1
= 0 ;
8092 (char *) "self",(char *) "flags", NULL
8095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8098 arg2
= (int)SWIG_As_int(obj1
);
8099 if (PyErr_Occurred()) SWIG_fail
;
8101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8102 (arg1
)->SetFlags(arg2
);
8104 wxPyEndAllowThreads(__tstate
);
8105 if (PyErr_Occurred()) SWIG_fail
;
8107 Py_INCREF(Py_None
); resultobj
= Py_None
;
8114 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8115 PyObject
*resultobj
;
8116 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8118 PyObject
* obj0
= 0 ;
8120 (char *) "self", NULL
8123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8128 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
8130 wxPyEndAllowThreads(__tstate
);
8131 if (PyErr_Occurred()) SWIG_fail
;
8133 resultobj
= SWIG_From_int((int)result
);
8140 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8141 PyObject
*resultobj
;
8142 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8145 PyObject
* obj0
= 0 ;
8146 PyObject
* obj1
= 0 ;
8148 (char *) "self",(char *) "size", NULL
8151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8156 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8160 (arg1
)->SetSize((wxSize
const &)*arg2
);
8162 wxPyEndAllowThreads(__tstate
);
8163 if (PyErr_Occurred()) SWIG_fail
;
8165 Py_INCREF(Py_None
); resultobj
= Py_None
;
8172 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
*resultobj
;
8174 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8176 PyObject
* obj0
= 0 ;
8178 (char *) "self", NULL
8181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
8182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8186 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
8188 wxPyEndAllowThreads(__tstate
);
8189 if (PyErr_Occurred()) SWIG_fail
;
8193 resultptr
= new wxSize((wxSize
&) result
);
8194 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8202 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8203 PyObject
*resultobj
;
8204 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8206 PyObject
* obj0
= 0 ;
8207 PyObject
* obj1
= 0 ;
8209 (char *) "self",(char *) "orient", NULL
8212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8215 arg2
= (int)SWIG_As_int(obj1
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8219 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8221 wxPyEndAllowThreads(__tstate
);
8222 if (PyErr_Occurred()) SWIG_fail
;
8224 Py_INCREF(Py_None
); resultobj
= Py_None
;
8231 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8232 PyObject
*resultobj
;
8233 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8235 PyObject
* obj0
= 0 ;
8237 (char *) "self", NULL
8240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
8241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8245 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
8247 wxPyEndAllowThreads(__tstate
);
8248 if (PyErr_Occurred()) SWIG_fail
;
8250 resultobj
= SWIG_From_int((int)result
);
8257 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8258 PyObject
*resultobj
;
8259 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8261 PyObject
* obj0
= 0 ;
8262 PyObject
* obj1
= 0 ;
8264 (char *) "self",(char *) "align", NULL
8267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8270 arg2
= (int)SWIG_As_int(obj1
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8274 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8276 wxPyEndAllowThreads(__tstate
);
8277 if (PyErr_Occurred()) SWIG_fail
;
8279 Py_INCREF(Py_None
); resultobj
= Py_None
;
8286 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8287 PyObject
*resultobj
;
8288 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8290 PyObject
* obj0
= 0 ;
8292 (char *) "self", NULL
8295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
8296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8300 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8302 wxPyEndAllowThreads(__tstate
);
8303 if (PyErr_Occurred()) SWIG_fail
;
8305 resultobj
= SWIG_From_int((int)result
);
8312 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
8314 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8315 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8317 return Py_BuildValue((char *)"");
8319 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8320 PyObject
*resultobj
;
8321 int arg1
= (int) 0 ;
8322 wxCalculateLayoutEvent
*result
;
8323 PyObject
* obj0
= 0 ;
8328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8330 arg1
= (int)SWIG_As_int(obj0
);
8331 if (PyErr_Occurred()) SWIG_fail
;
8334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8335 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8337 wxPyEndAllowThreads(__tstate
);
8338 if (PyErr_Occurred()) SWIG_fail
;
8340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8347 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8348 PyObject
*resultobj
;
8349 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8351 PyObject
* obj0
= 0 ;
8352 PyObject
* obj1
= 0 ;
8354 (char *) "self",(char *) "flags", NULL
8357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8360 arg2
= (int)SWIG_As_int(obj1
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8364 (arg1
)->SetFlags(arg2
);
8366 wxPyEndAllowThreads(__tstate
);
8367 if (PyErr_Occurred()) SWIG_fail
;
8369 Py_INCREF(Py_None
); resultobj
= Py_None
;
8376 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8377 PyObject
*resultobj
;
8378 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8380 PyObject
* obj0
= 0 ;
8382 (char *) "self", NULL
8385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8390 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8392 wxPyEndAllowThreads(__tstate
);
8393 if (PyErr_Occurred()) SWIG_fail
;
8395 resultobj
= SWIG_From_int((int)result
);
8402 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8403 PyObject
*resultobj
;
8404 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8407 PyObject
* obj0
= 0 ;
8408 PyObject
* obj1
= 0 ;
8410 (char *) "self",(char *) "rect", NULL
8413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8418 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8422 (arg1
)->SetRect((wxRect
const &)*arg2
);
8424 wxPyEndAllowThreads(__tstate
);
8425 if (PyErr_Occurred()) SWIG_fail
;
8427 Py_INCREF(Py_None
); resultobj
= Py_None
;
8434 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8435 PyObject
*resultobj
;
8436 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8438 PyObject
* obj0
= 0 ;
8440 (char *) "self", NULL
8443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8455 resultptr
= new wxRect((wxRect
&) result
);
8456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8464 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
8466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8467 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8469 return Py_BuildValue((char *)"");
8471 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8472 PyObject
*resultobj
;
8473 wxWindow
*arg1
= (wxWindow
*) 0 ;
8474 int arg2
= (int) -1 ;
8475 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8476 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8477 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8478 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8479 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8480 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8481 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8482 wxSashLayoutWindow
*result
;
8485 bool temp6
= false ;
8486 PyObject
* obj0
= 0 ;
8487 PyObject
* obj1
= 0 ;
8488 PyObject
* obj2
= 0 ;
8489 PyObject
* obj3
= 0 ;
8490 PyObject
* obj4
= 0 ;
8491 PyObject
* obj5
= 0 ;
8493 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8500 arg2
= (int)SWIG_As_int(obj1
);
8501 if (PyErr_Occurred()) SWIG_fail
;
8506 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8512 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8516 arg5
= (long)SWIG_As_long(obj4
);
8517 if (PyErr_Occurred()) SWIG_fail
;
8521 arg6
= wxString_in_helper(obj5
);
8522 if (arg6
== NULL
) SWIG_fail
;
8527 if (!wxPyCheckForApp()) SWIG_fail
;
8528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8529 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8531 wxPyEndAllowThreads(__tstate
);
8532 if (PyErr_Occurred()) SWIG_fail
;
8534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8549 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8550 PyObject
*resultobj
;
8551 wxSashLayoutWindow
*result
;
8556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8558 if (!wxPyCheckForApp()) SWIG_fail
;
8559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8560 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8562 wxPyEndAllowThreads(__tstate
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8572 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8573 PyObject
*resultobj
;
8574 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8575 wxWindow
*arg2
= (wxWindow
*) 0 ;
8576 int arg3
= (int) -1 ;
8577 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8578 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8579 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8580 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8581 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8582 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8583 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8587 bool temp7
= false ;
8588 PyObject
* obj0
= 0 ;
8589 PyObject
* obj1
= 0 ;
8590 PyObject
* obj2
= 0 ;
8591 PyObject
* obj3
= 0 ;
8592 PyObject
* obj4
= 0 ;
8593 PyObject
* obj5
= 0 ;
8594 PyObject
* obj6
= 0 ;
8596 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8602 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8605 arg3
= (int)SWIG_As_int(obj2
);
8606 if (PyErr_Occurred()) SWIG_fail
;
8611 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8617 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8621 arg6
= (long)SWIG_As_long(obj5
);
8622 if (PyErr_Occurred()) SWIG_fail
;
8626 arg7
= wxString_in_helper(obj6
);
8627 if (arg7
== NULL
) SWIG_fail
;
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8655 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8656 PyObject
*resultobj
;
8657 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8659 PyObject
* obj0
= 0 ;
8661 (char *) "self", NULL
8664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8669 result
= (int)(arg1
)->GetAlignment();
8671 wxPyEndAllowThreads(__tstate
);
8672 if (PyErr_Occurred()) SWIG_fail
;
8674 resultobj
= SWIG_From_int((int)result
);
8681 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8682 PyObject
*resultobj
;
8683 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8685 PyObject
* obj0
= 0 ;
8687 (char *) "self", NULL
8690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8695 result
= (int)(arg1
)->GetOrientation();
8697 wxPyEndAllowThreads(__tstate
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8700 resultobj
= SWIG_From_int((int)result
);
8707 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8708 PyObject
*resultobj
;
8709 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8711 PyObject
* obj0
= 0 ;
8712 PyObject
* obj1
= 0 ;
8714 (char *) "self",(char *) "alignment", NULL
8717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8720 arg2
= (int)SWIG_As_int(obj1
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8724 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8726 wxPyEndAllowThreads(__tstate
);
8727 if (PyErr_Occurred()) SWIG_fail
;
8729 Py_INCREF(Py_None
); resultobj
= Py_None
;
8736 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8737 PyObject
*resultobj
;
8738 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8741 PyObject
* obj0
= 0 ;
8742 PyObject
* obj1
= 0 ;
8744 (char *) "self",(char *) "size", NULL
8747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8752 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8756 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8758 wxPyEndAllowThreads(__tstate
);
8759 if (PyErr_Occurred()) SWIG_fail
;
8761 Py_INCREF(Py_None
); resultobj
= Py_None
;
8768 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8769 PyObject
*resultobj
;
8770 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8772 PyObject
* obj0
= 0 ;
8773 PyObject
* obj1
= 0 ;
8775 (char *) "self",(char *) "orientation", NULL
8778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8781 arg2
= (int)SWIG_As_int(obj1
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8785 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8787 wxPyEndAllowThreads(__tstate
);
8788 if (PyErr_Occurred()) SWIG_fail
;
8790 Py_INCREF(Py_None
); resultobj
= Py_None
;
8797 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
8799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8800 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8802 return Py_BuildValue((char *)"");
8804 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8805 PyObject
*resultobj
;
8806 wxLayoutAlgorithm
*result
;
8811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8816 wxPyEndAllowThreads(__tstate
);
8817 if (PyErr_Occurred()) SWIG_fail
;
8819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8826 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8827 PyObject
*resultobj
;
8828 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8829 PyObject
* obj0
= 0 ;
8831 (char *) "self", NULL
8834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8844 Py_INCREF(Py_None
); resultobj
= Py_None
;
8851 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8852 PyObject
*resultobj
;
8853 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8854 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8855 wxRect
*arg3
= (wxRect
*) NULL
;
8857 PyObject
* obj0
= 0 ;
8858 PyObject
* obj1
= 0 ;
8859 PyObject
* obj2
= 0 ;
8861 (char *) "self",(char *) "frame",(char *) "rect", NULL
8864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8870 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8875 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8877 wxPyEndAllowThreads(__tstate
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8889 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8890 PyObject
*resultobj
;
8891 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8892 wxFrame
*arg2
= (wxFrame
*) 0 ;
8893 wxWindow
*arg3
= (wxWindow
*) NULL
;
8895 PyObject
* obj0
= 0 ;
8896 PyObject
* obj1
= 0 ;
8897 PyObject
* obj2
= 0 ;
8899 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8905 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8908 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8913 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8915 wxPyEndAllowThreads(__tstate
);
8916 if (PyErr_Occurred()) SWIG_fail
;
8919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8927 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8928 PyObject
*resultobj
;
8929 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8930 wxWindow
*arg2
= (wxWindow
*) 0 ;
8931 wxWindow
*arg3
= (wxWindow
*) NULL
;
8933 PyObject
* obj0
= 0 ;
8934 PyObject
* obj1
= 0 ;
8935 PyObject
* obj2
= 0 ;
8937 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8946 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8951 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8953 wxPyEndAllowThreads(__tstate
);
8954 if (PyErr_Occurred()) SWIG_fail
;
8957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8965 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
8967 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8968 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8970 return Py_BuildValue((char *)"");
8972 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
;
8974 wxWindow
*arg1
= (wxWindow
*) 0 ;
8975 int arg2
= (int) wxBORDER_NONE
;
8976 wxPopupWindow
*result
;
8977 PyObject
* obj0
= 0 ;
8978 PyObject
* obj1
= 0 ;
8980 (char *) "parent",(char *) "flags", NULL
8983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8987 arg2
= (int)SWIG_As_int(obj1
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8991 if (!wxPyCheckForApp()) SWIG_fail
;
8992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8993 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8995 wxPyEndAllowThreads(__tstate
);
8996 if (PyErr_Occurred()) SWIG_fail
;
8998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
9005 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9006 PyObject
*resultobj
;
9007 wxPopupWindow
*result
;
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
9014 if (!wxPyCheckForApp()) SWIG_fail
;
9015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9016 result
= (wxPopupWindow
*)new wxPopupWindow();
9018 wxPyEndAllowThreads(__tstate
);
9019 if (PyErr_Occurred()) SWIG_fail
;
9021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
9028 static PyObject
*_wrap_PopupWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9029 PyObject
*resultobj
;
9030 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
9031 wxWindow
*arg2
= (wxWindow
*) 0 ;
9032 int arg3
= (int) wxBORDER_NONE
;
9034 PyObject
* obj0
= 0 ;
9035 PyObject
* obj1
= 0 ;
9036 PyObject
* obj2
= 0 ;
9038 (char *) "self",(char *) "parent",(char *) "flags", NULL
9041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
9043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9047 arg3
= (int)SWIG_As_int(obj2
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9052 result
= (bool)(arg1
)->Create(arg2
,arg3
);
9054 wxPyEndAllowThreads(__tstate
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9066 static PyObject
*_wrap_PopupWindow_Position(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
*resultobj
;
9068 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
9073 PyObject
* obj0
= 0 ;
9074 PyObject
* obj1
= 0 ;
9075 PyObject
* obj2
= 0 ;
9077 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
9080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
9082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9085 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9089 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
9092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9093 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
9095 wxPyEndAllowThreads(__tstate
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9098 Py_INCREF(Py_None
); resultobj
= Py_None
;
9105 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
9107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9108 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
9110 return Py_BuildValue((char *)"");
9112 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9113 PyObject
*resultobj
;
9114 wxWindow
*arg1
= (wxWindow
*) 0 ;
9115 int arg2
= (int) wxBORDER_NONE
;
9116 wxPyPopupTransientWindow
*result
;
9117 PyObject
* obj0
= 0 ;
9118 PyObject
* obj1
= 0 ;
9120 (char *) "parent",(char *) "style", NULL
9123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
9124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9127 arg2
= (int)SWIG_As_int(obj1
);
9128 if (PyErr_Occurred()) SWIG_fail
;
9131 if (!wxPyCheckForApp()) SWIG_fail
;
9132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9133 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
9135 wxPyEndAllowThreads(__tstate
);
9136 if (PyErr_Occurred()) SWIG_fail
;
9138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9145 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9146 PyObject
*resultobj
;
9147 wxPyPopupTransientWindow
*result
;
9152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
9154 if (!wxPyCheckForApp()) SWIG_fail
;
9155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9156 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
9158 wxPyEndAllowThreads(__tstate
);
9159 if (PyErr_Occurred()) SWIG_fail
;
9161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9168 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9169 PyObject
*resultobj
;
9170 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9171 PyObject
*arg2
= (PyObject
*) 0 ;
9172 PyObject
*arg3
= (PyObject
*) 0 ;
9173 PyObject
* obj0
= 0 ;
9174 PyObject
* obj1
= 0 ;
9175 PyObject
* obj2
= 0 ;
9177 (char *) "self",(char *) "self",(char *) "_class", NULL
9180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9187 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9189 wxPyEndAllowThreads(__tstate
);
9190 if (PyErr_Occurred()) SWIG_fail
;
9192 Py_INCREF(Py_None
); resultobj
= Py_None
;
9199 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9200 PyObject
*resultobj
;
9201 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9202 wxWindow
*arg2
= (wxWindow
*) NULL
;
9203 PyObject
* obj0
= 0 ;
9204 PyObject
* obj1
= 0 ;
9206 (char *) "self",(char *) "focus", NULL
9209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
9210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 (arg1
)->Popup(arg2
);
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 Py_INCREF(Py_None
); resultobj
= Py_None
;
9230 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
;
9232 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9233 PyObject
* obj0
= 0 ;
9235 (char *) "self", NULL
9238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
9239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9248 Py_INCREF(Py_None
); resultobj
= Py_None
;
9255 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
9257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9258 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
9260 return Py_BuildValue((char *)"");
9262 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
*resultobj
;
9264 wxWindow
*arg1
= (wxWindow
*) 0 ;
9265 wxString
*arg2
= 0 ;
9266 int arg3
= (int) 100 ;
9267 wxRect
*arg4
= (wxRect
*) NULL
;
9268 wxTipWindow
*result
;
9269 bool temp2
= false ;
9270 PyObject
* obj0
= 0 ;
9271 PyObject
* obj1
= 0 ;
9272 PyObject
* obj2
= 0 ;
9273 PyObject
* obj3
= 0 ;
9275 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9282 arg2
= wxString_in_helper(obj1
);
9283 if (arg2
== NULL
) SWIG_fail
;
9287 arg3
= (int)SWIG_As_int(obj2
);
9288 if (PyErr_Occurred()) SWIG_fail
;
9291 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
9292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9295 if (!wxPyCheckForApp()) SWIG_fail
;
9296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9297 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9299 wxPyEndAllowThreads(__tstate
);
9300 if (PyErr_Occurred()) SWIG_fail
;
9302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
9317 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9318 PyObject
*resultobj
;
9319 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9322 PyObject
* obj0
= 0 ;
9323 PyObject
* obj1
= 0 ;
9325 (char *) "self",(char *) "rectBound", NULL
9328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9333 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9337 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
9339 wxPyEndAllowThreads(__tstate
);
9340 if (PyErr_Occurred()) SWIG_fail
;
9342 Py_INCREF(Py_None
); resultobj
= Py_None
;
9349 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9350 PyObject
*resultobj
;
9351 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9352 PyObject
* obj0
= 0 ;
9354 (char *) "self", NULL
9357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9364 wxPyEndAllowThreads(__tstate
);
9365 if (PyErr_Occurred()) SWIG_fail
;
9367 Py_INCREF(Py_None
); resultobj
= Py_None
;
9374 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
9376 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9377 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9379 return Py_BuildValue((char *)"");
9381 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9382 PyObject
*resultobj
;
9383 wxWindow
*arg1
= (wxWindow
*) 0 ;
9384 int arg2
= (int) wxID_ANY
;
9385 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9386 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9387 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9388 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9389 long arg5
= (long) 0 ;
9390 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9391 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9392 wxPyVScrolledWindow
*result
;
9395 bool temp6
= false ;
9396 PyObject
* obj0
= 0 ;
9397 PyObject
* obj1
= 0 ;
9398 PyObject
* obj2
= 0 ;
9399 PyObject
* obj3
= 0 ;
9400 PyObject
* obj4
= 0 ;
9401 PyObject
* obj5
= 0 ;
9403 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9410 arg2
= (int)SWIG_As_int(obj1
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9416 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9422 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9426 arg5
= (long)SWIG_As_long(obj4
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9431 arg6
= wxString_in_helper(obj5
);
9432 if (arg6
== NULL
) SWIG_fail
;
9437 if (!wxPyCheckForApp()) SWIG_fail
;
9438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9439 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9441 wxPyEndAllowThreads(__tstate
);
9442 if (PyErr_Occurred()) SWIG_fail
;
9444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9459 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9460 PyObject
*resultobj
;
9461 wxPyVScrolledWindow
*result
;
9466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9468 if (!wxPyCheckForApp()) SWIG_fail
;
9469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9470 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9472 wxPyEndAllowThreads(__tstate
);
9473 if (PyErr_Occurred()) SWIG_fail
;
9475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9482 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9483 PyObject
*resultobj
;
9484 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9485 PyObject
*arg2
= (PyObject
*) 0 ;
9486 PyObject
*arg3
= (PyObject
*) 0 ;
9487 PyObject
* obj0
= 0 ;
9488 PyObject
* obj1
= 0 ;
9489 PyObject
* obj2
= 0 ;
9491 (char *) "self",(char *) "self",(char *) "_class", NULL
9494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9501 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9506 Py_INCREF(Py_None
); resultobj
= Py_None
;
9513 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9514 PyObject
*resultobj
;
9515 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9516 wxWindow
*arg2
= (wxWindow
*) 0 ;
9517 int arg3
= (int) wxID_ANY
;
9518 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9519 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9520 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9521 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9522 long arg6
= (long) 0 ;
9523 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9524 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9528 bool temp7
= false ;
9529 PyObject
* obj0
= 0 ;
9530 PyObject
* obj1
= 0 ;
9531 PyObject
* obj2
= 0 ;
9532 PyObject
* obj3
= 0 ;
9533 PyObject
* obj4
= 0 ;
9534 PyObject
* obj5
= 0 ;
9535 PyObject
* obj6
= 0 ;
9537 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9543 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9546 arg3
= (int)SWIG_As_int(obj2
);
9547 if (PyErr_Occurred()) SWIG_fail
;
9552 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9558 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9562 arg6
= (long)SWIG_As_long(obj5
);
9563 if (PyErr_Occurred()) SWIG_fail
;
9567 arg7
= wxString_in_helper(obj6
);
9568 if (arg7
== NULL
) SWIG_fail
;
9573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9574 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9576 wxPyEndAllowThreads(__tstate
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9596 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
*resultobj
;
9598 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9600 PyObject
* obj0
= 0 ;
9601 PyObject
* obj1
= 0 ;
9603 (char *) "self",(char *) "count", NULL
9606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9609 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9610 if (PyErr_Occurred()) SWIG_fail
;
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 (arg1
)->SetLineCount(arg2
);
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 Py_INCREF(Py_None
); resultobj
= Py_None
;
9625 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
;
9627 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9630 PyObject
* obj0
= 0 ;
9631 PyObject
* obj1
= 0 ;
9633 (char *) "self",(char *) "line", NULL
9636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9639 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9640 if (PyErr_Occurred()) SWIG_fail
;
9642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9643 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9645 wxPyEndAllowThreads(__tstate
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9657 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9658 PyObject
*resultobj
;
9659 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9662 PyObject
* obj0
= 0 ;
9663 PyObject
* obj1
= 0 ;
9665 (char *) "self",(char *) "lines", NULL
9668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9671 arg2
= (int)SWIG_As_int(obj1
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9675 result
= (bool)(arg1
)->ScrollLines(arg2
);
9677 wxPyEndAllowThreads(__tstate
);
9678 if (PyErr_Occurred()) SWIG_fail
;
9681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9689 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9690 PyObject
*resultobj
;
9691 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9694 PyObject
* obj0
= 0 ;
9695 PyObject
* obj1
= 0 ;
9697 (char *) "self",(char *) "pages", NULL
9700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9703 arg2
= (int)SWIG_As_int(obj1
);
9704 if (PyErr_Occurred()) SWIG_fail
;
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 result
= (bool)(arg1
)->ScrollPages(arg2
);
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9721 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9722 PyObject
*resultobj
;
9723 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9725 PyObject
* obj0
= 0 ;
9726 PyObject
* obj1
= 0 ;
9728 (char *) "self",(char *) "line", NULL
9731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9734 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9735 if (PyErr_Occurred()) SWIG_fail
;
9737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9738 (arg1
)->RefreshLine(arg2
);
9740 wxPyEndAllowThreads(__tstate
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9743 Py_INCREF(Py_None
); resultobj
= Py_None
;
9750 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9751 PyObject
*resultobj
;
9752 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9755 PyObject
* obj0
= 0 ;
9756 PyObject
* obj1
= 0 ;
9757 PyObject
* obj2
= 0 ;
9759 (char *) "self",(char *) "from",(char *) "to", NULL
9762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9765 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9767 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
9768 if (PyErr_Occurred()) SWIG_fail
;
9770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9771 (arg1
)->RefreshLines(arg2
,arg3
);
9773 wxPyEndAllowThreads(__tstate
);
9774 if (PyErr_Occurred()) SWIG_fail
;
9776 Py_INCREF(Py_None
); resultobj
= Py_None
;
9783 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9784 PyObject
*resultobj
;
9785 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9789 PyObject
* obj0
= 0 ;
9790 PyObject
* obj1
= 0 ;
9791 PyObject
* obj2
= 0 ;
9793 (char *) "self",(char *) "x",(char *) "y", NULL
9796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9799 arg2
= (int)SWIG_As_int(obj1
);
9800 if (PyErr_Occurred()) SWIG_fail
;
9801 arg3
= (int)SWIG_As_int(obj2
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9805 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9807 wxPyEndAllowThreads(__tstate
);
9808 if (PyErr_Occurred()) SWIG_fail
;
9810 resultobj
= SWIG_From_int((int)result
);
9817 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9818 PyObject
*resultobj
;
9819 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9823 PyObject
* obj0
= 0 ;
9824 PyObject
* obj1
= 0 ;
9826 (char *) "self",(char *) "pt", NULL
9829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9834 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9838 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9840 wxPyEndAllowThreads(__tstate
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9843 resultobj
= SWIG_From_int((int)result
);
9850 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9851 PyObject
*resultobj
;
9852 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9853 PyObject
* obj0
= 0 ;
9855 (char *) "self", NULL
9858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9863 (arg1
)->RefreshAll();
9865 wxPyEndAllowThreads(__tstate
);
9866 if (PyErr_Occurred()) SWIG_fail
;
9868 Py_INCREF(Py_None
); resultobj
= Py_None
;
9875 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9876 PyObject
*resultobj
;
9877 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9879 PyObject
* obj0
= 0 ;
9881 (char *) "self", NULL
9884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9889 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9891 wxPyEndAllowThreads(__tstate
);
9892 if (PyErr_Occurred()) SWIG_fail
;
9894 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9901 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9902 PyObject
*resultobj
;
9903 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9905 PyObject
* obj0
= 0 ;
9907 (char *) "self", NULL
9910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9915 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9917 wxPyEndAllowThreads(__tstate
);
9918 if (PyErr_Occurred()) SWIG_fail
;
9920 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9927 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9928 PyObject
*resultobj
;
9929 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9931 PyObject
* obj0
= 0 ;
9933 (char *) "self", NULL
9936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9941 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9943 wxPyEndAllowThreads(__tstate
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9946 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9953 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
;
9955 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9958 PyObject
* obj0
= 0 ;
9959 PyObject
* obj1
= 0 ;
9961 (char *) "self",(char *) "line", NULL
9964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9967 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9971 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9985 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
9987 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9988 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9990 return Py_BuildValue((char *)"");
9992 static int _wrap_VListBoxNameStr_set(PyObject
*) {
9993 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9998 static PyObject
*_wrap_VListBoxNameStr_get() {
10003 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
10005 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
10012 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10013 PyObject
*resultobj
;
10014 wxWindow
*arg1
= (wxWindow
*) 0 ;
10015 int arg2
= (int) wxID_ANY
;
10016 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10017 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10018 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10019 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10020 long arg5
= (long) 0 ;
10021 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10022 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10023 wxPyVListBox
*result
;
10026 bool temp6
= false ;
10027 PyObject
* obj0
= 0 ;
10028 PyObject
* obj1
= 0 ;
10029 PyObject
* obj2
= 0 ;
10030 PyObject
* obj3
= 0 ;
10031 PyObject
* obj4
= 0 ;
10032 PyObject
* obj5
= 0 ;
10033 char *kwnames
[] = {
10034 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10041 arg2
= (int)SWIG_As_int(obj1
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10047 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10053 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10057 arg5
= (long)SWIG_As_long(obj4
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10062 arg6
= wxString_in_helper(obj5
);
10063 if (arg6
== NULL
) SWIG_fail
;
10068 if (!wxPyCheckForApp()) SWIG_fail
;
10069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10070 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10072 wxPyEndAllowThreads(__tstate
);
10073 if (PyErr_Occurred()) SWIG_fail
;
10075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
10090 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10091 PyObject
*resultobj
;
10092 wxPyVListBox
*result
;
10093 char *kwnames
[] = {
10097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
10099 if (!wxPyCheckForApp()) SWIG_fail
;
10100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10101 result
= (wxPyVListBox
*)new wxPyVListBox();
10103 wxPyEndAllowThreads(__tstate
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
10113 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10114 PyObject
*resultobj
;
10115 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10116 PyObject
*arg2
= (PyObject
*) 0 ;
10117 PyObject
*arg3
= (PyObject
*) 0 ;
10118 PyObject
* obj0
= 0 ;
10119 PyObject
* obj1
= 0 ;
10120 PyObject
* obj2
= 0 ;
10121 char *kwnames
[] = {
10122 (char *) "self",(char *) "self",(char *) "_class", NULL
10125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10132 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10134 wxPyEndAllowThreads(__tstate
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10137 Py_INCREF(Py_None
); resultobj
= Py_None
;
10144 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10145 PyObject
*resultobj
;
10146 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10147 wxWindow
*arg2
= (wxWindow
*) 0 ;
10148 int arg3
= (int) wxID_ANY
;
10149 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10150 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10151 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10152 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10153 long arg6
= (long) 0 ;
10154 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10155 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10159 bool temp7
= false ;
10160 PyObject
* obj0
= 0 ;
10161 PyObject
* obj1
= 0 ;
10162 PyObject
* obj2
= 0 ;
10163 PyObject
* obj3
= 0 ;
10164 PyObject
* obj4
= 0 ;
10165 PyObject
* obj5
= 0 ;
10166 PyObject
* obj6
= 0 ;
10167 char *kwnames
[] = {
10168 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10174 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10177 arg3
= (int)SWIG_As_int(obj2
);
10178 if (PyErr_Occurred()) SWIG_fail
;
10183 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10189 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10193 arg6
= (long)SWIG_As_long(obj5
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10198 arg7
= wxString_in_helper(obj6
);
10199 if (arg7
== NULL
) SWIG_fail
;
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10207 wxPyEndAllowThreads(__tstate
);
10208 if (PyErr_Occurred()) SWIG_fail
;
10211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10227 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10228 PyObject
*resultobj
;
10229 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10231 PyObject
* obj0
= 0 ;
10232 char *kwnames
[] = {
10233 (char *) "self", NULL
10236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
10237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10241 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
10243 wxPyEndAllowThreads(__tstate
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10246 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10253 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10254 PyObject
*resultobj
;
10255 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10257 PyObject
* obj0
= 0 ;
10258 char *kwnames
[] = {
10259 (char *) "self", NULL
10262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
10263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) SWIG_fail
;
10273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10281 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10282 PyObject
*resultobj
;
10283 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10285 PyObject
* obj0
= 0 ;
10286 char *kwnames
[] = {
10287 (char *) "self", NULL
10290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
10291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10295 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
10297 wxPyEndAllowThreads(__tstate
);
10298 if (PyErr_Occurred()) SWIG_fail
;
10300 resultobj
= SWIG_From_int((int)result
);
10307 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10308 PyObject
*resultobj
;
10309 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10312 PyObject
* obj0
= 0 ;
10313 PyObject
* obj1
= 0 ;
10314 char *kwnames
[] = {
10315 (char *) "self",(char *) "item", NULL
10318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
10319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10321 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10325 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
10327 wxPyEndAllowThreads(__tstate
);
10328 if (PyErr_Occurred()) SWIG_fail
;
10331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10339 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10340 PyObject
*resultobj
;
10341 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10344 PyObject
* obj0
= 0 ;
10345 PyObject
* obj1
= 0 ;
10346 char *kwnames
[] = {
10347 (char *) "self",(char *) "item", NULL
10350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10353 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10354 if (PyErr_Occurred()) SWIG_fail
;
10356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10357 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10359 wxPyEndAllowThreads(__tstate
);
10360 if (PyErr_Occurred()) SWIG_fail
;
10363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10371 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10372 PyObject
*resultobj
;
10373 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10375 PyObject
* obj0
= 0 ;
10376 char *kwnames
[] = {
10377 (char *) "self", NULL
10380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10385 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10387 wxPyEndAllowThreads(__tstate
);
10388 if (PyErr_Occurred()) SWIG_fail
;
10390 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10397 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10398 PyObject
*resultobj
;
10399 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10401 PyObject
* obj0
= 0 ;
10402 char *kwnames
[] = {
10403 (char *) "self", NULL
10406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
10407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10411 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
10413 wxPyEndAllowThreads(__tstate
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10416 resultobj
= result
;
10423 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10424 PyObject
*resultobj
;
10425 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10426 unsigned long arg2
;
10428 PyObject
* obj0
= 0 ;
10429 PyObject
* obj1
= 0 ;
10430 char *kwnames
[] = {
10431 (char *) "self",(char *) "cookie", NULL
10434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10437 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10441 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10446 resultobj
= result
;
10453 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10454 PyObject
*resultobj
;
10455 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10457 PyObject
* obj0
= 0 ;
10458 char *kwnames
[] = {
10459 (char *) "self", NULL
10462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10467 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10473 wxPoint
* resultptr
;
10474 resultptr
= new wxPoint((wxPoint
&) result
);
10475 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10483 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10484 PyObject
*resultobj
;
10485 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10487 PyObject
* obj0
= 0 ;
10488 char *kwnames
[] = {
10489 (char *) "self", NULL
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10498 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10499 result
= (wxColour
*) &_result_ref
;
10502 wxPyEndAllowThreads(__tstate
);
10503 if (PyErr_Occurred()) SWIG_fail
;
10505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10512 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10513 PyObject
*resultobj
;
10514 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10516 PyObject
* obj0
= 0 ;
10517 PyObject
* obj1
= 0 ;
10518 char *kwnames
[] = {
10519 (char *) "self",(char *) "count", NULL
10522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10525 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10526 if (PyErr_Occurred()) SWIG_fail
;
10528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10529 (arg1
)->SetItemCount(arg2
);
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10534 Py_INCREF(Py_None
); resultobj
= Py_None
;
10541 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10542 PyObject
*resultobj
;
10543 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10544 PyObject
* obj0
= 0 ;
10545 char *kwnames
[] = {
10546 (char *) "self", NULL
10549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10556 wxPyEndAllowThreads(__tstate
);
10557 if (PyErr_Occurred()) SWIG_fail
;
10559 Py_INCREF(Py_None
); resultobj
= Py_None
;
10566 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10567 PyObject
*resultobj
;
10568 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10570 PyObject
* obj0
= 0 ;
10571 PyObject
* obj1
= 0 ;
10572 char *kwnames
[] = {
10573 (char *) "self",(char *) "selection", NULL
10576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10579 arg2
= (int)SWIG_As_int(obj1
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10583 (arg1
)->SetSelection(arg2
);
10585 wxPyEndAllowThreads(__tstate
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10588 Py_INCREF(Py_None
); resultobj
= Py_None
;
10595 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10596 PyObject
*resultobj
;
10597 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10599 bool arg3
= (bool) true ;
10601 PyObject
* obj0
= 0 ;
10602 PyObject
* obj1
= 0 ;
10603 PyObject
* obj2
= 0 ;
10604 char *kwnames
[] = {
10605 (char *) "self",(char *) "item",(char *) "select", NULL
10608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10611 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10612 if (PyErr_Occurred()) SWIG_fail
;
10614 arg3
= (bool)SWIG_As_bool(obj2
);
10615 if (PyErr_Occurred()) SWIG_fail
;
10618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10619 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10621 wxPyEndAllowThreads(__tstate
);
10622 if (PyErr_Occurred()) SWIG_fail
;
10625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10633 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10634 PyObject
*resultobj
;
10635 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10639 PyObject
* obj0
= 0 ;
10640 PyObject
* obj1
= 0 ;
10641 PyObject
* obj2
= 0 ;
10642 char *kwnames
[] = {
10643 (char *) "self",(char *) "from",(char *) "to", NULL
10646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10649 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10651 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10655 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10669 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10670 PyObject
*resultobj
;
10671 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10673 PyObject
* obj0
= 0 ;
10674 PyObject
* obj1
= 0 ;
10675 char *kwnames
[] = {
10676 (char *) "self",(char *) "item", NULL
10679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10682 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10683 if (PyErr_Occurred()) SWIG_fail
;
10685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10686 (arg1
)->Toggle(arg2
);
10688 wxPyEndAllowThreads(__tstate
);
10689 if (PyErr_Occurred()) SWIG_fail
;
10691 Py_INCREF(Py_None
); resultobj
= Py_None
;
10698 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10699 PyObject
*resultobj
;
10700 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10702 PyObject
* obj0
= 0 ;
10703 char *kwnames
[] = {
10704 (char *) "self", NULL
10707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10712 result
= (bool)(arg1
)->SelectAll();
10714 wxPyEndAllowThreads(__tstate
);
10715 if (PyErr_Occurred()) SWIG_fail
;
10718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10726 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10727 PyObject
*resultobj
;
10728 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10730 PyObject
* obj0
= 0 ;
10731 char *kwnames
[] = {
10732 (char *) "self", NULL
10735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10740 result
= (bool)(arg1
)->DeselectAll();
10742 wxPyEndAllowThreads(__tstate
);
10743 if (PyErr_Occurred()) SWIG_fail
;
10746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10754 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10755 PyObject
*resultobj
;
10756 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10757 wxPoint
*arg2
= 0 ;
10759 PyObject
* obj0
= 0 ;
10760 PyObject
* obj1
= 0 ;
10761 char *kwnames
[] = {
10762 (char *) "self",(char *) "pt", NULL
10765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10770 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10774 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10776 wxPyEndAllowThreads(__tstate
);
10777 if (PyErr_Occurred()) SWIG_fail
;
10779 Py_INCREF(Py_None
); resultobj
= Py_None
;
10786 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10787 PyObject
*resultobj
;
10788 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10791 PyObject
* obj0
= 0 ;
10792 PyObject
* obj1
= 0 ;
10793 PyObject
* obj2
= 0 ;
10794 char *kwnames
[] = {
10795 (char *) "self",(char *) "x",(char *) "y", NULL
10798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10801 arg2
= (int)SWIG_As_int(obj1
);
10802 if (PyErr_Occurred()) SWIG_fail
;
10803 arg3
= (int)SWIG_As_int(obj2
);
10804 if (PyErr_Occurred()) SWIG_fail
;
10806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10807 (arg1
)->SetMargins(arg2
,arg3
);
10809 wxPyEndAllowThreads(__tstate
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10812 Py_INCREF(Py_None
); resultobj
= Py_None
;
10819 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10820 PyObject
*resultobj
;
10821 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10822 wxColour
*arg2
= 0 ;
10824 PyObject
* obj0
= 0 ;
10825 PyObject
* obj1
= 0 ;
10826 char *kwnames
[] = {
10827 (char *) "self",(char *) "col", NULL
10830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10835 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10839 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10841 wxPyEndAllowThreads(__tstate
);
10842 if (PyErr_Occurred()) SWIG_fail
;
10844 Py_INCREF(Py_None
); resultobj
= Py_None
;
10851 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
10853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10854 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10856 return Py_BuildValue((char *)"");
10858 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10859 PyObject
*resultobj
;
10860 wxWindow
*arg1
= (wxWindow
*) 0 ;
10861 int arg2
= (int) wxID_ANY
;
10862 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10863 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10864 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10865 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10866 long arg5
= (long) 0 ;
10867 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10868 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10869 wxPyHtmlListBox
*result
;
10872 bool temp6
= false ;
10873 PyObject
* obj0
= 0 ;
10874 PyObject
* obj1
= 0 ;
10875 PyObject
* obj2
= 0 ;
10876 PyObject
* obj3
= 0 ;
10877 PyObject
* obj4
= 0 ;
10878 PyObject
* obj5
= 0 ;
10879 char *kwnames
[] = {
10880 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10887 arg2
= (int)SWIG_As_int(obj1
);
10888 if (PyErr_Occurred()) SWIG_fail
;
10893 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10899 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10903 arg5
= (long)SWIG_As_long(obj4
);
10904 if (PyErr_Occurred()) SWIG_fail
;
10908 arg6
= wxString_in_helper(obj5
);
10909 if (arg6
== NULL
) SWIG_fail
;
10914 if (!wxPyCheckForApp()) SWIG_fail
;
10915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10916 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10918 wxPyEndAllowThreads(__tstate
);
10919 if (PyErr_Occurred()) SWIG_fail
;
10921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10936 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10937 PyObject
*resultobj
;
10938 wxPyHtmlListBox
*result
;
10939 char *kwnames
[] = {
10943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10945 if (!wxPyCheckForApp()) SWIG_fail
;
10946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10947 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10949 wxPyEndAllowThreads(__tstate
);
10950 if (PyErr_Occurred()) SWIG_fail
;
10952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10959 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10960 PyObject
*resultobj
;
10961 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10962 PyObject
*arg2
= (PyObject
*) 0 ;
10963 PyObject
*arg3
= (PyObject
*) 0 ;
10964 PyObject
* obj0
= 0 ;
10965 PyObject
* obj1
= 0 ;
10966 PyObject
* obj2
= 0 ;
10967 char *kwnames
[] = {
10968 (char *) "self",(char *) "self",(char *) "_class", NULL
10971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10978 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10980 wxPyEndAllowThreads(__tstate
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10983 Py_INCREF(Py_None
); resultobj
= Py_None
;
10990 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10991 PyObject
*resultobj
;
10992 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10993 wxWindow
*arg2
= (wxWindow
*) 0 ;
10994 int arg3
= (int) wxID_ANY
;
10995 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10996 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10997 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10998 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10999 long arg6
= (long) 0 ;
11000 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
11001 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11005 bool temp7
= false ;
11006 PyObject
* obj0
= 0 ;
11007 PyObject
* obj1
= 0 ;
11008 PyObject
* obj2
= 0 ;
11009 PyObject
* obj3
= 0 ;
11010 PyObject
* obj4
= 0 ;
11011 PyObject
* obj5
= 0 ;
11012 PyObject
* obj6
= 0 ;
11013 char *kwnames
[] = {
11014 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11020 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11023 arg3
= (int)SWIG_As_int(obj2
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11029 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11035 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11039 arg6
= (long)SWIG_As_long(obj5
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11044 arg7
= wxString_in_helper(obj6
);
11045 if (arg7
== NULL
) SWIG_fail
;
11050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11051 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11053 wxPyEndAllowThreads(__tstate
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11073 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11074 PyObject
*resultobj
;
11075 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11076 PyObject
* obj0
= 0 ;
11077 char *kwnames
[] = {
11078 (char *) "self", NULL
11081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
11082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11086 (arg1
)->RefreshAll();
11088 wxPyEndAllowThreads(__tstate
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11091 Py_INCREF(Py_None
); resultobj
= Py_None
;
11098 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11099 PyObject
*resultobj
;
11100 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11102 PyObject
* obj0
= 0 ;
11103 PyObject
* obj1
= 0 ;
11104 char *kwnames
[] = {
11105 (char *) "self",(char *) "count", NULL
11108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11111 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
11112 if (PyErr_Occurred()) SWIG_fail
;
11114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11115 (arg1
)->SetItemCount(arg2
);
11117 wxPyEndAllowThreads(__tstate
);
11118 if (PyErr_Occurred()) SWIG_fail
;
11120 Py_INCREF(Py_None
); resultobj
= Py_None
;
11127 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11128 PyObject
*resultobj
;
11129 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11130 wxFileSystem
*result
;
11131 PyObject
* obj0
= 0 ;
11132 char *kwnames
[] = {
11133 (char *) "self", NULL
11136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
11137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11142 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
11143 result
= (wxFileSystem
*) &_result_ref
;
11146 wxPyEndAllowThreads(__tstate
);
11147 if (PyErr_Occurred()) SWIG_fail
;
11149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
11156 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
11158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11159 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
11161 return Py_BuildValue((char *)"");
11163 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11164 PyObject
*resultobj
;
11165 wxPyTaskBarIcon
*result
;
11166 char *kwnames
[] = {
11170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
11172 if (!wxPyCheckForApp()) SWIG_fail
;
11173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
11176 wxPyEndAllowThreads(__tstate
);
11177 if (PyErr_Occurred()) SWIG_fail
;
11179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
11186 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
*resultobj
;
11188 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11189 PyObject
*arg2
= (PyObject
*) 0 ;
11190 PyObject
*arg3
= (PyObject
*) 0 ;
11192 PyObject
* obj0
= 0 ;
11193 PyObject
* obj1
= 0 ;
11194 PyObject
* obj2
= 0 ;
11195 PyObject
* obj3
= 0 ;
11196 char *kwnames
[] = {
11197 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11205 arg4
= (int)SWIG_As_int(obj3
);
11206 if (PyErr_Occurred()) SWIG_fail
;
11208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11209 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
11211 wxPyEndAllowThreads(__tstate
);
11212 if (PyErr_Occurred()) SWIG_fail
;
11214 Py_INCREF(Py_None
); resultobj
= Py_None
;
11221 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11222 PyObject
*resultobj
;
11223 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11224 PyObject
* obj0
= 0 ;
11225 char *kwnames
[] = {
11226 (char *) "self", NULL
11229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
11230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11234 wxPyTaskBarIcon_Destroy(arg1
);
11236 wxPyEndAllowThreads(__tstate
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11239 Py_INCREF(Py_None
); resultobj
= Py_None
;
11246 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11247 PyObject
*resultobj
;
11248 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11250 PyObject
* obj0
= 0 ;
11251 char *kwnames
[] = {
11252 (char *) "self", NULL
11255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
11256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11260 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
11262 wxPyEndAllowThreads(__tstate
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11274 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11275 PyObject
*resultobj
;
11276 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11278 PyObject
* obj0
= 0 ;
11279 char *kwnames
[] = {
11280 (char *) "self", NULL
11283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
11284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11288 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
11290 wxPyEndAllowThreads(__tstate
);
11291 if (PyErr_Occurred()) SWIG_fail
;
11294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11302 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11303 PyObject
*resultobj
;
11304 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11306 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11307 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11309 bool temp3
= false ;
11310 PyObject
* obj0
= 0 ;
11311 PyObject
* obj1
= 0 ;
11312 PyObject
* obj2
= 0 ;
11313 char *kwnames
[] = {
11314 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11320 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11321 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11323 if (arg2
== NULL
) {
11324 PyErr_SetString(PyExc_TypeError
,"null reference");
11329 arg3
= wxString_in_helper(obj2
);
11330 if (arg3
== NULL
) SWIG_fail
;
11335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11336 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
11338 wxPyEndAllowThreads(__tstate
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11358 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11359 PyObject
*resultobj
;
11360 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11362 PyObject
* obj0
= 0 ;
11363 char *kwnames
[] = {
11364 (char *) "self", NULL
11367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
11368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11372 result
= (bool)(arg1
)->RemoveIcon();
11374 wxPyEndAllowThreads(__tstate
);
11375 if (PyErr_Occurred()) SWIG_fail
;
11378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11386 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11387 PyObject
*resultobj
;
11388 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11389 wxMenu
*arg2
= (wxMenu
*) 0 ;
11391 PyObject
* obj0
= 0 ;
11392 PyObject
* obj1
= 0 ;
11393 char *kwnames
[] = {
11394 (char *) "self",(char *) "menu", NULL
11397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
11398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
11401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11404 result
= (bool)(arg1
)->PopupMenu(arg2
);
11406 wxPyEndAllowThreads(__tstate
);
11407 if (PyErr_Occurred()) SWIG_fail
;
11410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11418 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
11420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11421 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
11423 return Py_BuildValue((char *)"");
11425 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11426 PyObject
*resultobj
;
11428 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
11429 wxTaskBarIconEvent
*result
;
11430 PyObject
* obj0
= 0 ;
11431 PyObject
* obj1
= 0 ;
11432 char *kwnames
[] = {
11433 (char *) "evtType",(char *) "tbIcon", NULL
11436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11437 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
11440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11443 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
11445 wxPyEndAllowThreads(__tstate
);
11446 if (PyErr_Occurred()) SWIG_fail
;
11448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
11455 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
11457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11458 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
11460 return Py_BuildValue((char *)"");
11462 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
11463 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
11468 static PyObject
*_wrap_FileSelectorPromptStr_get() {
11473 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11475 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11482 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
11483 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
11488 static PyObject
*_wrap_DirSelectorPromptStr_get() {
11493 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11495 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11502 static int _wrap_DirDialogNameStr_set(PyObject
*) {
11503 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11508 static PyObject
*_wrap_DirDialogNameStr_get() {
11513 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11515 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11522 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
11523 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11528 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11533 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11535 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11542 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
11543 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11548 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11553 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11555 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11562 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
11563 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11568 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11573 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11575 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11582 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11583 PyObject
*resultobj
;
11584 wxColourData
*result
;
11585 char *kwnames
[] = {
11589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11592 result
= (wxColourData
*)new wxColourData();
11594 wxPyEndAllowThreads(__tstate
);
11595 if (PyErr_Occurred()) SWIG_fail
;
11597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11604 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11605 PyObject
*resultobj
;
11606 wxColourData
*arg1
= (wxColourData
*) 0 ;
11607 PyObject
* obj0
= 0 ;
11608 char *kwnames
[] = {
11609 (char *) "self", NULL
11612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11622 Py_INCREF(Py_None
); resultobj
= Py_None
;
11629 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11630 PyObject
*resultobj
;
11631 wxColourData
*arg1
= (wxColourData
*) 0 ;
11633 PyObject
* obj0
= 0 ;
11634 char *kwnames
[] = {
11635 (char *) "self", NULL
11638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11643 result
= (bool)(arg1
)->GetChooseFull();
11645 wxPyEndAllowThreads(__tstate
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11657 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11658 PyObject
*resultobj
;
11659 wxColourData
*arg1
= (wxColourData
*) 0 ;
11661 PyObject
* obj0
= 0 ;
11662 char *kwnames
[] = {
11663 (char *) "self", NULL
11666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11671 result
= (arg1
)->GetColour();
11673 wxPyEndAllowThreads(__tstate
);
11674 if (PyErr_Occurred()) SWIG_fail
;
11677 wxColour
* resultptr
;
11678 resultptr
= new wxColour((wxColour
&) result
);
11679 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11687 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11688 PyObject
*resultobj
;
11689 wxColourData
*arg1
= (wxColourData
*) 0 ;
11692 PyObject
* obj0
= 0 ;
11693 PyObject
* obj1
= 0 ;
11694 char *kwnames
[] = {
11695 (char *) "self",(char *) "i", NULL
11698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11701 arg2
= (int)SWIG_As_int(obj1
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11705 result
= (arg1
)->GetCustomColour(arg2
);
11707 wxPyEndAllowThreads(__tstate
);
11708 if (PyErr_Occurred()) SWIG_fail
;
11711 wxColour
* resultptr
;
11712 resultptr
= new wxColour((wxColour
&) result
);
11713 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11721 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11722 PyObject
*resultobj
;
11723 wxColourData
*arg1
= (wxColourData
*) 0 ;
11725 PyObject
* obj0
= 0 ;
11726 PyObject
* obj1
= 0 ;
11727 char *kwnames
[] = {
11728 (char *) "self",(char *) "flag", NULL
11731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11734 arg2
= (int)SWIG_As_int(obj1
);
11735 if (PyErr_Occurred()) SWIG_fail
;
11737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11738 (arg1
)->SetChooseFull(arg2
);
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11743 Py_INCREF(Py_None
); resultobj
= Py_None
;
11750 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11751 PyObject
*resultobj
;
11752 wxColourData
*arg1
= (wxColourData
*) 0 ;
11753 wxColour
*arg2
= 0 ;
11755 PyObject
* obj0
= 0 ;
11756 PyObject
* obj1
= 0 ;
11757 char *kwnames
[] = {
11758 (char *) "self",(char *) "colour", NULL
11761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11766 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11770 (arg1
)->SetColour((wxColour
const &)*arg2
);
11772 wxPyEndAllowThreads(__tstate
);
11773 if (PyErr_Occurred()) SWIG_fail
;
11775 Py_INCREF(Py_None
); resultobj
= Py_None
;
11782 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11783 PyObject
*resultobj
;
11784 wxColourData
*arg1
= (wxColourData
*) 0 ;
11786 wxColour
*arg3
= 0 ;
11788 PyObject
* obj0
= 0 ;
11789 PyObject
* obj1
= 0 ;
11790 PyObject
* obj2
= 0 ;
11791 char *kwnames
[] = {
11792 (char *) "self",(char *) "i",(char *) "colour", NULL
11795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11798 arg2
= (int)SWIG_As_int(obj1
);
11799 if (PyErr_Occurred()) SWIG_fail
;
11802 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11806 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11808 wxPyEndAllowThreads(__tstate
);
11809 if (PyErr_Occurred()) SWIG_fail
;
11811 Py_INCREF(Py_None
); resultobj
= Py_None
;
11818 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
11820 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11821 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11823 return Py_BuildValue((char *)"");
11825 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11826 PyObject
*resultobj
;
11827 wxWindow
*arg1
= (wxWindow
*) 0 ;
11828 wxColourData
*arg2
= (wxColourData
*) NULL
;
11829 wxColourDialog
*result
;
11830 PyObject
* obj0
= 0 ;
11831 PyObject
* obj1
= 0 ;
11832 char *kwnames
[] = {
11833 (char *) "parent",(char *) "data", NULL
11836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11844 if (!wxPyCheckForApp()) SWIG_fail
;
11845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11846 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11848 wxPyEndAllowThreads(__tstate
);
11849 if (PyErr_Occurred()) SWIG_fail
;
11851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11858 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11859 PyObject
*resultobj
;
11860 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11861 wxColourData
*result
;
11862 PyObject
* obj0
= 0 ;
11863 char *kwnames
[] = {
11864 (char *) "self", NULL
11867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11873 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11874 result
= (wxColourData
*) &_result_ref
;
11877 wxPyEndAllowThreads(__tstate
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11887 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
11889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11890 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11892 return Py_BuildValue((char *)"");
11894 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11895 PyObject
*resultobj
;
11896 wxWindow
*arg1
= (wxWindow
*) 0 ;
11897 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11898 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11899 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11900 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11901 long arg4
= (long) 0 ;
11902 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11903 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11904 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11905 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11906 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11907 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11908 wxDirDialog
*result
;
11909 bool temp2
= false ;
11910 bool temp3
= false ;
11913 bool temp7
= false ;
11914 PyObject
* obj0
= 0 ;
11915 PyObject
* obj1
= 0 ;
11916 PyObject
* obj2
= 0 ;
11917 PyObject
* obj3
= 0 ;
11918 PyObject
* obj4
= 0 ;
11919 PyObject
* obj5
= 0 ;
11920 PyObject
* obj6
= 0 ;
11921 char *kwnames
[] = {
11922 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11930 arg2
= wxString_in_helper(obj1
);
11931 if (arg2
== NULL
) SWIG_fail
;
11937 arg3
= wxString_in_helper(obj2
);
11938 if (arg3
== NULL
) SWIG_fail
;
11943 arg4
= (long)SWIG_As_long(obj3
);
11944 if (PyErr_Occurred()) SWIG_fail
;
11949 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11955 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11960 arg7
= wxString_in_helper(obj6
);
11961 if (arg7
== NULL
) SWIG_fail
;
11966 if (!wxPyCheckForApp()) SWIG_fail
;
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11970 wxPyEndAllowThreads(__tstate
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
12004 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12005 PyObject
*resultobj
;
12006 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12008 PyObject
* obj0
= 0 ;
12009 char *kwnames
[] = {
12010 (char *) "self", NULL
12013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12018 result
= (arg1
)->GetPath();
12020 wxPyEndAllowThreads(__tstate
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12025 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12027 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12036 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12037 PyObject
*resultobj
;
12038 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12040 PyObject
* obj0
= 0 ;
12041 char *kwnames
[] = {
12042 (char *) "self", NULL
12045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12050 result
= (arg1
)->GetMessage();
12052 wxPyEndAllowThreads(__tstate
);
12053 if (PyErr_Occurred()) SWIG_fail
;
12057 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12059 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12068 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12069 PyObject
*resultobj
;
12070 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12072 PyObject
* obj0
= 0 ;
12073 char *kwnames
[] = {
12074 (char *) "self", NULL
12077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12082 result
= (long)(arg1
)->GetStyle();
12084 wxPyEndAllowThreads(__tstate
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12087 resultobj
= SWIG_From_long((long)result
);
12094 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12095 PyObject
*resultobj
;
12096 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12097 wxString
*arg2
= 0 ;
12098 bool temp2
= false ;
12099 PyObject
* obj0
= 0 ;
12100 PyObject
* obj1
= 0 ;
12101 char *kwnames
[] = {
12102 (char *) "self",(char *) "message", NULL
12105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12109 arg2
= wxString_in_helper(obj1
);
12110 if (arg2
== NULL
) SWIG_fail
;
12114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12115 (arg1
)->SetMessage((wxString
const &)*arg2
);
12117 wxPyEndAllowThreads(__tstate
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12120 Py_INCREF(Py_None
); resultobj
= Py_None
;
12135 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12136 PyObject
*resultobj
;
12137 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12138 wxString
*arg2
= 0 ;
12139 bool temp2
= false ;
12140 PyObject
* obj0
= 0 ;
12141 PyObject
* obj1
= 0 ;
12142 char *kwnames
[] = {
12143 (char *) "self",(char *) "path", NULL
12146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12150 arg2
= wxString_in_helper(obj1
);
12151 if (arg2
== NULL
) SWIG_fail
;
12155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12156 (arg1
)->SetPath((wxString
const &)*arg2
);
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12161 Py_INCREF(Py_None
); resultobj
= Py_None
;
12176 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
12178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12179 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
12181 return Py_BuildValue((char *)"");
12183 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12184 PyObject
*resultobj
;
12185 wxWindow
*arg1
= (wxWindow
*) 0 ;
12186 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
12187 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12188 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12189 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12190 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12191 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12192 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
12193 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
12194 long arg6
= (long) 0 ;
12195 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12196 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12197 wxFileDialog
*result
;
12198 bool temp2
= false ;
12199 bool temp3
= false ;
12200 bool temp4
= false ;
12201 bool temp5
= false ;
12203 PyObject
* obj0
= 0 ;
12204 PyObject
* obj1
= 0 ;
12205 PyObject
* obj2
= 0 ;
12206 PyObject
* obj3
= 0 ;
12207 PyObject
* obj4
= 0 ;
12208 PyObject
* obj5
= 0 ;
12209 PyObject
* obj6
= 0 ;
12210 char *kwnames
[] = {
12211 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12219 arg2
= wxString_in_helper(obj1
);
12220 if (arg2
== NULL
) SWIG_fail
;
12226 arg3
= wxString_in_helper(obj2
);
12227 if (arg3
== NULL
) SWIG_fail
;
12233 arg4
= wxString_in_helper(obj3
);
12234 if (arg4
== NULL
) SWIG_fail
;
12240 arg5
= wxString_in_helper(obj4
);
12241 if (arg5
== NULL
) SWIG_fail
;
12246 arg6
= (long)SWIG_As_long(obj5
);
12247 if (PyErr_Occurred()) SWIG_fail
;
12252 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12256 if (!wxPyCheckForApp()) SWIG_fail
;
12257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12258 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
12260 wxPyEndAllowThreads(__tstate
);
12261 if (PyErr_Occurred()) SWIG_fail
;
12263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
12302 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12303 PyObject
*resultobj
;
12304 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12305 wxString
*arg2
= 0 ;
12306 bool temp2
= false ;
12307 PyObject
* obj0
= 0 ;
12308 PyObject
* obj1
= 0 ;
12309 char *kwnames
[] = {
12310 (char *) "self",(char *) "message", NULL
12313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12317 arg2
= wxString_in_helper(obj1
);
12318 if (arg2
== NULL
) SWIG_fail
;
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12323 (arg1
)->SetMessage((wxString
const &)*arg2
);
12325 wxPyEndAllowThreads(__tstate
);
12326 if (PyErr_Occurred()) SWIG_fail
;
12328 Py_INCREF(Py_None
); resultobj
= Py_None
;
12343 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12344 PyObject
*resultobj
;
12345 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12346 wxString
*arg2
= 0 ;
12347 bool temp2
= false ;
12348 PyObject
* obj0
= 0 ;
12349 PyObject
* obj1
= 0 ;
12350 char *kwnames
[] = {
12351 (char *) "self",(char *) "path", NULL
12354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12358 arg2
= wxString_in_helper(obj1
);
12359 if (arg2
== NULL
) SWIG_fail
;
12363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12364 (arg1
)->SetPath((wxString
const &)*arg2
);
12366 wxPyEndAllowThreads(__tstate
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12369 Py_INCREF(Py_None
); resultobj
= Py_None
;
12384 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12385 PyObject
*resultobj
;
12386 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12387 wxString
*arg2
= 0 ;
12388 bool temp2
= false ;
12389 PyObject
* obj0
= 0 ;
12390 PyObject
* obj1
= 0 ;
12391 char *kwnames
[] = {
12392 (char *) "self",(char *) "dir", NULL
12395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
12396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12399 arg2
= wxString_in_helper(obj1
);
12400 if (arg2
== NULL
) SWIG_fail
;
12404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12405 (arg1
)->SetDirectory((wxString
const &)*arg2
);
12407 wxPyEndAllowThreads(__tstate
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12410 Py_INCREF(Py_None
); resultobj
= Py_None
;
12425 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12426 PyObject
*resultobj
;
12427 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12428 wxString
*arg2
= 0 ;
12429 bool temp2
= false ;
12430 PyObject
* obj0
= 0 ;
12431 PyObject
* obj1
= 0 ;
12432 char *kwnames
[] = {
12433 (char *) "self",(char *) "name", NULL
12436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
12437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12440 arg2
= wxString_in_helper(obj1
);
12441 if (arg2
== NULL
) SWIG_fail
;
12445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12446 (arg1
)->SetFilename((wxString
const &)*arg2
);
12448 wxPyEndAllowThreads(__tstate
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12451 Py_INCREF(Py_None
); resultobj
= Py_None
;
12466 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12467 PyObject
*resultobj
;
12468 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12469 wxString
*arg2
= 0 ;
12470 bool temp2
= false ;
12471 PyObject
* obj0
= 0 ;
12472 PyObject
* obj1
= 0 ;
12473 char *kwnames
[] = {
12474 (char *) "self",(char *) "wildCard", NULL
12477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
12478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12481 arg2
= wxString_in_helper(obj1
);
12482 if (arg2
== NULL
) SWIG_fail
;
12486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12487 (arg1
)->SetWildcard((wxString
const &)*arg2
);
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12492 Py_INCREF(Py_None
); resultobj
= Py_None
;
12507 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12508 PyObject
*resultobj
;
12509 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12511 PyObject
* obj0
= 0 ;
12512 PyObject
* obj1
= 0 ;
12513 char *kwnames
[] = {
12514 (char *) "self",(char *) "style", NULL
12517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12520 arg2
= (long)SWIG_As_long(obj1
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12524 (arg1
)->SetStyle(arg2
);
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12529 Py_INCREF(Py_None
); resultobj
= Py_None
;
12536 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12537 PyObject
*resultobj
;
12538 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12540 PyObject
* obj0
= 0 ;
12541 PyObject
* obj1
= 0 ;
12542 char *kwnames
[] = {
12543 (char *) "self",(char *) "filterIndex", NULL
12546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12549 arg2
= (int)SWIG_As_int(obj1
);
12550 if (PyErr_Occurred()) SWIG_fail
;
12552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12553 (arg1
)->SetFilterIndex(arg2
);
12555 wxPyEndAllowThreads(__tstate
);
12556 if (PyErr_Occurred()) SWIG_fail
;
12558 Py_INCREF(Py_None
); resultobj
= Py_None
;
12565 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12566 PyObject
*resultobj
;
12567 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12569 PyObject
* obj0
= 0 ;
12570 char *kwnames
[] = {
12571 (char *) "self", NULL
12574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12579 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12581 wxPyEndAllowThreads(__tstate
);
12582 if (PyErr_Occurred()) SWIG_fail
;
12586 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12588 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12597 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12598 PyObject
*resultobj
;
12599 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12601 PyObject
* obj0
= 0 ;
12602 char *kwnames
[] = {
12603 (char *) "self", NULL
12606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12611 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12613 wxPyEndAllowThreads(__tstate
);
12614 if (PyErr_Occurred()) SWIG_fail
;
12618 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12620 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12629 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12630 PyObject
*resultobj
;
12631 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12633 PyObject
* obj0
= 0 ;
12634 char *kwnames
[] = {
12635 (char *) "self", NULL
12638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12643 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12645 wxPyEndAllowThreads(__tstate
);
12646 if (PyErr_Occurred()) SWIG_fail
;
12650 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12652 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12661 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12662 PyObject
*resultobj
;
12663 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12665 PyObject
* obj0
= 0 ;
12666 char *kwnames
[] = {
12667 (char *) "self", NULL
12670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12675 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12677 wxPyEndAllowThreads(__tstate
);
12678 if (PyErr_Occurred()) SWIG_fail
;
12682 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12684 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12693 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12694 PyObject
*resultobj
;
12695 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12697 PyObject
* obj0
= 0 ;
12698 char *kwnames
[] = {
12699 (char *) "self", NULL
12702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12707 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12709 wxPyEndAllowThreads(__tstate
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12714 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12716 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12725 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12726 PyObject
*resultobj
;
12727 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12729 PyObject
* obj0
= 0 ;
12730 char *kwnames
[] = {
12731 (char *) "self", NULL
12734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12739 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12741 wxPyEndAllowThreads(__tstate
);
12742 if (PyErr_Occurred()) SWIG_fail
;
12744 resultobj
= SWIG_From_long((long)result
);
12751 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12752 PyObject
*resultobj
;
12753 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12755 PyObject
* obj0
= 0 ;
12756 char *kwnames
[] = {
12757 (char *) "self", NULL
12760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12765 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12767 wxPyEndAllowThreads(__tstate
);
12768 if (PyErr_Occurred()) SWIG_fail
;
12770 resultobj
= SWIG_From_int((int)result
);
12777 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12778 PyObject
*resultobj
;
12779 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12781 PyObject
* obj0
= 0 ;
12782 char *kwnames
[] = {
12783 (char *) "self", NULL
12786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12791 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12793 wxPyEndAllowThreads(__tstate
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12796 resultobj
= result
;
12803 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12804 PyObject
*resultobj
;
12805 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12807 PyObject
* obj0
= 0 ;
12808 char *kwnames
[] = {
12809 (char *) "self", NULL
12812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12819 wxPyEndAllowThreads(__tstate
);
12820 if (PyErr_Occurred()) SWIG_fail
;
12822 resultobj
= result
;
12829 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
12831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12832 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12834 return Py_BuildValue((char *)"");
12836 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12837 PyObject
*resultobj
;
12838 wxWindow
*arg1
= (wxWindow
*) 0 ;
12839 wxString
*arg2
= 0 ;
12840 wxString
*arg3
= 0 ;
12841 int arg4
= (int) 0 ;
12842 wxString
*arg5
= (wxString
*) NULL
;
12843 long arg6
= (long) wxCHOICEDLG_STYLE
;
12844 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12845 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12846 wxMultiChoiceDialog
*result
;
12847 bool temp2
= false ;
12848 bool temp3
= false ;
12850 PyObject
* obj0
= 0 ;
12851 PyObject
* obj1
= 0 ;
12852 PyObject
* obj2
= 0 ;
12853 PyObject
* obj3
= 0 ;
12854 PyObject
* obj4
= 0 ;
12855 PyObject
* obj5
= 0 ;
12856 char *kwnames
[] = {
12857 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12864 arg2
= wxString_in_helper(obj1
);
12865 if (arg2
== NULL
) SWIG_fail
;
12869 arg3
= wxString_in_helper(obj2
);
12870 if (arg3
== NULL
) SWIG_fail
;
12875 arg4
= PyList_Size(obj3
);
12876 arg5
= wxString_LIST_helper(obj3
);
12877 if (arg5
== NULL
) SWIG_fail
;
12881 arg6
= (long)SWIG_As_long(obj4
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12887 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12891 if (!wxPyCheckForApp()) SWIG_fail
;
12892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12893 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12895 wxPyEndAllowThreads(__tstate
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12908 if (arg5
) delete [] arg5
;
12921 if (arg5
) delete [] arg5
;
12927 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12928 PyObject
*resultobj
;
12929 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12930 wxArrayInt
*arg2
= 0 ;
12931 bool temp2
= false ;
12932 PyObject
* obj0
= 0 ;
12933 PyObject
* obj1
= 0 ;
12934 char *kwnames
[] = {
12935 (char *) "self",(char *) "selections", NULL
12938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12942 if (! PySequence_Check(obj1
)) {
12943 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12946 arg2
= new wxArrayInt
;
12948 int i
, len
=PySequence_Length(obj1
);
12949 for (i
=0; i
<len
; i
++) {
12950 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12951 PyObject
* number
= PyNumber_Int(item
);
12952 arg2
->Add(PyInt_AS_LONG(number
));
12958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12959 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12961 wxPyEndAllowThreads(__tstate
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12964 Py_INCREF(Py_None
); resultobj
= Py_None
;
12966 if (temp2
) delete arg2
;
12971 if (temp2
) delete arg2
;
12977 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12978 PyObject
*resultobj
;
12979 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12981 PyObject
* obj0
= 0 ;
12982 char *kwnames
[] = {
12983 (char *) "self", NULL
12986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12991 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12993 wxPyEndAllowThreads(__tstate
);
12994 if (PyErr_Occurred()) SWIG_fail
;
12996 resultobj
= result
;
13003 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
13005 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13006 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
13008 return Py_BuildValue((char *)"");
13010 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13011 PyObject
*resultobj
;
13012 wxWindow
*arg1
= (wxWindow
*) 0 ;
13013 wxString
*arg2
= 0 ;
13014 wxString
*arg3
= 0 ;
13016 wxString
*arg5
= (wxString
*) 0 ;
13017 long arg6
= (long) wxCHOICEDLG_STYLE
;
13018 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13019 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13020 wxSingleChoiceDialog
*result
;
13021 bool temp2
= false ;
13022 bool temp3
= false ;
13024 PyObject
* obj0
= 0 ;
13025 PyObject
* obj1
= 0 ;
13026 PyObject
* obj2
= 0 ;
13027 PyObject
* obj3
= 0 ;
13028 PyObject
* obj4
= 0 ;
13029 PyObject
* obj5
= 0 ;
13030 char *kwnames
[] = {
13031 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
13034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13038 arg2
= wxString_in_helper(obj1
);
13039 if (arg2
== NULL
) SWIG_fail
;
13043 arg3
= wxString_in_helper(obj2
);
13044 if (arg3
== NULL
) SWIG_fail
;
13048 arg4
= PyList_Size(obj3
);
13049 arg5
= wxString_LIST_helper(obj3
);
13050 if (arg5
== NULL
) SWIG_fail
;
13053 arg6
= (long)SWIG_As_long(obj4
);
13054 if (PyErr_Occurred()) SWIG_fail
;
13059 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
13063 if (!wxPyCheckForApp()) SWIG_fail
;
13064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13065 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
13067 wxPyEndAllowThreads(__tstate
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
13080 if (arg5
) delete [] arg5
;
13093 if (arg5
) delete [] arg5
;
13099 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13100 PyObject
*resultobj
;
13101 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13103 PyObject
* obj0
= 0 ;
13104 char *kwnames
[] = {
13105 (char *) "self", NULL
13108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
13109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13113 result
= (int)(arg1
)->GetSelection();
13115 wxPyEndAllowThreads(__tstate
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13118 resultobj
= SWIG_From_int((int)result
);
13125 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13126 PyObject
*resultobj
;
13127 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13129 PyObject
* obj0
= 0 ;
13130 char *kwnames
[] = {
13131 (char *) "self", NULL
13134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13139 result
= (arg1
)->GetStringSelection();
13141 wxPyEndAllowThreads(__tstate
);
13142 if (PyErr_Occurred()) SWIG_fail
;
13146 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13148 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13157 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13158 PyObject
*resultobj
;
13159 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13161 PyObject
* obj0
= 0 ;
13162 PyObject
* obj1
= 0 ;
13163 char *kwnames
[] = {
13164 (char *) "self",(char *) "sel", NULL
13167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13170 arg2
= (int)SWIG_As_int(obj1
);
13171 if (PyErr_Occurred()) SWIG_fail
;
13173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13174 (arg1
)->SetSelection(arg2
);
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13179 Py_INCREF(Py_None
); resultobj
= Py_None
;
13186 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
13188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13189 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
13191 return Py_BuildValue((char *)"");
13193 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13194 PyObject
*resultobj
;
13195 wxWindow
*arg1
= (wxWindow
*) 0 ;
13196 wxString
*arg2
= 0 ;
13197 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
13198 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13199 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13200 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13201 long arg5
= (long) wxTextEntryDialogStyle
;
13202 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
13203 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
13204 wxTextEntryDialog
*result
;
13205 bool temp2
= false ;
13206 bool temp3
= false ;
13207 bool temp4
= false ;
13209 PyObject
* obj0
= 0 ;
13210 PyObject
* obj1
= 0 ;
13211 PyObject
* obj2
= 0 ;
13212 PyObject
* obj3
= 0 ;
13213 PyObject
* obj4
= 0 ;
13214 PyObject
* obj5
= 0 ;
13215 char *kwnames
[] = {
13216 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13223 arg2
= wxString_in_helper(obj1
);
13224 if (arg2
== NULL
) SWIG_fail
;
13229 arg3
= wxString_in_helper(obj2
);
13230 if (arg3
== NULL
) SWIG_fail
;
13236 arg4
= wxString_in_helper(obj3
);
13237 if (arg4
== NULL
) SWIG_fail
;
13242 arg5
= (long)SWIG_As_long(obj4
);
13243 if (PyErr_Occurred()) SWIG_fail
;
13248 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13252 if (!wxPyCheckForApp()) SWIG_fail
;
13253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13254 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
13256 wxPyEndAllowThreads(__tstate
);
13257 if (PyErr_Occurred()) SWIG_fail
;
13259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
13290 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13291 PyObject
*resultobj
;
13292 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13294 PyObject
* obj0
= 0 ;
13295 char *kwnames
[] = {
13296 (char *) "self", NULL
13299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
13300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13304 result
= (arg1
)->GetValue();
13306 wxPyEndAllowThreads(__tstate
);
13307 if (PyErr_Occurred()) SWIG_fail
;
13311 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13313 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13322 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13323 PyObject
*resultobj
;
13324 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13325 wxString
*arg2
= 0 ;
13326 bool temp2
= false ;
13327 PyObject
* obj0
= 0 ;
13328 PyObject
* obj1
= 0 ;
13329 char *kwnames
[] = {
13330 (char *) "self",(char *) "value", NULL
13333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13337 arg2
= wxString_in_helper(obj1
);
13338 if (arg2
== NULL
) SWIG_fail
;
13342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13343 (arg1
)->SetValue((wxString
const &)*arg2
);
13345 wxPyEndAllowThreads(__tstate
);
13346 if (PyErr_Occurred()) SWIG_fail
;
13348 Py_INCREF(Py_None
); resultobj
= Py_None
;
13363 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
13365 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13366 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
13368 return Py_BuildValue((char *)"");
13370 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
13371 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
13376 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get() {
13381 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
13383 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
13390 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13391 PyObject
*resultobj
;
13392 wxWindow
*arg1
= (wxWindow
*) 0 ;
13393 wxString
*arg2
= 0 ;
13394 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
13395 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13396 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13397 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13398 long arg5
= (long) wxTextEntryDialogStyle
;
13399 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
13400 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
13401 wxPasswordEntryDialog
*result
;
13402 bool temp2
= false ;
13403 bool temp3
= false ;
13404 bool temp4
= false ;
13406 PyObject
* obj0
= 0 ;
13407 PyObject
* obj1
= 0 ;
13408 PyObject
* obj2
= 0 ;
13409 PyObject
* obj3
= 0 ;
13410 PyObject
* obj4
= 0 ;
13411 PyObject
* obj5
= 0 ;
13412 char *kwnames
[] = {
13413 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
13416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13420 arg2
= wxString_in_helper(obj1
);
13421 if (arg2
== NULL
) SWIG_fail
;
13426 arg3
= wxString_in_helper(obj2
);
13427 if (arg3
== NULL
) SWIG_fail
;
13433 arg4
= wxString_in_helper(obj3
);
13434 if (arg4
== NULL
) SWIG_fail
;
13439 arg5
= (long)SWIG_As_long(obj4
);
13440 if (PyErr_Occurred()) SWIG_fail
;
13445 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13450 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
13452 wxPyEndAllowThreads(__tstate
);
13453 if (PyErr_Occurred()) SWIG_fail
;
13455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
13486 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
13488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13489 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
13491 return Py_BuildValue((char *)"");
13493 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13494 PyObject
*resultobj
;
13495 wxFontData
*result
;
13496 char *kwnames
[] = {
13500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
13502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13503 result
= (wxFontData
*)new wxFontData();
13505 wxPyEndAllowThreads(__tstate
);
13506 if (PyErr_Occurred()) SWIG_fail
;
13508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
13515 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13516 PyObject
*resultobj
;
13517 wxFontData
*arg1
= (wxFontData
*) 0 ;
13518 PyObject
* obj0
= 0 ;
13519 char *kwnames
[] = {
13520 (char *) "self", NULL
13523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
13524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13530 wxPyEndAllowThreads(__tstate
);
13531 if (PyErr_Occurred()) SWIG_fail
;
13533 Py_INCREF(Py_None
); resultobj
= Py_None
;
13540 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13541 PyObject
*resultobj
;
13542 wxFontData
*arg1
= (wxFontData
*) 0 ;
13544 PyObject
* obj0
= 0 ;
13545 PyObject
* obj1
= 0 ;
13546 char *kwnames
[] = {
13547 (char *) "self",(char *) "enable", NULL
13550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
13551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13553 arg2
= (bool)SWIG_As_bool(obj1
);
13554 if (PyErr_Occurred()) SWIG_fail
;
13556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13557 (arg1
)->EnableEffects(arg2
);
13559 wxPyEndAllowThreads(__tstate
);
13560 if (PyErr_Occurred()) SWIG_fail
;
13562 Py_INCREF(Py_None
); resultobj
= Py_None
;
13569 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13570 PyObject
*resultobj
;
13571 wxFontData
*arg1
= (wxFontData
*) 0 ;
13573 PyObject
* obj0
= 0 ;
13574 char *kwnames
[] = {
13575 (char *) "self", NULL
13578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
13579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13583 result
= (bool)(arg1
)->GetAllowSymbols();
13585 wxPyEndAllowThreads(__tstate
);
13586 if (PyErr_Occurred()) SWIG_fail
;
13589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13597 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13598 PyObject
*resultobj
;
13599 wxFontData
*arg1
= (wxFontData
*) 0 ;
13601 PyObject
* obj0
= 0 ;
13602 char *kwnames
[] = {
13603 (char *) "self", NULL
13606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
13607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13611 result
= (arg1
)->GetColour();
13613 wxPyEndAllowThreads(__tstate
);
13614 if (PyErr_Occurred()) SWIG_fail
;
13617 wxColour
* resultptr
;
13618 resultptr
= new wxColour((wxColour
&) result
);
13619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13627 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13628 PyObject
*resultobj
;
13629 wxFontData
*arg1
= (wxFontData
*) 0 ;
13631 PyObject
* obj0
= 0 ;
13632 char *kwnames
[] = {
13633 (char *) "self", NULL
13636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13641 result
= (arg1
)->GetChosenFont();
13643 wxPyEndAllowThreads(__tstate
);
13644 if (PyErr_Occurred()) SWIG_fail
;
13647 wxFont
* resultptr
;
13648 resultptr
= new wxFont((wxFont
&) result
);
13649 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13657 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13658 PyObject
*resultobj
;
13659 wxFontData
*arg1
= (wxFontData
*) 0 ;
13661 PyObject
* obj0
= 0 ;
13662 char *kwnames
[] = {
13663 (char *) "self", NULL
13666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13671 result
= (bool)(arg1
)->GetEnableEffects();
13673 wxPyEndAllowThreads(__tstate
);
13674 if (PyErr_Occurred()) SWIG_fail
;
13677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13685 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13686 PyObject
*resultobj
;
13687 wxFontData
*arg1
= (wxFontData
*) 0 ;
13689 PyObject
* obj0
= 0 ;
13690 char *kwnames
[] = {
13691 (char *) "self", NULL
13694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13699 result
= (arg1
)->GetInitialFont();
13701 wxPyEndAllowThreads(__tstate
);
13702 if (PyErr_Occurred()) SWIG_fail
;
13705 wxFont
* resultptr
;
13706 resultptr
= new wxFont((wxFont
&) result
);
13707 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13715 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13716 PyObject
*resultobj
;
13717 wxFontData
*arg1
= (wxFontData
*) 0 ;
13719 PyObject
* obj0
= 0 ;
13720 char *kwnames
[] = {
13721 (char *) "self", NULL
13724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13729 result
= (bool)(arg1
)->GetShowHelp();
13731 wxPyEndAllowThreads(__tstate
);
13732 if (PyErr_Occurred()) SWIG_fail
;
13735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13743 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13744 PyObject
*resultobj
;
13745 wxFontData
*arg1
= (wxFontData
*) 0 ;
13747 PyObject
* obj0
= 0 ;
13748 PyObject
* obj1
= 0 ;
13749 char *kwnames
[] = {
13750 (char *) "self",(char *) "allowSymbols", NULL
13753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13756 arg2
= (bool)SWIG_As_bool(obj1
);
13757 if (PyErr_Occurred()) SWIG_fail
;
13759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13760 (arg1
)->SetAllowSymbols(arg2
);
13762 wxPyEndAllowThreads(__tstate
);
13763 if (PyErr_Occurred()) SWIG_fail
;
13765 Py_INCREF(Py_None
); resultobj
= Py_None
;
13772 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13773 PyObject
*resultobj
;
13774 wxFontData
*arg1
= (wxFontData
*) 0 ;
13776 PyObject
* obj0
= 0 ;
13777 PyObject
* obj1
= 0 ;
13778 char *kwnames
[] = {
13779 (char *) "self",(char *) "font", NULL
13782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13785 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13786 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13788 if (arg2
== NULL
) {
13789 PyErr_SetString(PyExc_TypeError
,"null reference");
13793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13794 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13796 wxPyEndAllowThreads(__tstate
);
13797 if (PyErr_Occurred()) SWIG_fail
;
13799 Py_INCREF(Py_None
); resultobj
= Py_None
;
13806 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13807 PyObject
*resultobj
;
13808 wxFontData
*arg1
= (wxFontData
*) 0 ;
13809 wxColour
*arg2
= 0 ;
13811 PyObject
* obj0
= 0 ;
13812 PyObject
* obj1
= 0 ;
13813 char *kwnames
[] = {
13814 (char *) "self",(char *) "colour", NULL
13817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13822 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13826 (arg1
)->SetColour((wxColour
const &)*arg2
);
13828 wxPyEndAllowThreads(__tstate
);
13829 if (PyErr_Occurred()) SWIG_fail
;
13831 Py_INCREF(Py_None
); resultobj
= Py_None
;
13838 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13839 PyObject
*resultobj
;
13840 wxFontData
*arg1
= (wxFontData
*) 0 ;
13842 PyObject
* obj0
= 0 ;
13843 PyObject
* obj1
= 0 ;
13844 char *kwnames
[] = {
13845 (char *) "self",(char *) "font", NULL
13848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13852 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13854 if (arg2
== NULL
) {
13855 PyErr_SetString(PyExc_TypeError
,"null reference");
13859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13860 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13862 wxPyEndAllowThreads(__tstate
);
13863 if (PyErr_Occurred()) SWIG_fail
;
13865 Py_INCREF(Py_None
); resultobj
= Py_None
;
13872 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13873 PyObject
*resultobj
;
13874 wxFontData
*arg1
= (wxFontData
*) 0 ;
13877 PyObject
* obj0
= 0 ;
13878 PyObject
* obj1
= 0 ;
13879 PyObject
* obj2
= 0 ;
13880 char *kwnames
[] = {
13881 (char *) "self",(char *) "min",(char *) "max", NULL
13884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13887 arg2
= (int)SWIG_As_int(obj1
);
13888 if (PyErr_Occurred()) SWIG_fail
;
13889 arg3
= (int)SWIG_As_int(obj2
);
13890 if (PyErr_Occurred()) SWIG_fail
;
13892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13893 (arg1
)->SetRange(arg2
,arg3
);
13895 wxPyEndAllowThreads(__tstate
);
13896 if (PyErr_Occurred()) SWIG_fail
;
13898 Py_INCREF(Py_None
); resultobj
= Py_None
;
13905 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13906 PyObject
*resultobj
;
13907 wxFontData
*arg1
= (wxFontData
*) 0 ;
13909 PyObject
* obj0
= 0 ;
13910 PyObject
* obj1
= 0 ;
13911 char *kwnames
[] = {
13912 (char *) "self",(char *) "showHelp", NULL
13915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13918 arg2
= (bool)SWIG_As_bool(obj1
);
13919 if (PyErr_Occurred()) SWIG_fail
;
13921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13922 (arg1
)->SetShowHelp(arg2
);
13924 wxPyEndAllowThreads(__tstate
);
13925 if (PyErr_Occurred()) SWIG_fail
;
13927 Py_INCREF(Py_None
); resultobj
= Py_None
;
13934 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
13936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13937 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13939 return Py_BuildValue((char *)"");
13941 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13942 PyObject
*resultobj
;
13943 wxWindow
*arg1
= (wxWindow
*) 0 ;
13944 wxFontData
*arg2
= 0 ;
13945 wxFontDialog
*result
;
13946 PyObject
* obj0
= 0 ;
13947 PyObject
* obj1
= 0 ;
13948 char *kwnames
[] = {
13949 (char *) "parent",(char *) "data", NULL
13952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13955 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13956 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13958 if (arg2
== NULL
) {
13959 PyErr_SetString(PyExc_TypeError
,"null reference");
13963 if (!wxPyCheckForApp()) SWIG_fail
;
13964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13965 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13967 wxPyEndAllowThreads(__tstate
);
13968 if (PyErr_Occurred()) SWIG_fail
;
13970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13977 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13978 PyObject
*resultobj
;
13979 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13980 wxFontData
*result
;
13981 PyObject
* obj0
= 0 ;
13982 char *kwnames
[] = {
13983 (char *) "self", NULL
13986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13992 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13993 result
= (wxFontData
*) &_result_ref
;
13996 wxPyEndAllowThreads(__tstate
);
13997 if (PyErr_Occurred()) SWIG_fail
;
13999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
14006 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
14008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14009 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
14011 return Py_BuildValue((char *)"");
14013 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14014 PyObject
*resultobj
;
14015 wxWindow
*arg1
= (wxWindow
*) 0 ;
14016 wxString
*arg2
= 0 ;
14017 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
14018 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14019 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
14020 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14021 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14022 wxMessageDialog
*result
;
14023 bool temp2
= false ;
14024 bool temp3
= false ;
14026 PyObject
* obj0
= 0 ;
14027 PyObject
* obj1
= 0 ;
14028 PyObject
* obj2
= 0 ;
14029 PyObject
* obj3
= 0 ;
14030 PyObject
* obj4
= 0 ;
14031 char *kwnames
[] = {
14032 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
14035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14039 arg2
= wxString_in_helper(obj1
);
14040 if (arg2
== NULL
) SWIG_fail
;
14045 arg3
= wxString_in_helper(obj2
);
14046 if (arg3
== NULL
) SWIG_fail
;
14051 arg4
= (long)SWIG_As_long(obj3
);
14052 if (PyErr_Occurred()) SWIG_fail
;
14057 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14061 if (!wxPyCheckForApp()) SWIG_fail
;
14062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14063 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
14065 wxPyEndAllowThreads(__tstate
);
14066 if (PyErr_Occurred()) SWIG_fail
;
14068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
14091 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
14093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14094 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
14096 return Py_BuildValue((char *)"");
14098 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14099 PyObject
*resultobj
;
14100 wxString
*arg1
= 0 ;
14101 wxString
*arg2
= 0 ;
14102 int arg3
= (int) 100 ;
14103 wxWindow
*arg4
= (wxWindow
*) NULL
;
14104 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
14105 wxProgressDialog
*result
;
14106 bool temp1
= false ;
14107 bool temp2
= false ;
14108 PyObject
* obj0
= 0 ;
14109 PyObject
* obj1
= 0 ;
14110 PyObject
* obj2
= 0 ;
14111 PyObject
* obj3
= 0 ;
14112 PyObject
* obj4
= 0 ;
14113 char *kwnames
[] = {
14114 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
14117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14119 arg1
= wxString_in_helper(obj0
);
14120 if (arg1
== NULL
) SWIG_fail
;
14124 arg2
= wxString_in_helper(obj1
);
14125 if (arg2
== NULL
) SWIG_fail
;
14129 arg3
= (int)SWIG_As_int(obj2
);
14130 if (PyErr_Occurred()) SWIG_fail
;
14133 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
14134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14137 arg5
= (int)SWIG_As_int(obj4
);
14138 if (PyErr_Occurred()) SWIG_fail
;
14141 if (!wxPyCheckForApp()) SWIG_fail
;
14142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14143 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
14145 wxPyEndAllowThreads(__tstate
);
14146 if (PyErr_Occurred()) SWIG_fail
;
14148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
14171 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14172 PyObject
*resultobj
;
14173 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
14175 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14176 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14178 bool temp3
= false ;
14179 PyObject
* obj0
= 0 ;
14180 PyObject
* obj1
= 0 ;
14181 PyObject
* obj2
= 0 ;
14182 char *kwnames
[] = {
14183 (char *) "self",(char *) "value",(char *) "newmsg", NULL
14186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
14188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14189 arg2
= (int)SWIG_As_int(obj1
);
14190 if (PyErr_Occurred()) SWIG_fail
;
14193 arg3
= wxString_in_helper(obj2
);
14194 if (arg3
== NULL
) SWIG_fail
;
14199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14200 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
14202 wxPyEndAllowThreads(__tstate
);
14203 if (PyErr_Occurred()) SWIG_fail
;
14206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14222 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14223 PyObject
*resultobj
;
14224 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
14225 PyObject
* obj0
= 0 ;
14226 char *kwnames
[] = {
14227 (char *) "self", NULL
14230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
14231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
14232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14237 wxPyEndAllowThreads(__tstate
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14240 Py_INCREF(Py_None
); resultobj
= Py_None
;
14247 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
14249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14250 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
14252 return Py_BuildValue((char *)"");
14254 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14255 PyObject
*resultobj
;
14256 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14257 int arg2
= (int) 0 ;
14258 wxFindDialogEvent
*result
;
14259 PyObject
* obj0
= 0 ;
14260 PyObject
* obj1
= 0 ;
14261 char *kwnames
[] = {
14262 (char *) "commandType",(char *) "id", NULL
14265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14267 arg1
= (wxEventType
)SWIG_As_int(obj0
);
14268 if (PyErr_Occurred()) SWIG_fail
;
14271 arg2
= (int)SWIG_As_int(obj1
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14276 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
14278 wxPyEndAllowThreads(__tstate
);
14279 if (PyErr_Occurred()) SWIG_fail
;
14281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
14288 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14289 PyObject
*resultobj
;
14290 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14292 PyObject
* obj0
= 0 ;
14293 char *kwnames
[] = {
14294 (char *) "self", NULL
14297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
14298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14302 result
= (int)(arg1
)->GetFlags();
14304 wxPyEndAllowThreads(__tstate
);
14305 if (PyErr_Occurred()) SWIG_fail
;
14307 resultobj
= SWIG_From_int((int)result
);
14314 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14315 PyObject
*resultobj
;
14316 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14318 PyObject
* obj0
= 0 ;
14319 char *kwnames
[] = {
14320 (char *) "self", NULL
14323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
14324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14329 wxString
const &_result_ref
= (arg1
)->GetFindString();
14330 result
= (wxString
*) &_result_ref
;
14333 wxPyEndAllowThreads(__tstate
);
14334 if (PyErr_Occurred()) SWIG_fail
;
14338 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14340 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14349 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14350 PyObject
*resultobj
;
14351 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14353 PyObject
* obj0
= 0 ;
14354 char *kwnames
[] = {
14355 (char *) "self", NULL
14358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14364 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14365 result
= (wxString
*) &_result_ref
;
14368 wxPyEndAllowThreads(__tstate
);
14369 if (PyErr_Occurred()) SWIG_fail
;
14373 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14375 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14384 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14385 PyObject
*resultobj
;
14386 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14387 wxFindReplaceDialog
*result
;
14388 PyObject
* obj0
= 0 ;
14389 char *kwnames
[] = {
14390 (char *) "self", NULL
14393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
14394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14398 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
14400 wxPyEndAllowThreads(__tstate
);
14401 if (PyErr_Occurred()) SWIG_fail
;
14403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
14410 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14411 PyObject
*resultobj
;
14412 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14414 PyObject
* obj0
= 0 ;
14415 PyObject
* obj1
= 0 ;
14416 char *kwnames
[] = {
14417 (char *) "self",(char *) "flags", NULL
14420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14423 arg2
= (int)SWIG_As_int(obj1
);
14424 if (PyErr_Occurred()) SWIG_fail
;
14426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14427 (arg1
)->SetFlags(arg2
);
14429 wxPyEndAllowThreads(__tstate
);
14430 if (PyErr_Occurred()) SWIG_fail
;
14432 Py_INCREF(Py_None
); resultobj
= Py_None
;
14439 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14440 PyObject
*resultobj
;
14441 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14442 wxString
*arg2
= 0 ;
14443 bool temp2
= false ;
14444 PyObject
* obj0
= 0 ;
14445 PyObject
* obj1
= 0 ;
14446 char *kwnames
[] = {
14447 (char *) "self",(char *) "str", NULL
14450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14454 arg2
= wxString_in_helper(obj1
);
14455 if (arg2
== NULL
) SWIG_fail
;
14459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14460 (arg1
)->SetFindString((wxString
const &)*arg2
);
14462 wxPyEndAllowThreads(__tstate
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14465 Py_INCREF(Py_None
); resultobj
= Py_None
;
14480 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14481 PyObject
*resultobj
;
14482 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14483 wxString
*arg2
= 0 ;
14484 bool temp2
= false ;
14485 PyObject
* obj0
= 0 ;
14486 PyObject
* obj1
= 0 ;
14487 char *kwnames
[] = {
14488 (char *) "self",(char *) "str", NULL
14491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14495 arg2
= wxString_in_helper(obj1
);
14496 if (arg2
== NULL
) SWIG_fail
;
14500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14501 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14503 wxPyEndAllowThreads(__tstate
);
14504 if (PyErr_Occurred()) SWIG_fail
;
14506 Py_INCREF(Py_None
); resultobj
= Py_None
;
14521 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
14523 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14524 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
14526 return Py_BuildValue((char *)"");
14528 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14529 PyObject
*resultobj
;
14530 int arg1
= (int) 0 ;
14531 wxFindReplaceData
*result
;
14532 PyObject
* obj0
= 0 ;
14533 char *kwnames
[] = {
14534 (char *) "flags", NULL
14537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14539 arg1
= (int)SWIG_As_int(obj0
);
14540 if (PyErr_Occurred()) SWIG_fail
;
14543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14544 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
14546 wxPyEndAllowThreads(__tstate
);
14547 if (PyErr_Occurred()) SWIG_fail
;
14549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
14556 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14557 PyObject
*resultobj
;
14558 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14559 PyObject
* obj0
= 0 ;
14560 char *kwnames
[] = {
14561 (char *) "self", NULL
14564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14571 wxPyEndAllowThreads(__tstate
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14574 Py_INCREF(Py_None
); resultobj
= Py_None
;
14581 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14582 PyObject
*resultobj
;
14583 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14585 PyObject
* obj0
= 0 ;
14586 char *kwnames
[] = {
14587 (char *) "self", NULL
14590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
14591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14596 wxString
const &_result_ref
= (arg1
)->GetFindString();
14597 result
= (wxString
*) &_result_ref
;
14600 wxPyEndAllowThreads(__tstate
);
14601 if (PyErr_Occurred()) SWIG_fail
;
14605 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14607 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14616 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14617 PyObject
*resultobj
;
14618 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14620 PyObject
* obj0
= 0 ;
14621 char *kwnames
[] = {
14622 (char *) "self", NULL
14625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14631 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14632 result
= (wxString
*) &_result_ref
;
14635 wxPyEndAllowThreads(__tstate
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14640 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14642 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14651 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14652 PyObject
*resultobj
;
14653 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14655 PyObject
* obj0
= 0 ;
14656 char *kwnames
[] = {
14657 (char *) "self", NULL
14660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14665 result
= (int)(arg1
)->GetFlags();
14667 wxPyEndAllowThreads(__tstate
);
14668 if (PyErr_Occurred()) SWIG_fail
;
14670 resultobj
= SWIG_From_int((int)result
);
14677 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14678 PyObject
*resultobj
;
14679 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14681 PyObject
* obj0
= 0 ;
14682 PyObject
* obj1
= 0 ;
14683 char *kwnames
[] = {
14684 (char *) "self",(char *) "flags", NULL
14687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14690 arg2
= (int)SWIG_As_int(obj1
);
14691 if (PyErr_Occurred()) SWIG_fail
;
14693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14694 (arg1
)->SetFlags(arg2
);
14696 wxPyEndAllowThreads(__tstate
);
14697 if (PyErr_Occurred()) SWIG_fail
;
14699 Py_INCREF(Py_None
); resultobj
= Py_None
;
14706 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14707 PyObject
*resultobj
;
14708 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14709 wxString
*arg2
= 0 ;
14710 bool temp2
= false ;
14711 PyObject
* obj0
= 0 ;
14712 PyObject
* obj1
= 0 ;
14713 char *kwnames
[] = {
14714 (char *) "self",(char *) "str", NULL
14717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14721 arg2
= wxString_in_helper(obj1
);
14722 if (arg2
== NULL
) SWIG_fail
;
14726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14727 (arg1
)->SetFindString((wxString
const &)*arg2
);
14729 wxPyEndAllowThreads(__tstate
);
14730 if (PyErr_Occurred()) SWIG_fail
;
14732 Py_INCREF(Py_None
); resultobj
= Py_None
;
14747 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14748 PyObject
*resultobj
;
14749 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14750 wxString
*arg2
= 0 ;
14751 bool temp2
= false ;
14752 PyObject
* obj0
= 0 ;
14753 PyObject
* obj1
= 0 ;
14754 char *kwnames
[] = {
14755 (char *) "self",(char *) "str", NULL
14758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14762 arg2
= wxString_in_helper(obj1
);
14763 if (arg2
== NULL
) SWIG_fail
;
14767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14768 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14770 wxPyEndAllowThreads(__tstate
);
14771 if (PyErr_Occurred()) SWIG_fail
;
14773 Py_INCREF(Py_None
); resultobj
= Py_None
;
14788 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
14790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14791 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14793 return Py_BuildValue((char *)"");
14795 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14796 PyObject
*resultobj
;
14797 wxWindow
*arg1
= (wxWindow
*) 0 ;
14798 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14799 wxString
*arg3
= 0 ;
14800 int arg4
= (int) 0 ;
14801 wxFindReplaceDialog
*result
;
14802 bool temp3
= false ;
14803 PyObject
* obj0
= 0 ;
14804 PyObject
* obj1
= 0 ;
14805 PyObject
* obj2
= 0 ;
14806 PyObject
* obj3
= 0 ;
14807 char *kwnames
[] = {
14808 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14814 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14817 arg3
= wxString_in_helper(obj2
);
14818 if (arg3
== NULL
) SWIG_fail
;
14822 arg4
= (int)SWIG_As_int(obj3
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14826 if (!wxPyCheckForApp()) SWIG_fail
;
14827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14828 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14830 wxPyEndAllowThreads(__tstate
);
14831 if (PyErr_Occurred()) SWIG_fail
;
14833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14848 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14849 PyObject
*resultobj
;
14850 wxFindReplaceDialog
*result
;
14851 char *kwnames
[] = {
14855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14857 if (!wxPyCheckForApp()) SWIG_fail
;
14858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14859 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14861 wxPyEndAllowThreads(__tstate
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14871 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14872 PyObject
*resultobj
;
14873 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14874 wxWindow
*arg2
= (wxWindow
*) 0 ;
14875 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14876 wxString
*arg4
= 0 ;
14877 int arg5
= (int) 0 ;
14879 bool temp4
= false ;
14880 PyObject
* obj0
= 0 ;
14881 PyObject
* obj1
= 0 ;
14882 PyObject
* obj2
= 0 ;
14883 PyObject
* obj3
= 0 ;
14884 PyObject
* obj4
= 0 ;
14885 char *kwnames
[] = {
14886 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14894 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14897 arg4
= wxString_in_helper(obj3
);
14898 if (arg4
== NULL
) SWIG_fail
;
14902 arg5
= (int)SWIG_As_int(obj4
);
14903 if (PyErr_Occurred()) SWIG_fail
;
14906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14907 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14909 wxPyEndAllowThreads(__tstate
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14929 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14930 PyObject
*resultobj
;
14931 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14932 wxFindReplaceData
*result
;
14933 PyObject
* obj0
= 0 ;
14934 char *kwnames
[] = {
14935 (char *) "self", NULL
14938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14943 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14945 wxPyEndAllowThreads(__tstate
);
14946 if (PyErr_Occurred()) SWIG_fail
;
14948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14955 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14956 PyObject
*resultobj
;
14957 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14958 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14959 PyObject
* obj0
= 0 ;
14960 PyObject
* obj1
= 0 ;
14961 char *kwnames
[] = {
14962 (char *) "self",(char *) "data", NULL
14965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14968 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14972 (arg1
)->SetData(arg2
);
14974 wxPyEndAllowThreads(__tstate
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14977 Py_INCREF(Py_None
); resultobj
= Py_None
;
14984 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
14986 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14987 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14989 return Py_BuildValue((char *)"");
14991 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14992 PyObject
*resultobj
;
14993 wxWindow
*arg1
= (wxWindow
*) 0 ;
14994 int arg2
= (int) (int)-1 ;
14995 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14996 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14997 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14998 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14999 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15000 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15001 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
15002 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
15003 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15004 wxMDIParentFrame
*result
;
15005 bool temp3
= false ;
15008 bool temp7
= false ;
15009 PyObject
* obj0
= 0 ;
15010 PyObject
* obj1
= 0 ;
15011 PyObject
* obj2
= 0 ;
15012 PyObject
* obj3
= 0 ;
15013 PyObject
* obj4
= 0 ;
15014 PyObject
* obj5
= 0 ;
15015 PyObject
* obj6
= 0 ;
15016 char *kwnames
[] = {
15017 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15024 arg2
= (int)SWIG_As_int(obj1
);
15025 if (PyErr_Occurred()) SWIG_fail
;
15029 arg3
= wxString_in_helper(obj2
);
15030 if (arg3
== NULL
) SWIG_fail
;
15037 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15043 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15047 arg6
= (long)SWIG_As_long(obj5
);
15048 if (PyErr_Occurred()) SWIG_fail
;
15052 arg7
= wxString_in_helper(obj6
);
15053 if (arg7
== NULL
) SWIG_fail
;
15058 if (!wxPyCheckForApp()) SWIG_fail
;
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15062 wxPyEndAllowThreads(__tstate
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
15088 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15089 PyObject
*resultobj
;
15090 wxMDIParentFrame
*result
;
15091 char *kwnames
[] = {
15095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
15097 if (!wxPyCheckForApp()) SWIG_fail
;
15098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15099 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
15101 wxPyEndAllowThreads(__tstate
);
15102 if (PyErr_Occurred()) SWIG_fail
;
15104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
15111 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15112 PyObject
*resultobj
;
15113 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15114 wxWindow
*arg2
= (wxWindow
*) 0 ;
15115 int arg3
= (int) (int)-1 ;
15116 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15117 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15118 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15119 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15120 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15121 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15122 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
15123 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15124 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15126 bool temp4
= false ;
15129 bool temp8
= false ;
15130 PyObject
* obj0
= 0 ;
15131 PyObject
* obj1
= 0 ;
15132 PyObject
* obj2
= 0 ;
15133 PyObject
* obj3
= 0 ;
15134 PyObject
* obj4
= 0 ;
15135 PyObject
* obj5
= 0 ;
15136 PyObject
* obj6
= 0 ;
15137 PyObject
* obj7
= 0 ;
15138 char *kwnames
[] = {
15139 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15145 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15148 arg3
= (int)SWIG_As_int(obj2
);
15149 if (PyErr_Occurred()) SWIG_fail
;
15153 arg4
= wxString_in_helper(obj3
);
15154 if (arg4
== NULL
) SWIG_fail
;
15161 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15167 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15171 arg7
= (long)SWIG_As_long(obj6
);
15172 if (PyErr_Occurred()) SWIG_fail
;
15176 arg8
= wxString_in_helper(obj7
);
15177 if (arg8
== NULL
) SWIG_fail
;
15182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15183 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15185 wxPyEndAllowThreads(__tstate
);
15186 if (PyErr_Occurred()) SWIG_fail
;
15189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15213 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15214 PyObject
*resultobj
;
15215 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15216 PyObject
* obj0
= 0 ;
15217 char *kwnames
[] = {
15218 (char *) "self", NULL
15221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
15222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15226 (arg1
)->ActivateNext();
15228 wxPyEndAllowThreads(__tstate
);
15229 if (PyErr_Occurred()) SWIG_fail
;
15231 Py_INCREF(Py_None
); resultobj
= Py_None
;
15238 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15239 PyObject
*resultobj
;
15240 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15241 PyObject
* obj0
= 0 ;
15242 char *kwnames
[] = {
15243 (char *) "self", NULL
15246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
15247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15251 (arg1
)->ActivatePrevious();
15253 wxPyEndAllowThreads(__tstate
);
15254 if (PyErr_Occurred()) SWIG_fail
;
15256 Py_INCREF(Py_None
); resultobj
= Py_None
;
15263 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15264 PyObject
*resultobj
;
15265 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15266 PyObject
* obj0
= 0 ;
15267 char *kwnames
[] = {
15268 (char *) "self", NULL
15271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
15272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15276 (arg1
)->ArrangeIcons();
15278 wxPyEndAllowThreads(__tstate
);
15279 if (PyErr_Occurred()) SWIG_fail
;
15281 Py_INCREF(Py_None
); resultobj
= Py_None
;
15288 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15289 PyObject
*resultobj
;
15290 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15291 PyObject
* obj0
= 0 ;
15292 char *kwnames
[] = {
15293 (char *) "self", NULL
15296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
15297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15303 wxPyEndAllowThreads(__tstate
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15306 Py_INCREF(Py_None
); resultobj
= Py_None
;
15313 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15314 PyObject
*resultobj
;
15315 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15316 wxMDIChildFrame
*result
;
15317 PyObject
* obj0
= 0 ;
15318 char *kwnames
[] = {
15319 (char *) "self", NULL
15322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
15323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15327 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
15329 wxPyEndAllowThreads(__tstate
);
15330 if (PyErr_Occurred()) SWIG_fail
;
15333 resultobj
= wxPyMake_wxObject(result
, 0);
15341 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15342 PyObject
*resultobj
;
15343 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15344 wxMDIClientWindow
*result
;
15345 PyObject
* obj0
= 0 ;
15346 char *kwnames
[] = {
15347 (char *) "self", NULL
15350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
15351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15355 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
15357 wxPyEndAllowThreads(__tstate
);
15358 if (PyErr_Occurred()) SWIG_fail
;
15361 resultobj
= wxPyMake_wxObject(result
, 0);
15369 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15370 PyObject
*resultobj
;
15371 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15373 PyObject
* obj0
= 0 ;
15374 char *kwnames
[] = {
15375 (char *) "self", NULL
15378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
15379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15383 result
= (wxWindow
*)(arg1
)->GetToolBar();
15385 wxPyEndAllowThreads(__tstate
);
15386 if (PyErr_Occurred()) SWIG_fail
;
15389 resultobj
= wxPyMake_wxObject(result
, 0);
15397 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15398 PyObject
*resultobj
;
15399 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15400 PyObject
* obj0
= 0 ;
15401 char *kwnames
[] = {
15402 (char *) "self", NULL
15405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
15406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15412 wxPyEndAllowThreads(__tstate
);
15413 if (PyErr_Occurred()) SWIG_fail
;
15415 Py_INCREF(Py_None
); resultobj
= Py_None
;
15422 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
15424 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15425 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
15427 return Py_BuildValue((char *)"");
15429 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15430 PyObject
*resultobj
;
15431 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15432 int arg2
= (int) (int)-1 ;
15433 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15434 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15435 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15436 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15437 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15438 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15439 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
15440 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
15441 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15442 wxMDIChildFrame
*result
;
15443 bool temp3
= false ;
15446 bool temp7
= false ;
15447 PyObject
* obj0
= 0 ;
15448 PyObject
* obj1
= 0 ;
15449 PyObject
* obj2
= 0 ;
15450 PyObject
* obj3
= 0 ;
15451 PyObject
* obj4
= 0 ;
15452 PyObject
* obj5
= 0 ;
15453 PyObject
* obj6
= 0 ;
15454 char *kwnames
[] = {
15455 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15462 arg2
= (int)SWIG_As_int(obj1
);
15463 if (PyErr_Occurred()) SWIG_fail
;
15467 arg3
= wxString_in_helper(obj2
);
15468 if (arg3
== NULL
) SWIG_fail
;
15475 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15481 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15485 arg6
= (long)SWIG_As_long(obj5
);
15486 if (PyErr_Occurred()) SWIG_fail
;
15490 arg7
= wxString_in_helper(obj6
);
15491 if (arg7
== NULL
) SWIG_fail
;
15496 if (!wxPyCheckForApp()) SWIG_fail
;
15497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15498 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15500 wxPyEndAllowThreads(__tstate
);
15501 if (PyErr_Occurred()) SWIG_fail
;
15503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15526 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15527 PyObject
*resultobj
;
15528 wxMDIChildFrame
*result
;
15529 char *kwnames
[] = {
15533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
15535 if (!wxPyCheckForApp()) SWIG_fail
;
15536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15537 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
15539 wxPyEndAllowThreads(__tstate
);
15540 if (PyErr_Occurred()) SWIG_fail
;
15542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15549 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15550 PyObject
*resultobj
;
15551 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15552 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15553 int arg3
= (int) (int)-1 ;
15554 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15555 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15556 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15557 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15558 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15559 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15560 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
15561 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15562 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15564 bool temp4
= false ;
15567 bool temp8
= false ;
15568 PyObject
* obj0
= 0 ;
15569 PyObject
* obj1
= 0 ;
15570 PyObject
* obj2
= 0 ;
15571 PyObject
* obj3
= 0 ;
15572 PyObject
* obj4
= 0 ;
15573 PyObject
* obj5
= 0 ;
15574 PyObject
* obj6
= 0 ;
15575 PyObject
* obj7
= 0 ;
15576 char *kwnames
[] = {
15577 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15583 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15586 arg3
= (int)SWIG_As_int(obj2
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15591 arg4
= wxString_in_helper(obj3
);
15592 if (arg4
== NULL
) SWIG_fail
;
15599 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15605 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15609 arg7
= (long)SWIG_As_long(obj6
);
15610 if (PyErr_Occurred()) SWIG_fail
;
15614 arg8
= wxString_in_helper(obj7
);
15615 if (arg8
== NULL
) SWIG_fail
;
15620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15621 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15623 wxPyEndAllowThreads(__tstate
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15651 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15652 PyObject
*resultobj
;
15653 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15654 PyObject
* obj0
= 0 ;
15655 char *kwnames
[] = {
15656 (char *) "self", NULL
15659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15664 (arg1
)->Activate();
15666 wxPyEndAllowThreads(__tstate
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15669 Py_INCREF(Py_None
); resultobj
= Py_None
;
15676 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15677 PyObject
*resultobj
;
15678 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15680 PyObject
* obj0
= 0 ;
15681 PyObject
* obj1
= 0 ;
15682 char *kwnames
[] = {
15683 (char *) "self",(char *) "maximize", NULL
15686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15689 arg2
= (bool)SWIG_As_bool(obj1
);
15690 if (PyErr_Occurred()) SWIG_fail
;
15692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15693 (arg1
)->Maximize(arg2
);
15695 wxPyEndAllowThreads(__tstate
);
15696 if (PyErr_Occurred()) SWIG_fail
;
15698 Py_INCREF(Py_None
); resultobj
= Py_None
;
15705 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15706 PyObject
*resultobj
;
15707 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15708 PyObject
* obj0
= 0 ;
15709 char *kwnames
[] = {
15710 (char *) "self", NULL
15713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15720 wxPyEndAllowThreads(__tstate
);
15721 if (PyErr_Occurred()) SWIG_fail
;
15723 Py_INCREF(Py_None
); resultobj
= Py_None
;
15730 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
15732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15733 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15735 return Py_BuildValue((char *)"");
15737 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15738 PyObject
*resultobj
;
15739 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15740 long arg2
= (long) 0 ;
15741 wxMDIClientWindow
*result
;
15742 PyObject
* obj0
= 0 ;
15743 PyObject
* obj1
= 0 ;
15744 char *kwnames
[] = {
15745 (char *) "parent",(char *) "style", NULL
15748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15752 arg2
= (long)SWIG_As_long(obj1
);
15753 if (PyErr_Occurred()) SWIG_fail
;
15756 if (!wxPyCheckForApp()) SWIG_fail
;
15757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15758 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15760 wxPyEndAllowThreads(__tstate
);
15761 if (PyErr_Occurred()) SWIG_fail
;
15763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15770 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15771 PyObject
*resultobj
;
15772 wxMDIClientWindow
*result
;
15773 char *kwnames
[] = {
15777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15779 if (!wxPyCheckForApp()) SWIG_fail
;
15780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15781 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15783 wxPyEndAllowThreads(__tstate
);
15784 if (PyErr_Occurred()) SWIG_fail
;
15786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15793 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15794 PyObject
*resultobj
;
15795 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15796 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15797 long arg3
= (long) 0 ;
15799 PyObject
* obj0
= 0 ;
15800 PyObject
* obj1
= 0 ;
15801 PyObject
* obj2
= 0 ;
15802 char *kwnames
[] = {
15803 (char *) "self",(char *) "parent",(char *) "style", NULL
15806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15809 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15812 arg3
= (long)SWIG_As_long(obj2
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15817 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15819 wxPyEndAllowThreads(__tstate
);
15820 if (PyErr_Occurred()) SWIG_fail
;
15823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15831 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
15833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15834 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15836 return Py_BuildValue((char *)"");
15838 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15839 PyObject
*resultobj
;
15840 wxWindow
*arg1
= (wxWindow
*) 0 ;
15841 int arg2
= (int) (int)-1 ;
15842 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15843 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15844 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15845 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15846 long arg5
= (long) 0 ;
15847 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15848 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15849 wxPyWindow
*result
;
15852 bool temp6
= false ;
15853 PyObject
* obj0
= 0 ;
15854 PyObject
* obj1
= 0 ;
15855 PyObject
* obj2
= 0 ;
15856 PyObject
* obj3
= 0 ;
15857 PyObject
* obj4
= 0 ;
15858 PyObject
* obj5
= 0 ;
15859 char *kwnames
[] = {
15860 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15867 arg2
= (int)SWIG_As_int(obj1
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15873 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15879 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15883 arg5
= (long)SWIG_As_long(obj4
);
15884 if (PyErr_Occurred()) SWIG_fail
;
15888 arg6
= wxString_in_helper(obj5
);
15889 if (arg6
== NULL
) SWIG_fail
;
15894 if (!wxPyCheckForApp()) SWIG_fail
;
15895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15896 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15898 wxPyEndAllowThreads(__tstate
);
15899 if (PyErr_Occurred()) SWIG_fail
;
15901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15916 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15917 PyObject
*resultobj
;
15918 wxPyWindow
*result
;
15919 char *kwnames
[] = {
15923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15925 if (!wxPyCheckForApp()) SWIG_fail
;
15926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15927 result
= (wxPyWindow
*)new wxPyWindow();
15929 wxPyEndAllowThreads(__tstate
);
15930 if (PyErr_Occurred()) SWIG_fail
;
15932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15939 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15940 PyObject
*resultobj
;
15941 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15942 PyObject
*arg2
= (PyObject
*) 0 ;
15943 PyObject
*arg3
= (PyObject
*) 0 ;
15944 PyObject
* obj0
= 0 ;
15945 PyObject
* obj1
= 0 ;
15946 PyObject
* obj2
= 0 ;
15947 char *kwnames
[] = {
15948 (char *) "self",(char *) "self",(char *) "_class", NULL
15951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15958 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15960 wxPyEndAllowThreads(__tstate
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15963 Py_INCREF(Py_None
); resultobj
= Py_None
;
15970 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15971 PyObject
*resultobj
;
15972 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15975 PyObject
* obj0
= 0 ;
15976 PyObject
* obj1
= 0 ;
15977 char *kwnames
[] = {
15978 (char *) "self",(char *) "size", NULL
15981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15986 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15990 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
15992 wxPyEndAllowThreads(__tstate
);
15993 if (PyErr_Occurred()) SWIG_fail
;
15995 Py_INCREF(Py_None
); resultobj
= Py_None
;
16002 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16003 PyObject
*resultobj
;
16004 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16009 PyObject
* obj0
= 0 ;
16010 PyObject
* obj1
= 0 ;
16011 PyObject
* obj2
= 0 ;
16012 PyObject
* obj3
= 0 ;
16013 PyObject
* obj4
= 0 ;
16014 char *kwnames
[] = {
16015 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16021 arg2
= (int)SWIG_As_int(obj1
);
16022 if (PyErr_Occurred()) SWIG_fail
;
16023 arg3
= (int)SWIG_As_int(obj2
);
16024 if (PyErr_Occurred()) SWIG_fail
;
16025 arg4
= (int)SWIG_As_int(obj3
);
16026 if (PyErr_Occurred()) SWIG_fail
;
16027 arg5
= (int)SWIG_As_int(obj4
);
16028 if (PyErr_Occurred()) SWIG_fail
;
16030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16031 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16033 wxPyEndAllowThreads(__tstate
);
16034 if (PyErr_Occurred()) SWIG_fail
;
16036 Py_INCREF(Py_None
); resultobj
= Py_None
;
16043 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16044 PyObject
*resultobj
;
16045 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16050 int arg6
= (int) wxSIZE_AUTO
;
16051 PyObject
* obj0
= 0 ;
16052 PyObject
* obj1
= 0 ;
16053 PyObject
* obj2
= 0 ;
16054 PyObject
* obj3
= 0 ;
16055 PyObject
* obj4
= 0 ;
16056 PyObject
* obj5
= 0 ;
16057 char *kwnames
[] = {
16058 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16064 arg2
= (int)SWIG_As_int(obj1
);
16065 if (PyErr_Occurred()) SWIG_fail
;
16066 arg3
= (int)SWIG_As_int(obj2
);
16067 if (PyErr_Occurred()) SWIG_fail
;
16068 arg4
= (int)SWIG_As_int(obj3
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16070 arg5
= (int)SWIG_As_int(obj4
);
16071 if (PyErr_Occurred()) SWIG_fail
;
16073 arg6
= (int)SWIG_As_int(obj5
);
16074 if (PyErr_Occurred()) SWIG_fail
;
16077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16078 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16080 wxPyEndAllowThreads(__tstate
);
16081 if (PyErr_Occurred()) SWIG_fail
;
16083 Py_INCREF(Py_None
); resultobj
= Py_None
;
16090 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16091 PyObject
*resultobj
;
16092 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16095 PyObject
* obj0
= 0 ;
16096 PyObject
* obj1
= 0 ;
16097 PyObject
* obj2
= 0 ;
16098 char *kwnames
[] = {
16099 (char *) "self",(char *) "width",(char *) "height", NULL
16102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16105 arg2
= (int)SWIG_As_int(obj1
);
16106 if (PyErr_Occurred()) SWIG_fail
;
16107 arg3
= (int)SWIG_As_int(obj2
);
16108 if (PyErr_Occurred()) SWIG_fail
;
16110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16111 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16113 wxPyEndAllowThreads(__tstate
);
16114 if (PyErr_Occurred()) SWIG_fail
;
16116 Py_INCREF(Py_None
); resultobj
= Py_None
;
16123 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16124 PyObject
*resultobj
;
16125 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16128 PyObject
* obj0
= 0 ;
16129 PyObject
* obj1
= 0 ;
16130 PyObject
* obj2
= 0 ;
16131 char *kwnames
[] = {
16132 (char *) "self",(char *) "x",(char *) "y", NULL
16135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16138 arg2
= (int)SWIG_As_int(obj1
);
16139 if (PyErr_Occurred()) SWIG_fail
;
16140 arg3
= (int)SWIG_As_int(obj2
);
16141 if (PyErr_Occurred()) SWIG_fail
;
16143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16144 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16146 wxPyEndAllowThreads(__tstate
);
16147 if (PyErr_Occurred()) SWIG_fail
;
16149 Py_INCREF(Py_None
); resultobj
= Py_None
;
16156 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16157 PyObject
*resultobj
;
16158 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16159 int *arg2
= (int *) 0 ;
16160 int *arg3
= (int *) 0 ;
16165 PyObject
* obj0
= 0 ;
16166 char *kwnames
[] = {
16167 (char *) "self", NULL
16170 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16171 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16177 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16179 wxPyEndAllowThreads(__tstate
);
16180 if (PyErr_Occurred()) SWIG_fail
;
16182 Py_INCREF(Py_None
); resultobj
= Py_None
;
16183 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16184 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16185 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16186 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16193 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16194 PyObject
*resultobj
;
16195 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16196 int *arg2
= (int *) 0 ;
16197 int *arg3
= (int *) 0 ;
16202 PyObject
* obj0
= 0 ;
16203 char *kwnames
[] = {
16204 (char *) "self", NULL
16207 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16208 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16214 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16216 wxPyEndAllowThreads(__tstate
);
16217 if (PyErr_Occurred()) SWIG_fail
;
16219 Py_INCREF(Py_None
); resultobj
= Py_None
;
16220 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16221 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16222 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16223 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16230 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16231 PyObject
*resultobj
;
16232 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16233 int *arg2
= (int *) 0 ;
16234 int *arg3
= (int *) 0 ;
16239 PyObject
* obj0
= 0 ;
16240 char *kwnames
[] = {
16241 (char *) "self", NULL
16244 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16245 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16251 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16253 wxPyEndAllowThreads(__tstate
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16256 Py_INCREF(Py_None
); resultobj
= Py_None
;
16257 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16258 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16259 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16260 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16267 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16268 PyObject
*resultobj
;
16269 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16271 PyObject
* obj0
= 0 ;
16272 char *kwnames
[] = {
16273 (char *) "self", NULL
16276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16281 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
16283 wxPyEndAllowThreads(__tstate
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16287 wxSize
* resultptr
;
16288 resultptr
= new wxSize((wxSize
&) result
);
16289 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16297 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16298 PyObject
*resultobj
;
16299 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16301 PyObject
* obj0
= 0 ;
16302 char *kwnames
[] = {
16303 (char *) "self", NULL
16306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16311 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
16313 wxPyEndAllowThreads(__tstate
);
16314 if (PyErr_Occurred()) SWIG_fail
;
16317 wxSize
* resultptr
;
16318 resultptr
= new wxSize((wxSize
&) result
);
16319 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16327 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16328 PyObject
*resultobj
;
16329 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16330 PyObject
* obj0
= 0 ;
16331 char *kwnames
[] = {
16332 (char *) "self", NULL
16335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16340 (arg1
)->base_InitDialog();
16342 wxPyEndAllowThreads(__tstate
);
16343 if (PyErr_Occurred()) SWIG_fail
;
16345 Py_INCREF(Py_None
); resultobj
= Py_None
;
16352 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16353 PyObject
*resultobj
;
16354 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16356 PyObject
* obj0
= 0 ;
16357 char *kwnames
[] = {
16358 (char *) "self", NULL
16361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16366 result
= (bool)(arg1
)->base_TransferDataToWindow();
16368 wxPyEndAllowThreads(__tstate
);
16369 if (PyErr_Occurred()) SWIG_fail
;
16372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16380 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16381 PyObject
*resultobj
;
16382 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16384 PyObject
* obj0
= 0 ;
16385 char *kwnames
[] = {
16386 (char *) "self", NULL
16389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16394 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16396 wxPyEndAllowThreads(__tstate
);
16397 if (PyErr_Occurred()) SWIG_fail
;
16400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16408 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16409 PyObject
*resultobj
;
16410 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16412 PyObject
* obj0
= 0 ;
16413 char *kwnames
[] = {
16414 (char *) "self", NULL
16417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
16418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16422 result
= (bool)(arg1
)->base_Validate();
16424 wxPyEndAllowThreads(__tstate
);
16425 if (PyErr_Occurred()) SWIG_fail
;
16428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16436 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16437 PyObject
*resultobj
;
16438 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16440 PyObject
* obj0
= 0 ;
16441 char *kwnames
[] = {
16442 (char *) "self", NULL
16445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16450 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
16452 wxPyEndAllowThreads(__tstate
);
16453 if (PyErr_Occurred()) SWIG_fail
;
16456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16464 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16465 PyObject
*resultobj
;
16466 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16468 PyObject
* obj0
= 0 ;
16469 char *kwnames
[] = {
16470 (char *) "self", NULL
16473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16478 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16480 wxPyEndAllowThreads(__tstate
);
16481 if (PyErr_Occurred()) SWIG_fail
;
16484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16492 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16493 PyObject
*resultobj
;
16494 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16496 PyObject
* obj0
= 0 ;
16497 char *kwnames
[] = {
16498 (char *) "self", NULL
16501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16506 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
16508 wxPyEndAllowThreads(__tstate
);
16509 if (PyErr_Occurred()) SWIG_fail
;
16512 wxSize
* resultptr
;
16513 resultptr
= new wxSize((wxSize
&) result
);
16514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16522 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16523 PyObject
*resultobj
;
16524 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16525 wxWindow
*arg2
= (wxWindow
*) 0 ;
16526 PyObject
* obj0
= 0 ;
16527 PyObject
* obj1
= 0 ;
16528 char *kwnames
[] = {
16529 (char *) "self",(char *) "child", NULL
16532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16535 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16539 (arg1
)->base_AddChild(arg2
);
16541 wxPyEndAllowThreads(__tstate
);
16542 if (PyErr_Occurred()) SWIG_fail
;
16544 Py_INCREF(Py_None
); resultobj
= Py_None
;
16551 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16552 PyObject
*resultobj
;
16553 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16554 wxWindow
*arg2
= (wxWindow
*) 0 ;
16555 PyObject
* obj0
= 0 ;
16556 PyObject
* obj1
= 0 ;
16557 char *kwnames
[] = {
16558 (char *) "self",(char *) "child", NULL
16561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16568 (arg1
)->base_RemoveChild(arg2
);
16570 wxPyEndAllowThreads(__tstate
);
16571 if (PyErr_Occurred()) SWIG_fail
;
16573 Py_INCREF(Py_None
); resultobj
= Py_None
;
16580 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16581 PyObject
*resultobj
;
16582 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16584 PyObject
* obj0
= 0 ;
16585 char *kwnames
[] = {
16586 (char *) "self", NULL
16589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16594 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
16596 wxPyEndAllowThreads(__tstate
);
16597 if (PyErr_Occurred()) SWIG_fail
;
16600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16608 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16609 PyObject
*resultobj
;
16610 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16611 wxColour
*arg2
= 0 ;
16613 PyObject
* obj0
= 0 ;
16614 PyObject
* obj1
= 0 ;
16615 char *kwnames
[] = {
16616 (char *) "self",(char *) "c", NULL
16619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16624 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16628 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16630 wxPyEndAllowThreads(__tstate
);
16631 if (PyErr_Occurred()) SWIG_fail
;
16633 Py_INCREF(Py_None
); resultobj
= Py_None
;
16640 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16641 PyObject
*resultobj
;
16642 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16643 wxVisualAttributes result
;
16644 PyObject
* obj0
= 0 ;
16645 char *kwnames
[] = {
16646 (char *) "self", NULL
16649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16654 result
= (arg1
)->base_GetDefaultAttributes();
16656 wxPyEndAllowThreads(__tstate
);
16657 if (PyErr_Occurred()) SWIG_fail
;
16660 wxVisualAttributes
* resultptr
;
16661 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16670 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
16672 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16673 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16675 return Py_BuildValue((char *)"");
16677 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16678 PyObject
*resultobj
;
16679 wxWindow
*arg1
= (wxWindow
*) 0 ;
16680 int arg2
= (int) (int)-1 ;
16681 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16682 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16683 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16684 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16685 long arg5
= (long) 0 ;
16686 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16687 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16691 bool temp6
= false ;
16692 PyObject
* obj0
= 0 ;
16693 PyObject
* obj1
= 0 ;
16694 PyObject
* obj2
= 0 ;
16695 PyObject
* obj3
= 0 ;
16696 PyObject
* obj4
= 0 ;
16697 PyObject
* obj5
= 0 ;
16698 char *kwnames
[] = {
16699 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16706 arg2
= (int)SWIG_As_int(obj1
);
16707 if (PyErr_Occurred()) SWIG_fail
;
16712 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16718 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16722 arg5
= (long)SWIG_As_long(obj4
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16727 arg6
= wxString_in_helper(obj5
);
16728 if (arg6
== NULL
) SWIG_fail
;
16733 if (!wxPyCheckForApp()) SWIG_fail
;
16734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16735 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16737 wxPyEndAllowThreads(__tstate
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16755 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16756 PyObject
*resultobj
;
16758 char *kwnames
[] = {
16762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16764 if (!wxPyCheckForApp()) SWIG_fail
;
16765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16766 result
= (wxPyPanel
*)new wxPyPanel();
16768 wxPyEndAllowThreads(__tstate
);
16769 if (PyErr_Occurred()) SWIG_fail
;
16771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16778 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16779 PyObject
*resultobj
;
16780 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16781 PyObject
*arg2
= (PyObject
*) 0 ;
16782 PyObject
*arg3
= (PyObject
*) 0 ;
16783 PyObject
* obj0
= 0 ;
16784 PyObject
* obj1
= 0 ;
16785 PyObject
* obj2
= 0 ;
16786 char *kwnames
[] = {
16787 (char *) "self",(char *) "self",(char *) "_class", NULL
16790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16797 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16799 wxPyEndAllowThreads(__tstate
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16802 Py_INCREF(Py_None
); resultobj
= Py_None
;
16809 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16810 PyObject
*resultobj
;
16811 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16814 PyObject
* obj0
= 0 ;
16815 PyObject
* obj1
= 0 ;
16816 char *kwnames
[] = {
16817 (char *) "self",(char *) "size", NULL
16820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16825 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16829 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16831 wxPyEndAllowThreads(__tstate
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16834 Py_INCREF(Py_None
); resultobj
= Py_None
;
16841 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16842 PyObject
*resultobj
;
16843 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16848 PyObject
* obj0
= 0 ;
16849 PyObject
* obj1
= 0 ;
16850 PyObject
* obj2
= 0 ;
16851 PyObject
* obj3
= 0 ;
16852 PyObject
* obj4
= 0 ;
16853 char *kwnames
[] = {
16854 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16860 arg2
= (int)SWIG_As_int(obj1
);
16861 if (PyErr_Occurred()) SWIG_fail
;
16862 arg3
= (int)SWIG_As_int(obj2
);
16863 if (PyErr_Occurred()) SWIG_fail
;
16864 arg4
= (int)SWIG_As_int(obj3
);
16865 if (PyErr_Occurred()) SWIG_fail
;
16866 arg5
= (int)SWIG_As_int(obj4
);
16867 if (PyErr_Occurred()) SWIG_fail
;
16869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16870 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16872 wxPyEndAllowThreads(__tstate
);
16873 if (PyErr_Occurred()) SWIG_fail
;
16875 Py_INCREF(Py_None
); resultobj
= Py_None
;
16882 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16883 PyObject
*resultobj
;
16884 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16889 int arg6
= (int) wxSIZE_AUTO
;
16890 PyObject
* obj0
= 0 ;
16891 PyObject
* obj1
= 0 ;
16892 PyObject
* obj2
= 0 ;
16893 PyObject
* obj3
= 0 ;
16894 PyObject
* obj4
= 0 ;
16895 PyObject
* obj5
= 0 ;
16896 char *kwnames
[] = {
16897 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16903 arg2
= (int)SWIG_As_int(obj1
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16905 arg3
= (int)SWIG_As_int(obj2
);
16906 if (PyErr_Occurred()) SWIG_fail
;
16907 arg4
= (int)SWIG_As_int(obj3
);
16908 if (PyErr_Occurred()) SWIG_fail
;
16909 arg5
= (int)SWIG_As_int(obj4
);
16910 if (PyErr_Occurred()) SWIG_fail
;
16912 arg6
= (int)SWIG_As_int(obj5
);
16913 if (PyErr_Occurred()) SWIG_fail
;
16916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16917 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16919 wxPyEndAllowThreads(__tstate
);
16920 if (PyErr_Occurred()) SWIG_fail
;
16922 Py_INCREF(Py_None
); resultobj
= Py_None
;
16929 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16930 PyObject
*resultobj
;
16931 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16934 PyObject
* obj0
= 0 ;
16935 PyObject
* obj1
= 0 ;
16936 PyObject
* obj2
= 0 ;
16937 char *kwnames
[] = {
16938 (char *) "self",(char *) "width",(char *) "height", NULL
16941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16944 arg2
= (int)SWIG_As_int(obj1
);
16945 if (PyErr_Occurred()) SWIG_fail
;
16946 arg3
= (int)SWIG_As_int(obj2
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16950 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16952 wxPyEndAllowThreads(__tstate
);
16953 if (PyErr_Occurred()) SWIG_fail
;
16955 Py_INCREF(Py_None
); resultobj
= Py_None
;
16962 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16963 PyObject
*resultobj
;
16964 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16967 PyObject
* obj0
= 0 ;
16968 PyObject
* obj1
= 0 ;
16969 PyObject
* obj2
= 0 ;
16970 char *kwnames
[] = {
16971 (char *) "self",(char *) "x",(char *) "y", NULL
16974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16977 arg2
= (int)SWIG_As_int(obj1
);
16978 if (PyErr_Occurred()) SWIG_fail
;
16979 arg3
= (int)SWIG_As_int(obj2
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16983 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16985 wxPyEndAllowThreads(__tstate
);
16986 if (PyErr_Occurred()) SWIG_fail
;
16988 Py_INCREF(Py_None
); resultobj
= Py_None
;
16995 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16996 PyObject
*resultobj
;
16997 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16998 int *arg2
= (int *) 0 ;
16999 int *arg3
= (int *) 0 ;
17004 PyObject
* obj0
= 0 ;
17005 char *kwnames
[] = {
17006 (char *) "self", NULL
17009 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17010 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17016 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17018 wxPyEndAllowThreads(__tstate
);
17019 if (PyErr_Occurred()) SWIG_fail
;
17021 Py_INCREF(Py_None
); resultobj
= Py_None
;
17022 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17023 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17024 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17025 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17032 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17033 PyObject
*resultobj
;
17034 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17035 int *arg2
= (int *) 0 ;
17036 int *arg3
= (int *) 0 ;
17041 PyObject
* obj0
= 0 ;
17042 char *kwnames
[] = {
17043 (char *) "self", NULL
17046 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17047 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17053 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17055 wxPyEndAllowThreads(__tstate
);
17056 if (PyErr_Occurred()) SWIG_fail
;
17058 Py_INCREF(Py_None
); resultobj
= Py_None
;
17059 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17060 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17061 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17062 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17069 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17070 PyObject
*resultobj
;
17071 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17072 int *arg2
= (int *) 0 ;
17073 int *arg3
= (int *) 0 ;
17078 PyObject
* obj0
= 0 ;
17079 char *kwnames
[] = {
17080 (char *) "self", NULL
17083 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17084 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17090 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17092 wxPyEndAllowThreads(__tstate
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17095 Py_INCREF(Py_None
); resultobj
= Py_None
;
17096 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17097 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17098 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17099 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17106 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17107 PyObject
*resultobj
;
17108 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17110 PyObject
* obj0
= 0 ;
17111 char *kwnames
[] = {
17112 (char *) "self", NULL
17115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17120 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
17122 wxPyEndAllowThreads(__tstate
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17126 wxSize
* resultptr
;
17127 resultptr
= new wxSize((wxSize
&) result
);
17128 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17136 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17137 PyObject
*resultobj
;
17138 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17140 PyObject
* obj0
= 0 ;
17141 char *kwnames
[] = {
17142 (char *) "self", NULL
17145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17150 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
17152 wxPyEndAllowThreads(__tstate
);
17153 if (PyErr_Occurred()) SWIG_fail
;
17156 wxSize
* resultptr
;
17157 resultptr
= new wxSize((wxSize
&) result
);
17158 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17166 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17167 PyObject
*resultobj
;
17168 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17169 PyObject
* obj0
= 0 ;
17170 char *kwnames
[] = {
17171 (char *) "self", NULL
17174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17179 (arg1
)->base_InitDialog();
17181 wxPyEndAllowThreads(__tstate
);
17182 if (PyErr_Occurred()) SWIG_fail
;
17184 Py_INCREF(Py_None
); resultobj
= Py_None
;
17191 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17192 PyObject
*resultobj
;
17193 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17195 PyObject
* obj0
= 0 ;
17196 char *kwnames
[] = {
17197 (char *) "self", NULL
17200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17205 result
= (bool)(arg1
)->base_TransferDataToWindow();
17207 wxPyEndAllowThreads(__tstate
);
17208 if (PyErr_Occurred()) SWIG_fail
;
17211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17219 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17220 PyObject
*resultobj
;
17221 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17223 PyObject
* obj0
= 0 ;
17224 char *kwnames
[] = {
17225 (char *) "self", NULL
17228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17233 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17235 wxPyEndAllowThreads(__tstate
);
17236 if (PyErr_Occurred()) SWIG_fail
;
17239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17247 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17248 PyObject
*resultobj
;
17249 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17251 PyObject
* obj0
= 0 ;
17252 char *kwnames
[] = {
17253 (char *) "self", NULL
17256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
17257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17261 result
= (bool)(arg1
)->base_Validate();
17263 wxPyEndAllowThreads(__tstate
);
17264 if (PyErr_Occurred()) SWIG_fail
;
17267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17275 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17276 PyObject
*resultobj
;
17277 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17279 PyObject
* obj0
= 0 ;
17280 char *kwnames
[] = {
17281 (char *) "self", NULL
17284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17289 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
17291 wxPyEndAllowThreads(__tstate
);
17292 if (PyErr_Occurred()) SWIG_fail
;
17295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17303 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17304 PyObject
*resultobj
;
17305 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17307 PyObject
* obj0
= 0 ;
17308 char *kwnames
[] = {
17309 (char *) "self", NULL
17312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17317 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17319 wxPyEndAllowThreads(__tstate
);
17320 if (PyErr_Occurred()) SWIG_fail
;
17323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17331 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17332 PyObject
*resultobj
;
17333 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17335 PyObject
* obj0
= 0 ;
17336 char *kwnames
[] = {
17337 (char *) "self", NULL
17340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17345 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
17347 wxPyEndAllowThreads(__tstate
);
17348 if (PyErr_Occurred()) SWIG_fail
;
17351 wxSize
* resultptr
;
17352 resultptr
= new wxSize((wxSize
&) result
);
17353 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17361 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17362 PyObject
*resultobj
;
17363 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17364 wxWindow
*arg2
= (wxWindow
*) 0 ;
17365 PyObject
* obj0
= 0 ;
17366 PyObject
* obj1
= 0 ;
17367 char *kwnames
[] = {
17368 (char *) "self",(char *) "child", NULL
17371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17374 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17378 (arg1
)->base_AddChild(arg2
);
17380 wxPyEndAllowThreads(__tstate
);
17381 if (PyErr_Occurred()) SWIG_fail
;
17383 Py_INCREF(Py_None
); resultobj
= Py_None
;
17390 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17391 PyObject
*resultobj
;
17392 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17393 wxWindow
*arg2
= (wxWindow
*) 0 ;
17394 PyObject
* obj0
= 0 ;
17395 PyObject
* obj1
= 0 ;
17396 char *kwnames
[] = {
17397 (char *) "self",(char *) "child", NULL
17400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17403 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17407 (arg1
)->base_RemoveChild(arg2
);
17409 wxPyEndAllowThreads(__tstate
);
17410 if (PyErr_Occurred()) SWIG_fail
;
17412 Py_INCREF(Py_None
); resultobj
= Py_None
;
17419 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17420 PyObject
*resultobj
;
17421 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17423 PyObject
* obj0
= 0 ;
17424 char *kwnames
[] = {
17425 (char *) "self", NULL
17428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17433 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17447 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17448 PyObject
*resultobj
;
17449 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17450 wxColour
*arg2
= 0 ;
17452 PyObject
* obj0
= 0 ;
17453 PyObject
* obj1
= 0 ;
17454 char *kwnames
[] = {
17455 (char *) "self",(char *) "c", NULL
17458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17463 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17467 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17469 wxPyEndAllowThreads(__tstate
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17472 Py_INCREF(Py_None
); resultobj
= Py_None
;
17479 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
;
17481 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17482 wxVisualAttributes result
;
17483 PyObject
* obj0
= 0 ;
17484 char *kwnames
[] = {
17485 (char *) "self", NULL
17488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17493 result
= (arg1
)->base_GetDefaultAttributes();
17495 wxPyEndAllowThreads(__tstate
);
17496 if (PyErr_Occurred()) SWIG_fail
;
17499 wxVisualAttributes
* resultptr
;
17500 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17501 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17509 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
17511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17512 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
17514 return Py_BuildValue((char *)"");
17516 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17517 PyObject
*resultobj
;
17518 wxWindow
*arg1
= (wxWindow
*) 0 ;
17519 int arg2
= (int) (int)-1 ;
17520 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17521 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17522 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17523 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17524 long arg5
= (long) 0 ;
17525 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17526 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17527 wxPyScrolledWindow
*result
;
17530 bool temp6
= false ;
17531 PyObject
* obj0
= 0 ;
17532 PyObject
* obj1
= 0 ;
17533 PyObject
* obj2
= 0 ;
17534 PyObject
* obj3
= 0 ;
17535 PyObject
* obj4
= 0 ;
17536 PyObject
* obj5
= 0 ;
17537 char *kwnames
[] = {
17538 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17545 arg2
= (int)SWIG_As_int(obj1
);
17546 if (PyErr_Occurred()) SWIG_fail
;
17551 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17557 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17561 arg5
= (long)SWIG_As_long(obj4
);
17562 if (PyErr_Occurred()) SWIG_fail
;
17566 arg6
= wxString_in_helper(obj5
);
17567 if (arg6
== NULL
) SWIG_fail
;
17572 if (!wxPyCheckForApp()) SWIG_fail
;
17573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17574 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17576 wxPyEndAllowThreads(__tstate
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17594 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17595 PyObject
*resultobj
;
17596 wxPyScrolledWindow
*result
;
17597 char *kwnames
[] = {
17601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
17603 if (!wxPyCheckForApp()) SWIG_fail
;
17604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17605 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
17607 wxPyEndAllowThreads(__tstate
);
17608 if (PyErr_Occurred()) SWIG_fail
;
17610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17617 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17618 PyObject
*resultobj
;
17619 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17620 PyObject
*arg2
= (PyObject
*) 0 ;
17621 PyObject
*arg3
= (PyObject
*) 0 ;
17622 PyObject
* obj0
= 0 ;
17623 PyObject
* obj1
= 0 ;
17624 PyObject
* obj2
= 0 ;
17625 char *kwnames
[] = {
17626 (char *) "self",(char *) "self",(char *) "_class", NULL
17629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17636 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17638 wxPyEndAllowThreads(__tstate
);
17639 if (PyErr_Occurred()) SWIG_fail
;
17641 Py_INCREF(Py_None
); resultobj
= Py_None
;
17648 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17649 PyObject
*resultobj
;
17650 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17653 PyObject
* obj0
= 0 ;
17654 PyObject
* obj1
= 0 ;
17655 char *kwnames
[] = {
17656 (char *) "self",(char *) "size", NULL
17659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17664 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17668 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17670 wxPyEndAllowThreads(__tstate
);
17671 if (PyErr_Occurred()) SWIG_fail
;
17673 Py_INCREF(Py_None
); resultobj
= Py_None
;
17680 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17681 PyObject
*resultobj
;
17682 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17687 PyObject
* obj0
= 0 ;
17688 PyObject
* obj1
= 0 ;
17689 PyObject
* obj2
= 0 ;
17690 PyObject
* obj3
= 0 ;
17691 PyObject
* obj4
= 0 ;
17692 char *kwnames
[] = {
17693 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17699 arg2
= (int)SWIG_As_int(obj1
);
17700 if (PyErr_Occurred()) SWIG_fail
;
17701 arg3
= (int)SWIG_As_int(obj2
);
17702 if (PyErr_Occurred()) SWIG_fail
;
17703 arg4
= (int)SWIG_As_int(obj3
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17705 arg5
= (int)SWIG_As_int(obj4
);
17706 if (PyErr_Occurred()) SWIG_fail
;
17708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17709 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17711 wxPyEndAllowThreads(__tstate
);
17712 if (PyErr_Occurred()) SWIG_fail
;
17714 Py_INCREF(Py_None
); resultobj
= Py_None
;
17721 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17722 PyObject
*resultobj
;
17723 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17728 int arg6
= (int) wxSIZE_AUTO
;
17729 PyObject
* obj0
= 0 ;
17730 PyObject
* obj1
= 0 ;
17731 PyObject
* obj2
= 0 ;
17732 PyObject
* obj3
= 0 ;
17733 PyObject
* obj4
= 0 ;
17734 PyObject
* obj5
= 0 ;
17735 char *kwnames
[] = {
17736 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17742 arg2
= (int)SWIG_As_int(obj1
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17744 arg3
= (int)SWIG_As_int(obj2
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17746 arg4
= (int)SWIG_As_int(obj3
);
17747 if (PyErr_Occurred()) SWIG_fail
;
17748 arg5
= (int)SWIG_As_int(obj4
);
17749 if (PyErr_Occurred()) SWIG_fail
;
17751 arg6
= (int)SWIG_As_int(obj5
);
17752 if (PyErr_Occurred()) SWIG_fail
;
17755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17756 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17758 wxPyEndAllowThreads(__tstate
);
17759 if (PyErr_Occurred()) SWIG_fail
;
17761 Py_INCREF(Py_None
); resultobj
= Py_None
;
17768 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17769 PyObject
*resultobj
;
17770 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17773 PyObject
* obj0
= 0 ;
17774 PyObject
* obj1
= 0 ;
17775 PyObject
* obj2
= 0 ;
17776 char *kwnames
[] = {
17777 (char *) "self",(char *) "width",(char *) "height", NULL
17780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17783 arg2
= (int)SWIG_As_int(obj1
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17785 arg3
= (int)SWIG_As_int(obj2
);
17786 if (PyErr_Occurred()) SWIG_fail
;
17788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17789 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17791 wxPyEndAllowThreads(__tstate
);
17792 if (PyErr_Occurred()) SWIG_fail
;
17794 Py_INCREF(Py_None
); resultobj
= Py_None
;
17801 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17802 PyObject
*resultobj
;
17803 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17806 PyObject
* obj0
= 0 ;
17807 PyObject
* obj1
= 0 ;
17808 PyObject
* obj2
= 0 ;
17809 char *kwnames
[] = {
17810 (char *) "self",(char *) "x",(char *) "y", NULL
17813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17816 arg2
= (int)SWIG_As_int(obj1
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17818 arg3
= (int)SWIG_As_int(obj2
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17822 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17824 wxPyEndAllowThreads(__tstate
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17827 Py_INCREF(Py_None
); resultobj
= Py_None
;
17834 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17835 PyObject
*resultobj
;
17836 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17837 int *arg2
= (int *) 0 ;
17838 int *arg3
= (int *) 0 ;
17843 PyObject
* obj0
= 0 ;
17844 char *kwnames
[] = {
17845 (char *) "self", NULL
17848 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17849 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17855 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17857 wxPyEndAllowThreads(__tstate
);
17858 if (PyErr_Occurred()) SWIG_fail
;
17860 Py_INCREF(Py_None
); resultobj
= Py_None
;
17861 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17862 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17863 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17864 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17871 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17872 PyObject
*resultobj
;
17873 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17874 int *arg2
= (int *) 0 ;
17875 int *arg3
= (int *) 0 ;
17880 PyObject
* obj0
= 0 ;
17881 char *kwnames
[] = {
17882 (char *) "self", NULL
17885 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17886 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17892 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17894 wxPyEndAllowThreads(__tstate
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17897 Py_INCREF(Py_None
); resultobj
= Py_None
;
17898 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17899 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17900 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17901 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17908 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17909 PyObject
*resultobj
;
17910 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17911 int *arg2
= (int *) 0 ;
17912 int *arg3
= (int *) 0 ;
17917 PyObject
* obj0
= 0 ;
17918 char *kwnames
[] = {
17919 (char *) "self", NULL
17922 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17923 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17929 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17931 wxPyEndAllowThreads(__tstate
);
17932 if (PyErr_Occurred()) SWIG_fail
;
17934 Py_INCREF(Py_None
); resultobj
= Py_None
;
17935 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17936 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17937 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17938 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17945 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17946 PyObject
*resultobj
;
17947 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17949 PyObject
* obj0
= 0 ;
17950 char *kwnames
[] = {
17951 (char *) "self", NULL
17954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17959 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17961 wxPyEndAllowThreads(__tstate
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17965 wxSize
* resultptr
;
17966 resultptr
= new wxSize((wxSize
&) result
);
17967 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17975 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17976 PyObject
*resultobj
;
17977 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17979 PyObject
* obj0
= 0 ;
17980 char *kwnames
[] = {
17981 (char *) "self", NULL
17984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17989 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17991 wxPyEndAllowThreads(__tstate
);
17992 if (PyErr_Occurred()) SWIG_fail
;
17995 wxSize
* resultptr
;
17996 resultptr
= new wxSize((wxSize
&) result
);
17997 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18005 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18006 PyObject
*resultobj
;
18007 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18008 PyObject
* obj0
= 0 ;
18009 char *kwnames
[] = {
18010 (char *) "self", NULL
18013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18018 (arg1
)->base_InitDialog();
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18023 Py_INCREF(Py_None
); resultobj
= Py_None
;
18030 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18031 PyObject
*resultobj
;
18032 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18034 PyObject
* obj0
= 0 ;
18035 char *kwnames
[] = {
18036 (char *) "self", NULL
18039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18044 result
= (bool)(arg1
)->base_TransferDataToWindow();
18046 wxPyEndAllowThreads(__tstate
);
18047 if (PyErr_Occurred()) SWIG_fail
;
18050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18058 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18059 PyObject
*resultobj
;
18060 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18062 PyObject
* obj0
= 0 ;
18063 char *kwnames
[] = {
18064 (char *) "self", NULL
18067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18072 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18074 wxPyEndAllowThreads(__tstate
);
18075 if (PyErr_Occurred()) SWIG_fail
;
18078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18086 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18087 PyObject
*resultobj
;
18088 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18090 PyObject
* obj0
= 0 ;
18091 char *kwnames
[] = {
18092 (char *) "self", NULL
18095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
18096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18100 result
= (bool)(arg1
)->base_Validate();
18102 wxPyEndAllowThreads(__tstate
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18114 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18115 PyObject
*resultobj
;
18116 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18118 PyObject
* obj0
= 0 ;
18119 char *kwnames
[] = {
18120 (char *) "self", NULL
18123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18128 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
18130 wxPyEndAllowThreads(__tstate
);
18131 if (PyErr_Occurred()) SWIG_fail
;
18134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18142 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18143 PyObject
*resultobj
;
18144 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18146 PyObject
* obj0
= 0 ;
18147 char *kwnames
[] = {
18148 (char *) "self", NULL
18151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18156 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18158 wxPyEndAllowThreads(__tstate
);
18159 if (PyErr_Occurred()) SWIG_fail
;
18162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18170 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18171 PyObject
*resultobj
;
18172 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18174 PyObject
* obj0
= 0 ;
18175 char *kwnames
[] = {
18176 (char *) "self", NULL
18179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18184 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
18186 wxPyEndAllowThreads(__tstate
);
18187 if (PyErr_Occurred()) SWIG_fail
;
18190 wxSize
* resultptr
;
18191 resultptr
= new wxSize((wxSize
&) result
);
18192 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18200 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18201 PyObject
*resultobj
;
18202 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18203 wxWindow
*arg2
= (wxWindow
*) 0 ;
18204 PyObject
* obj0
= 0 ;
18205 PyObject
* obj1
= 0 ;
18206 char *kwnames
[] = {
18207 (char *) "self",(char *) "child", NULL
18210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18217 (arg1
)->base_AddChild(arg2
);
18219 wxPyEndAllowThreads(__tstate
);
18220 if (PyErr_Occurred()) SWIG_fail
;
18222 Py_INCREF(Py_None
); resultobj
= Py_None
;
18229 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18230 PyObject
*resultobj
;
18231 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18232 wxWindow
*arg2
= (wxWindow
*) 0 ;
18233 PyObject
* obj0
= 0 ;
18234 PyObject
* obj1
= 0 ;
18235 char *kwnames
[] = {
18236 (char *) "self",(char *) "child", NULL
18239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18242 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 (arg1
)->base_RemoveChild(arg2
);
18248 wxPyEndAllowThreads(__tstate
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18251 Py_INCREF(Py_None
); resultobj
= Py_None
;
18258 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18259 PyObject
*resultobj
;
18260 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18262 PyObject
* obj0
= 0 ;
18263 char *kwnames
[] = {
18264 (char *) "self", NULL
18267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18272 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
18274 wxPyEndAllowThreads(__tstate
);
18275 if (PyErr_Occurred()) SWIG_fail
;
18278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18286 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18287 PyObject
*resultobj
;
18288 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18289 wxColour
*arg2
= 0 ;
18291 PyObject
* obj0
= 0 ;
18292 PyObject
* obj1
= 0 ;
18293 char *kwnames
[] = {
18294 (char *) "self",(char *) "c", NULL
18297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18302 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18306 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
18308 wxPyEndAllowThreads(__tstate
);
18309 if (PyErr_Occurred()) SWIG_fail
;
18311 Py_INCREF(Py_None
); resultobj
= Py_None
;
18318 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18319 PyObject
*resultobj
;
18320 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18321 wxVisualAttributes result
;
18322 PyObject
* obj0
= 0 ;
18323 char *kwnames
[] = {
18324 (char *) "self", NULL
18327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18332 result
= (arg1
)->base_GetDefaultAttributes();
18334 wxPyEndAllowThreads(__tstate
);
18335 if (PyErr_Occurred()) SWIG_fail
;
18338 wxVisualAttributes
* resultptr
;
18339 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18340 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18348 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
18350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18351 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
18353 return Py_BuildValue((char *)"");
18355 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
18356 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
18361 static PyObject
*_wrap_PrintoutTitleStr_get() {
18366 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18368 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18375 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
18376 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
18381 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
18386 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18388 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18395 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
18396 PyObject
*resultobj
;
18397 wxPrintData
*result
;
18399 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
18401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18402 result
= (wxPrintData
*)new wxPrintData();
18404 wxPyEndAllowThreads(__tstate
);
18405 if (PyErr_Occurred()) SWIG_fail
;
18407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18414 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
18415 PyObject
*resultobj
;
18416 wxPrintData
*arg1
= 0 ;
18417 wxPrintData
*result
;
18418 PyObject
* obj0
= 0 ;
18420 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
18421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18422 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18424 if (arg1
== NULL
) {
18425 PyErr_SetString(PyExc_TypeError
,"null reference");
18429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18430 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
18432 wxPyEndAllowThreads(__tstate
);
18433 if (PyErr_Occurred()) SWIG_fail
;
18435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18442 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
18447 argc
= PyObject_Length(args
);
18448 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
18449 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18452 return _wrap_new_PrintData__SWIG_0(self
,args
);
18458 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
18466 return _wrap_new_PrintData__SWIG_1(self
,args
);
18470 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintData'");
18475 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18476 PyObject
*resultobj
;
18477 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18478 PyObject
* obj0
= 0 ;
18479 char *kwnames
[] = {
18480 (char *) "self", NULL
18483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
18484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18490 wxPyEndAllowThreads(__tstate
);
18491 if (PyErr_Occurred()) SWIG_fail
;
18493 Py_INCREF(Py_None
); resultobj
= Py_None
;
18500 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18501 PyObject
*resultobj
;
18502 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18504 PyObject
* obj0
= 0 ;
18505 char *kwnames
[] = {
18506 (char *) "self", NULL
18509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18514 result
= (int)(arg1
)->GetNoCopies();
18516 wxPyEndAllowThreads(__tstate
);
18517 if (PyErr_Occurred()) SWIG_fail
;
18519 resultobj
= SWIG_From_int((int)result
);
18526 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18527 PyObject
*resultobj
;
18528 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18530 PyObject
* obj0
= 0 ;
18531 char *kwnames
[] = {
18532 (char *) "self", NULL
18535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
18536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18540 result
= (bool)(arg1
)->GetCollate();
18542 wxPyEndAllowThreads(__tstate
);
18543 if (PyErr_Occurred()) SWIG_fail
;
18546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18554 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18555 PyObject
*resultobj
;
18556 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18558 PyObject
* obj0
= 0 ;
18559 char *kwnames
[] = {
18560 (char *) "self", NULL
18563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
18564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18568 result
= (int)(arg1
)->GetOrientation();
18570 wxPyEndAllowThreads(__tstate
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18573 resultobj
= SWIG_From_int((int)result
);
18580 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18581 PyObject
*resultobj
;
18582 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18584 PyObject
* obj0
= 0 ;
18585 char *kwnames
[] = {
18586 (char *) "self", NULL
18589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
18590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18594 result
= (bool)(arg1
)->Ok();
18596 wxPyEndAllowThreads(__tstate
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18608 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18609 PyObject
*resultobj
;
18610 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18612 PyObject
* obj0
= 0 ;
18613 char *kwnames
[] = {
18614 (char *) "self", NULL
18617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18623 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18624 result
= (wxString
*) &_result_ref
;
18627 wxPyEndAllowThreads(__tstate
);
18628 if (PyErr_Occurred()) SWIG_fail
;
18632 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18634 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18643 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18644 PyObject
*resultobj
;
18645 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18647 PyObject
* obj0
= 0 ;
18648 char *kwnames
[] = {
18649 (char *) "self", NULL
18652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18657 result
= (bool)(arg1
)->GetColour();
18659 wxPyEndAllowThreads(__tstate
);
18660 if (PyErr_Occurred()) SWIG_fail
;
18663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18671 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18672 PyObject
*resultobj
;
18673 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18675 PyObject
* obj0
= 0 ;
18676 char *kwnames
[] = {
18677 (char *) "self", NULL
18680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18685 result
= (int)(arg1
)->GetDuplex();
18687 wxPyEndAllowThreads(__tstate
);
18688 if (PyErr_Occurred()) SWIG_fail
;
18690 resultobj
= SWIG_From_int((int)result
);
18697 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18698 PyObject
*resultobj
;
18699 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18701 PyObject
* obj0
= 0 ;
18702 char *kwnames
[] = {
18703 (char *) "self", NULL
18706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18711 result
= (int)(arg1
)->GetPaperId();
18713 wxPyEndAllowThreads(__tstate
);
18714 if (PyErr_Occurred()) SWIG_fail
;
18716 resultobj
= SWIG_From_int((int)result
);
18723 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18724 PyObject
*resultobj
;
18725 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18727 PyObject
* obj0
= 0 ;
18728 char *kwnames
[] = {
18729 (char *) "self", NULL
18732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18738 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18739 result
= (wxSize
*) &_result_ref
;
18742 wxPyEndAllowThreads(__tstate
);
18743 if (PyErr_Occurred()) SWIG_fail
;
18745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18752 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18753 PyObject
*resultobj
;
18754 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18756 PyObject
* obj0
= 0 ;
18757 char *kwnames
[] = {
18758 (char *) "self", NULL
18761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18766 result
= (int)(arg1
)->GetQuality();
18768 wxPyEndAllowThreads(__tstate
);
18769 if (PyErr_Occurred()) SWIG_fail
;
18771 resultobj
= SWIG_From_int((int)result
);
18778 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18779 PyObject
*resultobj
;
18780 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18782 PyObject
* obj0
= 0 ;
18783 char *kwnames
[] = {
18784 (char *) "self", NULL
18787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
18788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18792 result
= (int)(arg1
)->GetBin();
18794 wxPyEndAllowThreads(__tstate
);
18795 if (PyErr_Occurred()) SWIG_fail
;
18797 resultobj
= SWIG_From_int((int)result
);
18804 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18805 PyObject
*resultobj
;
18806 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18808 PyObject
* obj0
= 0 ;
18809 char *kwnames
[] = {
18810 (char *) "self", NULL
18813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18818 result
= (int)((wxPrintData
const *)arg1
)->GetPrintMode();
18820 wxPyEndAllowThreads(__tstate
);
18821 if (PyErr_Occurred()) SWIG_fail
;
18823 resultobj
= SWIG_From_int((int)result
);
18830 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18831 PyObject
*resultobj
;
18832 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18834 PyObject
* obj0
= 0 ;
18835 PyObject
* obj1
= 0 ;
18836 char *kwnames
[] = {
18837 (char *) "self",(char *) "v", NULL
18840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18843 arg2
= (int)SWIG_As_int(obj1
);
18844 if (PyErr_Occurred()) SWIG_fail
;
18846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18847 (arg1
)->SetNoCopies(arg2
);
18849 wxPyEndAllowThreads(__tstate
);
18850 if (PyErr_Occurred()) SWIG_fail
;
18852 Py_INCREF(Py_None
); resultobj
= Py_None
;
18859 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18860 PyObject
*resultobj
;
18861 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18863 PyObject
* obj0
= 0 ;
18864 PyObject
* obj1
= 0 ;
18865 char *kwnames
[] = {
18866 (char *) "self",(char *) "flag", NULL
18869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18872 arg2
= (bool)SWIG_As_bool(obj1
);
18873 if (PyErr_Occurred()) SWIG_fail
;
18875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18876 (arg1
)->SetCollate(arg2
);
18878 wxPyEndAllowThreads(__tstate
);
18879 if (PyErr_Occurred()) SWIG_fail
;
18881 Py_INCREF(Py_None
); resultobj
= Py_None
;
18888 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18889 PyObject
*resultobj
;
18890 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18892 PyObject
* obj0
= 0 ;
18893 PyObject
* obj1
= 0 ;
18894 char *kwnames
[] = {
18895 (char *) "self",(char *) "orient", NULL
18898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18901 arg2
= (int)SWIG_As_int(obj1
);
18902 if (PyErr_Occurred()) SWIG_fail
;
18904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18905 (arg1
)->SetOrientation(arg2
);
18907 wxPyEndAllowThreads(__tstate
);
18908 if (PyErr_Occurred()) SWIG_fail
;
18910 Py_INCREF(Py_None
); resultobj
= Py_None
;
18917 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18918 PyObject
*resultobj
;
18919 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18920 wxString
*arg2
= 0 ;
18921 bool temp2
= false ;
18922 PyObject
* obj0
= 0 ;
18923 PyObject
* obj1
= 0 ;
18924 char *kwnames
[] = {
18925 (char *) "self",(char *) "name", NULL
18928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18932 arg2
= wxString_in_helper(obj1
);
18933 if (arg2
== NULL
) SWIG_fail
;
18937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18938 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18940 wxPyEndAllowThreads(__tstate
);
18941 if (PyErr_Occurred()) SWIG_fail
;
18943 Py_INCREF(Py_None
); resultobj
= Py_None
;
18958 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18959 PyObject
*resultobj
;
18960 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18962 PyObject
* obj0
= 0 ;
18963 PyObject
* obj1
= 0 ;
18964 char *kwnames
[] = {
18965 (char *) "self",(char *) "colour", NULL
18968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18971 arg2
= (bool)SWIG_As_bool(obj1
);
18972 if (PyErr_Occurred()) SWIG_fail
;
18974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18975 (arg1
)->SetColour(arg2
);
18977 wxPyEndAllowThreads(__tstate
);
18978 if (PyErr_Occurred()) SWIG_fail
;
18980 Py_INCREF(Py_None
); resultobj
= Py_None
;
18987 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18988 PyObject
*resultobj
;
18989 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18991 PyObject
* obj0
= 0 ;
18992 PyObject
* obj1
= 0 ;
18993 char *kwnames
[] = {
18994 (char *) "self",(char *) "duplex", NULL
18997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19000 arg2
= (int)SWIG_As_int(obj1
);
19001 if (PyErr_Occurred()) SWIG_fail
;
19003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19004 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
19006 wxPyEndAllowThreads(__tstate
);
19007 if (PyErr_Occurred()) SWIG_fail
;
19009 Py_INCREF(Py_None
); resultobj
= Py_None
;
19016 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19017 PyObject
*resultobj
;
19018 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19020 PyObject
* obj0
= 0 ;
19021 PyObject
* obj1
= 0 ;
19022 char *kwnames
[] = {
19023 (char *) "self",(char *) "sizeId", NULL
19026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
19027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19029 arg2
= (int)SWIG_As_int(obj1
);
19030 if (PyErr_Occurred()) SWIG_fail
;
19032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19033 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
19035 wxPyEndAllowThreads(__tstate
);
19036 if (PyErr_Occurred()) SWIG_fail
;
19038 Py_INCREF(Py_None
); resultobj
= Py_None
;
19045 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19046 PyObject
*resultobj
;
19047 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19050 PyObject
* obj0
= 0 ;
19051 PyObject
* obj1
= 0 ;
19052 char *kwnames
[] = {
19053 (char *) "self",(char *) "sz", NULL
19056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19061 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19065 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
19067 wxPyEndAllowThreads(__tstate
);
19068 if (PyErr_Occurred()) SWIG_fail
;
19070 Py_INCREF(Py_None
); resultobj
= Py_None
;
19077 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19078 PyObject
*resultobj
;
19079 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19081 PyObject
* obj0
= 0 ;
19082 PyObject
* obj1
= 0 ;
19083 char *kwnames
[] = {
19084 (char *) "self",(char *) "quality", NULL
19087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
19088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19090 arg2
= (int)SWIG_As_int(obj1
);
19091 if (PyErr_Occurred()) SWIG_fail
;
19093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19094 (arg1
)->SetQuality(arg2
);
19096 wxPyEndAllowThreads(__tstate
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19099 Py_INCREF(Py_None
); resultobj
= Py_None
;
19106 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
;
19108 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19110 PyObject
* obj0
= 0 ;
19111 PyObject
* obj1
= 0 ;
19112 char *kwnames
[] = {
19113 (char *) "self",(char *) "bin", NULL
19116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
19117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19119 arg2
= (int)SWIG_As_int(obj1
);
19120 if (PyErr_Occurred()) SWIG_fail
;
19122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19123 (arg1
)->SetBin((wxPrintBin
)arg2
);
19125 wxPyEndAllowThreads(__tstate
);
19126 if (PyErr_Occurred()) SWIG_fail
;
19128 Py_INCREF(Py_None
); resultobj
= Py_None
;
19135 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19136 PyObject
*resultobj
;
19137 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19139 PyObject
* obj0
= 0 ;
19140 PyObject
* obj1
= 0 ;
19141 char *kwnames
[] = {
19142 (char *) "self",(char *) "printMode", NULL
19145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19148 arg2
= (int)SWIG_As_int(obj1
);
19149 if (PyErr_Occurred()) SWIG_fail
;
19151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19152 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19154 wxPyEndAllowThreads(__tstate
);
19155 if (PyErr_Occurred()) SWIG_fail
;
19157 Py_INCREF(Py_None
); resultobj
= Py_None
;
19164 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19165 PyObject
*resultobj
;
19166 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19168 PyObject
* obj0
= 0 ;
19169 char *kwnames
[] = {
19170 (char *) "self", NULL
19173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
19174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19178 result
= ((wxPrintData
const *)arg1
)->GetFilename();
19180 wxPyEndAllowThreads(__tstate
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19185 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19187 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19196 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19197 PyObject
*resultobj
;
19198 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19199 wxString
*arg2
= 0 ;
19200 bool temp2
= false ;
19201 PyObject
* obj0
= 0 ;
19202 PyObject
* obj1
= 0 ;
19203 char *kwnames
[] = {
19204 (char *) "self",(char *) "filename", NULL
19207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
19208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19211 arg2
= wxString_in_helper(obj1
);
19212 if (arg2
== NULL
) SWIG_fail
;
19216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19217 (arg1
)->SetFilename((wxString
const &)*arg2
);
19219 wxPyEndAllowThreads(__tstate
);
19220 if (PyErr_Occurred()) SWIG_fail
;
19222 Py_INCREF(Py_None
); resultobj
= Py_None
;
19237 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19238 PyObject
*resultobj
;
19239 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19241 PyObject
* obj0
= 0 ;
19242 char *kwnames
[] = {
19243 (char *) "self", NULL
19246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
19247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19252 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
19253 result
= (wxString
*) &_result_ref
;
19256 wxPyEndAllowThreads(__tstate
);
19257 if (PyErr_Occurred()) SWIG_fail
;
19261 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19263 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19272 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19273 PyObject
*resultobj
;
19274 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19276 PyObject
* obj0
= 0 ;
19277 char *kwnames
[] = {
19278 (char *) "self", NULL
19281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
19282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19287 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
19288 result
= (wxString
*) &_result_ref
;
19291 wxPyEndAllowThreads(__tstate
);
19292 if (PyErr_Occurred()) SWIG_fail
;
19296 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19298 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19307 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19308 PyObject
*resultobj
;
19309 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19311 PyObject
* obj0
= 0 ;
19312 char *kwnames
[] = {
19313 (char *) "self", NULL
19316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
19317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19322 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
19323 result
= (wxString
*) &_result_ref
;
19326 wxPyEndAllowThreads(__tstate
);
19327 if (PyErr_Occurred()) SWIG_fail
;
19331 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19333 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19342 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19343 PyObject
*resultobj
;
19344 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19346 PyObject
* obj0
= 0 ;
19347 char *kwnames
[] = {
19348 (char *) "self", NULL
19351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
19352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19357 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
19358 result
= (wxString
*) &_result_ref
;
19361 wxPyEndAllowThreads(__tstate
);
19362 if (PyErr_Occurred()) SWIG_fail
;
19366 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19368 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19377 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19378 PyObject
*resultobj
;
19379 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19381 PyObject
* obj0
= 0 ;
19382 char *kwnames
[] = {
19383 (char *) "self", NULL
19386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
19387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19391 result
= (double)(arg1
)->GetPrinterScaleX();
19393 wxPyEndAllowThreads(__tstate
);
19394 if (PyErr_Occurred()) SWIG_fail
;
19396 resultobj
= SWIG_From_double((double)result
);
19403 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19404 PyObject
*resultobj
;
19405 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19407 PyObject
* obj0
= 0 ;
19408 char *kwnames
[] = {
19409 (char *) "self", NULL
19412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
19413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19417 result
= (double)(arg1
)->GetPrinterScaleY();
19419 wxPyEndAllowThreads(__tstate
);
19420 if (PyErr_Occurred()) SWIG_fail
;
19422 resultobj
= SWIG_From_double((double)result
);
19429 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19430 PyObject
*resultobj
;
19431 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19433 PyObject
* obj0
= 0 ;
19434 char *kwnames
[] = {
19435 (char *) "self", NULL
19438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
19439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19443 result
= (long)(arg1
)->GetPrinterTranslateX();
19445 wxPyEndAllowThreads(__tstate
);
19446 if (PyErr_Occurred()) SWIG_fail
;
19448 resultobj
= SWIG_From_long((long)result
);
19455 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19456 PyObject
*resultobj
;
19457 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19459 PyObject
* obj0
= 0 ;
19460 char *kwnames
[] = {
19461 (char *) "self", NULL
19464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
19465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19469 result
= (long)(arg1
)->GetPrinterTranslateY();
19471 wxPyEndAllowThreads(__tstate
);
19472 if (PyErr_Occurred()) SWIG_fail
;
19474 resultobj
= SWIG_From_long((long)result
);
19481 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19482 PyObject
*resultobj
;
19483 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19484 wxString
*arg2
= 0 ;
19485 bool temp2
= false ;
19486 PyObject
* obj0
= 0 ;
19487 PyObject
* obj1
= 0 ;
19488 char *kwnames
[] = {
19489 (char *) "self",(char *) "command", NULL
19492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19496 arg2
= wxString_in_helper(obj1
);
19497 if (arg2
== NULL
) SWIG_fail
;
19501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19502 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
19504 wxPyEndAllowThreads(__tstate
);
19505 if (PyErr_Occurred()) SWIG_fail
;
19507 Py_INCREF(Py_None
); resultobj
= Py_None
;
19522 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19523 PyObject
*resultobj
;
19524 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19525 wxString
*arg2
= 0 ;
19526 bool temp2
= false ;
19527 PyObject
* obj0
= 0 ;
19528 PyObject
* obj1
= 0 ;
19529 char *kwnames
[] = {
19530 (char *) "self",(char *) "options", NULL
19533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
19534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19537 arg2
= wxString_in_helper(obj1
);
19538 if (arg2
== NULL
) SWIG_fail
;
19542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19543 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
19545 wxPyEndAllowThreads(__tstate
);
19546 if (PyErr_Occurred()) SWIG_fail
;
19548 Py_INCREF(Py_None
); resultobj
= Py_None
;
19563 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19564 PyObject
*resultobj
;
19565 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19566 wxString
*arg2
= 0 ;
19567 bool temp2
= false ;
19568 PyObject
* obj0
= 0 ;
19569 PyObject
* obj1
= 0 ;
19570 char *kwnames
[] = {
19571 (char *) "self",(char *) "command", NULL
19574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19578 arg2
= wxString_in_helper(obj1
);
19579 if (arg2
== NULL
) SWIG_fail
;
19583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19584 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
19586 wxPyEndAllowThreads(__tstate
);
19587 if (PyErr_Occurred()) SWIG_fail
;
19589 Py_INCREF(Py_None
); resultobj
= Py_None
;
19604 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19605 PyObject
*resultobj
;
19606 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19607 wxString
*arg2
= 0 ;
19608 bool temp2
= false ;
19609 PyObject
* obj0
= 0 ;
19610 PyObject
* obj1
= 0 ;
19611 char *kwnames
[] = {
19612 (char *) "self",(char *) "path", NULL
19615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
19616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19619 arg2
= wxString_in_helper(obj1
);
19620 if (arg2
== NULL
) SWIG_fail
;
19624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19625 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
19627 wxPyEndAllowThreads(__tstate
);
19628 if (PyErr_Occurred()) SWIG_fail
;
19630 Py_INCREF(Py_None
); resultobj
= Py_None
;
19645 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19646 PyObject
*resultobj
;
19647 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19649 PyObject
* obj0
= 0 ;
19650 PyObject
* obj1
= 0 ;
19651 char *kwnames
[] = {
19652 (char *) "self",(char *) "x", NULL
19655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
19656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19658 arg2
= (double)SWIG_As_double(obj1
);
19659 if (PyErr_Occurred()) SWIG_fail
;
19661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19662 (arg1
)->SetPrinterScaleX(arg2
);
19664 wxPyEndAllowThreads(__tstate
);
19665 if (PyErr_Occurred()) SWIG_fail
;
19667 Py_INCREF(Py_None
); resultobj
= Py_None
;
19674 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19675 PyObject
*resultobj
;
19676 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19678 PyObject
* obj0
= 0 ;
19679 PyObject
* obj1
= 0 ;
19680 char *kwnames
[] = {
19681 (char *) "self",(char *) "y", NULL
19684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
19685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19687 arg2
= (double)SWIG_As_double(obj1
);
19688 if (PyErr_Occurred()) SWIG_fail
;
19690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19691 (arg1
)->SetPrinterScaleY(arg2
);
19693 wxPyEndAllowThreads(__tstate
);
19694 if (PyErr_Occurred()) SWIG_fail
;
19696 Py_INCREF(Py_None
); resultobj
= Py_None
;
19703 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19704 PyObject
*resultobj
;
19705 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19708 PyObject
* obj0
= 0 ;
19709 PyObject
* obj1
= 0 ;
19710 PyObject
* obj2
= 0 ;
19711 char *kwnames
[] = {
19712 (char *) "self",(char *) "x",(char *) "y", NULL
19715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19718 arg2
= (double)SWIG_As_double(obj1
);
19719 if (PyErr_Occurred()) SWIG_fail
;
19720 arg3
= (double)SWIG_As_double(obj2
);
19721 if (PyErr_Occurred()) SWIG_fail
;
19723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19724 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19726 wxPyEndAllowThreads(__tstate
);
19727 if (PyErr_Occurred()) SWIG_fail
;
19729 Py_INCREF(Py_None
); resultobj
= Py_None
;
19736 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19737 PyObject
*resultobj
;
19738 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19740 PyObject
* obj0
= 0 ;
19741 PyObject
* obj1
= 0 ;
19742 char *kwnames
[] = {
19743 (char *) "self",(char *) "x", NULL
19746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19749 arg2
= (long)SWIG_As_long(obj1
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19753 (arg1
)->SetPrinterTranslateX(arg2
);
19755 wxPyEndAllowThreads(__tstate
);
19756 if (PyErr_Occurred()) SWIG_fail
;
19758 Py_INCREF(Py_None
); resultobj
= Py_None
;
19765 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19766 PyObject
*resultobj
;
19767 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19769 PyObject
* obj0
= 0 ;
19770 PyObject
* obj1
= 0 ;
19771 char *kwnames
[] = {
19772 (char *) "self",(char *) "y", NULL
19775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19778 arg2
= (long)SWIG_As_long(obj1
);
19779 if (PyErr_Occurred()) SWIG_fail
;
19781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19782 (arg1
)->SetPrinterTranslateY(arg2
);
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19787 Py_INCREF(Py_None
); resultobj
= Py_None
;
19794 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19795 PyObject
*resultobj
;
19796 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19799 PyObject
* obj0
= 0 ;
19800 PyObject
* obj1
= 0 ;
19801 PyObject
* obj2
= 0 ;
19802 char *kwnames
[] = {
19803 (char *) "self",(char *) "x",(char *) "y", NULL
19806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19809 arg2
= (long)SWIG_As_long(obj1
);
19810 if (PyErr_Occurred()) SWIG_fail
;
19811 arg3
= (long)SWIG_As_long(obj2
);
19812 if (PyErr_Occurred()) SWIG_fail
;
19814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19815 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19817 wxPyEndAllowThreads(__tstate
);
19818 if (PyErr_Occurred()) SWIG_fail
;
19820 Py_INCREF(Py_None
); resultobj
= Py_None
;
19827 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
19829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19830 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19832 return Py_BuildValue((char *)"");
19834 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
19835 PyObject
*resultobj
;
19836 wxPageSetupDialogData
*result
;
19838 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
19840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19841 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19843 wxPyEndAllowThreads(__tstate
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19853 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
19854 PyObject
*resultobj
;
19855 wxPageSetupDialogData
*arg1
= 0 ;
19856 wxPageSetupDialogData
*result
;
19857 PyObject
* obj0
= 0 ;
19859 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
19860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19861 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19863 if (arg1
== NULL
) {
19864 PyErr_SetString(PyExc_TypeError
,"null reference");
19868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19869 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
19871 wxPyEndAllowThreads(__tstate
);
19872 if (PyErr_Occurred()) SWIG_fail
;
19874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19881 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
19886 argc
= PyObject_Length(args
);
19887 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19888 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19891 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
19897 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
19905 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
19909 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PageSetupDialogData'");
19914 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19915 PyObject
*resultobj
;
19916 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19917 PyObject
* obj0
= 0 ;
19918 char *kwnames
[] = {
19919 (char *) "self", NULL
19922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19929 wxPyEndAllowThreads(__tstate
);
19930 if (PyErr_Occurred()) SWIG_fail
;
19932 Py_INCREF(Py_None
); resultobj
= Py_None
;
19939 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19940 PyObject
*resultobj
;
19941 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19943 PyObject
* obj0
= 0 ;
19944 PyObject
* obj1
= 0 ;
19945 char *kwnames
[] = {
19946 (char *) "self",(char *) "flag", NULL
19949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19952 arg2
= (bool)SWIG_As_bool(obj1
);
19953 if (PyErr_Occurred()) SWIG_fail
;
19955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19956 (arg1
)->EnableHelp(arg2
);
19958 wxPyEndAllowThreads(__tstate
);
19959 if (PyErr_Occurred()) SWIG_fail
;
19961 Py_INCREF(Py_None
); resultobj
= Py_None
;
19968 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19969 PyObject
*resultobj
;
19970 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19972 PyObject
* obj0
= 0 ;
19973 PyObject
* obj1
= 0 ;
19974 char *kwnames
[] = {
19975 (char *) "self",(char *) "flag", NULL
19978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19981 arg2
= (bool)SWIG_As_bool(obj1
);
19982 if (PyErr_Occurred()) SWIG_fail
;
19984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19985 (arg1
)->EnableMargins(arg2
);
19987 wxPyEndAllowThreads(__tstate
);
19988 if (PyErr_Occurred()) SWIG_fail
;
19990 Py_INCREF(Py_None
); resultobj
= Py_None
;
19997 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19998 PyObject
*resultobj
;
19999 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20001 PyObject
* obj0
= 0 ;
20002 PyObject
* obj1
= 0 ;
20003 char *kwnames
[] = {
20004 (char *) "self",(char *) "flag", NULL
20007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
20008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20010 arg2
= (bool)SWIG_As_bool(obj1
);
20011 if (PyErr_Occurred()) SWIG_fail
;
20013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20014 (arg1
)->EnableOrientation(arg2
);
20016 wxPyEndAllowThreads(__tstate
);
20017 if (PyErr_Occurred()) SWIG_fail
;
20019 Py_INCREF(Py_None
); resultobj
= Py_None
;
20026 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20027 PyObject
*resultobj
;
20028 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20030 PyObject
* obj0
= 0 ;
20031 PyObject
* obj1
= 0 ;
20032 char *kwnames
[] = {
20033 (char *) "self",(char *) "flag", NULL
20036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
20037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20039 arg2
= (bool)SWIG_As_bool(obj1
);
20040 if (PyErr_Occurred()) SWIG_fail
;
20042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20043 (arg1
)->EnablePaper(arg2
);
20045 wxPyEndAllowThreads(__tstate
);
20046 if (PyErr_Occurred()) SWIG_fail
;
20048 Py_INCREF(Py_None
); resultobj
= Py_None
;
20055 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20056 PyObject
*resultobj
;
20057 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20059 PyObject
* obj0
= 0 ;
20060 PyObject
* obj1
= 0 ;
20061 char *kwnames
[] = {
20062 (char *) "self",(char *) "flag", NULL
20065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
20066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20068 arg2
= (bool)SWIG_As_bool(obj1
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20072 (arg1
)->EnablePrinter(arg2
);
20074 wxPyEndAllowThreads(__tstate
);
20075 if (PyErr_Occurred()) SWIG_fail
;
20077 Py_INCREF(Py_None
); resultobj
= Py_None
;
20084 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20085 PyObject
*resultobj
;
20086 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20088 PyObject
* obj0
= 0 ;
20089 char *kwnames
[] = {
20090 (char *) "self", NULL
20093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
20094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20098 result
= (bool)(arg1
)->GetDefaultMinMargins();
20100 wxPyEndAllowThreads(__tstate
);
20101 if (PyErr_Occurred()) SWIG_fail
;
20104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20112 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20113 PyObject
*resultobj
;
20114 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20116 PyObject
* obj0
= 0 ;
20117 char *kwnames
[] = {
20118 (char *) "self", NULL
20121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
20122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20126 result
= (bool)(arg1
)->GetEnableMargins();
20128 wxPyEndAllowThreads(__tstate
);
20129 if (PyErr_Occurred()) SWIG_fail
;
20132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20140 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20141 PyObject
*resultobj
;
20142 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20144 PyObject
* obj0
= 0 ;
20145 char *kwnames
[] = {
20146 (char *) "self", NULL
20149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
20150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20154 result
= (bool)(arg1
)->GetEnableOrientation();
20156 wxPyEndAllowThreads(__tstate
);
20157 if (PyErr_Occurred()) SWIG_fail
;
20160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20168 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20169 PyObject
*resultobj
;
20170 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20172 PyObject
* obj0
= 0 ;
20173 char *kwnames
[] = {
20174 (char *) "self", NULL
20177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
20178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20182 result
= (bool)(arg1
)->GetEnablePaper();
20184 wxPyEndAllowThreads(__tstate
);
20185 if (PyErr_Occurred()) SWIG_fail
;
20188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20196 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20197 PyObject
*resultobj
;
20198 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20200 PyObject
* obj0
= 0 ;
20201 char *kwnames
[] = {
20202 (char *) "self", NULL
20205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
20206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20210 result
= (bool)(arg1
)->GetEnablePrinter();
20212 wxPyEndAllowThreads(__tstate
);
20213 if (PyErr_Occurred()) SWIG_fail
;
20216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20224 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20225 PyObject
*resultobj
;
20226 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20228 PyObject
* obj0
= 0 ;
20229 char *kwnames
[] = {
20230 (char *) "self", NULL
20233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20238 result
= (bool)(arg1
)->GetEnableHelp();
20240 wxPyEndAllowThreads(__tstate
);
20241 if (PyErr_Occurred()) SWIG_fail
;
20244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20252 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20253 PyObject
*resultobj
;
20254 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20256 PyObject
* obj0
= 0 ;
20257 char *kwnames
[] = {
20258 (char *) "self", NULL
20261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
20262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20266 result
= (bool)(arg1
)->GetDefaultInfo();
20268 wxPyEndAllowThreads(__tstate
);
20269 if (PyErr_Occurred()) SWIG_fail
;
20272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20280 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20281 PyObject
*resultobj
;
20282 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20284 PyObject
* obj0
= 0 ;
20285 char *kwnames
[] = {
20286 (char *) "self", NULL
20289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20294 result
= (arg1
)->GetMarginTopLeft();
20296 wxPyEndAllowThreads(__tstate
);
20297 if (PyErr_Occurred()) SWIG_fail
;
20300 wxPoint
* resultptr
;
20301 resultptr
= new wxPoint((wxPoint
&) result
);
20302 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20310 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20311 PyObject
*resultobj
;
20312 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20314 PyObject
* obj0
= 0 ;
20315 char *kwnames
[] = {
20316 (char *) "self", NULL
20319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20324 result
= (arg1
)->GetMarginBottomRight();
20326 wxPyEndAllowThreads(__tstate
);
20327 if (PyErr_Occurred()) SWIG_fail
;
20330 wxPoint
* resultptr
;
20331 resultptr
= new wxPoint((wxPoint
&) result
);
20332 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20340 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20341 PyObject
*resultobj
;
20342 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20344 PyObject
* obj0
= 0 ;
20345 char *kwnames
[] = {
20346 (char *) "self", NULL
20349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20354 result
= (arg1
)->GetMinMarginTopLeft();
20356 wxPyEndAllowThreads(__tstate
);
20357 if (PyErr_Occurred()) SWIG_fail
;
20360 wxPoint
* resultptr
;
20361 resultptr
= new wxPoint((wxPoint
&) result
);
20362 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20370 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20371 PyObject
*resultobj
;
20372 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20374 PyObject
* obj0
= 0 ;
20375 char *kwnames
[] = {
20376 (char *) "self", NULL
20379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20384 result
= (arg1
)->GetMinMarginBottomRight();
20386 wxPyEndAllowThreads(__tstate
);
20387 if (PyErr_Occurred()) SWIG_fail
;
20390 wxPoint
* resultptr
;
20391 resultptr
= new wxPoint((wxPoint
&) result
);
20392 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20400 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20401 PyObject
*resultobj
;
20402 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20404 PyObject
* obj0
= 0 ;
20405 char *kwnames
[] = {
20406 (char *) "self", NULL
20409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20414 result
= (int)(arg1
)->GetPaperId();
20416 wxPyEndAllowThreads(__tstate
);
20417 if (PyErr_Occurred()) SWIG_fail
;
20419 resultobj
= SWIG_From_int((int)result
);
20426 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20427 PyObject
*resultobj
;
20428 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20430 PyObject
* obj0
= 0 ;
20431 char *kwnames
[] = {
20432 (char *) "self", NULL
20435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20440 result
= (arg1
)->GetPaperSize();
20442 wxPyEndAllowThreads(__tstate
);
20443 if (PyErr_Occurred()) SWIG_fail
;
20446 wxSize
* resultptr
;
20447 resultptr
= new wxSize((wxSize
&) result
);
20448 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20456 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20457 PyObject
*resultobj
;
20458 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20459 wxPrintData
*result
;
20460 PyObject
* obj0
= 0 ;
20461 char *kwnames
[] = {
20462 (char *) "self", NULL
20465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20471 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20472 result
= (wxPrintData
*) &_result_ref
;
20475 wxPyEndAllowThreads(__tstate
);
20476 if (PyErr_Occurred()) SWIG_fail
;
20478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20485 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20486 PyObject
*resultobj
;
20487 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20489 PyObject
* obj0
= 0 ;
20490 char *kwnames
[] = {
20491 (char *) "self", NULL
20494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20499 result
= (bool)(arg1
)->Ok();
20501 wxPyEndAllowThreads(__tstate
);
20502 if (PyErr_Occurred()) SWIG_fail
;
20505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20513 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20514 PyObject
*resultobj
;
20515 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20517 PyObject
* obj0
= 0 ;
20518 PyObject
* obj1
= 0 ;
20519 char *kwnames
[] = {
20520 (char *) "self",(char *) "flag", NULL
20523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
20524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20526 arg2
= (bool)SWIG_As_bool(obj1
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20530 (arg1
)->SetDefaultInfo(arg2
);
20532 wxPyEndAllowThreads(__tstate
);
20533 if (PyErr_Occurred()) SWIG_fail
;
20535 Py_INCREF(Py_None
); resultobj
= Py_None
;
20542 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20543 PyObject
*resultobj
;
20544 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20546 PyObject
* obj0
= 0 ;
20547 PyObject
* obj1
= 0 ;
20548 char *kwnames
[] = {
20549 (char *) "self",(char *) "flag", NULL
20552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20555 arg2
= (bool)SWIG_As_bool(obj1
);
20556 if (PyErr_Occurred()) SWIG_fail
;
20558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20559 (arg1
)->SetDefaultMinMargins(arg2
);
20561 wxPyEndAllowThreads(__tstate
);
20562 if (PyErr_Occurred()) SWIG_fail
;
20564 Py_INCREF(Py_None
); resultobj
= Py_None
;
20571 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20572 PyObject
*resultobj
;
20573 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20574 wxPoint
*arg2
= 0 ;
20576 PyObject
* obj0
= 0 ;
20577 PyObject
* obj1
= 0 ;
20578 char *kwnames
[] = {
20579 (char *) "self",(char *) "pt", NULL
20582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20587 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20591 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
20593 wxPyEndAllowThreads(__tstate
);
20594 if (PyErr_Occurred()) SWIG_fail
;
20596 Py_INCREF(Py_None
); resultobj
= Py_None
;
20603 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20604 PyObject
*resultobj
;
20605 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20606 wxPoint
*arg2
= 0 ;
20608 PyObject
* obj0
= 0 ;
20609 PyObject
* obj1
= 0 ;
20610 char *kwnames
[] = {
20611 (char *) "self",(char *) "pt", NULL
20614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20619 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20623 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20625 wxPyEndAllowThreads(__tstate
);
20626 if (PyErr_Occurred()) SWIG_fail
;
20628 Py_INCREF(Py_None
); resultobj
= Py_None
;
20635 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20636 PyObject
*resultobj
;
20637 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20638 wxPoint
*arg2
= 0 ;
20640 PyObject
* obj0
= 0 ;
20641 PyObject
* obj1
= 0 ;
20642 char *kwnames
[] = {
20643 (char *) "self",(char *) "pt", NULL
20646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20651 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20655 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20657 wxPyEndAllowThreads(__tstate
);
20658 if (PyErr_Occurred()) SWIG_fail
;
20660 Py_INCREF(Py_None
); resultobj
= Py_None
;
20667 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20668 PyObject
*resultobj
;
20669 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20670 wxPoint
*arg2
= 0 ;
20672 PyObject
* obj0
= 0 ;
20673 PyObject
* obj1
= 0 ;
20674 char *kwnames
[] = {
20675 (char *) "self",(char *) "pt", NULL
20678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20683 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20687 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20689 wxPyEndAllowThreads(__tstate
);
20690 if (PyErr_Occurred()) SWIG_fail
;
20692 Py_INCREF(Py_None
); resultobj
= Py_None
;
20699 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20700 PyObject
*resultobj
;
20701 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20703 PyObject
* obj0
= 0 ;
20704 PyObject
* obj1
= 0 ;
20705 char *kwnames
[] = {
20706 (char *) "self",(char *) "id", NULL
20709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20712 arg2
= (int)SWIG_As_int(obj1
);
20713 if (PyErr_Occurred()) SWIG_fail
;
20715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20716 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20718 wxPyEndAllowThreads(__tstate
);
20719 if (PyErr_Occurred()) SWIG_fail
;
20721 Py_INCREF(Py_None
); resultobj
= Py_None
;
20728 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20729 PyObject
*resultobj
;
20730 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20733 PyObject
* obj0
= 0 ;
20734 PyObject
* obj1
= 0 ;
20735 char *kwnames
[] = {
20736 (char *) "self",(char *) "size", NULL
20739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20744 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20748 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20750 wxPyEndAllowThreads(__tstate
);
20751 if (PyErr_Occurred()) SWIG_fail
;
20753 Py_INCREF(Py_None
); resultobj
= Py_None
;
20760 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20761 PyObject
*resultobj
;
20762 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20763 wxPrintData
*arg2
= 0 ;
20764 PyObject
* obj0
= 0 ;
20765 PyObject
* obj1
= 0 ;
20766 char *kwnames
[] = {
20767 (char *) "self",(char *) "printData", NULL
20770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20773 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20774 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20776 if (arg2
== NULL
) {
20777 PyErr_SetString(PyExc_TypeError
,"null reference");
20781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20782 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20784 wxPyEndAllowThreads(__tstate
);
20785 if (PyErr_Occurred()) SWIG_fail
;
20787 Py_INCREF(Py_None
); resultobj
= Py_None
;
20794 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
20796 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20797 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20799 return Py_BuildValue((char *)"");
20801 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20802 PyObject
*resultobj
;
20803 wxWindow
*arg1
= (wxWindow
*) 0 ;
20804 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20805 wxPageSetupDialog
*result
;
20806 PyObject
* obj0
= 0 ;
20807 PyObject
* obj1
= 0 ;
20808 char *kwnames
[] = {
20809 (char *) "parent",(char *) "data", NULL
20812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20820 if (!wxPyCheckForApp()) SWIG_fail
;
20821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20822 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20824 wxPyEndAllowThreads(__tstate
);
20825 if (PyErr_Occurred()) SWIG_fail
;
20827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20834 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20835 PyObject
*resultobj
;
20836 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20837 wxPageSetupDialogData
*result
;
20838 PyObject
* obj0
= 0 ;
20839 char *kwnames
[] = {
20840 (char *) "self", NULL
20843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20849 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20850 result
= (wxPageSetupDialogData
*) &_result_ref
;
20853 wxPyEndAllowThreads(__tstate
);
20854 if (PyErr_Occurred()) SWIG_fail
;
20856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20863 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20864 PyObject
*resultobj
;
20865 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20866 wxPageSetupDialogData
*result
;
20867 PyObject
* obj0
= 0 ;
20868 char *kwnames
[] = {
20869 (char *) "self", NULL
20872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
20873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20878 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
20879 result
= (wxPageSetupDialogData
*) &_result_ref
;
20882 wxPyEndAllowThreads(__tstate
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20892 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20893 PyObject
*resultobj
;
20894 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20896 PyObject
* obj0
= 0 ;
20897 char *kwnames
[] = {
20898 (char *) "self", NULL
20901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20906 result
= (int)(arg1
)->ShowModal();
20908 wxPyEndAllowThreads(__tstate
);
20909 if (PyErr_Occurred()) SWIG_fail
;
20911 resultobj
= SWIG_From_int((int)result
);
20918 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
20920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20921 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20923 return Py_BuildValue((char *)"");
20925 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
20926 PyObject
*resultobj
;
20927 wxPrintDialogData
*result
;
20929 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20932 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20934 wxPyEndAllowThreads(__tstate
);
20935 if (PyErr_Occurred()) SWIG_fail
;
20937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20944 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
20945 PyObject
*resultobj
;
20946 wxPrintData
*arg1
= 0 ;
20947 wxPrintDialogData
*result
;
20948 PyObject
* obj0
= 0 ;
20950 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20952 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20954 if (arg1
== NULL
) {
20955 PyErr_SetString(PyExc_TypeError
,"null reference");
20959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20960 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20962 wxPyEndAllowThreads(__tstate
);
20963 if (PyErr_Occurred()) SWIG_fail
;
20965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20972 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20977 argc
= PyObject_Length(args
);
20978 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20979 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20982 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20988 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20996 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
21000 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
21005 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21006 PyObject
*resultobj
;
21007 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21008 PyObject
* obj0
= 0 ;
21009 char *kwnames
[] = {
21010 (char *) "self", NULL
21013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
21014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21020 wxPyEndAllowThreads(__tstate
);
21021 if (PyErr_Occurred()) SWIG_fail
;
21023 Py_INCREF(Py_None
); resultobj
= Py_None
;
21030 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21031 PyObject
*resultobj
;
21032 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21034 PyObject
* obj0
= 0 ;
21035 char *kwnames
[] = {
21036 (char *) "self", NULL
21039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
21040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21044 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
21046 wxPyEndAllowThreads(__tstate
);
21047 if (PyErr_Occurred()) SWIG_fail
;
21049 resultobj
= SWIG_From_int((int)result
);
21056 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21057 PyObject
*resultobj
;
21058 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21060 PyObject
* obj0
= 0 ;
21061 char *kwnames
[] = {
21062 (char *) "self", NULL
21065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
21066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21070 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
21072 wxPyEndAllowThreads(__tstate
);
21073 if (PyErr_Occurred()) SWIG_fail
;
21075 resultobj
= SWIG_From_int((int)result
);
21082 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21083 PyObject
*resultobj
;
21084 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21086 PyObject
* obj0
= 0 ;
21087 char *kwnames
[] = {
21088 (char *) "self", NULL
21091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
21092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21096 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
21098 wxPyEndAllowThreads(__tstate
);
21099 if (PyErr_Occurred()) SWIG_fail
;
21101 resultobj
= SWIG_From_int((int)result
);
21108 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21109 PyObject
*resultobj
;
21110 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21112 PyObject
* obj0
= 0 ;
21113 char *kwnames
[] = {
21114 (char *) "self", NULL
21117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
21118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21122 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
21124 wxPyEndAllowThreads(__tstate
);
21125 if (PyErr_Occurred()) SWIG_fail
;
21127 resultobj
= SWIG_From_int((int)result
);
21134 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21135 PyObject
*resultobj
;
21136 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21138 PyObject
* obj0
= 0 ;
21139 char *kwnames
[] = {
21140 (char *) "self", NULL
21143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
21144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21148 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
21150 wxPyEndAllowThreads(__tstate
);
21151 if (PyErr_Occurred()) SWIG_fail
;
21153 resultobj
= SWIG_From_int((int)result
);
21160 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21161 PyObject
*resultobj
;
21162 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21164 PyObject
* obj0
= 0 ;
21165 char *kwnames
[] = {
21166 (char *) "self", NULL
21169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
21170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21174 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
21176 wxPyEndAllowThreads(__tstate
);
21177 if (PyErr_Occurred()) SWIG_fail
;
21180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21188 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21189 PyObject
*resultobj
;
21190 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21192 PyObject
* obj0
= 0 ;
21193 char *kwnames
[] = {
21194 (char *) "self", NULL
21197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
21198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21202 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
21204 wxPyEndAllowThreads(__tstate
);
21205 if (PyErr_Occurred()) SWIG_fail
;
21208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21216 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21217 PyObject
*resultobj
;
21218 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21220 PyObject
* obj0
= 0 ;
21221 char *kwnames
[] = {
21222 (char *) "self", NULL
21225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
21226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21230 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
21232 wxPyEndAllowThreads(__tstate
);
21233 if (PyErr_Occurred()) SWIG_fail
;
21236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21244 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21245 PyObject
*resultobj
;
21246 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21248 PyObject
* obj0
= 0 ;
21249 char *kwnames
[] = {
21250 (char *) "self", NULL
21253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
21254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21258 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
21260 wxPyEndAllowThreads(__tstate
);
21261 if (PyErr_Occurred()) SWIG_fail
;
21264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21272 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21273 PyObject
*resultobj
;
21274 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21276 PyObject
* obj0
= 0 ;
21277 char *kwnames
[] = {
21278 (char *) "self", NULL
21281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
21282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21286 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
21288 wxPyEndAllowThreads(__tstate
);
21289 if (PyErr_Occurred()) SWIG_fail
;
21292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21300 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21301 PyObject
*resultobj
;
21302 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21304 PyObject
* obj0
= 0 ;
21305 PyObject
* obj1
= 0 ;
21306 char *kwnames
[] = {
21307 (char *) "self",(char *) "flag", NULL
21310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21313 arg2
= (bool)SWIG_As_bool(obj1
);
21314 if (PyErr_Occurred()) SWIG_fail
;
21316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21317 (arg1
)->SetSetupDialog(arg2
);
21319 wxPyEndAllowThreads(__tstate
);
21320 if (PyErr_Occurred()) SWIG_fail
;
21322 Py_INCREF(Py_None
); resultobj
= Py_None
;
21329 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21330 PyObject
*resultobj
;
21331 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21333 PyObject
* obj0
= 0 ;
21334 PyObject
* obj1
= 0 ;
21335 char *kwnames
[] = {
21336 (char *) "self",(char *) "v", NULL
21339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21342 arg2
= (int)SWIG_As_int(obj1
);
21343 if (PyErr_Occurred()) SWIG_fail
;
21345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21346 (arg1
)->SetFromPage(arg2
);
21348 wxPyEndAllowThreads(__tstate
);
21349 if (PyErr_Occurred()) SWIG_fail
;
21351 Py_INCREF(Py_None
); resultobj
= Py_None
;
21358 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21359 PyObject
*resultobj
;
21360 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21362 PyObject
* obj0
= 0 ;
21363 PyObject
* obj1
= 0 ;
21364 char *kwnames
[] = {
21365 (char *) "self",(char *) "v", NULL
21368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21371 arg2
= (int)SWIG_As_int(obj1
);
21372 if (PyErr_Occurred()) SWIG_fail
;
21374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21375 (arg1
)->SetToPage(arg2
);
21377 wxPyEndAllowThreads(__tstate
);
21378 if (PyErr_Occurred()) SWIG_fail
;
21380 Py_INCREF(Py_None
); resultobj
= Py_None
;
21387 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21388 PyObject
*resultobj
;
21389 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21391 PyObject
* obj0
= 0 ;
21392 PyObject
* obj1
= 0 ;
21393 char *kwnames
[] = {
21394 (char *) "self",(char *) "v", NULL
21397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21400 arg2
= (int)SWIG_As_int(obj1
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21404 (arg1
)->SetMinPage(arg2
);
21406 wxPyEndAllowThreads(__tstate
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21409 Py_INCREF(Py_None
); resultobj
= Py_None
;
21416 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21417 PyObject
*resultobj
;
21418 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21420 PyObject
* obj0
= 0 ;
21421 PyObject
* obj1
= 0 ;
21422 char *kwnames
[] = {
21423 (char *) "self",(char *) "v", NULL
21426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21429 arg2
= (int)SWIG_As_int(obj1
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21433 (arg1
)->SetMaxPage(arg2
);
21435 wxPyEndAllowThreads(__tstate
);
21436 if (PyErr_Occurred()) SWIG_fail
;
21438 Py_INCREF(Py_None
); resultobj
= Py_None
;
21445 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21446 PyObject
*resultobj
;
21447 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21449 PyObject
* obj0
= 0 ;
21450 PyObject
* obj1
= 0 ;
21451 char *kwnames
[] = {
21452 (char *) "self",(char *) "v", NULL
21455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21458 arg2
= (int)SWIG_As_int(obj1
);
21459 if (PyErr_Occurred()) SWIG_fail
;
21461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21462 (arg1
)->SetNoCopies(arg2
);
21464 wxPyEndAllowThreads(__tstate
);
21465 if (PyErr_Occurred()) SWIG_fail
;
21467 Py_INCREF(Py_None
); resultobj
= Py_None
;
21474 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21475 PyObject
*resultobj
;
21476 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21478 PyObject
* obj0
= 0 ;
21479 PyObject
* obj1
= 0 ;
21480 char *kwnames
[] = {
21481 (char *) "self",(char *) "flag", NULL
21484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
21485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21487 arg2
= (bool)SWIG_As_bool(obj1
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21491 (arg1
)->SetAllPages(arg2
);
21493 wxPyEndAllowThreads(__tstate
);
21494 if (PyErr_Occurred()) SWIG_fail
;
21496 Py_INCREF(Py_None
); resultobj
= Py_None
;
21503 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21504 PyObject
*resultobj
;
21505 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21507 PyObject
* obj0
= 0 ;
21508 PyObject
* obj1
= 0 ;
21509 char *kwnames
[] = {
21510 (char *) "self",(char *) "flag", NULL
21513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21516 arg2
= (bool)SWIG_As_bool(obj1
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21520 (arg1
)->SetSelection(arg2
);
21522 wxPyEndAllowThreads(__tstate
);
21523 if (PyErr_Occurred()) SWIG_fail
;
21525 Py_INCREF(Py_None
); resultobj
= Py_None
;
21532 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21533 PyObject
*resultobj
;
21534 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21536 PyObject
* obj0
= 0 ;
21537 PyObject
* obj1
= 0 ;
21538 char *kwnames
[] = {
21539 (char *) "self",(char *) "flag", NULL
21542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21545 arg2
= (bool)SWIG_As_bool(obj1
);
21546 if (PyErr_Occurred()) SWIG_fail
;
21548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21549 (arg1
)->SetCollate(arg2
);
21551 wxPyEndAllowThreads(__tstate
);
21552 if (PyErr_Occurred()) SWIG_fail
;
21554 Py_INCREF(Py_None
); resultobj
= Py_None
;
21561 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21562 PyObject
*resultobj
;
21563 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21565 PyObject
* obj0
= 0 ;
21566 PyObject
* obj1
= 0 ;
21567 char *kwnames
[] = {
21568 (char *) "self",(char *) "flag", NULL
21571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21574 arg2
= (bool)SWIG_As_bool(obj1
);
21575 if (PyErr_Occurred()) SWIG_fail
;
21577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21578 (arg1
)->SetPrintToFile(arg2
);
21580 wxPyEndAllowThreads(__tstate
);
21581 if (PyErr_Occurred()) SWIG_fail
;
21583 Py_INCREF(Py_None
); resultobj
= Py_None
;
21590 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21591 PyObject
*resultobj
;
21592 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21594 PyObject
* obj0
= 0 ;
21595 PyObject
* obj1
= 0 ;
21596 char *kwnames
[] = {
21597 (char *) "self",(char *) "flag", NULL
21600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21603 arg2
= (bool)SWIG_As_bool(obj1
);
21604 if (PyErr_Occurred()) SWIG_fail
;
21606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21607 (arg1
)->EnablePrintToFile(arg2
);
21609 wxPyEndAllowThreads(__tstate
);
21610 if (PyErr_Occurred()) SWIG_fail
;
21612 Py_INCREF(Py_None
); resultobj
= Py_None
;
21619 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21620 PyObject
*resultobj
;
21621 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21623 PyObject
* obj0
= 0 ;
21624 PyObject
* obj1
= 0 ;
21625 char *kwnames
[] = {
21626 (char *) "self",(char *) "flag", NULL
21629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21632 arg2
= (bool)SWIG_As_bool(obj1
);
21633 if (PyErr_Occurred()) SWIG_fail
;
21635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21636 (arg1
)->EnableSelection(arg2
);
21638 wxPyEndAllowThreads(__tstate
);
21639 if (PyErr_Occurred()) SWIG_fail
;
21641 Py_INCREF(Py_None
); resultobj
= Py_None
;
21648 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21649 PyObject
*resultobj
;
21650 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21652 PyObject
* obj0
= 0 ;
21653 PyObject
* obj1
= 0 ;
21654 char *kwnames
[] = {
21655 (char *) "self",(char *) "flag", NULL
21658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21661 arg2
= (bool)SWIG_As_bool(obj1
);
21662 if (PyErr_Occurred()) SWIG_fail
;
21664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21665 (arg1
)->EnablePageNumbers(arg2
);
21667 wxPyEndAllowThreads(__tstate
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21670 Py_INCREF(Py_None
); resultobj
= Py_None
;
21677 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21678 PyObject
*resultobj
;
21679 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21681 PyObject
* obj0
= 0 ;
21682 PyObject
* obj1
= 0 ;
21683 char *kwnames
[] = {
21684 (char *) "self",(char *) "flag", NULL
21687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21690 arg2
= (bool)SWIG_As_bool(obj1
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21694 (arg1
)->EnableHelp(arg2
);
21696 wxPyEndAllowThreads(__tstate
);
21697 if (PyErr_Occurred()) SWIG_fail
;
21699 Py_INCREF(Py_None
); resultobj
= Py_None
;
21706 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21707 PyObject
*resultobj
;
21708 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21710 PyObject
* obj0
= 0 ;
21711 char *kwnames
[] = {
21712 (char *) "self", NULL
21715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21720 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21722 wxPyEndAllowThreads(__tstate
);
21723 if (PyErr_Occurred()) SWIG_fail
;
21726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21734 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21735 PyObject
*resultobj
;
21736 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21738 PyObject
* obj0
= 0 ;
21739 char *kwnames
[] = {
21740 (char *) "self", NULL
21743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21748 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21750 wxPyEndAllowThreads(__tstate
);
21751 if (PyErr_Occurred()) SWIG_fail
;
21754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21762 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21763 PyObject
*resultobj
;
21764 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21766 PyObject
* obj0
= 0 ;
21767 char *kwnames
[] = {
21768 (char *) "self", NULL
21771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21776 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21778 wxPyEndAllowThreads(__tstate
);
21779 if (PyErr_Occurred()) SWIG_fail
;
21782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21790 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21791 PyObject
*resultobj
;
21792 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21794 PyObject
* obj0
= 0 ;
21795 char *kwnames
[] = {
21796 (char *) "self", NULL
21799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21804 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21806 wxPyEndAllowThreads(__tstate
);
21807 if (PyErr_Occurred()) SWIG_fail
;
21810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21818 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21819 PyObject
*resultobj
;
21820 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21822 PyObject
* obj0
= 0 ;
21823 char *kwnames
[] = {
21824 (char *) "self", NULL
21827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21832 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21834 wxPyEndAllowThreads(__tstate
);
21835 if (PyErr_Occurred()) SWIG_fail
;
21838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21846 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21847 PyObject
*resultobj
;
21848 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21849 wxPrintData
*result
;
21850 PyObject
* obj0
= 0 ;
21851 char *kwnames
[] = {
21852 (char *) "self", NULL
21855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21861 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21862 result
= (wxPrintData
*) &_result_ref
;
21865 wxPyEndAllowThreads(__tstate
);
21866 if (PyErr_Occurred()) SWIG_fail
;
21868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21875 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21876 PyObject
*resultobj
;
21877 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21878 wxPrintData
*arg2
= 0 ;
21879 PyObject
* obj0
= 0 ;
21880 PyObject
* obj1
= 0 ;
21881 char *kwnames
[] = {
21882 (char *) "self",(char *) "printData", NULL
21885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21889 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21891 if (arg2
== NULL
) {
21892 PyErr_SetString(PyExc_TypeError
,"null reference");
21896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21897 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21899 wxPyEndAllowThreads(__tstate
);
21900 if (PyErr_Occurred()) SWIG_fail
;
21902 Py_INCREF(Py_None
); resultobj
= Py_None
;
21909 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
21911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21912 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21914 return Py_BuildValue((char *)"");
21916 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21917 PyObject
*resultobj
;
21918 wxWindow
*arg1
= (wxWindow
*) 0 ;
21919 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21920 wxPrintDialog
*result
;
21921 PyObject
* obj0
= 0 ;
21922 PyObject
* obj1
= 0 ;
21923 char *kwnames
[] = {
21924 (char *) "parent",(char *) "data", NULL
21927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21931 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21935 if (!wxPyCheckForApp()) SWIG_fail
;
21936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21937 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21939 wxPyEndAllowThreads(__tstate
);
21940 if (PyErr_Occurred()) SWIG_fail
;
21942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21949 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21950 PyObject
*resultobj
;
21951 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21953 PyObject
* obj0
= 0 ;
21954 char *kwnames
[] = {
21955 (char *) "self", NULL
21958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21963 result
= (int)(arg1
)->ShowModal();
21965 wxPyEndAllowThreads(__tstate
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21968 resultobj
= SWIG_From_int((int)result
);
21975 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21976 PyObject
*resultobj
;
21977 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21978 wxPrintDialogData
*result
;
21979 PyObject
* obj0
= 0 ;
21980 char *kwnames
[] = {
21981 (char *) "self", NULL
21984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21990 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21991 result
= (wxPrintDialogData
*) &_result_ref
;
21994 wxPyEndAllowThreads(__tstate
);
21995 if (PyErr_Occurred()) SWIG_fail
;
21997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
22004 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22005 PyObject
*resultobj
;
22006 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
22007 wxPrintData
*result
;
22008 PyObject
* obj0
= 0 ;
22009 char *kwnames
[] = {
22010 (char *) "self", NULL
22013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
22014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
22015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22019 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22020 result
= (wxPrintData
*) &_result_ref
;
22023 wxPyEndAllowThreads(__tstate
);
22024 if (PyErr_Occurred()) SWIG_fail
;
22026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22033 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22034 PyObject
*resultobj
;
22035 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
22037 PyObject
* obj0
= 0 ;
22038 char *kwnames
[] = {
22039 (char *) "self", NULL
22042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
22043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
22044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22047 result
= (wxDC
*)(arg1
)->GetPrintDC();
22049 wxPyEndAllowThreads(__tstate
);
22050 if (PyErr_Occurred()) SWIG_fail
;
22053 resultobj
= wxPyMake_wxObject(result
, 1);
22061 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
22063 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22064 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
22066 return Py_BuildValue((char *)"");
22068 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22069 PyObject
*resultobj
;
22070 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
22072 PyObject
* obj0
= 0 ;
22073 char *kwnames
[] = {
22074 (char *) "data", NULL
22077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
22079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
22080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22083 if (!wxPyCheckForApp()) SWIG_fail
;
22084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22085 result
= (wxPrinter
*)new wxPrinter(arg1
);
22087 wxPyEndAllowThreads(__tstate
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
22097 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22098 PyObject
*resultobj
;
22099 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22100 PyObject
* obj0
= 0 ;
22101 char *kwnames
[] = {
22102 (char *) "self", NULL
22105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
22106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22112 wxPyEndAllowThreads(__tstate
);
22113 if (PyErr_Occurred()) SWIG_fail
;
22115 Py_INCREF(Py_None
); resultobj
= Py_None
;
22122 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22123 PyObject
*resultobj
;
22124 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22125 wxWindow
*arg2
= (wxWindow
*) 0 ;
22126 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22128 PyObject
* obj0
= 0 ;
22129 PyObject
* obj1
= 0 ;
22130 PyObject
* obj2
= 0 ;
22131 char *kwnames
[] = {
22132 (char *) "self",(char *) "parent",(char *) "printout", NULL
22135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22138 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22140 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22144 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
22146 wxPyEndAllowThreads(__tstate
);
22147 if (PyErr_Occurred()) SWIG_fail
;
22150 resultobj
= wxPyMake_wxObject(result
, 0);
22158 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22159 PyObject
*resultobj
;
22160 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22161 wxWindow
*arg2
= (wxWindow
*) 0 ;
22162 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22163 wxString
*arg4
= 0 ;
22164 bool temp4
= false ;
22165 PyObject
* obj0
= 0 ;
22166 PyObject
* obj1
= 0 ;
22167 PyObject
* obj2
= 0 ;
22168 PyObject
* obj3
= 0 ;
22169 char *kwnames
[] = {
22170 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
22173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22176 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22178 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22181 arg4
= wxString_in_helper(obj3
);
22182 if (arg4
== NULL
) SWIG_fail
;
22186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22187 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
22189 wxPyEndAllowThreads(__tstate
);
22190 if (PyErr_Occurred()) SWIG_fail
;
22192 Py_INCREF(Py_None
); resultobj
= Py_None
;
22207 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22208 PyObject
*resultobj
;
22209 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22210 wxWindow
*arg2
= (wxWindow
*) 0 ;
22212 PyObject
* obj0
= 0 ;
22213 PyObject
* obj1
= 0 ;
22214 char *kwnames
[] = {
22215 (char *) "self",(char *) "parent", NULL
22218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
22219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22221 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22225 result
= (bool)(arg1
)->Setup(arg2
);
22227 wxPyEndAllowThreads(__tstate
);
22228 if (PyErr_Occurred()) SWIG_fail
;
22231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22239 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22240 PyObject
*resultobj
;
22241 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22242 wxWindow
*arg2
= (wxWindow
*) 0 ;
22243 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22244 bool arg4
= (bool) true ;
22246 PyObject
* obj0
= 0 ;
22247 PyObject
* obj1
= 0 ;
22248 PyObject
* obj2
= 0 ;
22249 PyObject
* obj3
= 0 ;
22250 char *kwnames
[] = {
22251 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
22254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22259 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22262 arg4
= (bool)SWIG_As_bool(obj3
);
22263 if (PyErr_Occurred()) SWIG_fail
;
22266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22267 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
22269 wxPyEndAllowThreads(__tstate
);
22270 if (PyErr_Occurred()) SWIG_fail
;
22273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22281 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22282 PyObject
*resultobj
;
22283 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22284 wxWindow
*arg2
= (wxWindow
*) 0 ;
22286 PyObject
* obj0
= 0 ;
22287 PyObject
* obj1
= 0 ;
22288 char *kwnames
[] = {
22289 (char *) "self",(char *) "parent", NULL
22292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22295 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22299 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
22301 wxPyEndAllowThreads(__tstate
);
22302 if (PyErr_Occurred()) SWIG_fail
;
22305 resultobj
= wxPyMake_wxObject(result
, 0);
22313 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22314 PyObject
*resultobj
;
22315 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22316 wxPrintDialogData
*result
;
22317 PyObject
* obj0
= 0 ;
22318 char *kwnames
[] = {
22319 (char *) "self", NULL
22322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
22323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22328 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
22329 result
= (wxPrintDialogData
*) &_result_ref
;
22332 wxPyEndAllowThreads(__tstate
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
22342 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22343 PyObject
*resultobj
;
22344 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22346 PyObject
* obj0
= 0 ;
22347 char *kwnames
[] = {
22348 (char *) "self", NULL
22351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
22352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22356 result
= (bool)(arg1
)->GetAbort();
22358 wxPyEndAllowThreads(__tstate
);
22359 if (PyErr_Occurred()) SWIG_fail
;
22362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22370 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22371 PyObject
*resultobj
;
22373 char *kwnames
[] = {
22377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
22379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22380 result
= (int)wxPrinter::GetLastError();
22382 wxPyEndAllowThreads(__tstate
);
22383 if (PyErr_Occurred()) SWIG_fail
;
22385 resultobj
= SWIG_From_int((int)result
);
22392 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
22394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22395 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
22397 return Py_BuildValue((char *)"");
22399 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22400 PyObject
*resultobj
;
22401 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
22402 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22403 wxPyPrintout
*result
;
22404 bool temp1
= false ;
22405 PyObject
* obj0
= 0 ;
22406 char *kwnames
[] = {
22407 (char *) "title", NULL
22410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
22413 arg1
= wxString_in_helper(obj0
);
22414 if (arg1
== NULL
) SWIG_fail
;
22419 if (!wxPyCheckForApp()) SWIG_fail
;
22420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22421 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
22423 wxPyEndAllowThreads(__tstate
);
22424 if (PyErr_Occurred()) SWIG_fail
;
22427 resultobj
= wxPyMake_wxObject(result
, 1);
22443 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22444 PyObject
*resultobj
;
22445 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22446 PyObject
*arg2
= (PyObject
*) 0 ;
22447 PyObject
*arg3
= (PyObject
*) 0 ;
22448 PyObject
* obj0
= 0 ;
22449 PyObject
* obj1
= 0 ;
22450 PyObject
* obj2
= 0 ;
22451 char *kwnames
[] = {
22452 (char *) "self",(char *) "self",(char *) "_class", NULL
22455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22462 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22464 wxPyEndAllowThreads(__tstate
);
22465 if (PyErr_Occurred()) SWIG_fail
;
22467 Py_INCREF(Py_None
); resultobj
= Py_None
;
22474 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22475 PyObject
*resultobj
;
22476 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22478 PyObject
* obj0
= 0 ;
22479 char *kwnames
[] = {
22480 (char *) "self", NULL
22483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
22484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22488 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
22490 wxPyEndAllowThreads(__tstate
);
22491 if (PyErr_Occurred()) SWIG_fail
;
22495 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22497 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22506 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22507 PyObject
*resultobj
;
22508 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22510 PyObject
* obj0
= 0 ;
22511 char *kwnames
[] = {
22512 (char *) "self", NULL
22515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
22516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22520 result
= (wxDC
*)(arg1
)->GetDC();
22522 wxPyEndAllowThreads(__tstate
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22526 resultobj
= wxPyMake_wxObject(result
, 0);
22534 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22535 PyObject
*resultobj
;
22536 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22537 wxDC
*arg2
= (wxDC
*) 0 ;
22538 PyObject
* obj0
= 0 ;
22539 PyObject
* obj1
= 0 ;
22540 char *kwnames
[] = {
22541 (char *) "self",(char *) "dc", NULL
22544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22547 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22551 (arg1
)->SetDC(arg2
);
22553 wxPyEndAllowThreads(__tstate
);
22554 if (PyErr_Occurred()) SWIG_fail
;
22556 Py_INCREF(Py_None
); resultobj
= Py_None
;
22563 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22564 PyObject
*resultobj
;
22565 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22568 PyObject
* obj0
= 0 ;
22569 PyObject
* obj1
= 0 ;
22570 PyObject
* obj2
= 0 ;
22571 char *kwnames
[] = {
22572 (char *) "self",(char *) "w",(char *) "h", NULL
22575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22578 arg2
= (int)SWIG_As_int(obj1
);
22579 if (PyErr_Occurred()) SWIG_fail
;
22580 arg3
= (int)SWIG_As_int(obj2
);
22581 if (PyErr_Occurred()) SWIG_fail
;
22583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22584 (arg1
)->SetPageSizePixels(arg2
,arg3
);
22586 wxPyEndAllowThreads(__tstate
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22589 Py_INCREF(Py_None
); resultobj
= Py_None
;
22596 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22597 PyObject
*resultobj
;
22598 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22599 int *arg2
= (int *) 0 ;
22600 int *arg3
= (int *) 0 ;
22605 PyObject
* obj0
= 0 ;
22606 char *kwnames
[] = {
22607 (char *) "self", NULL
22610 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22611 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
22613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22617 (arg1
)->GetPageSizePixels(arg2
,arg3
);
22619 wxPyEndAllowThreads(__tstate
);
22620 if (PyErr_Occurred()) SWIG_fail
;
22622 Py_INCREF(Py_None
); resultobj
= Py_None
;
22623 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22624 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22625 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22626 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22633 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22634 PyObject
*resultobj
;
22635 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22638 PyObject
* obj0
= 0 ;
22639 PyObject
* obj1
= 0 ;
22640 PyObject
* obj2
= 0 ;
22641 char *kwnames
[] = {
22642 (char *) "self",(char *) "w",(char *) "h", NULL
22645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22648 arg2
= (int)SWIG_As_int(obj1
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22650 arg3
= (int)SWIG_As_int(obj2
);
22651 if (PyErr_Occurred()) SWIG_fail
;
22653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22654 (arg1
)->SetPageSizeMM(arg2
,arg3
);
22656 wxPyEndAllowThreads(__tstate
);
22657 if (PyErr_Occurred()) SWIG_fail
;
22659 Py_INCREF(Py_None
); resultobj
= Py_None
;
22666 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22667 PyObject
*resultobj
;
22668 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22669 int *arg2
= (int *) 0 ;
22670 int *arg3
= (int *) 0 ;
22675 PyObject
* obj0
= 0 ;
22676 char *kwnames
[] = {
22677 (char *) "self", NULL
22680 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22681 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22687 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22689 wxPyEndAllowThreads(__tstate
);
22690 if (PyErr_Occurred()) SWIG_fail
;
22692 Py_INCREF(Py_None
); resultobj
= Py_None
;
22693 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22694 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22695 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22696 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22703 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22704 PyObject
*resultobj
;
22705 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22708 PyObject
* obj0
= 0 ;
22709 PyObject
* obj1
= 0 ;
22710 PyObject
* obj2
= 0 ;
22711 char *kwnames
[] = {
22712 (char *) "self",(char *) "x",(char *) "y", NULL
22715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22718 arg2
= (int)SWIG_As_int(obj1
);
22719 if (PyErr_Occurred()) SWIG_fail
;
22720 arg3
= (int)SWIG_As_int(obj2
);
22721 if (PyErr_Occurred()) SWIG_fail
;
22723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22724 (arg1
)->SetPPIScreen(arg2
,arg3
);
22726 wxPyEndAllowThreads(__tstate
);
22727 if (PyErr_Occurred()) SWIG_fail
;
22729 Py_INCREF(Py_None
); resultobj
= Py_None
;
22736 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22737 PyObject
*resultobj
;
22738 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22739 int *arg2
= (int *) 0 ;
22740 int *arg3
= (int *) 0 ;
22745 PyObject
* obj0
= 0 ;
22746 char *kwnames
[] = {
22747 (char *) "self", NULL
22750 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22751 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22757 (arg1
)->GetPPIScreen(arg2
,arg3
);
22759 wxPyEndAllowThreads(__tstate
);
22760 if (PyErr_Occurred()) SWIG_fail
;
22762 Py_INCREF(Py_None
); resultobj
= Py_None
;
22763 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22764 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22765 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22766 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22773 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22774 PyObject
*resultobj
;
22775 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22778 PyObject
* obj0
= 0 ;
22779 PyObject
* obj1
= 0 ;
22780 PyObject
* obj2
= 0 ;
22781 char *kwnames
[] = {
22782 (char *) "self",(char *) "x",(char *) "y", NULL
22785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22788 arg2
= (int)SWIG_As_int(obj1
);
22789 if (PyErr_Occurred()) SWIG_fail
;
22790 arg3
= (int)SWIG_As_int(obj2
);
22791 if (PyErr_Occurred()) SWIG_fail
;
22793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22794 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22796 wxPyEndAllowThreads(__tstate
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22799 Py_INCREF(Py_None
); resultobj
= Py_None
;
22806 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22807 PyObject
*resultobj
;
22808 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22809 int *arg2
= (int *) 0 ;
22810 int *arg3
= (int *) 0 ;
22815 PyObject
* obj0
= 0 ;
22816 char *kwnames
[] = {
22817 (char *) "self", NULL
22820 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22821 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22827 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22829 wxPyEndAllowThreads(__tstate
);
22830 if (PyErr_Occurred()) SWIG_fail
;
22832 Py_INCREF(Py_None
); resultobj
= Py_None
;
22833 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22834 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22835 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22836 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22843 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22844 PyObject
*resultobj
;
22845 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22847 PyObject
* obj0
= 0 ;
22848 char *kwnames
[] = {
22849 (char *) "self", NULL
22852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22857 result
= (bool)(arg1
)->IsPreview();
22859 wxPyEndAllowThreads(__tstate
);
22860 if (PyErr_Occurred()) SWIG_fail
;
22863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22871 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22872 PyObject
*resultobj
;
22873 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22875 PyObject
* obj0
= 0 ;
22876 PyObject
* obj1
= 0 ;
22877 char *kwnames
[] = {
22878 (char *) "self",(char *) "p", NULL
22881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22884 arg2
= (bool)SWIG_As_bool(obj1
);
22885 if (PyErr_Occurred()) SWIG_fail
;
22887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22888 (arg1
)->SetIsPreview(arg2
);
22890 wxPyEndAllowThreads(__tstate
);
22891 if (PyErr_Occurred()) SWIG_fail
;
22893 Py_INCREF(Py_None
); resultobj
= Py_None
;
22900 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22901 PyObject
*resultobj
;
22902 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22906 PyObject
* obj0
= 0 ;
22907 PyObject
* obj1
= 0 ;
22908 PyObject
* obj2
= 0 ;
22909 char *kwnames
[] = {
22910 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22916 arg2
= (int)SWIG_As_int(obj1
);
22917 if (PyErr_Occurred()) SWIG_fail
;
22918 arg3
= (int)SWIG_As_int(obj2
);
22919 if (PyErr_Occurred()) SWIG_fail
;
22921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22922 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22924 wxPyEndAllowThreads(__tstate
);
22925 if (PyErr_Occurred()) SWIG_fail
;
22928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22936 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22937 PyObject
*resultobj
;
22938 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22939 PyObject
* obj0
= 0 ;
22940 char *kwnames
[] = {
22941 (char *) "self", NULL
22944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22949 (arg1
)->base_OnEndDocument();
22951 wxPyEndAllowThreads(__tstate
);
22952 if (PyErr_Occurred()) SWIG_fail
;
22954 Py_INCREF(Py_None
); resultobj
= Py_None
;
22961 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22962 PyObject
*resultobj
;
22963 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22964 PyObject
* obj0
= 0 ;
22965 char *kwnames
[] = {
22966 (char *) "self", NULL
22969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22974 (arg1
)->base_OnBeginPrinting();
22976 wxPyEndAllowThreads(__tstate
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22979 Py_INCREF(Py_None
); resultobj
= Py_None
;
22986 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22987 PyObject
*resultobj
;
22988 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22989 PyObject
* obj0
= 0 ;
22990 char *kwnames
[] = {
22991 (char *) "self", NULL
22994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22999 (arg1
)->base_OnEndPrinting();
23001 wxPyEndAllowThreads(__tstate
);
23002 if (PyErr_Occurred()) SWIG_fail
;
23004 Py_INCREF(Py_None
); resultobj
= Py_None
;
23011 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23012 PyObject
*resultobj
;
23013 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23014 PyObject
* obj0
= 0 ;
23015 char *kwnames
[] = {
23016 (char *) "self", NULL
23019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
23020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23024 (arg1
)->base_OnPreparePrinting();
23026 wxPyEndAllowThreads(__tstate
);
23027 if (PyErr_Occurred()) SWIG_fail
;
23029 Py_INCREF(Py_None
); resultobj
= Py_None
;
23036 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23037 PyObject
*resultobj
;
23038 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23041 PyObject
* obj0
= 0 ;
23042 PyObject
* obj1
= 0 ;
23043 char *kwnames
[] = {
23044 (char *) "self",(char *) "page", NULL
23047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23050 arg2
= (int)SWIG_As_int(obj1
);
23051 if (PyErr_Occurred()) SWIG_fail
;
23053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23054 result
= (bool)(arg1
)->base_HasPage(arg2
);
23056 wxPyEndAllowThreads(__tstate
);
23057 if (PyErr_Occurred()) SWIG_fail
;
23060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23068 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23069 PyObject
*resultobj
;
23070 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23071 int *arg2
= (int *) 0 ;
23072 int *arg3
= (int *) 0 ;
23073 int *arg4
= (int *) 0 ;
23074 int *arg5
= (int *) 0 ;
23083 PyObject
* obj0
= 0 ;
23084 char *kwnames
[] = {
23085 (char *) "self", NULL
23088 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23089 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23090 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
23091 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
23092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
23093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23097 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
23099 wxPyEndAllowThreads(__tstate
);
23100 if (PyErr_Occurred()) SWIG_fail
;
23102 Py_INCREF(Py_None
); resultobj
= Py_None
;
23103 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23104 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23105 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23106 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23107 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
23108 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
23109 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
23110 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
23117 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
23119 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23120 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
23122 return Py_BuildValue((char *)"");
23124 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23125 PyObject
*resultobj
;
23126 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23127 wxWindow
*arg2
= (wxWindow
*) 0 ;
23128 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23129 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23130 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23131 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23132 long arg5
= (long) 0 ;
23133 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
23134 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
23135 wxPreviewCanvas
*result
;
23138 bool temp6
= false ;
23139 PyObject
* obj0
= 0 ;
23140 PyObject
* obj1
= 0 ;
23141 PyObject
* obj2
= 0 ;
23142 PyObject
* obj3
= 0 ;
23143 PyObject
* obj4
= 0 ;
23144 PyObject
* obj5
= 0 ;
23145 char *kwnames
[] = {
23146 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23152 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23157 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23163 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23167 arg5
= (long)SWIG_As_long(obj4
);
23168 if (PyErr_Occurred()) SWIG_fail
;
23172 arg6
= wxString_in_helper(obj5
);
23173 if (arg6
== NULL
) SWIG_fail
;
23178 if (!wxPyCheckForApp()) SWIG_fail
;
23179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23180 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
23182 wxPyEndAllowThreads(__tstate
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
23200 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
23202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23203 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
23205 return Py_BuildValue((char *)"");
23207 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23208 PyObject
*resultobj
;
23209 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23210 wxFrame
*arg2
= (wxFrame
*) 0 ;
23211 wxString
*arg3
= 0 ;
23212 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23213 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23214 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23215 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23216 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
23217 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23218 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23219 wxPreviewFrame
*result
;
23220 bool temp3
= false ;
23223 bool temp7
= false ;
23224 PyObject
* obj0
= 0 ;
23225 PyObject
* obj1
= 0 ;
23226 PyObject
* obj2
= 0 ;
23227 PyObject
* obj3
= 0 ;
23228 PyObject
* obj4
= 0 ;
23229 PyObject
* obj5
= 0 ;
23230 PyObject
* obj6
= 0 ;
23231 char *kwnames
[] = {
23232 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23241 arg3
= wxString_in_helper(obj2
);
23242 if (arg3
== NULL
) SWIG_fail
;
23248 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23254 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23258 arg6
= (long)SWIG_As_long(obj5
);
23259 if (PyErr_Occurred()) SWIG_fail
;
23263 arg7
= wxString_in_helper(obj6
);
23264 if (arg7
== NULL
) SWIG_fail
;
23269 if (!wxPyCheckForApp()) SWIG_fail
;
23270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23271 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23273 wxPyEndAllowThreads(__tstate
);
23274 if (PyErr_Occurred()) SWIG_fail
;
23276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
23299 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23300 PyObject
*resultobj
;
23301 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23302 PyObject
* obj0
= 0 ;
23303 char *kwnames
[] = {
23304 (char *) "self", NULL
23307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
23308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23312 (arg1
)->Initialize();
23314 wxPyEndAllowThreads(__tstate
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23317 Py_INCREF(Py_None
); resultobj
= Py_None
;
23324 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23325 PyObject
*resultobj
;
23326 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23327 PyObject
* obj0
= 0 ;
23328 char *kwnames
[] = {
23329 (char *) "self", NULL
23332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
23333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23337 (arg1
)->CreateControlBar();
23339 wxPyEndAllowThreads(__tstate
);
23340 if (PyErr_Occurred()) SWIG_fail
;
23342 Py_INCREF(Py_None
); resultobj
= Py_None
;
23349 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23350 PyObject
*resultobj
;
23351 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23352 PyObject
* obj0
= 0 ;
23353 char *kwnames
[] = {
23354 (char *) "self", NULL
23357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
23358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23362 (arg1
)->CreateCanvas();
23364 wxPyEndAllowThreads(__tstate
);
23365 if (PyErr_Occurred()) SWIG_fail
;
23367 Py_INCREF(Py_None
); resultobj
= Py_None
;
23374 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23375 PyObject
*resultobj
;
23376 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23377 wxPreviewControlBar
*result
;
23378 PyObject
* obj0
= 0 ;
23379 char *kwnames
[] = {
23380 (char *) "self", NULL
23383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
23384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23388 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
23390 wxPyEndAllowThreads(__tstate
);
23391 if (PyErr_Occurred()) SWIG_fail
;
23393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
23400 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
23402 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23403 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
23405 return Py_BuildValue((char *)"");
23407 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23408 PyObject
*resultobj
;
23409 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23411 wxWindow
*arg3
= (wxWindow
*) 0 ;
23412 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23413 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23414 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23415 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23416 long arg6
= (long) wxTAB_TRAVERSAL
;
23417 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
23418 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23419 wxPreviewControlBar
*result
;
23422 bool temp7
= false ;
23423 PyObject
* obj0
= 0 ;
23424 PyObject
* obj1
= 0 ;
23425 PyObject
* obj2
= 0 ;
23426 PyObject
* obj3
= 0 ;
23427 PyObject
* obj4
= 0 ;
23428 PyObject
* obj5
= 0 ;
23429 PyObject
* obj6
= 0 ;
23430 char *kwnames
[] = {
23431 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23437 arg2
= (long)SWIG_As_long(obj1
);
23438 if (PyErr_Occurred()) SWIG_fail
;
23439 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
23440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23444 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23450 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23454 arg6
= (long)SWIG_As_long(obj5
);
23455 if (PyErr_Occurred()) SWIG_fail
;
23459 arg7
= wxString_in_helper(obj6
);
23460 if (arg7
== NULL
) SWIG_fail
;
23465 if (!wxPyCheckForApp()) SWIG_fail
;
23466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23467 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23469 wxPyEndAllowThreads(__tstate
);
23470 if (PyErr_Occurred()) SWIG_fail
;
23472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
23487 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23488 PyObject
*resultobj
;
23489 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23491 PyObject
* obj0
= 0 ;
23492 char *kwnames
[] = {
23493 (char *) "self", NULL
23496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
23497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23501 result
= (int)(arg1
)->GetZoomControl();
23503 wxPyEndAllowThreads(__tstate
);
23504 if (PyErr_Occurred()) SWIG_fail
;
23506 resultobj
= SWIG_From_int((int)result
);
23513 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23514 PyObject
*resultobj
;
23515 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23517 PyObject
* obj0
= 0 ;
23518 PyObject
* obj1
= 0 ;
23519 char *kwnames
[] = {
23520 (char *) "self",(char *) "zoom", NULL
23523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
23524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23526 arg2
= (int)SWIG_As_int(obj1
);
23527 if (PyErr_Occurred()) SWIG_fail
;
23529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23530 (arg1
)->SetZoomControl(arg2
);
23532 wxPyEndAllowThreads(__tstate
);
23533 if (PyErr_Occurred()) SWIG_fail
;
23535 Py_INCREF(Py_None
); resultobj
= Py_None
;
23542 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23543 PyObject
*resultobj
;
23544 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23545 wxPrintPreview
*result
;
23546 PyObject
* obj0
= 0 ;
23547 char *kwnames
[] = {
23548 (char *) "self", NULL
23551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
23552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23556 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
23558 wxPyEndAllowThreads(__tstate
);
23559 if (PyErr_Occurred()) SWIG_fail
;
23561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
23568 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23569 PyObject
*resultobj
;
23570 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23571 PyObject
* obj0
= 0 ;
23572 char *kwnames
[] = {
23573 (char *) "self", NULL
23576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
23577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23583 wxPyEndAllowThreads(__tstate
);
23584 if (PyErr_Occurred()) SWIG_fail
;
23586 Py_INCREF(Py_None
); resultobj
= Py_None
;
23593 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23594 PyObject
*resultobj
;
23595 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23596 PyObject
* obj0
= 0 ;
23597 char *kwnames
[] = {
23598 (char *) "self", NULL
23601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
23602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23606 (arg1
)->OnPrevious();
23608 wxPyEndAllowThreads(__tstate
);
23609 if (PyErr_Occurred()) SWIG_fail
;
23611 Py_INCREF(Py_None
); resultobj
= Py_None
;
23618 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23619 PyObject
*resultobj
;
23620 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23621 PyObject
* obj0
= 0 ;
23622 char *kwnames
[] = {
23623 (char *) "self", NULL
23626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
23627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23633 wxPyEndAllowThreads(__tstate
);
23634 if (PyErr_Occurred()) SWIG_fail
;
23636 Py_INCREF(Py_None
); resultobj
= Py_None
;
23643 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23644 PyObject
*resultobj
;
23645 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23646 PyObject
* obj0
= 0 ;
23647 char *kwnames
[] = {
23648 (char *) "self", NULL
23651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
23652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23658 wxPyEndAllowThreads(__tstate
);
23659 if (PyErr_Occurred()) SWIG_fail
;
23661 Py_INCREF(Py_None
); resultobj
= Py_None
;
23668 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23669 PyObject
*resultobj
;
23670 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23671 PyObject
* obj0
= 0 ;
23672 char *kwnames
[] = {
23673 (char *) "self", NULL
23676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23683 wxPyEndAllowThreads(__tstate
);
23684 if (PyErr_Occurred()) SWIG_fail
;
23686 Py_INCREF(Py_None
); resultobj
= Py_None
;
23693 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
23695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23696 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23698 return Py_BuildValue((char *)"");
23700 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
23701 PyObject
*resultobj
;
23702 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23703 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23704 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23705 wxPrintPreview
*result
;
23706 PyObject
* obj0
= 0 ;
23707 PyObject
* obj1
= 0 ;
23708 PyObject
* obj2
= 0 ;
23710 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23713 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23716 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23720 if (!wxPyCheckForApp()) SWIG_fail
;
23721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23722 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23724 wxPyEndAllowThreads(__tstate
);
23725 if (PyErr_Occurred()) SWIG_fail
;
23727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23734 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
23735 PyObject
*resultobj
;
23736 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23737 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23738 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23739 wxPrintPreview
*result
;
23740 PyObject
* obj0
= 0 ;
23741 PyObject
* obj1
= 0 ;
23742 PyObject
* obj2
= 0 ;
23744 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23749 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23752 if (!wxPyCheckForApp()) SWIG_fail
;
23753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23754 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23756 wxPyEndAllowThreads(__tstate
);
23757 if (PyErr_Occurred()) SWIG_fail
;
23759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23766 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23771 argc
= PyObject_Length(args
);
23772 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23773 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23775 if ((argc
>= 2) && (argc
<= 3)) {
23779 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23789 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23798 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23802 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23810 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23819 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23829 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23839 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23847 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23853 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23858 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23859 PyObject
*resultobj
;
23860 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23863 PyObject
* obj0
= 0 ;
23864 PyObject
* obj1
= 0 ;
23865 char *kwnames
[] = {
23866 (char *) "self",(char *) "pageNum", NULL
23869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23872 arg2
= (int)SWIG_As_int(obj1
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23876 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23890 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23891 PyObject
*resultobj
;
23892 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23894 PyObject
* obj0
= 0 ;
23895 char *kwnames
[] = {
23896 (char *) "self", NULL
23899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23904 result
= (int)(arg1
)->GetCurrentPage();
23906 wxPyEndAllowThreads(__tstate
);
23907 if (PyErr_Occurred()) SWIG_fail
;
23909 resultobj
= SWIG_From_int((int)result
);
23916 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23917 PyObject
*resultobj
;
23918 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23919 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23920 PyObject
* obj0
= 0 ;
23921 PyObject
* obj1
= 0 ;
23922 char *kwnames
[] = {
23923 (char *) "self",(char *) "printout", NULL
23926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) 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_wxPyPrintout
,
23930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23933 (arg1
)->SetPrintout(arg2
);
23935 wxPyEndAllowThreads(__tstate
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23938 Py_INCREF(Py_None
); resultobj
= Py_None
;
23945 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23946 PyObject
*resultobj
;
23947 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23948 wxPyPrintout
*result
;
23949 PyObject
* obj0
= 0 ;
23950 char *kwnames
[] = {
23951 (char *) "self", NULL
23954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23959 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23961 wxPyEndAllowThreads(__tstate
);
23962 if (PyErr_Occurred()) SWIG_fail
;
23965 resultobj
= wxPyMake_wxObject(result
, 0);
23973 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23974 PyObject
*resultobj
;
23975 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23976 wxPyPrintout
*result
;
23977 PyObject
* obj0
= 0 ;
23978 char *kwnames
[] = {
23979 (char *) "self", NULL
23982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23987 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23989 wxPyEndAllowThreads(__tstate
);
23990 if (PyErr_Occurred()) SWIG_fail
;
23993 resultobj
= wxPyMake_wxObject(result
, 0);
24001 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24002 PyObject
*resultobj
;
24003 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24004 wxFrame
*arg2
= (wxFrame
*) 0 ;
24005 PyObject
* obj0
= 0 ;
24006 PyObject
* obj1
= 0 ;
24007 char *kwnames
[] = {
24008 (char *) "self",(char *) "frame", NULL
24011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
24012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24018 (arg1
)->SetFrame(arg2
);
24020 wxPyEndAllowThreads(__tstate
);
24021 if (PyErr_Occurred()) SWIG_fail
;
24023 Py_INCREF(Py_None
); resultobj
= Py_None
;
24030 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24031 PyObject
*resultobj
;
24032 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24033 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24034 PyObject
* obj0
= 0 ;
24035 PyObject
* obj1
= 0 ;
24036 char *kwnames
[] = {
24037 (char *) "self",(char *) "canvas", NULL
24040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24043 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24047 (arg1
)->SetCanvas(arg2
);
24049 wxPyEndAllowThreads(__tstate
);
24050 if (PyErr_Occurred()) SWIG_fail
;
24052 Py_INCREF(Py_None
); resultobj
= Py_None
;
24059 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24060 PyObject
*resultobj
;
24061 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24063 PyObject
* obj0
= 0 ;
24064 char *kwnames
[] = {
24065 (char *) "self", NULL
24068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
24069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24073 result
= (wxFrame
*)(arg1
)->GetFrame();
24075 wxPyEndAllowThreads(__tstate
);
24076 if (PyErr_Occurred()) SWIG_fail
;
24079 resultobj
= wxPyMake_wxObject(result
, 0);
24087 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24088 PyObject
*resultobj
;
24089 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24090 wxPreviewCanvas
*result
;
24091 PyObject
* obj0
= 0 ;
24092 char *kwnames
[] = {
24093 (char *) "self", NULL
24096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
24097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24101 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
24103 wxPyEndAllowThreads(__tstate
);
24104 if (PyErr_Occurred()) SWIG_fail
;
24106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
24113 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24114 PyObject
*resultobj
;
24115 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24116 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24119 PyObject
* obj0
= 0 ;
24120 PyObject
* obj1
= 0 ;
24121 PyObject
* obj2
= 0 ;
24122 char *kwnames
[] = {
24123 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24131 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24132 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24134 if (arg3
== NULL
) {
24135 PyErr_SetString(PyExc_TypeError
,"null reference");
24139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24140 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
24142 wxPyEndAllowThreads(__tstate
);
24143 if (PyErr_Occurred()) SWIG_fail
;
24146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24154 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24155 PyObject
*resultobj
;
24156 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24157 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24160 PyObject
* obj0
= 0 ;
24161 PyObject
* obj1
= 0 ;
24162 PyObject
* obj2
= 0 ;
24163 char *kwnames
[] = {
24164 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24170 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24172 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24173 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24175 if (arg3
== NULL
) {
24176 PyErr_SetString(PyExc_TypeError
,"null reference");
24180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24181 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24195 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24196 PyObject
*resultobj
;
24197 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24200 PyObject
* obj0
= 0 ;
24201 PyObject
* obj1
= 0 ;
24202 char *kwnames
[] = {
24203 (char *) "self",(char *) "pageNum", NULL
24206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24209 arg2
= (int)SWIG_As_int(obj1
);
24210 if (PyErr_Occurred()) SWIG_fail
;
24212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24213 result
= (bool)(arg1
)->RenderPage(arg2
);
24215 wxPyEndAllowThreads(__tstate
);
24216 if (PyErr_Occurred()) SWIG_fail
;
24219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24227 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24228 PyObject
*resultobj
;
24229 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24230 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24231 PyObject
* obj0
= 0 ;
24232 PyObject
* obj1
= 0 ;
24233 char *kwnames
[] = {
24234 (char *) "self",(char *) "canvas", NULL
24237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
24238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24240 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24244 (arg1
)->AdjustScrollbars(arg2
);
24246 wxPyEndAllowThreads(__tstate
);
24247 if (PyErr_Occurred()) SWIG_fail
;
24249 Py_INCREF(Py_None
); resultobj
= Py_None
;
24256 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24257 PyObject
*resultobj
;
24258 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24259 wxPrintDialogData
*result
;
24260 PyObject
* obj0
= 0 ;
24261 char *kwnames
[] = {
24262 (char *) "self", NULL
24265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24271 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24272 result
= (wxPrintDialogData
*) &_result_ref
;
24275 wxPyEndAllowThreads(__tstate
);
24276 if (PyErr_Occurred()) SWIG_fail
;
24278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24285 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24286 PyObject
*resultobj
;
24287 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24289 PyObject
* obj0
= 0 ;
24290 PyObject
* obj1
= 0 ;
24291 char *kwnames
[] = {
24292 (char *) "self",(char *) "percent", NULL
24295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24298 arg2
= (int)SWIG_As_int(obj1
);
24299 if (PyErr_Occurred()) SWIG_fail
;
24301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24302 (arg1
)->SetZoom(arg2
);
24304 wxPyEndAllowThreads(__tstate
);
24305 if (PyErr_Occurred()) SWIG_fail
;
24307 Py_INCREF(Py_None
); resultobj
= Py_None
;
24314 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24315 PyObject
*resultobj
;
24316 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24318 PyObject
* obj0
= 0 ;
24319 char *kwnames
[] = {
24320 (char *) "self", NULL
24323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
24324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24328 result
= (int)(arg1
)->GetZoom();
24330 wxPyEndAllowThreads(__tstate
);
24331 if (PyErr_Occurred()) SWIG_fail
;
24333 resultobj
= SWIG_From_int((int)result
);
24340 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24341 PyObject
*resultobj
;
24342 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24344 PyObject
* obj0
= 0 ;
24345 char *kwnames
[] = {
24346 (char *) "self", NULL
24349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
24350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24354 result
= (int)(arg1
)->GetMaxPage();
24356 wxPyEndAllowThreads(__tstate
);
24357 if (PyErr_Occurred()) SWIG_fail
;
24359 resultobj
= SWIG_From_int((int)result
);
24366 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24367 PyObject
*resultobj
;
24368 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24370 PyObject
* obj0
= 0 ;
24371 char *kwnames
[] = {
24372 (char *) "self", NULL
24375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
24376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24380 result
= (int)(arg1
)->GetMinPage();
24382 wxPyEndAllowThreads(__tstate
);
24383 if (PyErr_Occurred()) SWIG_fail
;
24385 resultobj
= SWIG_From_int((int)result
);
24392 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24393 PyObject
*resultobj
;
24394 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24396 PyObject
* obj0
= 0 ;
24397 char *kwnames
[] = {
24398 (char *) "self", NULL
24401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
24402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24406 result
= (bool)(arg1
)->Ok();
24408 wxPyEndAllowThreads(__tstate
);
24409 if (PyErr_Occurred()) SWIG_fail
;
24412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24420 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24421 PyObject
*resultobj
;
24422 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24424 PyObject
* obj0
= 0 ;
24425 PyObject
* obj1
= 0 ;
24426 char *kwnames
[] = {
24427 (char *) "self",(char *) "ok", NULL
24430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
24431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24433 arg2
= (bool)SWIG_As_bool(obj1
);
24434 if (PyErr_Occurred()) SWIG_fail
;
24436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24437 (arg1
)->SetOk(arg2
);
24439 wxPyEndAllowThreads(__tstate
);
24440 if (PyErr_Occurred()) SWIG_fail
;
24442 Py_INCREF(Py_None
); resultobj
= Py_None
;
24449 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24450 PyObject
*resultobj
;
24451 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24454 PyObject
* obj0
= 0 ;
24455 PyObject
* obj1
= 0 ;
24456 char *kwnames
[] = {
24457 (char *) "self",(char *) "interactive", NULL
24460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24463 arg2
= (bool)SWIG_As_bool(obj1
);
24464 if (PyErr_Occurred()) SWIG_fail
;
24466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24467 result
= (bool)(arg1
)->Print(arg2
);
24469 wxPyEndAllowThreads(__tstate
);
24470 if (PyErr_Occurred()) SWIG_fail
;
24473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24481 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24482 PyObject
*resultobj
;
24483 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24484 PyObject
* obj0
= 0 ;
24485 char *kwnames
[] = {
24486 (char *) "self", NULL
24489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24494 (arg1
)->DetermineScaling();
24496 wxPyEndAllowThreads(__tstate
);
24497 if (PyErr_Occurred()) SWIG_fail
;
24499 Py_INCREF(Py_None
); resultobj
= Py_None
;
24506 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24509 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
24511 return Py_BuildValue((char *)"");
24513 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
24514 PyObject
*resultobj
;
24515 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24516 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24517 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
24518 wxPyPrintPreview
*result
;
24519 PyObject
* obj0
= 0 ;
24520 PyObject
* obj1
= 0 ;
24521 PyObject
* obj2
= 0 ;
24523 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24526 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24529 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
24530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24533 if (!wxPyCheckForApp()) SWIG_fail
;
24534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24535 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24537 wxPyEndAllowThreads(__tstate
);
24538 if (PyErr_Occurred()) SWIG_fail
;
24540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24547 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
24548 PyObject
*resultobj
;
24549 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24550 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24551 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
24552 wxPyPrintPreview
*result
;
24553 PyObject
* obj0
= 0 ;
24554 PyObject
* obj1
= 0 ;
24555 PyObject
* obj2
= 0 ;
24557 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24560 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24562 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
24563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24565 if (!wxPyCheckForApp()) SWIG_fail
;
24566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24567 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24569 wxPyEndAllowThreads(__tstate
);
24570 if (PyErr_Occurred()) SWIG_fail
;
24572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24579 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
24584 argc
= PyObject_Length(args
);
24585 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
24586 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24588 if ((argc
>= 2) && (argc
<= 3)) {
24592 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24602 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24611 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24615 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
24623 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24632 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24642 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24652 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24660 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24666 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24671 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24672 PyObject
*resultobj
;
24673 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24674 PyObject
*arg2
= (PyObject
*) 0 ;
24675 PyObject
*arg3
= (PyObject
*) 0 ;
24676 PyObject
* obj0
= 0 ;
24677 PyObject
* obj1
= 0 ;
24678 PyObject
* obj2
= 0 ;
24679 char *kwnames
[] = {
24680 (char *) "self",(char *) "self",(char *) "_class", NULL
24683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24690 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24692 wxPyEndAllowThreads(__tstate
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24695 Py_INCREF(Py_None
); resultobj
= Py_None
;
24702 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24703 PyObject
*resultobj
;
24704 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24707 PyObject
* obj0
= 0 ;
24708 PyObject
* obj1
= 0 ;
24709 char *kwnames
[] = {
24710 (char *) "self",(char *) "pageNum", NULL
24713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24716 arg2
= (int)SWIG_As_int(obj1
);
24717 if (PyErr_Occurred()) SWIG_fail
;
24719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24720 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24722 wxPyEndAllowThreads(__tstate
);
24723 if (PyErr_Occurred()) SWIG_fail
;
24726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24734 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24735 PyObject
*resultobj
;
24736 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24737 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24740 PyObject
* obj0
= 0 ;
24741 PyObject
* obj1
= 0 ;
24742 PyObject
* obj2
= 0 ;
24743 char *kwnames
[] = {
24744 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24750 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24752 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24753 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24755 if (arg3
== NULL
) {
24756 PyErr_SetString(PyExc_TypeError
,"null reference");
24760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24761 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24763 wxPyEndAllowThreads(__tstate
);
24764 if (PyErr_Occurred()) SWIG_fail
;
24767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24775 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24776 PyObject
*resultobj
;
24777 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24778 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24781 PyObject
* obj0
= 0 ;
24782 PyObject
* obj1
= 0 ;
24783 PyObject
* obj2
= 0 ;
24784 char *kwnames
[] = {
24785 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24793 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24794 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24796 if (arg3
== NULL
) {
24797 PyErr_SetString(PyExc_TypeError
,"null reference");
24801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24802 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24804 wxPyEndAllowThreads(__tstate
);
24805 if (PyErr_Occurred()) SWIG_fail
;
24808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24816 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24817 PyObject
*resultobj
;
24818 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24821 PyObject
* obj0
= 0 ;
24822 PyObject
* obj1
= 0 ;
24823 char *kwnames
[] = {
24824 (char *) "self",(char *) "pageNum", NULL
24827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24830 arg2
= (int)SWIG_As_int(obj1
);
24831 if (PyErr_Occurred()) SWIG_fail
;
24833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24834 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24836 wxPyEndAllowThreads(__tstate
);
24837 if (PyErr_Occurred()) SWIG_fail
;
24840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24848 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24849 PyObject
*resultobj
;
24850 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24852 PyObject
* obj0
= 0 ;
24853 PyObject
* obj1
= 0 ;
24854 char *kwnames
[] = {
24855 (char *) "self",(char *) "percent", NULL
24858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24861 arg2
= (int)SWIG_As_int(obj1
);
24862 if (PyErr_Occurred()) SWIG_fail
;
24864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24865 (arg1
)->base_SetZoom(arg2
);
24867 wxPyEndAllowThreads(__tstate
);
24868 if (PyErr_Occurred()) SWIG_fail
;
24870 Py_INCREF(Py_None
); resultobj
= Py_None
;
24877 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24878 PyObject
*resultobj
;
24879 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24882 PyObject
* obj0
= 0 ;
24883 PyObject
* obj1
= 0 ;
24884 char *kwnames
[] = {
24885 (char *) "self",(char *) "interactive", NULL
24888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24891 arg2
= (bool)SWIG_As_bool(obj1
);
24892 if (PyErr_Occurred()) SWIG_fail
;
24894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24895 result
= (bool)(arg1
)->base_Print(arg2
);
24897 wxPyEndAllowThreads(__tstate
);
24898 if (PyErr_Occurred()) SWIG_fail
;
24901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24909 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24910 PyObject
*resultobj
;
24911 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24912 PyObject
* obj0
= 0 ;
24913 char *kwnames
[] = {
24914 (char *) "self", NULL
24917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24922 (arg1
)->base_DetermineScaling();
24924 wxPyEndAllowThreads(__tstate
);
24925 if (PyErr_Occurred()) SWIG_fail
;
24927 Py_INCREF(Py_None
); resultobj
= Py_None
;
24934 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24937 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24939 return Py_BuildValue((char *)"");
24941 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24942 PyObject
*resultobj
;
24943 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24944 wxFrame
*arg2
= (wxFrame
*) 0 ;
24945 wxString
*arg3
= 0 ;
24946 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24947 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24948 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24949 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24950 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24951 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24952 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24953 wxPyPreviewFrame
*result
;
24954 bool temp3
= false ;
24957 bool temp7
= false ;
24958 PyObject
* obj0
= 0 ;
24959 PyObject
* obj1
= 0 ;
24960 PyObject
* obj2
= 0 ;
24961 PyObject
* obj3
= 0 ;
24962 PyObject
* obj4
= 0 ;
24963 PyObject
* obj5
= 0 ;
24964 PyObject
* obj6
= 0 ;
24965 char *kwnames
[] = {
24966 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24972 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24975 arg3
= wxString_in_helper(obj2
);
24976 if (arg3
== NULL
) SWIG_fail
;
24982 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24988 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24992 arg6
= (long)SWIG_As_long(obj5
);
24993 if (PyErr_Occurred()) SWIG_fail
;
24997 arg7
= wxString_in_helper(obj6
);
24998 if (arg7
== NULL
) SWIG_fail
;
25003 if (!wxPyCheckForApp()) SWIG_fail
;
25004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25005 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25007 wxPyEndAllowThreads(__tstate
);
25008 if (PyErr_Occurred()) SWIG_fail
;
25010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
25033 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25034 PyObject
*resultobj
;
25035 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25036 PyObject
*arg2
= (PyObject
*) 0 ;
25037 PyObject
*arg3
= (PyObject
*) 0 ;
25038 PyObject
* obj0
= 0 ;
25039 PyObject
* obj1
= 0 ;
25040 PyObject
* obj2
= 0 ;
25041 char *kwnames
[] = {
25042 (char *) "self",(char *) "self",(char *) "_class", NULL
25045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25052 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25054 wxPyEndAllowThreads(__tstate
);
25055 if (PyErr_Occurred()) SWIG_fail
;
25057 Py_INCREF(Py_None
); resultobj
= Py_None
;
25064 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25065 PyObject
*resultobj
;
25066 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25067 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
25068 PyObject
* obj0
= 0 ;
25069 PyObject
* obj1
= 0 ;
25070 char *kwnames
[] = {
25071 (char *) "self",(char *) "canvas", NULL
25074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
25075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25077 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
25078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25081 (arg1
)->SetPreviewCanvas(arg2
);
25083 wxPyEndAllowThreads(__tstate
);
25084 if (PyErr_Occurred()) SWIG_fail
;
25086 Py_INCREF(Py_None
); resultobj
= Py_None
;
25093 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25094 PyObject
*resultobj
;
25095 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25096 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
25097 PyObject
* obj0
= 0 ;
25098 PyObject
* obj1
= 0 ;
25099 char *kwnames
[] = {
25100 (char *) "self",(char *) "bar", NULL
25103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
25104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
25107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25110 (arg1
)->SetControlBar(arg2
);
25112 wxPyEndAllowThreads(__tstate
);
25113 if (PyErr_Occurred()) SWIG_fail
;
25115 Py_INCREF(Py_None
); resultobj
= Py_None
;
25122 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25123 PyObject
*resultobj
;
25124 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25125 PyObject
* obj0
= 0 ;
25126 char *kwnames
[] = {
25127 (char *) "self", NULL
25130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
25131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25135 (arg1
)->base_Initialize();
25137 wxPyEndAllowThreads(__tstate
);
25138 if (PyErr_Occurred()) SWIG_fail
;
25140 Py_INCREF(Py_None
); resultobj
= Py_None
;
25147 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25148 PyObject
*resultobj
;
25149 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25150 PyObject
* obj0
= 0 ;
25151 char *kwnames
[] = {
25152 (char *) "self", NULL
25155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25160 (arg1
)->base_CreateCanvas();
25162 wxPyEndAllowThreads(__tstate
);
25163 if (PyErr_Occurred()) SWIG_fail
;
25165 Py_INCREF(Py_None
); resultobj
= Py_None
;
25172 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25173 PyObject
*resultobj
;
25174 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25175 PyObject
* obj0
= 0 ;
25176 char *kwnames
[] = {
25177 (char *) "self", NULL
25180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25185 (arg1
)->base_CreateControlBar();
25187 wxPyEndAllowThreads(__tstate
);
25188 if (PyErr_Occurred()) SWIG_fail
;
25190 Py_INCREF(Py_None
); resultobj
= Py_None
;
25197 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25200 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
25202 return Py_BuildValue((char *)"");
25204 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25205 PyObject
*resultobj
;
25206 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25208 wxWindow
*arg3
= (wxWindow
*) 0 ;
25209 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25210 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25211 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25212 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25213 long arg6
= (long) 0 ;
25214 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25215 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25216 wxPyPreviewControlBar
*result
;
25219 bool temp7
= false ;
25220 PyObject
* obj0
= 0 ;
25221 PyObject
* obj1
= 0 ;
25222 PyObject
* obj2
= 0 ;
25223 PyObject
* obj3
= 0 ;
25224 PyObject
* obj4
= 0 ;
25225 PyObject
* obj5
= 0 ;
25226 PyObject
* obj6
= 0 ;
25227 char *kwnames
[] = {
25228 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
25233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25234 arg2
= (long)SWIG_As_long(obj1
);
25235 if (PyErr_Occurred()) SWIG_fail
;
25236 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
25237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25241 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25247 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25251 arg6
= (long)SWIG_As_long(obj5
);
25252 if (PyErr_Occurred()) SWIG_fail
;
25256 arg7
= wxString_in_helper(obj6
);
25257 if (arg7
== NULL
) SWIG_fail
;
25262 if (!wxPyCheckForApp()) SWIG_fail
;
25263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25264 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25266 wxPyEndAllowThreads(__tstate
);
25267 if (PyErr_Occurred()) SWIG_fail
;
25269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
25284 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25285 PyObject
*resultobj
;
25286 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25287 PyObject
*arg2
= (PyObject
*) 0 ;
25288 PyObject
*arg3
= (PyObject
*) 0 ;
25289 PyObject
* obj0
= 0 ;
25290 PyObject
* obj1
= 0 ;
25291 PyObject
* obj2
= 0 ;
25292 char *kwnames
[] = {
25293 (char *) "self",(char *) "self",(char *) "_class", NULL
25296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25303 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25305 wxPyEndAllowThreads(__tstate
);
25306 if (PyErr_Occurred()) SWIG_fail
;
25308 Py_INCREF(Py_None
); resultobj
= Py_None
;
25315 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25316 PyObject
*resultobj
;
25317 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25318 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
25319 PyObject
* obj0
= 0 ;
25320 PyObject
* obj1
= 0 ;
25321 char *kwnames
[] = {
25322 (char *) "self",(char *) "preview", NULL
25325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
25326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25328 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
25329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25332 (arg1
)->SetPrintPreview(arg2
);
25334 wxPyEndAllowThreads(__tstate
);
25335 if (PyErr_Occurred()) SWIG_fail
;
25337 Py_INCREF(Py_None
); resultobj
= Py_None
;
25344 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25345 PyObject
*resultobj
;
25346 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25347 PyObject
* obj0
= 0 ;
25348 char *kwnames
[] = {
25349 (char *) "self", NULL
25352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
25353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25357 (arg1
)->base_CreateButtons();
25359 wxPyEndAllowThreads(__tstate
);
25360 if (PyErr_Occurred()) SWIG_fail
;
25362 Py_INCREF(Py_None
); resultobj
= Py_None
;
25369 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25370 PyObject
*resultobj
;
25371 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25373 PyObject
* obj0
= 0 ;
25374 PyObject
* obj1
= 0 ;
25375 char *kwnames
[] = {
25376 (char *) "self",(char *) "zoom", NULL
25379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25382 arg2
= (int)SWIG_As_int(obj1
);
25383 if (PyErr_Occurred()) SWIG_fail
;
25385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25386 (arg1
)->base_SetZoomControl(arg2
);
25388 wxPyEndAllowThreads(__tstate
);
25389 if (PyErr_Occurred()) SWIG_fail
;
25391 Py_INCREF(Py_None
); resultobj
= Py_None
;
25398 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25401 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
25403 return Py_BuildValue((char *)"");
25405 static PyMethodDef SwigMethods
[] = {
25406 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25407 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25408 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25409 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25410 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25411 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
25412 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25413 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25414 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25415 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25416 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25417 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25418 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25419 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25420 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25421 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25422 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25423 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25424 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25425 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25426 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
25427 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
25428 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25429 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25430 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25431 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25432 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25433 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25434 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25435 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25436 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25437 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25438 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25439 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25440 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25441 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25442 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25443 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25444 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25445 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25446 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25447 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25448 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25449 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25450 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25451 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25452 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
25453 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25454 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25455 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25456 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25457 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25458 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25459 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25460 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25461 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25462 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25463 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25464 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25465 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25466 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25467 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25468 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25469 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25470 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25471 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25472 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25473 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25474 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25475 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25476 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
25477 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25478 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25479 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25480 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25481 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25482 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25483 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25484 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25485 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25486 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25487 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25488 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
25489 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25490 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25491 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25492 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
25493 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25494 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25495 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25496 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
25497 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25498 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25499 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25500 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25501 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
25502 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25503 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25504 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25505 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25506 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25507 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25508 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25509 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25510 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25511 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25512 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25513 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25514 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25515 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25516 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25517 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25518 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
25519 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25520 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25521 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25522 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25523 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25524 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25525 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25526 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25527 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25528 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25529 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25530 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25531 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25532 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25533 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25534 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25535 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25536 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25537 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25538 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25539 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25540 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25541 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25542 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25543 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25544 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25545 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25546 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
25547 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25548 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25549 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25550 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25551 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25552 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25553 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
25554 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25555 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25556 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25557 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25558 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25559 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25560 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25561 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25562 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25563 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25564 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25565 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25566 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25567 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25568 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25569 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25570 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25571 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25572 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25573 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25574 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25575 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25576 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
25577 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25578 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25579 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25580 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25581 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25582 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25583 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25584 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
25585 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25586 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25587 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25588 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25589 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25590 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25591 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25592 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25593 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25594 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25595 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25596 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
25597 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25598 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25599 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25600 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25601 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25602 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
25603 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25604 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25605 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25606 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25607 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25608 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25609 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25610 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25611 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
25612 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25613 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25614 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25615 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25616 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25617 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
25618 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25619 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25620 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25621 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25622 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
25623 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25624 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25625 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25626 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25627 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25628 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
25629 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25630 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25631 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25632 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
25633 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25634 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25635 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25636 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25637 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25638 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25639 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25640 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25641 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25642 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25643 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25644 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25645 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25646 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25647 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25648 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25649 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25650 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25651 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25652 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25653 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25654 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25655 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25656 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25657 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25658 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25659 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25660 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25661 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25662 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25663 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25664 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25665 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25666 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25667 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25668 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25669 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25670 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25671 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25672 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25673 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25674 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25675 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25676 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
25677 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25678 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25679 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25680 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25681 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25682 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25683 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25684 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
25685 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25686 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25687 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25688 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25689 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25690 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25691 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25692 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25693 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
25694 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25695 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
25696 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25697 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25698 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25699 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25700 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25701 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25702 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25703 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25704 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
25705 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25706 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25707 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
25708 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25709 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25710 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25711 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25712 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25713 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25714 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
25715 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25716 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25717 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25718 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25719 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25720 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25721 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25722 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25723 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25724 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25725 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25726 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25727 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25728 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25729 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25730 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25731 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25732 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
25733 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25734 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25735 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25736 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25737 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25738 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25739 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25740 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25741 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25742 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25743 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25744 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25745 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
25746 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25747 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
25748 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25749 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25750 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25751 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25752 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25753 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25754 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25755 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25756 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25757 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25758 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25759 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25760 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25761 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25762 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25763 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
25764 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25765 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25766 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
25767 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25768 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
25769 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25770 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25771 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25772 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
25773 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25774 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25775 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25776 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25777 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25778 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25779 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25780 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25781 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
25782 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25783 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25784 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25785 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25786 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25787 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25788 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25789 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25790 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
25791 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25792 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25793 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25794 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25795 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25796 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
25797 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25798 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25799 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25800 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25801 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25802 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25803 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25804 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25805 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25806 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25807 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25808 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
25809 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25810 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25811 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25812 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25813 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25814 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25815 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
25816 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25817 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25818 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25819 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
25820 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25821 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25822 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25823 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25824 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25825 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25826 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25827 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25828 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25829 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25830 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25831 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25832 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25833 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25834 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25835 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25836 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25837 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25838 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25839 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25840 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25841 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25842 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25843 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25844 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25845 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
25846 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25847 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25848 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25849 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25850 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25851 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25852 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25853 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25854 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25855 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25856 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25857 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25858 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25859 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25860 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25861 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25862 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25863 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25864 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25865 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25866 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25867 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25868 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25869 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25870 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25871 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
25872 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25873 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25874 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25875 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25876 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25877 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25878 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25879 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25880 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25881 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25882 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25883 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25884 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25885 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25886 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25887 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25888 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25889 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25890 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25891 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25892 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25893 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25894 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25895 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25896 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25897 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25898 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
25899 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25900 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25901 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25902 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25903 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25904 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25905 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25906 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25907 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25908 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25909 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25910 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25911 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25912 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25913 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25914 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25915 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25916 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25917 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25918 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25919 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25920 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25921 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25922 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25923 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25924 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25925 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25926 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25927 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25928 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25929 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25930 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25931 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25932 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25933 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25934 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25935 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25936 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25937 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25938 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25939 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25940 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25941 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25942 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25943 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
25944 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
25945 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25946 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25947 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25948 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25949 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25950 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25951 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25952 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25953 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25954 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25955 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25956 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25957 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25958 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25959 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25960 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25961 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25962 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25963 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25964 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25965 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25966 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25967 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25968 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25969 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25970 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25971 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25972 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25973 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25974 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25975 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
25976 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25977 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25978 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25979 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25980 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
25981 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
25982 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25983 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25984 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25985 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25986 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25987 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25988 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25989 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25990 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25991 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25992 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25993 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25994 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25995 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25996 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25997 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25998 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25999 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26000 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26001 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26002 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26003 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26004 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26005 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26006 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26007 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26008 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26009 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26010 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26011 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26012 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26013 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26014 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
26015 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26016 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26017 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26018 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26019 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26020 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
26021 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26022 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26023 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26024 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26025 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26026 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26027 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26028 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26029 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26030 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26031 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
26032 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26033 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26034 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26035 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26036 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26037 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26038 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26039 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26040 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26041 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26042 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26043 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26044 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26045 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26046 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26047 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26048 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26049 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26050 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26051 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26052 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26053 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26054 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
26055 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26056 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
26057 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26058 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26059 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26060 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26061 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26062 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
26063 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26064 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26065 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26066 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26067 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26068 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26069 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26070 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26071 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26072 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
26073 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
26074 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26075 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26076 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26077 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26078 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26079 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26080 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26081 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26082 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26083 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26084 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26085 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26086 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26087 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26088 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26089 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26090 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26091 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26092 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26093 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26094 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26095 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26096 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
26097 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
26098 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26099 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26100 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26101 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26102 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26103 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26104 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26105 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26106 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
26107 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26108 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26109 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26110 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26111 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26112 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26113 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26114 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
26115 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26116 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26117 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26118 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26119 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26120 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
26121 { NULL
, NULL
, 0, NULL
}
26125 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26127 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
26128 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26130 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
26131 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26133 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
26134 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
26136 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
26137 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
26139 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
26140 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
26142 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
26143 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
26145 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
26146 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
26148 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
26149 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26151 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
26152 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
26154 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
26155 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
26157 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
26158 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26160 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
26161 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
26163 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
26164 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26166 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
26167 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26169 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
26170 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
26172 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
26173 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26175 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
26176 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26178 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
26179 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
26181 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
26182 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
26184 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
26185 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
26187 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
26188 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
26190 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
26191 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
26193 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
26194 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
26196 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
26197 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
26199 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
26200 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26202 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
26203 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26205 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
26206 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26208 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
26209 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26211 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
26212 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26214 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
26215 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
26217 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
26218 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
26220 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
26221 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26223 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
26224 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
26226 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
26227 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26229 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
26230 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
26232 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
26233 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
26235 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
26236 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26238 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
26239 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26241 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
26242 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26244 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
26245 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
26247 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
26248 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
26250 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
26251 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26253 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
26254 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26256 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
26257 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
26259 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
26260 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26262 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
26263 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26265 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
26266 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26268 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
26269 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
26271 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
26272 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
26274 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
26275 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
26277 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
26278 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
26280 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
26281 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
26283 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
26284 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26286 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
26287 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26289 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
26290 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26292 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
26293 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26295 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
26296 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26298 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
26299 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26301 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
26302 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26304 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
26305 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
26307 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
26308 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
26310 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
26311 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26313 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
26314 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26316 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
26317 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26319 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
26320 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
26322 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
26323 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26325 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
26326 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
26328 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
26329 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
26331 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
26332 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
26334 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
26335 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
26337 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
26338 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26340 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
26341 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
26343 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
26344 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
26346 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
26347 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26349 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
26350 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
26352 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
26353 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26355 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
26356 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26358 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
26359 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26361 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
26362 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
26364 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
26365 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26367 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
26368 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
26370 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
26371 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26373 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
26374 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26376 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
26377 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26379 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26380 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26382 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26383 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26385 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
26386 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
26388 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
26389 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26391 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
26392 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26394 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
26395 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26397 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
26398 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26400 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
26401 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26403 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
26404 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26406 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
26407 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26409 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
26410 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
26412 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
26413 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
26415 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
26416 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
26418 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
26419 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26421 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
26422 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
26424 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
26425 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
26427 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
26428 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
26430 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
26431 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
26433 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
26434 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26436 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
26437 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26439 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
26440 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26442 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
26443 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
26445 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26446 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26448 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26449 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26451 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26452 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26454 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26455 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26457 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26458 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26460 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26461 return (void *)((wxObject
*) ((wxSizer
*) x
));
26463 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26464 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26466 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26467 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26469 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
26470 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26472 static void *_p_wxEventTo_p_wxObject(void *x
) {
26473 return (void *)((wxObject
*) ((wxEvent
*) x
));
26475 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
26476 return (void *)((wxObject
*) ((wxFontData
*) x
));
26478 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
26479 return (void *)((wxObject
*) ((wxPrintData
*) x
));
26481 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26482 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26484 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26485 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26487 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26488 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26490 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
26491 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
26493 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
26494 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
26496 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
26497 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26499 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26500 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26502 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26503 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26505 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26506 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26508 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26509 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26511 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26512 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26514 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26515 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26517 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
26518 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26520 static void *_p_wxControlTo_p_wxObject(void *x
) {
26521 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26523 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26524 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26526 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
26527 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26529 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26530 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26532 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
26533 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
26535 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26536 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26538 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
26539 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26541 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
26542 return (void *)((wxObject
*) ((wxColourData
*) x
));
26544 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26545 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26547 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26548 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26550 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
26551 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
26553 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
26554 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26556 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
26557 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26559 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
26560 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26562 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
26563 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26565 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
26566 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26568 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
26569 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
26571 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
26572 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26574 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
26575 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26577 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
26578 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26580 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26581 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26583 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
26584 return (void *)((wxObject
*) ((wxPrinter
*) x
));
26586 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26587 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26589 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26590 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26592 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26593 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26595 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26596 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26598 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26599 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26601 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26602 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26604 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26605 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26607 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26608 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26610 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26611 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26613 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26614 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26616 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26617 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26619 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26620 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26622 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26623 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26625 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26626 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26628 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26629 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26631 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26632 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26634 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26635 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26637 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26638 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26640 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26641 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26643 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26644 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26646 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26647 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26649 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26650 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26652 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
26653 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26655 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
26656 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26658 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
26659 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26661 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26662 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26664 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
26665 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26667 static void *_p_wxImageTo_p_wxObject(void *x
) {
26668 return (void *)((wxObject
*) ((wxImage
*) x
));
26670 static void *_p_wxFrameTo_p_wxObject(void *x
) {
26671 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26673 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26674 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26676 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26677 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26679 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26680 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26682 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26683 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26685 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26686 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26688 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26689 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26691 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26692 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26694 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26695 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26697 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26698 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26700 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26701 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26703 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26704 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26706 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26707 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26709 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26710 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26712 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26713 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26715 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26716 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26718 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26719 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26721 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26722 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26724 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26725 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26727 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26728 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26730 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26731 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26733 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26734 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26736 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26737 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26739 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26740 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26742 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26743 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26745 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26746 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26748 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26749 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26751 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26752 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26754 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26755 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26757 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26758 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26760 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26761 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26763 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26764 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26766 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26767 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
26769 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26770 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
26772 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26773 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26775 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26776 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26778 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26779 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26781 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26782 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26784 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26785 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26787 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26788 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26790 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26791 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26793 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26794 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26796 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26797 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26799 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26800 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26802 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26803 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26805 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26806 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26808 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26809 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26811 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26812 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26814 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26815 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26817 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26818 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26820 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26821 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26823 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26824 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26826 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26827 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26829 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26830 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26832 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26833 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26835 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
26836 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26838 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26839 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26841 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
26842 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26844 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26845 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26847 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26848 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26850 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26851 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26853 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26854 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26856 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26857 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26859 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26860 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26862 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26863 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26865 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26866 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26868 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26869 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26871 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26872 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26874 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26875 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26877 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26878 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26880 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26881 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
26883 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26884 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26886 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26887 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26889 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26890 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26892 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26893 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26895 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26896 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26898 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26899 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26901 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26902 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26904 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26905 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26907 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26908 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26910 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26911 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26913 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26914 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26916 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26917 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26919 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26920 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26922 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26923 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26925 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
26926 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
26928 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26929 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26931 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26932 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26934 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26935 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26937 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26938 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26940 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26941 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26943 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26944 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26946 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26947 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26949 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26950 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26952 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26953 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26955 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26956 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26958 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26959 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26961 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26962 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26964 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26965 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26967 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26968 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26970 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26971 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26973 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26974 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26976 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26977 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26979 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26980 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26982 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26983 return (void *)((wxWindow
*) ((wxControl
*) x
));
26985 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26986 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26988 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26989 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26991 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26992 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26994 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26995 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26997 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26998 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
27000 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
27001 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
27003 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
27004 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
27006 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
27007 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
27009 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
27010 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
27012 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
27013 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27015 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
27016 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
27018 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
27019 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
27021 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
27022 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
27024 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
27025 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
27027 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
27028 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
27030 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
27031 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
27033 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
27034 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
27036 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
27037 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
27039 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
27040 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
27042 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
27043 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
27045 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
27046 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
27048 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
27049 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
27051 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
27052 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
27054 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
27055 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
27057 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
27058 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
27060 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
27061 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
27063 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
27064 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
27066 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
27067 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
27069 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
27070 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
27072 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
27073 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
27075 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
27076 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
27078 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
27079 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
27081 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
27082 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
27084 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
27085 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
27087 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
27088 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
27090 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
27091 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
27093 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
27094 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
27096 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
27097 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27099 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
27100 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27102 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
27103 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
27105 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
27106 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27108 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
27109 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27111 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
27112 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
27114 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
27115 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27117 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
27118 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27120 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
27121 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
27123 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
27124 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27126 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
27127 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27129 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
27130 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
27132 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
27133 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27135 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}};
27136 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}};
27137 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}};
27138 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}};
27139 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}};
27140 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}};
27141 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}};
27142 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}};
27143 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}};
27144 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}};
27145 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}};
27146 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}};
27147 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}};
27148 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}};
27149 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}};
27150 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}};
27151 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}};
27152 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}};
27153 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}};
27154 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}};
27155 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}};
27156 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}};
27157 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}};
27158 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}};
27159 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}};
27160 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}};
27161 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}};
27162 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}};
27163 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}};
27164 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}};
27165 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}};
27166 static swig_type_info _swigt__p_wxPasswordEntryDialog
[] = {{"_p_wxPasswordEntryDialog", 0, "wxPasswordEntryDialog *", 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27167 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}};
27168 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}};
27169 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}};
27170 static swig_type_info _swigt__p_wxTextEntryDialog
[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTextEntryDialog
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27171 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}};
27172 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}};
27173 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27174 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}};
27175 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}};
27176 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}};
27177 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}};
27178 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}};
27179 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}};
27180 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27181 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}};
27182 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}};
27183 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}};
27184 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}};
27185 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}};
27186 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}};
27187 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27188 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}};
27189 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}};
27190 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}};
27191 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}};
27192 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}};
27193 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}};
27194 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27195 static swig_type_info _swigt__p_wxPopupWindow
[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27196 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}};
27197 static swig_type_info _swigt__p_wxTopLevelWindow
[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27198 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27199 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}};
27200 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}};
27201 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}};
27202 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}};
27203 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}};
27204 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}};
27205 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}};
27206 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}};
27207 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}};
27208 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}};
27209 static swig_type_info _swigt__p_wxDialog
[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 0, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27210 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}};
27211 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}};
27212 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}};
27213 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}};
27214 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}};
27215 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}};
27216 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}};
27217 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}};
27218 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}};
27219 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}};
27220 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}};
27221 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}};
27223 static swig_type_info
*swig_types_initial
[] = {
27224 _swigt__p_wxQueryLayoutInfoEvent
,
27225 _swigt__p_wxPreviewFrame
,
27226 _swigt__p_wxPyPreviewFrame
,
27227 _swigt__p_wxPyPanel
,
27229 _swigt__p_wxFontData
,
27231 _swigt__p_wxPrintData
,
27232 _swigt__p_wxTaskBarIcon
,
27233 _swigt__p_wxPyTaskBarIcon
,
27234 _swigt__p_wxIconBundle
,
27235 _swigt__p_wxLayoutAlgorithm
,
27236 _swigt__p_wxFindDialogEvent
,
27237 _swigt__p_wxPreviewCanvas
,
27239 _swigt__p_wxSplitterEvent
,
27240 _swigt__p_wxRegion
,
27241 _swigt__p_wxFindReplaceData
,
27246 _swigt__p_wxVisualAttributes
,
27247 _swigt__p_wxMDIChildFrame
,
27248 _swigt__p_wxColourData
,
27249 _swigt__p_wxNotifyEvent
,
27250 _swigt__p_wxPyWindow
,
27251 _swigt__p_wxSplashScreen
,
27252 _swigt__p_wxFindReplaceDialog
,
27253 _swigt__p_wxProgressDialog
,
27254 _swigt__p_wxMessageDialog
,
27255 _swigt__p_wxPasswordEntryDialog
,
27256 _swigt__p_wxSingleChoiceDialog
,
27257 _swigt__p_wxMultiChoiceDialog
,
27258 _swigt__p_wxFileDialog
,
27259 _swigt__p_wxTextEntryDialog
,
27260 _swigt__p_wxPrinter
,
27261 _swigt__p_wxArrayInt
,
27262 _swigt__p_wxEvtHandler
,
27263 _swigt__p_wxCalculateLayoutEvent
,
27264 _swigt__p_wxPyHtmlListBox
,
27265 _swigt__p_wxPyVListBox
,
27268 _swigt__p_wxMiniFrame
,
27270 _swigt__p_wxPyPrintout
,
27271 _swigt__p_wxTaskBarIconEvent
,
27272 _swigt__p_wxScrollWinEvent
,
27273 _swigt__p_wxStatusBar
,
27274 _swigt__p_wxMDIParentFrame
,
27276 _swigt__p_wxObject
,
27277 _swigt__p_wxMDIClientWindow
,
27278 _swigt__p_wxTipWindow
,
27279 _swigt__p_wxSashLayoutWindow
,
27280 _swigt__p_wxSplitterWindow
,
27281 _swigt__p_wxSplashScreenWindow
,
27282 _swigt__p_wxPyVScrolledWindow
,
27283 _swigt__p_wxPyPopupTransientWindow
,
27284 _swigt__p_wxPopupWindow
,
27285 _swigt__p_wxSashWindow
,
27286 _swigt__p_wxTopLevelWindow
,
27287 _swigt__p_wxWindow
,
27288 _swigt__p_wxScrolledWindow
,
27289 _swigt__p_wxMenuBar
,
27290 _swigt__p_wxPyScrolledWindow
,
27291 _swigt__p_wxPrintPreview
,
27292 _swigt__p_wxSashEvent
,
27293 _swigt__p_wxString
,
27294 _swigt__p_wxPyPrintPreview
,
27295 _swigt__p_wxFontDialog
,
27296 _swigt__p_wxDirDialog
,
27297 _swigt__p_wxColourDialog
,
27298 _swigt__p_wxDialog
,
27300 _swigt__p_wxPageSetupDialog
,
27301 _swigt__p_wxPrintDialog
,
27302 _swigt__p_wxFileSystem
,
27303 _swigt__p_wxBitmap
,
27304 _swigt__p_wxCommandEvent
,
27305 _swigt__p_wxPreviewControlBar
,
27306 _swigt__p_wxPyPreviewControlBar
,
27307 _swigt__p_wxColour
,
27308 _swigt__p_wxToolBar
,
27309 _swigt__p_wxPageSetupDialogData
,
27310 _swigt__p_wxPrintDialogData
,
27315 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27317 static swig_const_info swig_const_table
[] = {
27318 {0, 0, 0, 0.0, 0, 0}};
27327 SWIGEXPORT(void) SWIG_init(void) {
27328 static PyObject
*SWIG_globals
= 0;
27329 static int typeinit
= 0;
27332 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
27333 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27334 d
= PyModule_GetDict(m
);
27337 for (i
= 0; swig_types_initial
[i
]; i
++) {
27338 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
27342 SWIG_InstallConstants(d
,swig_const_table
);
27344 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
27345 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
27346 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
27347 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
27348 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
27349 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP
));
27350 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)wxICONIZE
));
27351 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE
));
27352 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE
));
27353 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX
));
27354 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME
));
27355 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU
));
27356 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX
));
27357 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX
));
27358 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ
));
27359 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT
));
27360 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX
));
27361 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER
));
27362 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT
));
27363 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE
));
27364 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE
));
27365 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW
));
27366 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT
));
27367 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU
));
27368 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR
));
27369 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED
));
27370 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int((int)wxFRAME_DRAWER
));
27371 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL
));
27372 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS
));
27373 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS
));
27374 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)wxNO_3D
));
27375 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR
));
27376 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR
));
27377 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR
));
27378 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER
));
27379 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION
));
27380 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL
));
27381 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG
));
27382 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO
));
27383 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR
));
27384 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT
));
27385 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN
));
27386 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE
));
27387 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT
));
27388 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT
));
27389 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL
));
27390 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT
));
27391 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED
));
27392 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
27393 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER
));
27394 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH
));
27395 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT
));
27396 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE
));
27397 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH
));
27398 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER
));
27399 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME
));
27400 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER
));
27401 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)wxSP_3D
));
27402 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL
));
27403 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL
));
27404 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE
));
27405 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING
));
27406 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN
));
27407 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
27408 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
27409 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
27410 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
27411 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
27412 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
27413 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE
));
27414 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING
));
27415 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN
));
27416 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER
));
27417 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER
));
27418 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH
));
27419 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER
));
27420 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)wxSW_3D
));
27421 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP
));
27422 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT
));
27423 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM
));
27424 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT
));
27425 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE
));
27426 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK
));
27427 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE
));
27428 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
27429 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL
));
27430 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL
));
27431 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE
));
27432 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP
));
27433 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT
));
27434 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT
));
27435 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM
));
27436 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y
));
27437 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X
));
27438 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH
));
27439 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY
));
27440 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
27441 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
27442 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
27444 // Map renamed classes back to their common name for OOR
27445 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27446 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27447 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27449 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
27450 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
27451 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
27452 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
27453 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
27454 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
27455 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
27456 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
27457 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
27458 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
27459 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
27460 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
27461 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
27462 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE
));
27463 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int((int)wxTextEntryDialogStyle
));
27464 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
27465 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN
));
27466 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD
));
27467 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE
));
27468 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG
));
27469 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN
));
27470 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE
));
27471 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD
));
27472 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
27473 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
27474 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
27475 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
27476 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
27477 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27478 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27479 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27480 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27481 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27482 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27483 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27484 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
27485 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
27486 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
27487 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE
));
27488 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW
));
27489 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE
));
27490 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER
));
27491 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM
));
27492 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)wxPRINTBIN_DEFAULT
));
27493 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)wxPRINTBIN_ONLYONE
));
27494 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)wxPRINTBIN_LOWER
));
27495 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)wxPRINTBIN_MIDDLE
));
27496 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)wxPRINTBIN_MANUAL
));
27497 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)wxPRINTBIN_ENVELOPE
));
27498 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)wxPRINTBIN_ENVMANUAL
));
27499 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)wxPRINTBIN_AUTO
));
27500 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)wxPRINTBIN_TRACTOR
));
27501 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)wxPRINTBIN_SMALLFMT
));
27502 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)wxPRINTBIN_LARGEFMT
));
27503 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)wxPRINTBIN_LARGECAPACITY
));
27504 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)wxPRINTBIN_CASSETTE
));
27505 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)wxPRINTBIN_FORMSOURCE
));
27506 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)wxPRINTBIN_USER
));
27507 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR
));
27508 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED
));
27509 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR
));
27510 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT
));
27511 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS
));
27512 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT
));
27513 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM
));
27514 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST
));
27515 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST
));
27516 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO
));
27517 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT
));
27518 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE
));
27519 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT
));
27520 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS
));
27521 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT
));
27522 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM
));
27523 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST
));
27524 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST
));
27525 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO
));
27527 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");