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_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
210 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
211 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
212 #define SWIGTYPE_p_wxPyPanel swig_types[3]
213 #define SWIGTYPE_p_wxMenu swig_types[4]
214 #define SWIGTYPE_p_wxFontData swig_types[5]
215 #define SWIGTYPE_p_wxEvent swig_types[6]
216 #define SWIGTYPE_p_wxPrintData swig_types[7]
217 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
218 #define SWIGTYPE_p_wxIconBundle swig_types[9]
219 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
220 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
221 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
224 #define SWIGTYPE_p_wxRegion swig_types[15]
225 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
226 #define SWIGTYPE_p_int swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxIcon swig_types[20]
230 #define SWIGTYPE_p_wxVisualAttributes swig_types[21]
231 #define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
232 #define SWIGTYPE_p_wxColourData swig_types[23]
233 #define SWIGTYPE_p_wxNotifyEvent swig_types[24]
234 #define SWIGTYPE_p_wxPyWindow swig_types[25]
235 #define SWIGTYPE_p_wxSplashScreen swig_types[26]
236 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
237 #define SWIGTYPE_p_wxProgressDialog swig_types[28]
238 #define SWIGTYPE_p_wxMessageDialog swig_types[29]
239 #define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
240 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
242 #define SWIGTYPE_p_wxFileDialog swig_types[33]
243 #define SWIGTYPE_p_wxPrinter swig_types[34]
244 #define SWIGTYPE_p_wxArrayInt swig_types[35]
245 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
246 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[37]
247 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[38]
248 #define SWIGTYPE_p_wxPyVListBox swig_types[39]
249 #define SWIGTYPE_p_wxRect swig_types[40]
250 #define SWIGTYPE_p_char swig_types[41]
251 #define SWIGTYPE_p_wxMiniFrame swig_types[42]
252 #define SWIGTYPE_p_wxFrame swig_types[43]
253 #define SWIGTYPE_p_wxPyPrintout swig_types[44]
254 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[45]
255 #define SWIGTYPE_p_wxScrollWinEvent swig_types[46]
256 #define SWIGTYPE_p_wxStatusBar swig_types[47]
257 #define SWIGTYPE_p_wxMDIParentFrame swig_types[48]
258 #define SWIGTYPE_p_wxPoint swig_types[49]
259 #define SWIGTYPE_p_wxObject swig_types[50]
260 #define SWIGTYPE_p_wxOutputStream swig_types[51]
261 #define SWIGTYPE_p_unsigned_long swig_types[52]
262 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[53]
263 #define SWIGTYPE_p_wxMDIClientWindow swig_types[54]
264 #define SWIGTYPE_p_wxTipWindow swig_types[55]
265 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[56]
266 #define SWIGTYPE_p_wxSplitterWindow swig_types[57]
267 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[58]
268 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[59]
269 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[60]
270 #define SWIGTYPE_p_wxPopupWindow swig_types[61]
271 #define SWIGTYPE_p_wxSashWindow swig_types[62]
272 #define SWIGTYPE_p_wxTopLevelWindow swig_types[63]
273 #define SWIGTYPE_p_wxWindow swig_types[64]
274 #define SWIGTYPE_p_wxScrolledWindow swig_types[65]
275 #define SWIGTYPE_p_wxMenuBar swig_types[66]
276 #define SWIGTYPE_p_wxPrintPreview swig_types[67]
277 #define SWIGTYPE_p_wxSashEvent swig_types[68]
278 #define SWIGTYPE_p_wxString swig_types[69]
279 #define SWIGTYPE_p_wxPyPrintPreview swig_types[70]
280 #define SWIGTYPE_p_wxFontDialog swig_types[71]
281 #define SWIGTYPE_p_wxDirDialog swig_types[72]
282 #define SWIGTYPE_p_wxColourDialog swig_types[73]
283 #define SWIGTYPE_p_wxDialog swig_types[74]
284 #define SWIGTYPE_p_wxPanel swig_types[75]
285 #define SWIGTYPE_p_wxPageSetupDialog swig_types[76]
286 #define SWIGTYPE_p_wxPrintDialog swig_types[77]
287 #define SWIGTYPE_p_wxFileSystem swig_types[78]
288 #define SWIGTYPE_p_wxBitmap swig_types[79]
289 #define SWIGTYPE_p_wxCommandEvent swig_types[80]
290 #define SWIGTYPE_p_wxPreviewControlBar swig_types[81]
291 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[82]
292 #define SWIGTYPE_p_wxColour swig_types[83]
293 #define SWIGTYPE_p_wxToolBar swig_types[84]
294 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
295 #define SWIGTYPE_p_wxPrintDialogData swig_types[86]
296 static swig_type_info
*swig_types
[88];
298 /* -------- TYPES TABLE (END) -------- */
301 /*-----------------------------------------------
302 @(target):= _windows_.so
303 ------------------------------------------------*/
304 #define SWIG_init init_windows_
306 #define SWIG_name "_windows_"
308 /* Auxiliar swig macros */
311 #define SWIGSTATICINLINE(a) static inline a
312 #define SWIGSTATIC(a) static a
313 #define swig_new_array(type, size) (new type[(size)])
314 #define swig_delete_array(cptr) delete[] cptr
315 #define swig_const_cast(type,a) const_cast<type>(a)
316 #define swig_static_cast(type,a) static_cast<type>(a)
317 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
319 #ifdef HAVE_NUMERIC_CAST
320 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
322 #define swig_numeric_cast(type,a) static_cast<type>(a)
327 #define SWIGSTATICINLINE(a) static a
328 #define SWIGSTATIC(a) static a
329 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
330 #define swig_delete_array(cptr) free((char*)cptr)
331 #define swig_const_cast(type,a) (type)(a)
332 #define swig_static_cast(type,a) (type)(a)
333 #define swig_reinterpret_cast(type,a) (type)(a)
334 #define swig_numeric_cast(type,a) (type)(a)
336 #endif /* __cplusplus */
339 #define SWIG_FromSignedChar PyInt_FromLong
340 #define SWIG_FromUnsignedChar PyInt_FromLong
341 #define SWIG_FromShort PyInt_FromLong
342 #define SWIG_FromUnsignedShort PyInt_FromLong
343 #define SWIG_FromInt PyInt_FromLong
344 #define SWIG_FromLong PyInt_FromLong
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
347 #define SWIG_FromFloat PyFloat_FromDouble
348 #define SWIG_FromDouble PyFloat_FromDouble
351 #include "wx/wxPython/wxPython.h"
352 #include "wx/wxPython/pyclasses.h"
355 static const wxString
wxPyEmptyString(wxEmptyString
);
356 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value
, const char* type
,
365 long min_value
, long max_value
)
367 if (!PyErr_Occurred()) {
368 if (value
< min_value
) {
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value
, type
, min_value
);
373 PyErr_SetObject(PyExc_OverflowError
, err
);
375 } else if (value
> max_value
) {
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value
, type
, max_value
);
379 PyErr_SetObject(PyExc_OverflowError
, err
);
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject
* obj
)
390 if (PyNumber_Check(obj
))
391 return PyInt_AsLong(obj
);
393 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
394 obj
->ob_type
->tp_name
);
395 PyErr_SetObject(PyExc_TypeError
, errmsg
);
402 #if INT_MAX != LONG_MAX
403 SWIGSTATICINLINE(int)
404 SWIG_AsInt(PyObject
*obj
)
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
408 "int", INT_MIN
, INT_MAX
));
411 #define SWIG_AsInt SWIG_AsLong
415 SWIGSTATICINLINE(int)
416 SWIG_CheckInt(PyObject
* obj
)
419 if (PyErr_Occurred()) {
428 SWIGSTATICINLINE(int)
429 SWIG_CheckLong(PyObject
* obj
)
432 if (PyErr_Occurred()) {
441 SWIGSTATICINLINE(bool)
442 SWIG_AsBool(PyObject
*obj
)
444 return PyObject_IsTrue(obj
) ? true : false;
448 SWIGSTATICINLINE(int)
449 SWIG_CheckBool(PyObject
* obj
)
452 if (PyErr_Occurred()) {
461 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
467 } else if (target
== Py_None
) {
471 if (!PyTuple_Check(target
)) {
473 target
= PyTuple_New(1);
474 PyTuple_SetItem(target
, 0, o2
);
477 PyTuple_SetItem(o3
, 0, o
);
480 target
= PySequence_Concat(o2
, o3
);
488 SWIGSTATICINLINE(double)
489 SWIG_AsDouble(PyObject
*obj
)
491 if (PyNumber_Check(obj
))
492 return PyFloat_AsDouble(obj
);
494 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
495 obj
->ob_type
->tp_name
);
496 PyErr_SetObject(PyExc_TypeError
, errmsg
);
503 SWIGSTATICINLINE(int)
504 SWIG_CheckDouble(PyObject
* obj
)
507 if (PyErr_Occurred()) {
515 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
516 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
517 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
518 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
521 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
523 self
->GetFieldRect(i
, r
);
526 static const wxString
wxPySplitterNameStr(wxT("splitter"));
527 static const wxString
wxPySashNameStr(wxT("sashWindow"));
528 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
530 #include <wx/popupwin.h>
533 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
536 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
537 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
538 : wxPopupTransientWindow(parent
, style
) {}
540 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
541 DEC_PYCALLBACK__(OnDismiss
);
542 DEC_PYCALLBACK_BOOL_(CanDismiss
);
547 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
548 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
549 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
552 #include <wx/tipwin.h>
554 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
555 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
558 #include <wx/tipwin.h>
561 #include <wx/vscroll.h>
564 class wxPyVScrolledWindow
: public wxVScrolledWindow
566 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
568 wxPyVScrolledWindow() : wxVScrolledWindow() {}
570 wxPyVScrolledWindow(wxWindow
*parent
,
571 wxWindowID id
= wxID_ANY
,
572 const wxPoint
& pos
= wxDefaultPosition
,
573 const wxSize
& size
= wxDefaultSize
,
575 const wxString
& name
= wxPyPanelNameStr
)
576 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
579 // Overridable virtuals
581 // this function must be overridden in the derived class and it should
582 // return the height of the given line in pixels
583 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
586 // this function doesn't have to be overridden but it may be useful to do
587 // it if calculating the lines heights is a relatively expensive operation
588 // as it gives the user code a possibility to calculate several of them at
591 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
592 // shouldn't rely on the latter being called for all lines in the interval
593 // specified here. It is also possible that OnGetLineHeight() will be
594 // called for the lines outside of this interval, so this is really just a
595 // hint, not a promise.
597 // finally note that lineMin is inclusive, while lineMax is exclusive, as
599 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
602 // when the number of lines changes, we try to estimate the total height
603 // of all lines which is a rather expensive operation in terms of lines
604 // access, so if the user code may estimate the average height
605 // better/faster than we do, it should override this function to implement
608 // this function should return the best guess for the total height it may
610 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
613 // Also expose some other interesting protected methods
616 // find the index of the line we need to show at the top of the window such
617 // that the last (fully or partially) visible line is the given one
618 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
619 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
621 // get the total height of the lines between lineMin (inclusive) and
622 // lineMax (exclusive)
623 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
624 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
630 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
632 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
633 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
634 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
637 SWIGSTATICINLINE(unsigned long)
638 SWIG_AsUnsignedLong(PyObject
* obj
)
640 if (PyLong_Check(obj
)) {
641 return PyLong_AsUnsignedLong(obj
);
643 long i
= SWIG_AsLong(obj
);
644 if ( !PyErr_Occurred() && (i
< 0)) {
645 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
652 SWIGSTATICINLINE(int)
653 SWIG_CheckUnsignedLong(PyObject
* obj
)
655 SWIG_AsUnsignedLong(obj
);
656 if (PyErr_Occurred()) {
665 SWIGSTATICINLINE(PyObject
* )
666 SWIG_FromUnsignedLong(unsigned long value
)
668 return (value
> LONG_MAX
) ?
669 PyLong_FromUnsignedLong(value
)
670 : PyInt_FromLong(swig_numeric_cast(long,value
));
674 #include <wx/vlbox.h>
676 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
678 class wxPyVListBox
: public wxVListBox
680 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
682 wxPyVListBox() : wxVListBox() {}
684 wxPyVListBox(wxWindow
*parent
,
685 wxWindowID id
= wxID_ANY
,
686 const wxPoint
& pos
= wxDefaultPosition
,
687 const wxSize
& size
= wxDefaultSize
,
689 const wxString
& name
= wxPyVListBoxNameStr
)
690 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
693 // Overridable virtuals
695 // the derived class must implement this function to actually draw the item
696 // with the given index on the provided DC
697 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
698 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
701 // the derived class must implement this method to return the height of the
703 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
704 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
707 // this method may be used to draw separators between the lines; note that
708 // the rectangle may be modified, typically to deflate it a bit before
709 // passing to OnDrawItem()
711 // the base class version doesn't do anything
712 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
713 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
716 // this method is used to draw the items background and, maybe, a border
719 // the base class version implements a reasonable default behaviour which
720 // consists in drawing the selected item with the standard background
721 // colour and drawing a border around the item if it is either selected or
723 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
724 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
730 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
732 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
733 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
734 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
735 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
739 #include <wx/htmllbox.h>
742 class wxPyHtmlListBox
: public wxHtmlListBox
744 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
746 wxPyHtmlListBox() : wxHtmlListBox() {}
748 wxPyHtmlListBox(wxWindow
*parent
,
749 wxWindowID id
= wxID_ANY
,
750 const wxPoint
& pos
= wxDefaultPosition
,
751 const wxSize
& size
= wxDefaultSize
,
753 const wxString
& name
= wxPyVListBoxNameStr
)
754 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
757 // Overridable virtuals
759 // this method must be implemented in the derived class and should return
760 // the body (i.e. without <html>) of the HTML for the given item
761 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
763 // this function may be overridden to decorate HTML returned by OnGetItem()
764 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
767 // // this method allows to customize the selection appearance: it may be used
768 // // to specify the colour of the text which normally has the given colour
769 // // colFg when it is inside the selection
771 // // by default, the original colour is not used at all and all text has the
772 // // same (default for this system) colour inside selection
773 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
775 // // this is the same as GetSelectedTextColour() but allows to customize the
776 // // background colour -- this is even more rarely used as you can change it
777 // // globally using SetSelectionBackground()
778 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
785 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
787 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
788 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
795 // implement dummy classes and such for wxMac
797 class wxTaskBarIcon
: public wxEvtHandler
800 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
804 class wxTaskBarIconEvent
: public wxEvent
807 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
808 { wxPyRaiseNotImplemented(); }
809 virtual wxEvent
* Clone() const { return NULL
; }
813 wxEVT_TASKBAR_MOVE
= 0,
814 wxEVT_TASKBAR_LEFT_DOWN
= 0,
815 wxEVT_TASKBAR_LEFT_UP
= 0,
816 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
817 wxEVT_TASKBAR_RIGHT_UP
= 0,
818 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
819 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
823 void wxTaskBarIcon_Destroy(wxTaskBarIcon
*self
){
828 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
829 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
830 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
831 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
832 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
833 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
834 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
836 self
->GetFilenames(arr
);
837 return wxArrayString2PyList_helper(arr
);
839 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
842 return wxArrayString2PyList_helper(arr
);
844 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
845 return wxArrayInt2PyList_helper(self
->GetSelections());
847 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
848 return new wxSingleChoiceDialog(parent
, message
, caption
,
849 choices
, choices_array
, NULL
, style
, pos
);
854 // C++ version of Python aware wxWindow
855 class wxPyWindow
: public wxWindow
857 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
859 wxPyWindow() : wxWindow() {}
860 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
861 const wxPoint
& pos
= wxDefaultPosition
,
862 const wxSize
& size
= wxDefaultSize
,
864 const wxString
& name
= wxPyPanelNameStr
)
865 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
867 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
869 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
870 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
871 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
872 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
874 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
875 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
876 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
878 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
879 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
881 DEC_PYCALLBACK__(InitDialog
);
882 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
883 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
884 DEC_PYCALLBACK_BOOL_(Validate
);
886 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
887 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
888 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
890 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
891 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
893 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
894 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
895 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
900 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
902 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
903 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
904 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
905 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
907 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
908 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
909 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
911 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
912 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
914 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
915 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
916 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
917 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
919 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
920 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
921 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
923 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
924 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
926 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
927 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
928 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
931 // C++ version of Python aware wxPanel
932 class wxPyPanel
: public wxPanel
934 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
936 wxPyPanel() : wxPanel() {}
937 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
938 const wxPoint
& pos
= wxDefaultPosition
,
939 const wxSize
& size
= wxDefaultSize
,
941 const wxString
& name
= wxPyPanelNameStr
)
942 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
944 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
947 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
948 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
949 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
950 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
952 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
953 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
954 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
956 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
957 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
959 DEC_PYCALLBACK__(InitDialog
);
960 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
961 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
962 DEC_PYCALLBACK_BOOL_(Validate
);
964 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
965 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
966 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
968 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
969 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
971 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
972 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
973 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
978 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
980 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
981 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
982 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
983 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
985 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
986 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
987 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
989 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
990 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
992 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
993 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
994 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
995 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
997 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
998 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
999 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
1001 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
1002 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
1004 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
1005 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
1006 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
1009 // C++ version of Python aware wxScrolledWindow
1010 class wxPyScrolledWindow
: public wxScrolledWindow
1012 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1014 wxPyScrolledWindow() : wxScrolledWindow() {}
1015 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1016 const wxPoint
& pos
= wxDefaultPosition
,
1017 const wxSize
& size
= wxDefaultSize
,
1019 const wxString
& name
= wxPyPanelNameStr
)
1020 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1022 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
1024 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1025 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1026 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1027 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1029 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1030 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1031 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1033 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1034 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1036 DEC_PYCALLBACK__(InitDialog
);
1037 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1038 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1039 DEC_PYCALLBACK_BOOL_(Validate
);
1041 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1042 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1043 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1045 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1046 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1048 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1049 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1050 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1055 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1057 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1058 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1059 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1060 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1062 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1063 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1064 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1066 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1067 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1069 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1070 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1071 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1072 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1074 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1075 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1076 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1078 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1079 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1081 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1082 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1083 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
1087 #include "wx/wxPython/printfw.h"
1090 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1091 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1095 // Since this one would be tough and ugly to do with the Macros...
1096 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1097 bool hadErr
= False
;
1100 bool blocked
= wxPyBeginBlockThreads();
1101 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1102 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1103 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1106 val
= PyTuple_GetItem(result
, 0);
1107 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1110 val
= PyTuple_GetItem(result
, 1);
1111 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1114 val
= PyTuple_GetItem(result
, 2);
1115 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1118 val
= PyTuple_GetItem(result
, 3);
1119 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1126 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1131 wxPyEndBlockThreads(blocked
);
1133 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1136 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1137 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1141 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1142 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1143 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1144 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1145 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1146 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1147 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1153 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1154 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1155 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1158 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1159 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1162 bool blocked = wxPyBeginBlockThreads(); \
1163 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1164 PyObject* win = wxPyMake_wxObject(a); \
1165 PyObject* dc = wxPyMake_wxObject(&b); \
1166 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1170 wxPyEndBlockThreads(blocked); \
1172 rval = PCLASS::CBNAME(a, b); \
1175 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1176 return PCLASS::CBNAME(a, b); \
1182 class wxPyPrintPreview
: public wxPrintPreview
1184 DECLARE_CLASS(wxPyPrintPreview
)
1186 wxPyPrintPreview(wxPyPrintout
* printout
,
1187 wxPyPrintout
* printoutForPrinting
,
1188 wxPrintDialogData
* data
=NULL
)
1189 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1191 wxPyPrintPreview(wxPyPrintout
* printout
,
1192 wxPyPrintout
* printoutForPrinting
,
1193 wxPrintData
* data
=NULL
)
1194 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1197 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1198 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1199 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1200 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1201 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1202 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1203 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1208 // Stupid renamed classes... Fix this in 2.5...
1209 #if defined(__WXMSW__)
1210 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1211 #elif defined(__WXMAC__)
1212 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1214 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1217 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1218 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1219 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1220 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1221 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1222 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1223 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1226 class wxPyPreviewFrame
: public wxPreviewFrame
1228 DECLARE_CLASS(wxPyPreviewFrame
);
1230 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1231 const wxString
& title
,
1232 const wxPoint
& pos
= wxDefaultPosition
,
1233 const wxSize
& size
= wxDefaultSize
,
1234 long style
= wxDEFAULT_FRAME_STYLE
,
1235 const wxString
& name
= wxPyFrameNameStr
)
1236 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1239 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1240 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1242 DEC_PYCALLBACK_VOID_(Initialize
);
1243 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1244 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1249 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1251 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1252 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1253 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1256 class wxPyPreviewControlBar
: public wxPreviewControlBar
1258 DECLARE_CLASS(wxPyPreviewControlBar
);
1260 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1263 const wxPoint
& pos
= wxDefaultPosition
,
1264 const wxSize
& size
= wxDefaultSize
,
1266 const wxString
& name
= wxPyPanelNameStr
)
1267 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1270 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1272 DEC_PYCALLBACK_VOID_(CreateButtons
);
1273 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1278 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1279 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1280 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1285 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1286 PyObject
*resultobj
;
1287 wxWindow
*arg1
= (wxWindow
*) 0 ;
1288 int arg2
= (int) (int)-1 ;
1289 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1290 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1291 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1292 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1293 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1294 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1295 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1299 bool temp6
= False
;
1300 PyObject
* obj0
= 0 ;
1301 PyObject
* obj1
= 0 ;
1302 PyObject
* obj2
= 0 ;
1303 PyObject
* obj3
= 0 ;
1304 PyObject
* obj4
= 0 ;
1305 PyObject
* obj5
= 0 ;
1307 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1314 arg2
= (int const) SWIG_AsInt(obj1
);
1315 if (PyErr_Occurred()) SWIG_fail
;
1320 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1326 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1330 arg5
= (long) SWIG_AsLong(obj4
);
1331 if (PyErr_Occurred()) SWIG_fail
;
1335 arg6
= wxString_in_helper(obj5
);
1336 if (arg6
== NULL
) SWIG_fail
;
1341 if (!wxPyCheckForApp()) SWIG_fail
;
1342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1343 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1345 wxPyEndAllowThreads(__tstate
);
1346 if (PyErr_Occurred()) SWIG_fail
;
1349 resultobj
= wxPyMake_wxObject(result
);
1365 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1366 PyObject
*resultobj
;
1372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1374 if (!wxPyCheckForApp()) SWIG_fail
;
1375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1376 result
= (wxPanel
*)new wxPanel();
1378 wxPyEndAllowThreads(__tstate
);
1379 if (PyErr_Occurred()) SWIG_fail
;
1382 resultobj
= wxPyMake_wxObject(result
);
1390 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1391 PyObject
*resultobj
;
1392 wxPanel
*arg1
= (wxPanel
*) 0 ;
1393 wxWindow
*arg2
= (wxWindow
*) 0 ;
1394 int arg3
= (int) (int)-1 ;
1395 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1396 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1397 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1398 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1399 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1400 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1401 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1405 bool temp7
= False
;
1406 PyObject
* obj0
= 0 ;
1407 PyObject
* obj1
= 0 ;
1408 PyObject
* obj2
= 0 ;
1409 PyObject
* obj3
= 0 ;
1410 PyObject
* obj4
= 0 ;
1411 PyObject
* obj5
= 0 ;
1412 PyObject
* obj6
= 0 ;
1414 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1423 arg3
= (int const) SWIG_AsInt(obj2
);
1424 if (PyErr_Occurred()) SWIG_fail
;
1429 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1435 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1439 arg6
= (long) SWIG_AsLong(obj5
);
1440 if (PyErr_Occurred()) SWIG_fail
;
1444 arg7
= wxString_in_helper(obj6
);
1445 if (arg7
== NULL
) SWIG_fail
;
1450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1451 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1453 wxPyEndAllowThreads(__tstate
);
1454 if (PyErr_Occurred()) SWIG_fail
;
1457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1473 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1474 PyObject
*resultobj
;
1475 wxPanel
*arg1
= (wxPanel
*) 0 ;
1476 PyObject
* obj0
= 0 ;
1478 (char *) "self", NULL
1481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1486 (arg1
)->InitDialog();
1488 wxPyEndAllowThreads(__tstate
);
1489 if (PyErr_Occurred()) SWIG_fail
;
1491 Py_INCREF(Py_None
); resultobj
= Py_None
;
1498 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1499 PyObject
*resultobj
;
1500 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1501 wxVisualAttributes result
;
1502 PyObject
* obj0
= 0 ;
1504 (char *) "variant", NULL
1507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1509 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1510 if (PyErr_Occurred()) SWIG_fail
;
1513 if (!wxPyCheckForApp()) SWIG_fail
;
1514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1515 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1517 wxPyEndAllowThreads(__tstate
);
1518 if (PyErr_Occurred()) SWIG_fail
;
1521 wxVisualAttributes
* resultptr
;
1522 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1523 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1531 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1533 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1534 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1536 return Py_BuildValue((char *)"");
1538 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1539 PyObject
*resultobj
;
1540 wxWindow
*arg1
= (wxWindow
*) 0 ;
1541 int arg2
= (int) (int)-1 ;
1542 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1543 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1544 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1545 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1546 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1547 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1548 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1549 wxScrolledWindow
*result
;
1552 bool temp6
= False
;
1553 PyObject
* obj0
= 0 ;
1554 PyObject
* obj1
= 0 ;
1555 PyObject
* obj2
= 0 ;
1556 PyObject
* obj3
= 0 ;
1557 PyObject
* obj4
= 0 ;
1558 PyObject
* obj5
= 0 ;
1560 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1567 arg2
= (int const) SWIG_AsInt(obj1
);
1568 if (PyErr_Occurred()) SWIG_fail
;
1573 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1579 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1583 arg5
= (long) SWIG_AsLong(obj4
);
1584 if (PyErr_Occurred()) SWIG_fail
;
1588 arg6
= wxString_in_helper(obj5
);
1589 if (arg6
== NULL
) SWIG_fail
;
1594 if (!wxPyCheckForApp()) SWIG_fail
;
1595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1596 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1598 wxPyEndAllowThreads(__tstate
);
1599 if (PyErr_Occurred()) SWIG_fail
;
1601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1616 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
*resultobj
;
1618 wxScrolledWindow
*result
;
1623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1625 if (!wxPyCheckForApp()) SWIG_fail
;
1626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1627 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1629 wxPyEndAllowThreads(__tstate
);
1630 if (PyErr_Occurred()) SWIG_fail
;
1632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1639 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1640 PyObject
*resultobj
;
1641 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1642 wxWindow
*arg2
= (wxWindow
*) 0 ;
1643 int arg3
= (int) (int)-1 ;
1644 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1645 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1646 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1647 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1648 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1649 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1650 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1654 bool temp7
= False
;
1655 PyObject
* obj0
= 0 ;
1656 PyObject
* obj1
= 0 ;
1657 PyObject
* obj2
= 0 ;
1658 PyObject
* obj3
= 0 ;
1659 PyObject
* obj4
= 0 ;
1660 PyObject
* obj5
= 0 ;
1661 PyObject
* obj6
= 0 ;
1663 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1669 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1672 arg3
= (int const) SWIG_AsInt(obj2
);
1673 if (PyErr_Occurred()) SWIG_fail
;
1678 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1684 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1688 arg6
= (long) SWIG_AsLong(obj5
);
1689 if (PyErr_Occurred()) SWIG_fail
;
1693 arg7
= wxString_in_helper(obj6
);
1694 if (arg7
== NULL
) SWIG_fail
;
1699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1700 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1702 wxPyEndAllowThreads(__tstate
);
1703 if (PyErr_Occurred()) SWIG_fail
;
1706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1722 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1723 PyObject
*resultobj
;
1724 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1729 int arg6
= (int) 0 ;
1730 int arg7
= (int) 0 ;
1731 bool arg8
= (bool) False
;
1732 PyObject
* obj0
= 0 ;
1733 PyObject
* obj1
= 0 ;
1734 PyObject
* obj2
= 0 ;
1735 PyObject
* obj3
= 0 ;
1736 PyObject
* obj4
= 0 ;
1737 PyObject
* obj5
= 0 ;
1738 PyObject
* obj6
= 0 ;
1739 PyObject
* obj7
= 0 ;
1741 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1747 arg2
= (int) SWIG_AsInt(obj1
);
1748 if (PyErr_Occurred()) SWIG_fail
;
1749 arg3
= (int) SWIG_AsInt(obj2
);
1750 if (PyErr_Occurred()) SWIG_fail
;
1751 arg4
= (int) SWIG_AsInt(obj3
);
1752 if (PyErr_Occurred()) SWIG_fail
;
1753 arg5
= (int) SWIG_AsInt(obj4
);
1754 if (PyErr_Occurred()) SWIG_fail
;
1756 arg6
= (int) SWIG_AsInt(obj5
);
1757 if (PyErr_Occurred()) SWIG_fail
;
1760 arg7
= (int) SWIG_AsInt(obj6
);
1761 if (PyErr_Occurred()) SWIG_fail
;
1764 arg8
= (bool) SWIG_AsBool(obj7
);
1765 if (PyErr_Occurred()) SWIG_fail
;
1768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1769 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1771 wxPyEndAllowThreads(__tstate
);
1772 if (PyErr_Occurred()) SWIG_fail
;
1774 Py_INCREF(Py_None
); resultobj
= Py_None
;
1781 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
*resultobj
;
1783 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1786 PyObject
* obj0
= 0 ;
1787 PyObject
* obj1
= 0 ;
1788 PyObject
* obj2
= 0 ;
1790 (char *) "self",(char *) "x",(char *) "y", NULL
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1796 arg2
= (int) SWIG_AsInt(obj1
);
1797 if (PyErr_Occurred()) SWIG_fail
;
1798 arg3
= (int) SWIG_AsInt(obj2
);
1799 if (PyErr_Occurred()) SWIG_fail
;
1801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1802 (arg1
)->Scroll(arg2
,arg3
);
1804 wxPyEndAllowThreads(__tstate
);
1805 if (PyErr_Occurred()) SWIG_fail
;
1807 Py_INCREF(Py_None
); resultobj
= Py_None
;
1814 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1815 PyObject
*resultobj
;
1816 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1819 PyObject
* obj0
= 0 ;
1820 PyObject
* obj1
= 0 ;
1822 (char *) "self",(char *) "orient", NULL
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1828 arg2
= (int) SWIG_AsInt(obj1
);
1829 if (PyErr_Occurred()) SWIG_fail
;
1831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1832 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1834 wxPyEndAllowThreads(__tstate
);
1835 if (PyErr_Occurred()) SWIG_fail
;
1837 resultobj
= SWIG_FromInt((int)result
);
1844 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1845 PyObject
*resultobj
;
1846 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1849 PyObject
* obj0
= 0 ;
1850 PyObject
* obj1
= 0 ;
1851 PyObject
* obj2
= 0 ;
1853 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1859 arg2
= (int) SWIG_AsInt(obj1
);
1860 if (PyErr_Occurred()) SWIG_fail
;
1861 arg3
= (int) SWIG_AsInt(obj2
);
1862 if (PyErr_Occurred()) SWIG_fail
;
1864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1865 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1867 wxPyEndAllowThreads(__tstate
);
1868 if (PyErr_Occurred()) SWIG_fail
;
1870 Py_INCREF(Py_None
); resultobj
= Py_None
;
1877 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1878 PyObject
*resultobj
;
1879 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1882 PyObject
* obj0
= 0 ;
1883 PyObject
* obj1
= 0 ;
1884 PyObject
* obj2
= 0 ;
1886 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1892 arg2
= (int) SWIG_AsInt(obj1
);
1893 if (PyErr_Occurred()) SWIG_fail
;
1894 arg3
= (int) SWIG_AsInt(obj2
);
1895 if (PyErr_Occurred()) SWIG_fail
;
1897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1898 (arg1
)->SetScrollRate(arg2
,arg3
);
1900 wxPyEndAllowThreads(__tstate
);
1901 if (PyErr_Occurred()) SWIG_fail
;
1903 Py_INCREF(Py_None
); resultobj
= Py_None
;
1910 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
*resultobj
;
1912 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1913 int *arg2
= (int *) 0 ;
1914 int *arg3
= (int *) 0 ;
1917 PyObject
* obj0
= 0 ;
1919 (char *) "self", NULL
1924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1929 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1931 wxPyEndAllowThreads(__tstate
);
1932 if (PyErr_Occurred()) SWIG_fail
;
1934 Py_INCREF(Py_None
); resultobj
= Py_None
;
1936 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1937 resultobj
= t_output_helper(resultobj
,o
);
1940 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1941 resultobj
= t_output_helper(resultobj
,o
);
1949 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, 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_scrolling",(char *) "y_scrolling", NULL
1961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",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
= (bool) SWIG_AsBool(obj1
);
1965 if (PyErr_Occurred()) SWIG_fail
;
1966 arg3
= (bool) SWIG_AsBool(obj2
);
1967 if (PyErr_Occurred()) SWIG_fail
;
1969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1970 (arg1
)->EnableScrolling(arg2
,arg3
);
1972 wxPyEndAllowThreads(__tstate
);
1973 if (PyErr_Occurred()) SWIG_fail
;
1975 Py_INCREF(Py_None
); resultobj
= Py_None
;
1982 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1983 PyObject
*resultobj
;
1984 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1985 int *arg2
= (int *) 0 ;
1986 int *arg3
= (int *) 0 ;
1989 PyObject
* obj0
= 0 ;
1991 (char *) "self", NULL
1996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2001 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
2003 wxPyEndAllowThreads(__tstate
);
2004 if (PyErr_Occurred()) SWIG_fail
;
2006 Py_INCREF(Py_None
); resultobj
= Py_None
;
2008 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2009 resultobj
= t_output_helper(resultobj
,o
);
2012 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
2013 resultobj
= t_output_helper(resultobj
,o
);
2021 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2022 PyObject
*resultobj
;
2023 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2026 PyObject
* obj0
= 0 ;
2027 PyObject
* obj1
= 0 ;
2028 PyObject
* obj2
= 0 ;
2030 (char *) "self",(char *) "xs",(char *) "ys", NULL
2033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2036 arg2
= (double) SWIG_AsDouble(obj1
);
2037 if (PyErr_Occurred()) SWIG_fail
;
2038 arg3
= (double) SWIG_AsDouble(obj2
);
2039 if (PyErr_Occurred()) SWIG_fail
;
2041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2042 (arg1
)->SetScale(arg2
,arg3
);
2044 wxPyEndAllowThreads(__tstate
);
2045 if (PyErr_Occurred()) SWIG_fail
;
2047 Py_INCREF(Py_None
); resultobj
= Py_None
;
2054 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2055 PyObject
*resultobj
;
2056 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2058 PyObject
* obj0
= 0 ;
2060 (char *) "self", NULL
2063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2068 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2070 wxPyEndAllowThreads(__tstate
);
2071 if (PyErr_Occurred()) SWIG_fail
;
2073 resultobj
= SWIG_FromDouble((double)result
);
2080 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2081 PyObject
*resultobj
;
2082 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2084 PyObject
* obj0
= 0 ;
2086 (char *) "self", NULL
2089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2094 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2096 wxPyEndAllowThreads(__tstate
);
2097 if (PyErr_Occurred()) SWIG_fail
;
2099 resultobj
= SWIG_FromDouble((double)result
);
2106 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2107 PyObject
*resultobj
;
2108 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2112 PyObject
* obj0
= 0 ;
2113 PyObject
* obj1
= 0 ;
2115 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2120 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2124 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2126 wxPyEndAllowThreads(__tstate
);
2127 if (PyErr_Occurred()) SWIG_fail
;
2130 wxPoint
* resultptr
;
2131 resultptr
= new wxPoint((wxPoint
&) result
);
2132 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2140 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2141 PyObject
*resultobj
;
2142 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2145 int *arg4
= (int *) 0 ;
2146 int *arg5
= (int *) 0 ;
2149 PyObject
* obj0
= 0 ;
2150 PyObject
* obj1
= 0 ;
2151 PyObject
* obj2
= 0 ;
2155 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2158 arg2
= (int) SWIG_AsInt(obj1
);
2159 if (PyErr_Occurred()) SWIG_fail
;
2160 arg3
= (int) SWIG_AsInt(obj2
);
2161 if (PyErr_Occurred()) SWIG_fail
;
2163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2164 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2166 wxPyEndAllowThreads(__tstate
);
2167 if (PyErr_Occurred()) SWIG_fail
;
2169 Py_INCREF(Py_None
); resultobj
= Py_None
;
2171 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2172 resultobj
= t_output_helper(resultobj
,o
);
2175 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2176 resultobj
= t_output_helper(resultobj
,o
);
2184 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2189 argc
= PyObject_Length(args
);
2190 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2191 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2197 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2206 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2209 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2217 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2225 _v
= SWIG_CheckInt(argv
[1]);
2227 _v
= SWIG_CheckInt(argv
[2]);
2229 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2235 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2240 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2241 PyObject
*resultobj
;
2242 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2246 PyObject
* obj0
= 0 ;
2247 PyObject
* obj1
= 0 ;
2249 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2254 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2258 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2260 wxPyEndAllowThreads(__tstate
);
2261 if (PyErr_Occurred()) SWIG_fail
;
2264 wxPoint
* resultptr
;
2265 resultptr
= new wxPoint((wxPoint
&) result
);
2266 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2274 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2275 PyObject
*resultobj
;
2276 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2279 int *arg4
= (int *) 0 ;
2280 int *arg5
= (int *) 0 ;
2283 PyObject
* obj0
= 0 ;
2284 PyObject
* obj1
= 0 ;
2285 PyObject
* obj2
= 0 ;
2289 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2292 arg2
= (int) SWIG_AsInt(obj1
);
2293 if (PyErr_Occurred()) SWIG_fail
;
2294 arg3
= (int) SWIG_AsInt(obj2
);
2295 if (PyErr_Occurred()) SWIG_fail
;
2297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2298 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2300 wxPyEndAllowThreads(__tstate
);
2301 if (PyErr_Occurred()) SWIG_fail
;
2303 Py_INCREF(Py_None
); resultobj
= Py_None
;
2305 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2306 resultobj
= t_output_helper(resultobj
,o
);
2309 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2310 resultobj
= t_output_helper(resultobj
,o
);
2318 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2323 argc
= PyObject_Length(args
);
2324 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2325 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2331 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2340 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2343 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2351 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2359 _v
= SWIG_CheckInt(argv
[1]);
2361 _v
= SWIG_CheckInt(argv
[2]);
2363 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2369 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2374 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2375 PyObject
*resultobj
;
2376 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2377 PyObject
* obj0
= 0 ;
2379 (char *) "self", NULL
2382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2387 (arg1
)->AdjustScrollbars();
2389 wxPyEndAllowThreads(__tstate
);
2390 if (PyErr_Occurred()) SWIG_fail
;
2392 Py_INCREF(Py_None
); resultobj
= Py_None
;
2399 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2400 PyObject
*resultobj
;
2401 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2402 wxScrollWinEvent
*arg2
= 0 ;
2404 PyObject
* obj0
= 0 ;
2405 PyObject
* obj1
= 0 ;
2407 (char *) "self",(char *) "event", NULL
2410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2414 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2417 PyErr_SetString(PyExc_TypeError
,"null reference");
2421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2422 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2424 wxPyEndAllowThreads(__tstate
);
2425 if (PyErr_Occurred()) SWIG_fail
;
2427 resultobj
= SWIG_FromInt((int)result
);
2434 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2435 PyObject
*resultobj
;
2436 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2437 wxWindow
*arg2
= (wxWindow
*) 0 ;
2438 PyObject
* obj0
= 0 ;
2439 PyObject
* obj1
= 0 ;
2441 (char *) "self",(char *) "target", NULL
2444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2451 (arg1
)->SetTargetWindow(arg2
);
2453 wxPyEndAllowThreads(__tstate
);
2454 if (PyErr_Occurred()) SWIG_fail
;
2456 Py_INCREF(Py_None
); resultobj
= Py_None
;
2463 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2464 PyObject
*resultobj
;
2465 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2467 PyObject
* obj0
= 0 ;
2469 (char *) "self", NULL
2472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2477 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2479 wxPyEndAllowThreads(__tstate
);
2480 if (PyErr_Occurred()) SWIG_fail
;
2483 resultobj
= wxPyMake_wxObject(result
);
2491 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2492 PyObject
*resultobj
;
2493 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2496 PyObject
* obj0
= 0 ;
2497 PyObject
* obj1
= 0 ;
2499 (char *) "self",(char *) "rect", NULL
2502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2507 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2511 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2513 wxPyEndAllowThreads(__tstate
);
2514 if (PyErr_Occurred()) SWIG_fail
;
2516 Py_INCREF(Py_None
); resultobj
= Py_None
;
2523 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2524 PyObject
*resultobj
;
2525 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2527 PyObject
* obj0
= 0 ;
2529 (char *) "self", NULL
2532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2537 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2539 wxPyEndAllowThreads(__tstate
);
2540 if (PyErr_Occurred()) SWIG_fail
;
2544 resultptr
= new wxRect((wxRect
&) result
);
2545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2553 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2554 PyObject
*resultobj
;
2555 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2556 wxVisualAttributes result
;
2557 PyObject
* obj0
= 0 ;
2559 (char *) "variant", NULL
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2564 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2565 if (PyErr_Occurred()) SWIG_fail
;
2568 if (!wxPyCheckForApp()) SWIG_fail
;
2569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2570 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2572 wxPyEndAllowThreads(__tstate
);
2573 if (PyErr_Occurred()) SWIG_fail
;
2576 wxVisualAttributes
* resultptr
;
2577 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2586 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2589 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2591 return Py_BuildValue((char *)"");
2593 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2594 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2599 static PyObject
*_wrap_FrameNameStr_get() {
2604 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2606 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2613 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2614 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2619 static PyObject
*_wrap_DialogNameStr_get() {
2624 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2626 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2633 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2634 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2639 static PyObject
*_wrap_StatusLineNameStr_get() {
2644 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2646 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2653 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2654 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2659 static PyObject
*_wrap_ToolBarNameStr_get() {
2664 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2666 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2673 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2674 PyObject
*resultobj
;
2675 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2676 bool arg2
= (bool) True
;
2677 PyObject
* obj0
= 0 ;
2678 PyObject
* obj1
= 0 ;
2680 (char *) "self",(char *) "maximize", NULL
2683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2687 arg2
= (bool) SWIG_AsBool(obj1
);
2688 if (PyErr_Occurred()) SWIG_fail
;
2691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2692 (arg1
)->Maximize(arg2
);
2694 wxPyEndAllowThreads(__tstate
);
2695 if (PyErr_Occurred()) SWIG_fail
;
2697 Py_INCREF(Py_None
); resultobj
= Py_None
;
2704 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2705 PyObject
*resultobj
;
2706 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2707 PyObject
* obj0
= 0 ;
2709 (char *) "self", NULL
2712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2719 wxPyEndAllowThreads(__tstate
);
2720 if (PyErr_Occurred()) SWIG_fail
;
2722 Py_INCREF(Py_None
); resultobj
= Py_None
;
2729 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
*resultobj
;
2731 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2732 bool arg2
= (bool) True
;
2733 PyObject
* obj0
= 0 ;
2734 PyObject
* obj1
= 0 ;
2736 (char *) "self",(char *) "iconize", NULL
2739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2743 arg2
= (bool) SWIG_AsBool(obj1
);
2744 if (PyErr_Occurred()) SWIG_fail
;
2747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2748 (arg1
)->Iconize(arg2
);
2750 wxPyEndAllowThreads(__tstate
);
2751 if (PyErr_Occurred()) SWIG_fail
;
2753 Py_INCREF(Py_None
); resultobj
= Py_None
;
2760 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
*resultobj
;
2762 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2764 PyObject
* obj0
= 0 ;
2766 (char *) "self", NULL
2769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2774 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2776 wxPyEndAllowThreads(__tstate
);
2777 if (PyErr_Occurred()) SWIG_fail
;
2780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2788 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2789 PyObject
*resultobj
;
2790 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2792 PyObject
* obj0
= 0 ;
2794 (char *) "self", NULL
2797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2802 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2804 wxPyEndAllowThreads(__tstate
);
2805 if (PyErr_Occurred()) SWIG_fail
;
2808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2816 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2817 PyObject
*resultobj
;
2818 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2820 PyObject
* obj0
= 0 ;
2822 (char *) "self", NULL
2825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2830 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2832 wxPyEndAllowThreads(__tstate
);
2833 if (PyErr_Occurred()) SWIG_fail
;
2837 resultptr
= new wxIcon((wxIcon
&) result
);
2838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2846 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2847 PyObject
*resultobj
;
2848 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2850 PyObject
* obj0
= 0 ;
2851 PyObject
* obj1
= 0 ;
2853 (char *) "self",(char *) "icon", NULL
2856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2859 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2860 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2863 PyErr_SetString(PyExc_TypeError
,"null reference");
2867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2868 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2870 wxPyEndAllowThreads(__tstate
);
2871 if (PyErr_Occurred()) SWIG_fail
;
2873 Py_INCREF(Py_None
); resultobj
= Py_None
;
2880 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2881 PyObject
*resultobj
;
2882 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2883 wxIconBundle
*arg2
= 0 ;
2884 PyObject
* obj0
= 0 ;
2885 PyObject
* obj1
= 0 ;
2887 (char *) "self",(char *) "icons", NULL
2890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2893 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2894 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2897 PyErr_SetString(PyExc_TypeError
,"null reference");
2901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2902 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2904 wxPyEndAllowThreads(__tstate
);
2905 if (PyErr_Occurred()) SWIG_fail
;
2907 Py_INCREF(Py_None
); resultobj
= Py_None
;
2914 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2915 PyObject
*resultobj
;
2916 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2918 long arg3
= (long) wxFULLSCREEN_ALL
;
2920 PyObject
* obj0
= 0 ;
2921 PyObject
* obj1
= 0 ;
2922 PyObject
* obj2
= 0 ;
2924 (char *) "self",(char *) "show",(char *) "style", NULL
2927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2930 arg2
= (bool) SWIG_AsBool(obj1
);
2931 if (PyErr_Occurred()) SWIG_fail
;
2933 arg3
= (long) SWIG_AsLong(obj2
);
2934 if (PyErr_Occurred()) SWIG_fail
;
2937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2938 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2940 wxPyEndAllowThreads(__tstate
);
2941 if (PyErr_Occurred()) SWIG_fail
;
2944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2952 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2953 PyObject
*resultobj
;
2954 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2956 PyObject
* obj0
= 0 ;
2958 (char *) "self", NULL
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2966 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2968 wxPyEndAllowThreads(__tstate
);
2969 if (PyErr_Occurred()) SWIG_fail
;
2972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2980 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2981 PyObject
*resultobj
;
2982 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2983 wxString
*arg2
= 0 ;
2984 bool temp2
= False
;
2985 PyObject
* obj0
= 0 ;
2986 PyObject
* obj1
= 0 ;
2988 (char *) "self",(char *) "title", NULL
2991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2995 arg2
= wxString_in_helper(obj1
);
2996 if (arg2
== NULL
) SWIG_fail
;
3000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3001 (arg1
)->SetTitle((wxString
const &)*arg2
);
3003 wxPyEndAllowThreads(__tstate
);
3004 if (PyErr_Occurred()) SWIG_fail
;
3006 Py_INCREF(Py_None
); resultobj
= Py_None
;
3021 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3022 PyObject
*resultobj
;
3023 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3025 PyObject
* obj0
= 0 ;
3027 (char *) "self", NULL
3030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3035 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3037 wxPyEndAllowThreads(__tstate
);
3038 if (PyErr_Occurred()) SWIG_fail
;
3042 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3044 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3053 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3054 PyObject
*resultobj
;
3055 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3056 wxRegion
*arg2
= 0 ;
3058 PyObject
* obj0
= 0 ;
3059 PyObject
* obj1
= 0 ;
3061 (char *) "self",(char *) "region", NULL
3064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3067 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3068 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3071 PyErr_SetString(PyExc_TypeError
,"null reference");
3075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3076 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3078 wxPyEndAllowThreads(__tstate
);
3079 if (PyErr_Occurred()) SWIG_fail
;
3082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3090 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
3092 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3093 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3095 return Py_BuildValue((char *)"");
3097 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3098 PyObject
*resultobj
;
3099 wxWindow
*arg1
= (wxWindow
*) 0 ;
3100 int arg2
= (int) (int)-1 ;
3101 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3102 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3103 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3104 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3105 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3106 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3107 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3108 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3109 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3111 bool temp3
= False
;
3114 bool temp7
= False
;
3115 PyObject
* obj0
= 0 ;
3116 PyObject
* obj1
= 0 ;
3117 PyObject
* obj2
= 0 ;
3118 PyObject
* obj3
= 0 ;
3119 PyObject
* obj4
= 0 ;
3120 PyObject
* obj5
= 0 ;
3121 PyObject
* obj6
= 0 ;
3123 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3130 arg2
= (int const) SWIG_AsInt(obj1
);
3131 if (PyErr_Occurred()) SWIG_fail
;
3135 arg3
= wxString_in_helper(obj2
);
3136 if (arg3
== NULL
) SWIG_fail
;
3143 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3149 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3153 arg6
= (long) SWIG_AsLong(obj5
);
3154 if (PyErr_Occurred()) SWIG_fail
;
3158 arg7
= wxString_in_helper(obj6
);
3159 if (arg7
== NULL
) SWIG_fail
;
3164 if (!wxPyCheckForApp()) SWIG_fail
;
3165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3166 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3168 wxPyEndAllowThreads(__tstate
);
3169 if (PyErr_Occurred()) SWIG_fail
;
3172 resultobj
= wxPyMake_wxObject(result
);
3196 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3197 PyObject
*resultobj
;
3203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3205 if (!wxPyCheckForApp()) SWIG_fail
;
3206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3207 result
= (wxFrame
*)new wxFrame();
3209 wxPyEndAllowThreads(__tstate
);
3210 if (PyErr_Occurred()) SWIG_fail
;
3213 resultobj
= wxPyMake_wxObject(result
);
3221 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
*resultobj
;
3223 wxFrame
*arg1
= (wxFrame
*) 0 ;
3224 wxWindow
*arg2
= (wxWindow
*) 0 ;
3225 int arg3
= (int) (int)-1 ;
3226 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3227 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3228 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3229 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3230 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3231 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3232 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3233 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3234 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3236 bool temp4
= False
;
3239 bool temp8
= False
;
3240 PyObject
* obj0
= 0 ;
3241 PyObject
* obj1
= 0 ;
3242 PyObject
* obj2
= 0 ;
3243 PyObject
* obj3
= 0 ;
3244 PyObject
* obj4
= 0 ;
3245 PyObject
* obj5
= 0 ;
3246 PyObject
* obj6
= 0 ;
3247 PyObject
* obj7
= 0 ;
3249 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3255 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3258 arg3
= (int const) SWIG_AsInt(obj2
);
3259 if (PyErr_Occurred()) SWIG_fail
;
3263 arg4
= wxString_in_helper(obj3
);
3264 if (arg4
== NULL
) SWIG_fail
;
3271 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3277 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3281 arg7
= (long) SWIG_AsLong(obj6
);
3282 if (PyErr_Occurred()) SWIG_fail
;
3286 arg8
= wxString_in_helper(obj7
);
3287 if (arg8
== NULL
) SWIG_fail
;
3292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3293 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3295 wxPyEndAllowThreads(__tstate
);
3296 if (PyErr_Occurred()) SWIG_fail
;
3299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3323 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3324 PyObject
*resultobj
;
3325 wxFrame
*arg1
= (wxFrame
*) 0 ;
3327 PyObject
* obj0
= 0 ;
3329 (char *) "self", NULL
3332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3337 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3339 wxPyEndAllowThreads(__tstate
);
3340 if (PyErr_Occurred()) SWIG_fail
;
3343 wxPoint
* resultptr
;
3344 resultptr
= new wxPoint((wxPoint
&) result
);
3345 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3353 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3354 PyObject
*resultobj
;
3355 wxFrame
*arg1
= (wxFrame
*) 0 ;
3356 PyObject
* obj0
= 0 ;
3358 (char *) "self", NULL
3361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3366 (arg1
)->SendSizeEvent();
3368 wxPyEndAllowThreads(__tstate
);
3369 if (PyErr_Occurred()) SWIG_fail
;
3371 Py_INCREF(Py_None
); resultobj
= Py_None
;
3378 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3379 PyObject
*resultobj
;
3380 wxFrame
*arg1
= (wxFrame
*) 0 ;
3381 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3382 PyObject
* obj0
= 0 ;
3383 PyObject
* obj1
= 0 ;
3385 (char *) "self",(char *) "menubar", NULL
3388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3391 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3395 (arg1
)->SetMenuBar(arg2
);
3397 wxPyEndAllowThreads(__tstate
);
3398 if (PyErr_Occurred()) SWIG_fail
;
3400 Py_INCREF(Py_None
); resultobj
= Py_None
;
3407 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3408 PyObject
*resultobj
;
3409 wxFrame
*arg1
= (wxFrame
*) 0 ;
3411 PyObject
* obj0
= 0 ;
3413 (char *) "self", NULL
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3421 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3423 wxPyEndAllowThreads(__tstate
);
3424 if (PyErr_Occurred()) SWIG_fail
;
3427 resultobj
= wxPyMake_wxObject(result
);
3435 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3436 PyObject
*resultobj
;
3437 wxFrame
*arg1
= (wxFrame
*) 0 ;
3440 PyObject
* obj0
= 0 ;
3441 PyObject
* obj1
= 0 ;
3443 (char *) "self",(char *) "winid", NULL
3446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3449 arg2
= (int) SWIG_AsInt(obj1
);
3450 if (PyErr_Occurred()) SWIG_fail
;
3452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3453 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3455 wxPyEndAllowThreads(__tstate
);
3456 if (PyErr_Occurred()) SWIG_fail
;
3459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3467 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3468 PyObject
*resultobj
;
3469 wxFrame
*arg1
= (wxFrame
*) 0 ;
3470 int arg2
= (int) 1 ;
3471 long arg3
= (long) wxST_SIZEGRIP
;
3472 int arg4
= (int) 0 ;
3473 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3474 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3475 wxStatusBar
*result
;
3476 bool temp5
= False
;
3477 PyObject
* obj0
= 0 ;
3478 PyObject
* obj1
= 0 ;
3479 PyObject
* obj2
= 0 ;
3480 PyObject
* obj3
= 0 ;
3481 PyObject
* obj4
= 0 ;
3483 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3490 arg2
= (int) SWIG_AsInt(obj1
);
3491 if (PyErr_Occurred()) SWIG_fail
;
3494 arg3
= (long) SWIG_AsLong(obj2
);
3495 if (PyErr_Occurred()) SWIG_fail
;
3498 arg4
= (int) SWIG_AsInt(obj3
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3503 arg5
= wxString_in_helper(obj4
);
3504 if (arg5
== NULL
) SWIG_fail
;
3509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3510 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3512 wxPyEndAllowThreads(__tstate
);
3513 if (PyErr_Occurred()) SWIG_fail
;
3516 resultobj
= wxPyMake_wxObject(result
);
3532 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
*resultobj
;
3534 wxFrame
*arg1
= (wxFrame
*) 0 ;
3535 wxStatusBar
*result
;
3536 PyObject
* obj0
= 0 ;
3538 (char *) "self", NULL
3541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3546 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3548 wxPyEndAllowThreads(__tstate
);
3549 if (PyErr_Occurred()) SWIG_fail
;
3552 resultobj
= wxPyMake_wxObject(result
);
3560 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3561 PyObject
*resultobj
;
3562 wxFrame
*arg1
= (wxFrame
*) 0 ;
3563 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3564 PyObject
* obj0
= 0 ;
3565 PyObject
* obj1
= 0 ;
3567 (char *) "self",(char *) "statBar", NULL
3570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3577 (arg1
)->SetStatusBar(arg2
);
3579 wxPyEndAllowThreads(__tstate
);
3580 if (PyErr_Occurred()) SWIG_fail
;
3582 Py_INCREF(Py_None
); resultobj
= Py_None
;
3589 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3590 PyObject
*resultobj
;
3591 wxFrame
*arg1
= (wxFrame
*) 0 ;
3592 wxString
*arg2
= 0 ;
3593 int arg3
= (int) 0 ;
3594 bool temp2
= False
;
3595 PyObject
* obj0
= 0 ;
3596 PyObject
* obj1
= 0 ;
3597 PyObject
* obj2
= 0 ;
3599 (char *) "self",(char *) "text",(char *) "number", NULL
3602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3606 arg2
= wxString_in_helper(obj1
);
3607 if (arg2
== NULL
) SWIG_fail
;
3611 arg3
= (int) SWIG_AsInt(obj2
);
3612 if (PyErr_Occurred()) SWIG_fail
;
3615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3616 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3618 wxPyEndAllowThreads(__tstate
);
3619 if (PyErr_Occurred()) SWIG_fail
;
3621 Py_INCREF(Py_None
); resultobj
= Py_None
;
3636 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3637 PyObject
*resultobj
;
3638 wxFrame
*arg1
= (wxFrame
*) 0 ;
3640 int *arg3
= (int *) 0 ;
3641 PyObject
* obj0
= 0 ;
3642 PyObject
* obj1
= 0 ;
3644 (char *) "self",(char *) "widths", NULL
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3651 arg2
= PyList_Size(obj1
);
3652 arg3
= int_LIST_helper(obj1
);
3653 if (arg3
== NULL
) SWIG_fail
;
3656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3657 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3659 wxPyEndAllowThreads(__tstate
);
3660 if (PyErr_Occurred()) SWIG_fail
;
3662 Py_INCREF(Py_None
); resultobj
= Py_None
;
3664 if (arg3
) delete [] arg3
;
3669 if (arg3
) delete [] arg3
;
3675 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3676 PyObject
*resultobj
;
3677 wxFrame
*arg1
= (wxFrame
*) 0 ;
3678 wxString
*arg2
= 0 ;
3679 int arg3
= (int) 0 ;
3680 bool temp2
= False
;
3681 PyObject
* obj0
= 0 ;
3682 PyObject
* obj1
= 0 ;
3683 PyObject
* obj2
= 0 ;
3685 (char *) "self",(char *) "text",(char *) "number", NULL
3688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3692 arg2
= wxString_in_helper(obj1
);
3693 if (arg2
== NULL
) SWIG_fail
;
3697 arg3
= (int) SWIG_AsInt(obj2
);
3698 if (PyErr_Occurred()) SWIG_fail
;
3701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3702 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3704 wxPyEndAllowThreads(__tstate
);
3705 if (PyErr_Occurred()) SWIG_fail
;
3707 Py_INCREF(Py_None
); resultobj
= Py_None
;
3722 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3723 PyObject
*resultobj
;
3724 wxFrame
*arg1
= (wxFrame
*) 0 ;
3725 int arg2
= (int) 0 ;
3726 PyObject
* obj0
= 0 ;
3727 PyObject
* obj1
= 0 ;
3729 (char *) "self",(char *) "number", NULL
3732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3736 arg2
= (int) SWIG_AsInt(obj1
);
3737 if (PyErr_Occurred()) SWIG_fail
;
3740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3741 (arg1
)->PopStatusText(arg2
);
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3746 Py_INCREF(Py_None
); resultobj
= Py_None
;
3753 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3754 PyObject
*resultobj
;
3755 wxFrame
*arg1
= (wxFrame
*) 0 ;
3757 PyObject
* obj0
= 0 ;
3758 PyObject
* obj1
= 0 ;
3760 (char *) "self",(char *) "n", NULL
3763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3766 arg2
= (int) SWIG_AsInt(obj1
);
3767 if (PyErr_Occurred()) SWIG_fail
;
3769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3770 (arg1
)->SetStatusBarPane(arg2
);
3772 wxPyEndAllowThreads(__tstate
);
3773 if (PyErr_Occurred()) SWIG_fail
;
3775 Py_INCREF(Py_None
); resultobj
= Py_None
;
3782 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3783 PyObject
*resultobj
;
3784 wxFrame
*arg1
= (wxFrame
*) 0 ;
3786 PyObject
* obj0
= 0 ;
3788 (char *) "self", NULL
3791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3796 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3798 wxPyEndAllowThreads(__tstate
);
3799 if (PyErr_Occurred()) SWIG_fail
;
3801 resultobj
= SWIG_FromInt((int)result
);
3808 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3809 PyObject
*resultobj
;
3810 wxFrame
*arg1
= (wxFrame
*) 0 ;
3811 long arg2
= (long) -1 ;
3812 int arg3
= (int) -1 ;
3813 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3814 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3816 bool temp4
= False
;
3817 PyObject
* obj0
= 0 ;
3818 PyObject
* obj1
= 0 ;
3819 PyObject
* obj2
= 0 ;
3820 PyObject
* obj3
= 0 ;
3822 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3829 arg2
= (long) SWIG_AsLong(obj1
);
3830 if (PyErr_Occurred()) SWIG_fail
;
3833 arg3
= (int) SWIG_AsInt(obj2
);
3834 if (PyErr_Occurred()) SWIG_fail
;
3838 arg4
= wxString_in_helper(obj3
);
3839 if (arg4
== NULL
) SWIG_fail
;
3844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3845 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3847 wxPyEndAllowThreads(__tstate
);
3848 if (PyErr_Occurred()) SWIG_fail
;
3851 resultobj
= wxPyMake_wxObject(result
);
3867 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3868 PyObject
*resultobj
;
3869 wxFrame
*arg1
= (wxFrame
*) 0 ;
3871 PyObject
* obj0
= 0 ;
3873 (char *) "self", NULL
3876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3881 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3883 wxPyEndAllowThreads(__tstate
);
3884 if (PyErr_Occurred()) SWIG_fail
;
3887 resultobj
= wxPyMake_wxObject(result
);
3895 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3896 PyObject
*resultobj
;
3897 wxFrame
*arg1
= (wxFrame
*) 0 ;
3898 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3899 PyObject
* obj0
= 0 ;
3900 PyObject
* obj1
= 0 ;
3902 (char *) "self",(char *) "toolbar", NULL
3905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3908 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3912 (arg1
)->SetToolBar(arg2
);
3914 wxPyEndAllowThreads(__tstate
);
3915 if (PyErr_Occurred()) SWIG_fail
;
3917 Py_INCREF(Py_None
); resultobj
= Py_None
;
3924 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3925 PyObject
*resultobj
;
3926 wxFrame
*arg1
= (wxFrame
*) 0 ;
3927 wxString
*arg2
= 0 ;
3929 bool temp2
= False
;
3930 PyObject
* obj0
= 0 ;
3931 PyObject
* obj1
= 0 ;
3932 PyObject
* obj2
= 0 ;
3934 (char *) "self",(char *) "text",(char *) "show", NULL
3937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3941 arg2
= wxString_in_helper(obj1
);
3942 if (arg2
== NULL
) SWIG_fail
;
3945 arg3
= (bool) SWIG_AsBool(obj2
);
3946 if (PyErr_Occurred()) SWIG_fail
;
3948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3949 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3951 wxPyEndAllowThreads(__tstate
);
3952 if (PyErr_Occurred()) SWIG_fail
;
3954 Py_INCREF(Py_None
); resultobj
= Py_None
;
3969 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3970 PyObject
*resultobj
;
3971 wxFrame
*arg1
= (wxFrame
*) 0 ;
3972 wxMenu
*arg2
= (wxMenu
*) NULL
;
3973 PyObject
* obj0
= 0 ;
3974 PyObject
* obj1
= 0 ;
3976 (char *) "self",(char *) "menu", NULL
3979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
3984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3988 (arg1
)->DoMenuUpdates(arg2
);
3990 wxPyEndAllowThreads(__tstate
);
3991 if (PyErr_Occurred()) SWIG_fail
;
3993 Py_INCREF(Py_None
); resultobj
= Py_None
;
4000 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4001 PyObject
*resultobj
;
4002 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4003 wxVisualAttributes result
;
4004 PyObject
* obj0
= 0 ;
4006 (char *) "variant", NULL
4009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4011 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4015 if (!wxPyCheckForApp()) SWIG_fail
;
4016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4017 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4019 wxPyEndAllowThreads(__tstate
);
4020 if (PyErr_Occurred()) SWIG_fail
;
4023 wxVisualAttributes
* resultptr
;
4024 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4025 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4033 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
4035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4036 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4038 return Py_BuildValue((char *)"");
4040 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
*resultobj
;
4042 wxWindow
*arg1
= (wxWindow
*) 0 ;
4043 int arg2
= (int) (int)-1 ;
4044 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4045 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4046 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4047 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4048 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4049 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4050 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4051 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4052 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4054 bool temp3
= False
;
4057 bool temp7
= False
;
4058 PyObject
* obj0
= 0 ;
4059 PyObject
* obj1
= 0 ;
4060 PyObject
* obj2
= 0 ;
4061 PyObject
* obj3
= 0 ;
4062 PyObject
* obj4
= 0 ;
4063 PyObject
* obj5
= 0 ;
4064 PyObject
* obj6
= 0 ;
4066 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4073 arg2
= (int const) SWIG_AsInt(obj1
);
4074 if (PyErr_Occurred()) SWIG_fail
;
4078 arg3
= wxString_in_helper(obj2
);
4079 if (arg3
== NULL
) SWIG_fail
;
4086 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4092 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4096 arg6
= (long) SWIG_AsLong(obj5
);
4097 if (PyErr_Occurred()) SWIG_fail
;
4101 arg7
= wxString_in_helper(obj6
);
4102 if (arg7
== NULL
) SWIG_fail
;
4107 if (!wxPyCheckForApp()) SWIG_fail
;
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4111 wxPyEndAllowThreads(__tstate
);
4112 if (PyErr_Occurred()) SWIG_fail
;
4115 resultobj
= wxPyMake_wxObject(result
);
4139 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
*resultobj
;
4146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4148 if (!wxPyCheckForApp()) SWIG_fail
;
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 result
= (wxDialog
*)new wxDialog();
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4156 resultobj
= wxPyMake_wxObject(result
);
4164 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4165 PyObject
*resultobj
;
4166 wxDialog
*arg1
= (wxDialog
*) 0 ;
4167 wxWindow
*arg2
= (wxWindow
*) 0 ;
4168 int arg3
= (int) (int)-1 ;
4169 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4170 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4171 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4172 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4173 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4174 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4175 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4176 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4177 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4179 bool temp4
= False
;
4182 bool temp8
= False
;
4183 PyObject
* obj0
= 0 ;
4184 PyObject
* obj1
= 0 ;
4185 PyObject
* obj2
= 0 ;
4186 PyObject
* obj3
= 0 ;
4187 PyObject
* obj4
= 0 ;
4188 PyObject
* obj5
= 0 ;
4189 PyObject
* obj6
= 0 ;
4190 PyObject
* obj7
= 0 ;
4192 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4201 arg3
= (int const) SWIG_AsInt(obj2
);
4202 if (PyErr_Occurred()) SWIG_fail
;
4206 arg4
= wxString_in_helper(obj3
);
4207 if (arg4
== NULL
) SWIG_fail
;
4214 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4220 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4224 arg7
= (long) SWIG_AsLong(obj6
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4229 arg8
= wxString_in_helper(obj7
);
4230 if (arg8
== NULL
) SWIG_fail
;
4235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4236 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) SWIG_fail
;
4242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4266 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4267 PyObject
*resultobj
;
4268 wxDialog
*arg1
= (wxDialog
*) 0 ;
4270 PyObject
* obj0
= 0 ;
4271 PyObject
* obj1
= 0 ;
4273 (char *) "self",(char *) "returnCode", NULL
4276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4279 arg2
= (int) SWIG_AsInt(obj1
);
4280 if (PyErr_Occurred()) SWIG_fail
;
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 (arg1
)->SetReturnCode(arg2
);
4285 wxPyEndAllowThreads(__tstate
);
4286 if (PyErr_Occurred()) SWIG_fail
;
4288 Py_INCREF(Py_None
); resultobj
= Py_None
;
4295 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
*resultobj
;
4297 wxDialog
*arg1
= (wxDialog
*) 0 ;
4299 PyObject
* obj0
= 0 ;
4301 (char *) "self", NULL
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4309 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4311 wxPyEndAllowThreads(__tstate
);
4312 if (PyErr_Occurred()) SWIG_fail
;
4314 resultobj
= SWIG_FromInt((int)result
);
4321 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4322 PyObject
*resultobj
;
4323 wxDialog
*arg1
= (wxDialog
*) 0 ;
4324 wxString
*arg2
= 0 ;
4326 bool temp2
= False
;
4327 PyObject
* obj0
= 0 ;
4328 PyObject
* obj1
= 0 ;
4330 (char *) "self",(char *) "message", NULL
4333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4337 arg2
= wxString_in_helper(obj1
);
4338 if (arg2
== NULL
) SWIG_fail
;
4342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4343 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4345 wxPyEndAllowThreads(__tstate
);
4346 if (PyErr_Occurred()) SWIG_fail
;
4349 resultobj
= wxPyMake_wxSizer(result
);
4365 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4366 PyObject
*resultobj
;
4367 wxDialog
*arg1
= (wxDialog
*) 0 ;
4370 PyObject
* obj0
= 0 ;
4371 PyObject
* obj1
= 0 ;
4373 (char *) "self",(char *) "flags", NULL
4376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4379 arg2
= (long) SWIG_AsLong(obj1
);
4380 if (PyErr_Occurred()) SWIG_fail
;
4382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4385 wxPyEndAllowThreads(__tstate
);
4386 if (PyErr_Occurred()) SWIG_fail
;
4389 resultobj
= wxPyMake_wxSizer(result
);
4397 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
*resultobj
;
4399 wxDialog
*arg1
= (wxDialog
*) 0 ;
4401 PyObject
* obj0
= 0 ;
4403 (char *) "self", NULL
4406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4411 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4413 wxPyEndAllowThreads(__tstate
);
4414 if (PyErr_Occurred()) SWIG_fail
;
4417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4425 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
*resultobj
;
4427 wxDialog
*arg1
= (wxDialog
*) 0 ;
4429 PyObject
* obj0
= 0 ;
4431 (char *) "self", NULL
4434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4439 result
= (int)(arg1
)->ShowModal();
4441 wxPyEndAllowThreads(__tstate
);
4442 if (PyErr_Occurred()) SWIG_fail
;
4444 resultobj
= SWIG_FromInt((int)result
);
4451 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4452 PyObject
*resultobj
;
4453 wxDialog
*arg1
= (wxDialog
*) 0 ;
4455 PyObject
* obj0
= 0 ;
4456 PyObject
* obj1
= 0 ;
4458 (char *) "self",(char *) "retCode", NULL
4461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4464 arg2
= (int) SWIG_AsInt(obj1
);
4465 if (PyErr_Occurred()) SWIG_fail
;
4467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 (arg1
)->EndModal(arg2
);
4470 wxPyEndAllowThreads(__tstate
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4473 Py_INCREF(Py_None
); resultobj
= Py_None
;
4480 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4481 PyObject
*resultobj
;
4482 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4483 wxVisualAttributes result
;
4484 PyObject
* obj0
= 0 ;
4486 (char *) "variant", NULL
4489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4491 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4492 if (PyErr_Occurred()) SWIG_fail
;
4495 if (!wxPyCheckForApp()) SWIG_fail
;
4496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4497 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4499 wxPyEndAllowThreads(__tstate
);
4500 if (PyErr_Occurred()) SWIG_fail
;
4503 wxVisualAttributes
* resultptr
;
4504 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4505 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4513 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4516 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4518 return Py_BuildValue((char *)"");
4520 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
*resultobj
;
4522 wxWindow
*arg1
= (wxWindow
*) 0 ;
4523 int arg2
= (int) (int)-1 ;
4524 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4525 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4526 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4527 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4528 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4529 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4530 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4531 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4532 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4533 wxMiniFrame
*result
;
4534 bool temp3
= False
;
4537 bool temp7
= False
;
4538 PyObject
* obj0
= 0 ;
4539 PyObject
* obj1
= 0 ;
4540 PyObject
* obj2
= 0 ;
4541 PyObject
* obj3
= 0 ;
4542 PyObject
* obj4
= 0 ;
4543 PyObject
* obj5
= 0 ;
4544 PyObject
* obj6
= 0 ;
4546 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4553 arg2
= (int const) SWIG_AsInt(obj1
);
4554 if (PyErr_Occurred()) SWIG_fail
;
4558 arg3
= wxString_in_helper(obj2
);
4559 if (arg3
== NULL
) SWIG_fail
;
4566 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4572 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4576 arg6
= (long) SWIG_AsLong(obj5
);
4577 if (PyErr_Occurred()) SWIG_fail
;
4581 arg7
= wxString_in_helper(obj6
);
4582 if (arg7
== NULL
) SWIG_fail
;
4587 if (!wxPyCheckForApp()) SWIG_fail
;
4588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4589 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4591 wxPyEndAllowThreads(__tstate
);
4592 if (PyErr_Occurred()) SWIG_fail
;
4594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4617 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4618 PyObject
*resultobj
;
4619 wxMiniFrame
*result
;
4624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4626 if (!wxPyCheckForApp()) SWIG_fail
;
4627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4628 result
= (wxMiniFrame
*)new wxMiniFrame();
4630 wxPyEndAllowThreads(__tstate
);
4631 if (PyErr_Occurred()) SWIG_fail
;
4633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4640 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4641 PyObject
*resultobj
;
4642 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4643 wxWindow
*arg2
= (wxWindow
*) 0 ;
4644 int arg3
= (int) (int)-1 ;
4645 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4646 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4647 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4648 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4649 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4650 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4651 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4652 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4653 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4655 bool temp4
= False
;
4658 bool temp8
= False
;
4659 PyObject
* obj0
= 0 ;
4660 PyObject
* obj1
= 0 ;
4661 PyObject
* obj2
= 0 ;
4662 PyObject
* obj3
= 0 ;
4663 PyObject
* obj4
= 0 ;
4664 PyObject
* obj5
= 0 ;
4665 PyObject
* obj6
= 0 ;
4666 PyObject
* obj7
= 0 ;
4668 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4677 arg3
= (int const) SWIG_AsInt(obj2
);
4678 if (PyErr_Occurred()) SWIG_fail
;
4682 arg4
= wxString_in_helper(obj3
);
4683 if (arg4
== NULL
) SWIG_fail
;
4690 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4696 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4700 arg7
= (long) SWIG_AsLong(obj6
);
4701 if (PyErr_Occurred()) SWIG_fail
;
4705 arg8
= wxString_in_helper(obj7
);
4706 if (arg8
== NULL
) SWIG_fail
;
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4712 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4742 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4745 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4747 return Py_BuildValue((char *)"");
4749 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4750 PyObject
*resultobj
;
4751 wxBitmap
*arg1
= 0 ;
4752 wxWindow
*arg2
= (wxWindow
*) 0 ;
4754 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4755 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4756 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4757 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4758 long arg6
= (long) wxNO_BORDER
;
4759 wxSplashScreenWindow
*result
;
4762 PyObject
* obj0
= 0 ;
4763 PyObject
* obj1
= 0 ;
4764 PyObject
* obj2
= 0 ;
4765 PyObject
* obj3
= 0 ;
4766 PyObject
* obj4
= 0 ;
4767 PyObject
* obj5
= 0 ;
4769 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4774 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4777 PyErr_SetString(PyExc_TypeError
,"null reference");
4780 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4782 arg3
= (int) SWIG_AsInt(obj2
);
4783 if (PyErr_Occurred()) SWIG_fail
;
4787 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4793 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4797 arg6
= (long) SWIG_AsLong(obj5
);
4798 if (PyErr_Occurred()) SWIG_fail
;
4801 if (!wxPyCheckForApp()) SWIG_fail
;
4802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4803 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4805 wxPyEndAllowThreads(__tstate
);
4806 if (PyErr_Occurred()) SWIG_fail
;
4808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4815 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4816 PyObject
*resultobj
;
4817 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4818 wxBitmap
*arg2
= 0 ;
4819 PyObject
* obj0
= 0 ;
4820 PyObject
* obj1
= 0 ;
4822 (char *) "self",(char *) "bitmap", NULL
4825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4828 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4829 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4832 PyErr_SetString(PyExc_TypeError
,"null reference");
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4837 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4842 Py_INCREF(Py_None
); resultobj
= Py_None
;
4849 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4850 PyObject
*resultobj
;
4851 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4853 PyObject
* obj0
= 0 ;
4855 (char *) "self", NULL
4858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4864 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4865 result
= (wxBitmap
*) &_result_ref
;
4868 wxPyEndAllowThreads(__tstate
);
4869 if (PyErr_Occurred()) SWIG_fail
;
4872 wxBitmap
* resultptr
= new wxBitmap(*result
);
4873 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4881 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4884 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4886 return Py_BuildValue((char *)"");
4888 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4889 PyObject
*resultobj
;
4890 wxBitmap
*arg1
= 0 ;
4893 wxWindow
*arg4
= (wxWindow
*) 0 ;
4894 int arg5
= (int) -1 ;
4895 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4896 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4897 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4898 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4899 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4900 wxSplashScreen
*result
;
4903 PyObject
* obj0
= 0 ;
4904 PyObject
* obj1
= 0 ;
4905 PyObject
* obj2
= 0 ;
4906 PyObject
* obj3
= 0 ;
4907 PyObject
* obj4
= 0 ;
4908 PyObject
* obj5
= 0 ;
4909 PyObject
* obj6
= 0 ;
4910 PyObject
* obj7
= 0 ;
4912 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4917 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4920 PyErr_SetString(PyExc_TypeError
,"null reference");
4923 arg2
= (long) SWIG_AsLong(obj1
);
4924 if (PyErr_Occurred()) SWIG_fail
;
4925 arg3
= (int) SWIG_AsInt(obj2
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4927 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4930 arg5
= (int) SWIG_AsInt(obj4
);
4931 if (PyErr_Occurred()) SWIG_fail
;
4936 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4942 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4946 arg8
= (long) SWIG_AsLong(obj7
);
4947 if (PyErr_Occurred()) SWIG_fail
;
4950 if (!wxPyCheckForApp()) SWIG_fail
;
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4964 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
*resultobj
;
4966 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4968 PyObject
* obj0
= 0 ;
4970 (char *) "self", NULL
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4983 resultobj
= SWIG_FromLong((long)result
);
4990 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4991 PyObject
*resultobj
;
4992 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4993 wxSplashScreenWindow
*result
;
4994 PyObject
* obj0
= 0 ;
4996 (char *) "self", NULL
4999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
5000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5004 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
5016 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5017 PyObject
*resultobj
;
5018 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5020 PyObject
* obj0
= 0 ;
5022 (char *) "self", NULL
5025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
5026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5030 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
5032 wxPyEndAllowThreads(__tstate
);
5033 if (PyErr_Occurred()) SWIG_fail
;
5035 resultobj
= SWIG_FromInt((int)result
);
5042 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
5044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5045 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
5047 return Py_BuildValue((char *)"");
5049 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
*resultobj
;
5051 wxWindow
*arg1
= (wxWindow
*) 0 ;
5052 int arg2
= (int) -1 ;
5053 long arg3
= (long) wxST_SIZEGRIP
;
5054 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5055 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5056 wxStatusBar
*result
;
5057 bool temp4
= False
;
5058 PyObject
* obj0
= 0 ;
5059 PyObject
* obj1
= 0 ;
5060 PyObject
* obj2
= 0 ;
5061 PyObject
* obj3
= 0 ;
5063 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5070 arg2
= (int) SWIG_AsInt(obj1
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5074 arg3
= (long) SWIG_AsLong(obj2
);
5075 if (PyErr_Occurred()) SWIG_fail
;
5079 arg4
= wxString_in_helper(obj3
);
5080 if (arg4
== NULL
) SWIG_fail
;
5085 if (!wxPyCheckForApp()) SWIG_fail
;
5086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5087 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5089 wxPyEndAllowThreads(__tstate
);
5090 if (PyErr_Occurred()) SWIG_fail
;
5093 resultobj
= wxPyMake_wxObject(result
);
5109 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5110 PyObject
*resultobj
;
5111 wxStatusBar
*result
;
5116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5118 if (!wxPyCheckForApp()) SWIG_fail
;
5119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5120 result
= (wxStatusBar
*)new wxStatusBar();
5122 wxPyEndAllowThreads(__tstate
);
5123 if (PyErr_Occurred()) SWIG_fail
;
5126 resultobj
= wxPyMake_wxObject(result
);
5134 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5135 PyObject
*resultobj
;
5136 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5137 wxWindow
*arg2
= (wxWindow
*) 0 ;
5138 int arg3
= (int) -1 ;
5139 long arg4
= (long) wxST_SIZEGRIP
;
5140 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5141 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5143 bool temp5
= False
;
5144 PyObject
* obj0
= 0 ;
5145 PyObject
* obj1
= 0 ;
5146 PyObject
* obj2
= 0 ;
5147 PyObject
* obj3
= 0 ;
5148 PyObject
* obj4
= 0 ;
5150 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5156 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5159 arg3
= (int) SWIG_AsInt(obj2
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5163 arg4
= (long) SWIG_AsLong(obj3
);
5164 if (PyErr_Occurred()) SWIG_fail
;
5168 arg5
= wxString_in_helper(obj4
);
5169 if (arg5
== NULL
) SWIG_fail
;
5174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5175 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5177 wxPyEndAllowThreads(__tstate
);
5178 if (PyErr_Occurred()) SWIG_fail
;
5181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5197 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
*resultobj
;
5199 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5200 int arg2
= (int) 1 ;
5201 PyObject
* obj0
= 0 ;
5202 PyObject
* obj1
= 0 ;
5204 (char *) "self",(char *) "number", NULL
5207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5211 arg2
= (int) SWIG_AsInt(obj1
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5216 (arg1
)->SetFieldsCount(arg2
);
5218 wxPyEndAllowThreads(__tstate
);
5219 if (PyErr_Occurred()) SWIG_fail
;
5221 Py_INCREF(Py_None
); resultobj
= Py_None
;
5228 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5229 PyObject
*resultobj
;
5230 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5232 PyObject
* obj0
= 0 ;
5234 (char *) "self", NULL
5237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5242 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5244 wxPyEndAllowThreads(__tstate
);
5245 if (PyErr_Occurred()) SWIG_fail
;
5247 resultobj
= SWIG_FromInt((int)result
);
5254 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5255 PyObject
*resultobj
;
5256 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5257 wxString
*arg2
= 0 ;
5258 int arg3
= (int) 0 ;
5259 bool temp2
= False
;
5260 PyObject
* obj0
= 0 ;
5261 PyObject
* obj1
= 0 ;
5262 PyObject
* obj2
= 0 ;
5264 (char *) "self",(char *) "text",(char *) "number", NULL
5267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5271 arg2
= wxString_in_helper(obj1
);
5272 if (arg2
== NULL
) SWIG_fail
;
5276 arg3
= (int) SWIG_AsInt(obj2
);
5277 if (PyErr_Occurred()) SWIG_fail
;
5280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5281 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5283 wxPyEndAllowThreads(__tstate
);
5284 if (PyErr_Occurred()) SWIG_fail
;
5286 Py_INCREF(Py_None
); resultobj
= Py_None
;
5301 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5302 PyObject
*resultobj
;
5303 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5304 int arg2
= (int) 0 ;
5306 PyObject
* obj0
= 0 ;
5307 PyObject
* obj1
= 0 ;
5309 (char *) "self",(char *) "number", NULL
5312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5316 arg2
= (int) SWIG_AsInt(obj1
);
5317 if (PyErr_Occurred()) SWIG_fail
;
5320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5321 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5323 wxPyEndAllowThreads(__tstate
);
5324 if (PyErr_Occurred()) SWIG_fail
;
5328 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5330 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5339 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5340 PyObject
*resultobj
;
5341 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5342 wxString
*arg2
= 0 ;
5343 int arg3
= (int) 0 ;
5344 bool temp2
= False
;
5345 PyObject
* obj0
= 0 ;
5346 PyObject
* obj1
= 0 ;
5347 PyObject
* obj2
= 0 ;
5349 (char *) "self",(char *) "text",(char *) "number", NULL
5352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5356 arg2
= wxString_in_helper(obj1
);
5357 if (arg2
== NULL
) SWIG_fail
;
5361 arg3
= (int) SWIG_AsInt(obj2
);
5362 if (PyErr_Occurred()) SWIG_fail
;
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5371 Py_INCREF(Py_None
); resultobj
= Py_None
;
5386 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5387 PyObject
*resultobj
;
5388 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5389 int arg2
= (int) 0 ;
5390 PyObject
* obj0
= 0 ;
5391 PyObject
* obj1
= 0 ;
5393 (char *) "self",(char *) "number", NULL
5396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5400 arg2
= (int) SWIG_AsInt(obj1
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5405 (arg1
)->PopStatusText(arg2
);
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5410 Py_INCREF(Py_None
); resultobj
= Py_None
;
5417 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
*resultobj
;
5419 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5421 int *arg3
= (int *) 0 ;
5422 PyObject
* obj0
= 0 ;
5423 PyObject
* obj1
= 0 ;
5425 (char *) "self",(char *) "widths", NULL
5428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5432 arg2
= PyList_Size(obj1
);
5433 arg3
= int_LIST_helper(obj1
);
5434 if (arg3
== NULL
) SWIG_fail
;
5437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5438 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5443 Py_INCREF(Py_None
); resultobj
= Py_None
;
5445 if (arg3
) delete [] arg3
;
5450 if (arg3
) delete [] arg3
;
5456 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5457 PyObject
*resultobj
;
5458 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5461 PyObject
* obj0
= 0 ;
5462 PyObject
* obj1
= 0 ;
5464 (char *) "self",(char *) "i", NULL
5467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5470 arg2
= (int) SWIG_AsInt(obj1
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5474 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5476 wxPyEndAllowThreads(__tstate
);
5477 if (PyErr_Occurred()) SWIG_fail
;
5481 resultptr
= new wxRect((wxRect
&) result
);
5482 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5490 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
*resultobj
;
5492 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5494 PyObject
* obj0
= 0 ;
5495 PyObject
* obj1
= 0 ;
5497 (char *) "self",(char *) "height", NULL
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5503 arg2
= (int) SWIG_AsInt(obj1
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5507 (arg1
)->SetMinHeight(arg2
);
5509 wxPyEndAllowThreads(__tstate
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5512 Py_INCREF(Py_None
); resultobj
= Py_None
;
5519 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
*resultobj
;
5521 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5523 PyObject
* obj0
= 0 ;
5525 (char *) "self", NULL
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5533 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5535 wxPyEndAllowThreads(__tstate
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5538 resultobj
= SWIG_FromInt((int)result
);
5545 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
*resultobj
;
5547 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5549 PyObject
* obj0
= 0 ;
5551 (char *) "self", NULL
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5561 wxPyEndAllowThreads(__tstate
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5564 resultobj
= SWIG_FromInt((int)result
);
5571 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5572 PyObject
*resultobj
;
5573 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5574 wxVisualAttributes result
;
5575 PyObject
* obj0
= 0 ;
5577 (char *) "variant", NULL
5580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5582 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5583 if (PyErr_Occurred()) SWIG_fail
;
5586 if (!wxPyCheckForApp()) SWIG_fail
;
5587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5588 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5590 wxPyEndAllowThreads(__tstate
);
5591 if (PyErr_Occurred()) SWIG_fail
;
5594 wxVisualAttributes
* resultptr
;
5595 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5604 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5607 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5609 return Py_BuildValue((char *)"");
5611 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5612 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5617 static PyObject
*_wrap_SplitterNameStr_get() {
5622 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5624 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5631 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5632 PyObject
*resultobj
;
5633 wxWindow
*arg1
= (wxWindow
*) 0 ;
5634 int arg2
= (int) -1 ;
5635 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5636 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5637 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5638 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5639 long arg5
= (long) wxSP_3D
;
5640 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5641 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5642 wxSplitterWindow
*result
;
5645 bool temp6
= False
;
5646 PyObject
* obj0
= 0 ;
5647 PyObject
* obj1
= 0 ;
5648 PyObject
* obj2
= 0 ;
5649 PyObject
* obj3
= 0 ;
5650 PyObject
* obj4
= 0 ;
5651 PyObject
* obj5
= 0 ;
5653 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5660 arg2
= (int) SWIG_AsInt(obj1
);
5661 if (PyErr_Occurred()) SWIG_fail
;
5666 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5672 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5676 arg5
= (long) SWIG_AsLong(obj4
);
5677 if (PyErr_Occurred()) SWIG_fail
;
5681 arg6
= wxString_in_helper(obj5
);
5682 if (arg6
== NULL
) SWIG_fail
;
5687 if (!wxPyCheckForApp()) SWIG_fail
;
5688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5689 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5691 wxPyEndAllowThreads(__tstate
);
5692 if (PyErr_Occurred()) SWIG_fail
;
5694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5709 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
*resultobj
;
5711 wxSplitterWindow
*result
;
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5718 if (!wxPyCheckForApp()) SWIG_fail
;
5719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5720 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5722 wxPyEndAllowThreads(__tstate
);
5723 if (PyErr_Occurred()) SWIG_fail
;
5725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5732 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5733 PyObject
*resultobj
;
5734 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5735 wxWindow
*arg2
= (wxWindow
*) 0 ;
5736 int arg3
= (int) -1 ;
5737 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5738 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5739 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5740 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5741 long arg6
= (long) wxSP_3D
;
5742 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5743 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5747 bool temp7
= False
;
5748 PyObject
* obj0
= 0 ;
5749 PyObject
* obj1
= 0 ;
5750 PyObject
* obj2
= 0 ;
5751 PyObject
* obj3
= 0 ;
5752 PyObject
* obj4
= 0 ;
5753 PyObject
* obj5
= 0 ;
5754 PyObject
* obj6
= 0 ;
5756 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5765 arg3
= (int) SWIG_AsInt(obj2
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5771 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5777 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5781 arg6
= (long) SWIG_AsLong(obj5
);
5782 if (PyErr_Occurred()) SWIG_fail
;
5786 arg7
= wxString_in_helper(obj6
);
5787 if (arg7
== NULL
) SWIG_fail
;
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5795 wxPyEndAllowThreads(__tstate
);
5796 if (PyErr_Occurred()) SWIG_fail
;
5799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5815 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5816 PyObject
*resultobj
;
5817 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5819 PyObject
* obj0
= 0 ;
5821 (char *) "self", NULL
5824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5831 wxPyEndAllowThreads(__tstate
);
5832 if (PyErr_Occurred()) SWIG_fail
;
5835 resultobj
= wxPyMake_wxObject(result
);
5843 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5844 PyObject
*resultobj
;
5845 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5847 PyObject
* obj0
= 0 ;
5849 (char *) "self", NULL
5852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5857 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5859 wxPyEndAllowThreads(__tstate
);
5860 if (PyErr_Occurred()) SWIG_fail
;
5863 resultobj
= wxPyMake_wxObject(result
);
5871 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
*resultobj
;
5873 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5875 PyObject
* obj0
= 0 ;
5876 PyObject
* obj1
= 0 ;
5878 (char *) "self",(char *) "mode", NULL
5881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5884 arg2
= (int) SWIG_AsInt(obj1
);
5885 if (PyErr_Occurred()) SWIG_fail
;
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 (arg1
)->SetSplitMode(arg2
);
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5893 Py_INCREF(Py_None
); resultobj
= Py_None
;
5900 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
*resultobj
;
5902 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5904 PyObject
* obj0
= 0 ;
5906 (char *) "self", NULL
5909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5914 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5919 resultobj
= SWIG_FromInt((int)result
);
5926 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
*resultobj
;
5928 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5929 wxWindow
*arg2
= (wxWindow
*) 0 ;
5930 PyObject
* obj0
= 0 ;
5931 PyObject
* obj1
= 0 ;
5933 (char *) "self",(char *) "window", NULL
5936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5939 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 (arg1
)->Initialize(arg2
);
5945 wxPyEndAllowThreads(__tstate
);
5946 if (PyErr_Occurred()) SWIG_fail
;
5948 Py_INCREF(Py_None
); resultobj
= Py_None
;
5955 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5956 PyObject
*resultobj
;
5957 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5958 wxWindow
*arg2
= (wxWindow
*) 0 ;
5959 wxWindow
*arg3
= (wxWindow
*) 0 ;
5960 int arg4
= (int) 0 ;
5962 PyObject
* obj0
= 0 ;
5963 PyObject
* obj1
= 0 ;
5964 PyObject
* obj2
= 0 ;
5965 PyObject
* obj3
= 0 ;
5967 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5973 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5975 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5978 arg4
= (int) SWIG_AsInt(obj3
);
5979 if (PyErr_Occurred()) SWIG_fail
;
5982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5997 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5998 PyObject
*resultobj
;
5999 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6000 wxWindow
*arg2
= (wxWindow
*) 0 ;
6001 wxWindow
*arg3
= (wxWindow
*) 0 ;
6002 int arg4
= (int) 0 ;
6004 PyObject
* obj0
= 0 ;
6005 PyObject
* obj1
= 0 ;
6006 PyObject
* obj2
= 0 ;
6007 PyObject
* obj3
= 0 ;
6009 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6015 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6017 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6020 arg4
= (int) SWIG_AsInt(obj3
);
6021 if (PyErr_Occurred()) SWIG_fail
;
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6039 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6040 PyObject
*resultobj
;
6041 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6042 wxWindow
*arg2
= (wxWindow
*) NULL
;
6044 PyObject
* obj0
= 0 ;
6045 PyObject
* obj1
= 0 ;
6047 (char *) "self",(char *) "toRemove", NULL
6050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6054 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6059 result
= (bool)(arg1
)->Unsplit(arg2
);
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) SWIG_fail
;
6065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6073 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6074 PyObject
*resultobj
;
6075 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6076 wxWindow
*arg2
= (wxWindow
*) 0 ;
6077 wxWindow
*arg3
= (wxWindow
*) 0 ;
6079 PyObject
* obj0
= 0 ;
6080 PyObject
* obj1
= 0 ;
6081 PyObject
* obj2
= 0 ;
6083 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6091 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6095 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6097 wxPyEndAllowThreads(__tstate
);
6098 if (PyErr_Occurred()) SWIG_fail
;
6101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6109 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6110 PyObject
*resultobj
;
6111 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6112 PyObject
* obj0
= 0 ;
6114 (char *) "self", NULL
6117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6122 (arg1
)->UpdateSize();
6124 wxPyEndAllowThreads(__tstate
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6127 Py_INCREF(Py_None
); resultobj
= Py_None
;
6134 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
*resultobj
;
6136 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6138 PyObject
* obj0
= 0 ;
6140 (char *) "self", NULL
6143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6148 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6150 wxPyEndAllowThreads(__tstate
);
6151 if (PyErr_Occurred()) SWIG_fail
;
6154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6162 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6163 PyObject
*resultobj
;
6164 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6166 PyObject
* obj0
= 0 ;
6167 PyObject
* obj1
= 0 ;
6169 (char *) "self",(char *) "width", NULL
6172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6175 arg2
= (int) SWIG_AsInt(obj1
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6179 (arg1
)->SetSashSize(arg2
);
6181 wxPyEndAllowThreads(__tstate
);
6182 if (PyErr_Occurred()) SWIG_fail
;
6184 Py_INCREF(Py_None
); resultobj
= Py_None
;
6191 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
*resultobj
;
6193 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6195 PyObject
* obj0
= 0 ;
6196 PyObject
* obj1
= 0 ;
6198 (char *) "self",(char *) "width", NULL
6201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6204 arg2
= (int) SWIG_AsInt(obj1
);
6205 if (PyErr_Occurred()) SWIG_fail
;
6207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6208 (arg1
)->SetBorderSize(arg2
);
6210 wxPyEndAllowThreads(__tstate
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6213 Py_INCREF(Py_None
); resultobj
= Py_None
;
6220 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
*resultobj
;
6222 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6224 PyObject
* obj0
= 0 ;
6226 (char *) "self", NULL
6229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6234 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6236 wxPyEndAllowThreads(__tstate
);
6237 if (PyErr_Occurred()) SWIG_fail
;
6239 resultobj
= SWIG_FromInt((int)result
);
6246 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6247 PyObject
*resultobj
;
6248 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6250 PyObject
* obj0
= 0 ;
6252 (char *) "self", NULL
6255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6260 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6262 wxPyEndAllowThreads(__tstate
);
6263 if (PyErr_Occurred()) SWIG_fail
;
6265 resultobj
= SWIG_FromInt((int)result
);
6272 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
*resultobj
;
6274 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6276 bool arg3
= (bool) True
;
6277 PyObject
* obj0
= 0 ;
6278 PyObject
* obj1
= 0 ;
6279 PyObject
* obj2
= 0 ;
6281 (char *) "self",(char *) "position",(char *) "redraw", NULL
6284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6287 arg2
= (int) SWIG_AsInt(obj1
);
6288 if (PyErr_Occurred()) SWIG_fail
;
6290 arg3
= (bool) SWIG_AsBool(obj2
);
6291 if (PyErr_Occurred()) SWIG_fail
;
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6295 (arg1
)->SetSashPosition(arg2
,arg3
);
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6300 Py_INCREF(Py_None
); resultobj
= Py_None
;
6307 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
*resultobj
;
6309 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6311 PyObject
* obj0
= 0 ;
6313 (char *) "self", NULL
6316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6321 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6323 wxPyEndAllowThreads(__tstate
);
6324 if (PyErr_Occurred()) SWIG_fail
;
6326 resultobj
= SWIG_FromInt((int)result
);
6333 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6334 PyObject
*resultobj
;
6335 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6337 PyObject
* obj0
= 0 ;
6338 PyObject
* obj1
= 0 ;
6340 (char *) "self",(char *) "min", NULL
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6346 arg2
= (int) SWIG_AsInt(obj1
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6350 (arg1
)->SetMinimumPaneSize(arg2
);
6352 wxPyEndAllowThreads(__tstate
);
6353 if (PyErr_Occurred()) SWIG_fail
;
6355 Py_INCREF(Py_None
); resultobj
= Py_None
;
6362 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
*resultobj
;
6364 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6366 PyObject
* obj0
= 0 ;
6368 (char *) "self", NULL
6371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6376 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6381 resultobj
= SWIG_FromInt((int)result
);
6388 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6389 PyObject
*resultobj
;
6390 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6393 int arg4
= (int) 5 ;
6395 PyObject
* obj0
= 0 ;
6396 PyObject
* obj1
= 0 ;
6397 PyObject
* obj2
= 0 ;
6398 PyObject
* obj3
= 0 ;
6400 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6406 arg2
= (int) SWIG_AsInt(obj1
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6408 arg3
= (int) SWIG_AsInt(obj2
);
6409 if (PyErr_Occurred()) SWIG_fail
;
6411 arg4
= (int) SWIG_AsInt(obj3
);
6412 if (PyErr_Occurred()) SWIG_fail
;
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6418 wxPyEndAllowThreads(__tstate
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6430 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6431 PyObject
*resultobj
;
6432 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6433 PyObject
* obj0
= 0 ;
6435 (char *) "self", NULL
6438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6443 (arg1
)->SizeWindows();
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6448 Py_INCREF(Py_None
); resultobj
= Py_None
;
6455 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
*resultobj
;
6457 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6459 PyObject
* obj0
= 0 ;
6460 PyObject
* obj1
= 0 ;
6462 (char *) "self",(char *) "needUpdating", NULL
6465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6468 arg2
= (bool) SWIG_AsBool(obj1
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6472 (arg1
)->SetNeedUpdating(arg2
);
6474 wxPyEndAllowThreads(__tstate
);
6475 if (PyErr_Occurred()) SWIG_fail
;
6477 Py_INCREF(Py_None
); resultobj
= Py_None
;
6484 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6485 PyObject
*resultobj
;
6486 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6488 PyObject
* obj0
= 0 ;
6490 (char *) "self", NULL
6493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6498 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6500 wxPyEndAllowThreads(__tstate
);
6501 if (PyErr_Occurred()) SWIG_fail
;
6504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6512 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6513 PyObject
*resultobj
;
6514 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6515 wxVisualAttributes result
;
6516 PyObject
* obj0
= 0 ;
6518 (char *) "variant", NULL
6521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6523 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6527 if (!wxPyCheckForApp()) SWIG_fail
;
6528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6529 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6531 wxPyEndAllowThreads(__tstate
);
6532 if (PyErr_Occurred()) SWIG_fail
;
6535 wxVisualAttributes
* resultptr
;
6536 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6537 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6545 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6548 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6550 return Py_BuildValue((char *)"");
6552 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6553 PyObject
*resultobj
;
6554 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6555 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6556 wxSplitterEvent
*result
;
6557 PyObject
* obj0
= 0 ;
6558 PyObject
* obj1
= 0 ;
6560 (char *) "type",(char *) "splitter", NULL
6563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6565 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6566 if (PyErr_Occurred()) SWIG_fail
;
6569 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6574 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6576 wxPyEndAllowThreads(__tstate
);
6577 if (PyErr_Occurred()) SWIG_fail
;
6579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6586 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6587 PyObject
*resultobj
;
6588 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6590 PyObject
* obj0
= 0 ;
6591 PyObject
* obj1
= 0 ;
6593 (char *) "self",(char *) "pos", NULL
6596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6599 arg2
= (int) SWIG_AsInt(obj1
);
6600 if (PyErr_Occurred()) SWIG_fail
;
6602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6603 (arg1
)->SetSashPosition(arg2
);
6605 wxPyEndAllowThreads(__tstate
);
6606 if (PyErr_Occurred()) SWIG_fail
;
6608 Py_INCREF(Py_None
); resultobj
= Py_None
;
6615 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6616 PyObject
*resultobj
;
6617 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6619 PyObject
* obj0
= 0 ;
6621 (char *) "self", NULL
6624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6629 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6631 wxPyEndAllowThreads(__tstate
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6634 resultobj
= SWIG_FromInt((int)result
);
6641 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6642 PyObject
*resultobj
;
6643 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6645 PyObject
* obj0
= 0 ;
6647 (char *) "self", NULL
6650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6655 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6657 wxPyEndAllowThreads(__tstate
);
6658 if (PyErr_Occurred()) SWIG_fail
;
6661 resultobj
= wxPyMake_wxObject(result
);
6669 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
*resultobj
;
6671 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6673 PyObject
* obj0
= 0 ;
6675 (char *) "self", NULL
6678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6688 resultobj
= SWIG_FromInt((int)result
);
6695 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
*resultobj
;
6697 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6699 PyObject
* obj0
= 0 ;
6701 (char *) "self", NULL
6704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6709 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6711 wxPyEndAllowThreads(__tstate
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6714 resultobj
= SWIG_FromInt((int)result
);
6721 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6724 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6726 return Py_BuildValue((char *)"");
6728 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6729 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6734 static PyObject
*_wrap_SashNameStr_get() {
6739 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6741 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6748 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6749 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6754 static PyObject
*_wrap_SashLayoutNameStr_get() {
6759 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6761 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6768 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6769 PyObject
*resultobj
;
6770 wxWindow
*arg1
= (wxWindow
*) 0 ;
6771 int arg2
= (int) -1 ;
6772 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6773 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6774 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6775 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6776 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6777 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6778 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6779 wxSashWindow
*result
;
6782 bool temp6
= False
;
6783 PyObject
* obj0
= 0 ;
6784 PyObject
* obj1
= 0 ;
6785 PyObject
* obj2
= 0 ;
6786 PyObject
* obj3
= 0 ;
6787 PyObject
* obj4
= 0 ;
6788 PyObject
* obj5
= 0 ;
6790 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6797 arg2
= (int) SWIG_AsInt(obj1
);
6798 if (PyErr_Occurred()) SWIG_fail
;
6803 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6809 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6813 arg5
= (long) SWIG_AsLong(obj4
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6818 arg6
= wxString_in_helper(obj5
);
6819 if (arg6
== NULL
) SWIG_fail
;
6824 if (!wxPyCheckForApp()) SWIG_fail
;
6825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6826 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6828 wxPyEndAllowThreads(__tstate
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6846 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6847 PyObject
*resultobj
;
6848 wxSashWindow
*result
;
6853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6855 if (!wxPyCheckForApp()) SWIG_fail
;
6856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6857 result
= (wxSashWindow
*)new wxSashWindow();
6859 wxPyEndAllowThreads(__tstate
);
6860 if (PyErr_Occurred()) SWIG_fail
;
6862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6869 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6870 PyObject
*resultobj
;
6871 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6872 wxWindow
*arg2
= (wxWindow
*) 0 ;
6873 int arg3
= (int) -1 ;
6874 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6875 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6876 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6877 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6878 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6879 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6880 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6884 bool temp7
= False
;
6885 PyObject
* obj0
= 0 ;
6886 PyObject
* obj1
= 0 ;
6887 PyObject
* obj2
= 0 ;
6888 PyObject
* obj3
= 0 ;
6889 PyObject
* obj4
= 0 ;
6890 PyObject
* obj5
= 0 ;
6891 PyObject
* obj6
= 0 ;
6893 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6899 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6902 arg3
= (int) SWIG_AsInt(obj2
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6908 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6914 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6918 arg6
= (long) SWIG_AsLong(obj5
);
6919 if (PyErr_Occurred()) SWIG_fail
;
6923 arg7
= wxString_in_helper(obj6
);
6924 if (arg7
== NULL
) SWIG_fail
;
6929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6930 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6952 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6953 PyObject
*resultobj
;
6954 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6957 PyObject
* obj0
= 0 ;
6958 PyObject
* obj1
= 0 ;
6959 PyObject
* obj2
= 0 ;
6961 (char *) "self",(char *) "edge",(char *) "sash", NULL
6964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6967 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6968 if (PyErr_Occurred()) SWIG_fail
;
6969 arg3
= (bool) SWIG_AsBool(obj2
);
6970 if (PyErr_Occurred()) SWIG_fail
;
6972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6973 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6975 wxPyEndAllowThreads(__tstate
);
6976 if (PyErr_Occurred()) SWIG_fail
;
6978 Py_INCREF(Py_None
); resultobj
= Py_None
;
6985 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6986 PyObject
*resultobj
;
6987 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6990 PyObject
* obj0
= 0 ;
6991 PyObject
* obj1
= 0 ;
6993 (char *) "self",(char *) "edge", NULL
6996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6999 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7000 if (PyErr_Occurred()) SWIG_fail
;
7002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7003 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
7005 wxPyEndAllowThreads(__tstate
);
7006 if (PyErr_Occurred()) SWIG_fail
;
7009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7017 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
;
7019 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7022 PyObject
* obj0
= 0 ;
7023 PyObject
* obj1
= 0 ;
7024 PyObject
* obj2
= 0 ;
7026 (char *) "self",(char *) "edge",(char *) "border", NULL
7029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7032 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7034 arg3
= (bool) SWIG_AsBool(obj2
);
7035 if (PyErr_Occurred()) SWIG_fail
;
7037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7038 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7043 Py_INCREF(Py_None
); resultobj
= Py_None
;
7050 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7051 PyObject
*resultobj
;
7052 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7055 PyObject
* obj0
= 0 ;
7056 PyObject
* obj1
= 0 ;
7058 (char *) "self",(char *) "edge", NULL
7061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7064 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7068 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7070 wxPyEndAllowThreads(__tstate
);
7071 if (PyErr_Occurred()) SWIG_fail
;
7074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7082 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7083 PyObject
*resultobj
;
7084 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7087 PyObject
* obj0
= 0 ;
7088 PyObject
* obj1
= 0 ;
7090 (char *) "self",(char *) "edge", NULL
7093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7096 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7100 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7102 wxPyEndAllowThreads(__tstate
);
7103 if (PyErr_Occurred()) SWIG_fail
;
7105 resultobj
= SWIG_FromInt((int)result
);
7112 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7113 PyObject
*resultobj
;
7114 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7116 PyObject
* obj0
= 0 ;
7117 PyObject
* obj1
= 0 ;
7119 (char *) "self",(char *) "width", NULL
7122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7125 arg2
= (int) SWIG_AsInt(obj1
);
7126 if (PyErr_Occurred()) SWIG_fail
;
7128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7129 (arg1
)->SetDefaultBorderSize(arg2
);
7131 wxPyEndAllowThreads(__tstate
);
7132 if (PyErr_Occurred()) SWIG_fail
;
7134 Py_INCREF(Py_None
); resultobj
= Py_None
;
7141 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7142 PyObject
*resultobj
;
7143 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7145 PyObject
* obj0
= 0 ;
7147 (char *) "self", NULL
7150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7155 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7157 wxPyEndAllowThreads(__tstate
);
7158 if (PyErr_Occurred()) SWIG_fail
;
7160 resultobj
= SWIG_FromInt((int)result
);
7167 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7168 PyObject
*resultobj
;
7169 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7171 PyObject
* obj0
= 0 ;
7172 PyObject
* obj1
= 0 ;
7174 (char *) "self",(char *) "width", NULL
7177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7180 arg2
= (int) SWIG_AsInt(obj1
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7184 (arg1
)->SetExtraBorderSize(arg2
);
7186 wxPyEndAllowThreads(__tstate
);
7187 if (PyErr_Occurred()) SWIG_fail
;
7189 Py_INCREF(Py_None
); resultobj
= Py_None
;
7196 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7197 PyObject
*resultobj
;
7198 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7200 PyObject
* obj0
= 0 ;
7202 (char *) "self", NULL
7205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7210 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7212 wxPyEndAllowThreads(__tstate
);
7213 if (PyErr_Occurred()) SWIG_fail
;
7215 resultobj
= SWIG_FromInt((int)result
);
7222 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7223 PyObject
*resultobj
;
7224 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7226 PyObject
* obj0
= 0 ;
7227 PyObject
* obj1
= 0 ;
7229 (char *) "self",(char *) "min", NULL
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7235 arg2
= (int) SWIG_AsInt(obj1
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 (arg1
)->SetMinimumSizeX(arg2
);
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7244 Py_INCREF(Py_None
); resultobj
= Py_None
;
7251 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
*resultobj
;
7253 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7255 PyObject
* obj0
= 0 ;
7256 PyObject
* obj1
= 0 ;
7258 (char *) "self",(char *) "min", NULL
7261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7264 arg2
= (int) SWIG_AsInt(obj1
);
7265 if (PyErr_Occurred()) SWIG_fail
;
7267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7268 (arg1
)->SetMinimumSizeY(arg2
);
7270 wxPyEndAllowThreads(__tstate
);
7271 if (PyErr_Occurred()) SWIG_fail
;
7273 Py_INCREF(Py_None
); resultobj
= Py_None
;
7280 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7281 PyObject
*resultobj
;
7282 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7284 PyObject
* obj0
= 0 ;
7286 (char *) "self", NULL
7289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7294 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7296 wxPyEndAllowThreads(__tstate
);
7297 if (PyErr_Occurred()) SWIG_fail
;
7299 resultobj
= SWIG_FromInt((int)result
);
7306 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7307 PyObject
*resultobj
;
7308 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7310 PyObject
* obj0
= 0 ;
7312 (char *) "self", NULL
7315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7320 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7322 wxPyEndAllowThreads(__tstate
);
7323 if (PyErr_Occurred()) SWIG_fail
;
7325 resultobj
= SWIG_FromInt((int)result
);
7332 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7333 PyObject
*resultobj
;
7334 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7336 PyObject
* obj0
= 0 ;
7337 PyObject
* obj1
= 0 ;
7339 (char *) "self",(char *) "max", NULL
7342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7345 arg2
= (int) SWIG_AsInt(obj1
);
7346 if (PyErr_Occurred()) SWIG_fail
;
7348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7349 (arg1
)->SetMaximumSizeX(arg2
);
7351 wxPyEndAllowThreads(__tstate
);
7352 if (PyErr_Occurred()) SWIG_fail
;
7354 Py_INCREF(Py_None
); resultobj
= Py_None
;
7361 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7362 PyObject
*resultobj
;
7363 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7365 PyObject
* obj0
= 0 ;
7366 PyObject
* obj1
= 0 ;
7368 (char *) "self",(char *) "max", NULL
7371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7374 arg2
= (int) SWIG_AsInt(obj1
);
7375 if (PyErr_Occurred()) SWIG_fail
;
7377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7378 (arg1
)->SetMaximumSizeY(arg2
);
7380 wxPyEndAllowThreads(__tstate
);
7381 if (PyErr_Occurred()) SWIG_fail
;
7383 Py_INCREF(Py_None
); resultobj
= Py_None
;
7390 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7391 PyObject
*resultobj
;
7392 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7394 PyObject
* obj0
= 0 ;
7396 (char *) "self", NULL
7399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7404 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7406 wxPyEndAllowThreads(__tstate
);
7407 if (PyErr_Occurred()) SWIG_fail
;
7409 resultobj
= SWIG_FromInt((int)result
);
7416 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, 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_GetMaximumSizeY",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
)->GetMaximumSizeY();
7432 wxPyEndAllowThreads(__tstate
);
7433 if (PyErr_Occurred()) SWIG_fail
;
7435 resultobj
= SWIG_FromInt((int)result
);
7442 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
;
7444 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7447 int arg4
= (int) 2 ;
7449 PyObject
* obj0
= 0 ;
7450 PyObject
* obj1
= 0 ;
7451 PyObject
* obj2
= 0 ;
7452 PyObject
* obj3
= 0 ;
7454 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7460 arg2
= (int) SWIG_AsInt(obj1
);
7461 if (PyErr_Occurred()) SWIG_fail
;
7462 arg3
= (int) SWIG_AsInt(obj2
);
7463 if (PyErr_Occurred()) SWIG_fail
;
7465 arg4
= (int) SWIG_AsInt(obj3
);
7466 if (PyErr_Occurred()) SWIG_fail
;
7469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7470 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7475 resultobj
= SWIG_FromInt((int)result
);
7482 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7483 PyObject
*resultobj
;
7484 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7485 PyObject
* obj0
= 0 ;
7487 (char *) "self", NULL
7490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7495 (arg1
)->SizeWindows();
7497 wxPyEndAllowThreads(__tstate
);
7498 if (PyErr_Occurred()) SWIG_fail
;
7500 Py_INCREF(Py_None
); resultobj
= Py_None
;
7507 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7510 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7512 return Py_BuildValue((char *)"");
7514 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7515 PyObject
*resultobj
;
7516 int arg1
= (int) 0 ;
7517 int arg2
= (int) wxSASH_NONE
;
7518 wxSashEvent
*result
;
7519 PyObject
* obj0
= 0 ;
7520 PyObject
* obj1
= 0 ;
7522 (char *) "id",(char *) "edge", NULL
7525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7527 arg1
= (int) SWIG_AsInt(obj0
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7531 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7532 if (PyErr_Occurred()) SWIG_fail
;
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7548 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7549 PyObject
*resultobj
;
7550 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7552 PyObject
* obj0
= 0 ;
7553 PyObject
* obj1
= 0 ;
7555 (char *) "self",(char *) "edge", NULL
7558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7561 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7562 if (PyErr_Occurred()) SWIG_fail
;
7564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7565 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7567 wxPyEndAllowThreads(__tstate
);
7568 if (PyErr_Occurred()) SWIG_fail
;
7570 Py_INCREF(Py_None
); resultobj
= Py_None
;
7577 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
*resultobj
;
7579 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7581 PyObject
* obj0
= 0 ;
7583 (char *) "self", NULL
7586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7591 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7593 wxPyEndAllowThreads(__tstate
);
7594 if (PyErr_Occurred()) SWIG_fail
;
7596 resultobj
= SWIG_FromInt((int)result
);
7603 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7604 PyObject
*resultobj
;
7605 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7608 PyObject
* obj0
= 0 ;
7609 PyObject
* obj1
= 0 ;
7611 (char *) "self",(char *) "rect", NULL
7614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7619 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7623 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7625 wxPyEndAllowThreads(__tstate
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7628 Py_INCREF(Py_None
); resultobj
= Py_None
;
7635 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7636 PyObject
*resultobj
;
7637 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7639 PyObject
* obj0
= 0 ;
7641 (char *) "self", NULL
7644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7649 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7651 wxPyEndAllowThreads(__tstate
);
7652 if (PyErr_Occurred()) SWIG_fail
;
7656 resultptr
= new wxRect((wxRect
&) result
);
7657 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7665 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7666 PyObject
*resultobj
;
7667 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7669 PyObject
* obj0
= 0 ;
7670 PyObject
* obj1
= 0 ;
7672 (char *) "self",(char *) "status", NULL
7675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7678 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7679 if (PyErr_Occurred()) SWIG_fail
;
7681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7682 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7684 wxPyEndAllowThreads(__tstate
);
7685 if (PyErr_Occurred()) SWIG_fail
;
7687 Py_INCREF(Py_None
); resultobj
= Py_None
;
7694 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7695 PyObject
*resultobj
;
7696 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7698 PyObject
* obj0
= 0 ;
7700 (char *) "self", NULL
7703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7708 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7710 wxPyEndAllowThreads(__tstate
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7713 resultobj
= SWIG_FromInt((int)result
);
7720 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7723 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7725 return Py_BuildValue((char *)"");
7727 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
*resultobj
;
7729 int arg1
= (int) 0 ;
7730 wxQueryLayoutInfoEvent
*result
;
7731 PyObject
* obj0
= 0 ;
7736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7738 arg1
= (int) SWIG_AsInt(obj0
);
7739 if (PyErr_Occurred()) SWIG_fail
;
7742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7743 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7745 wxPyEndAllowThreads(__tstate
);
7746 if (PyErr_Occurred()) SWIG_fail
;
7748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7755 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7756 PyObject
*resultobj
;
7757 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7759 PyObject
* obj0
= 0 ;
7760 PyObject
* obj1
= 0 ;
7762 (char *) "self",(char *) "length", NULL
7765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7768 arg2
= (int) SWIG_AsInt(obj1
);
7769 if (PyErr_Occurred()) SWIG_fail
;
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 (arg1
)->SetRequestedLength(arg2
);
7774 wxPyEndAllowThreads(__tstate
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7777 Py_INCREF(Py_None
); resultobj
= Py_None
;
7784 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
;
7786 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7788 PyObject
* obj0
= 0 ;
7790 (char *) "self", NULL
7793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7798 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7800 wxPyEndAllowThreads(__tstate
);
7801 if (PyErr_Occurred()) SWIG_fail
;
7803 resultobj
= SWIG_FromInt((int)result
);
7810 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7811 PyObject
*resultobj
;
7812 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7814 PyObject
* obj0
= 0 ;
7815 PyObject
* obj1
= 0 ;
7817 (char *) "self",(char *) "flags", NULL
7820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7823 arg2
= (int) SWIG_AsInt(obj1
);
7824 if (PyErr_Occurred()) SWIG_fail
;
7826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7827 (arg1
)->SetFlags(arg2
);
7829 wxPyEndAllowThreads(__tstate
);
7830 if (PyErr_Occurred()) SWIG_fail
;
7832 Py_INCREF(Py_None
); resultobj
= Py_None
;
7839 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7840 PyObject
*resultobj
;
7841 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7843 PyObject
* obj0
= 0 ;
7845 (char *) "self", NULL
7848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7853 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7855 wxPyEndAllowThreads(__tstate
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7858 resultobj
= SWIG_FromInt((int)result
);
7865 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7866 PyObject
*resultobj
;
7867 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7870 PyObject
* obj0
= 0 ;
7871 PyObject
* obj1
= 0 ;
7873 (char *) "self",(char *) "size", NULL
7876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7881 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7885 (arg1
)->SetSize((wxSize
const &)*arg2
);
7887 wxPyEndAllowThreads(__tstate
);
7888 if (PyErr_Occurred()) SWIG_fail
;
7890 Py_INCREF(Py_None
); resultobj
= Py_None
;
7897 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7898 PyObject
*resultobj
;
7899 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7901 PyObject
* obj0
= 0 ;
7903 (char *) "self", NULL
7906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7911 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7913 wxPyEndAllowThreads(__tstate
);
7914 if (PyErr_Occurred()) SWIG_fail
;
7918 resultptr
= new wxSize((wxSize
&) result
);
7919 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7927 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
*resultobj
;
7929 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7931 PyObject
* obj0
= 0 ;
7932 PyObject
* obj1
= 0 ;
7934 (char *) "self",(char *) "orient", NULL
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7940 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7941 if (PyErr_Occurred()) SWIG_fail
;
7943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7944 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7946 wxPyEndAllowThreads(__tstate
);
7947 if (PyErr_Occurred()) SWIG_fail
;
7949 Py_INCREF(Py_None
); resultobj
= Py_None
;
7956 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7957 PyObject
*resultobj
;
7958 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7960 PyObject
* obj0
= 0 ;
7962 (char *) "self", NULL
7965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7970 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7972 wxPyEndAllowThreads(__tstate
);
7973 if (PyErr_Occurred()) SWIG_fail
;
7975 resultobj
= SWIG_FromInt((int)result
);
7982 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7983 PyObject
*resultobj
;
7984 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7986 PyObject
* obj0
= 0 ;
7987 PyObject
* obj1
= 0 ;
7989 (char *) "self",(char *) "align", NULL
7992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7995 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7996 if (PyErr_Occurred()) SWIG_fail
;
7998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7999 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8001 wxPyEndAllowThreads(__tstate
);
8002 if (PyErr_Occurred()) SWIG_fail
;
8004 Py_INCREF(Py_None
); resultobj
= Py_None
;
8011 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8012 PyObject
*resultobj
;
8013 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8015 PyObject
* obj0
= 0 ;
8017 (char *) "self", NULL
8020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
8021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8025 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8027 wxPyEndAllowThreads(__tstate
);
8028 if (PyErr_Occurred()) SWIG_fail
;
8030 resultobj
= SWIG_FromInt((int)result
);
8037 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8039 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8040 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8042 return Py_BuildValue((char *)"");
8044 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8045 PyObject
*resultobj
;
8046 int arg1
= (int) 0 ;
8047 wxCalculateLayoutEvent
*result
;
8048 PyObject
* obj0
= 0 ;
8053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8055 arg1
= (int) SWIG_AsInt(obj0
);
8056 if (PyErr_Occurred()) SWIG_fail
;
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8072 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
;
8074 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8076 PyObject
* obj0
= 0 ;
8077 PyObject
* obj1
= 0 ;
8079 (char *) "self",(char *) "flags", NULL
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8085 arg2
= (int) SWIG_AsInt(obj1
);
8086 if (PyErr_Occurred()) SWIG_fail
;
8088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8089 (arg1
)->SetFlags(arg2
);
8091 wxPyEndAllowThreads(__tstate
);
8092 if (PyErr_Occurred()) SWIG_fail
;
8094 Py_INCREF(Py_None
); resultobj
= Py_None
;
8101 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8102 PyObject
*resultobj
;
8103 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8105 PyObject
* obj0
= 0 ;
8107 (char *) "self", NULL
8110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8115 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8117 wxPyEndAllowThreads(__tstate
);
8118 if (PyErr_Occurred()) SWIG_fail
;
8120 resultobj
= SWIG_FromInt((int)result
);
8127 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8128 PyObject
*resultobj
;
8129 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8132 PyObject
* obj0
= 0 ;
8133 PyObject
* obj1
= 0 ;
8135 (char *) "self",(char *) "rect", NULL
8138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8143 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8147 (arg1
)->SetRect((wxRect
const &)*arg2
);
8149 wxPyEndAllowThreads(__tstate
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8152 Py_INCREF(Py_None
); resultobj
= Py_None
;
8159 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8160 PyObject
*resultobj
;
8161 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8163 PyObject
* obj0
= 0 ;
8165 (char *) "self", NULL
8168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8173 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8175 wxPyEndAllowThreads(__tstate
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8180 resultptr
= new wxRect((wxRect
&) result
);
8181 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8189 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8192 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8194 return Py_BuildValue((char *)"");
8196 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8197 PyObject
*resultobj
;
8198 wxWindow
*arg1
= (wxWindow
*) 0 ;
8199 int arg2
= (int) -1 ;
8200 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8201 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8202 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8203 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8204 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8205 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8206 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8207 wxSashLayoutWindow
*result
;
8210 bool temp6
= False
;
8211 PyObject
* obj0
= 0 ;
8212 PyObject
* obj1
= 0 ;
8213 PyObject
* obj2
= 0 ;
8214 PyObject
* obj3
= 0 ;
8215 PyObject
* obj4
= 0 ;
8216 PyObject
* obj5
= 0 ;
8218 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8225 arg2
= (int) SWIG_AsInt(obj1
);
8226 if (PyErr_Occurred()) SWIG_fail
;
8231 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8237 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8241 arg5
= (long) SWIG_AsLong(obj4
);
8242 if (PyErr_Occurred()) SWIG_fail
;
8246 arg6
= wxString_in_helper(obj5
);
8247 if (arg6
== NULL
) SWIG_fail
;
8252 if (!wxPyCheckForApp()) SWIG_fail
;
8253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8254 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8256 wxPyEndAllowThreads(__tstate
);
8257 if (PyErr_Occurred()) SWIG_fail
;
8259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8274 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8275 PyObject
*resultobj
;
8276 wxSashLayoutWindow
*result
;
8281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8283 if (!wxPyCheckForApp()) SWIG_fail
;
8284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8285 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8287 wxPyEndAllowThreads(__tstate
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8297 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8298 PyObject
*resultobj
;
8299 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8300 wxWindow
*arg2
= (wxWindow
*) 0 ;
8301 int arg3
= (int) -1 ;
8302 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8303 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8304 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8305 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8306 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8307 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8308 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8312 bool temp7
= False
;
8313 PyObject
* obj0
= 0 ;
8314 PyObject
* obj1
= 0 ;
8315 PyObject
* obj2
= 0 ;
8316 PyObject
* obj3
= 0 ;
8317 PyObject
* obj4
= 0 ;
8318 PyObject
* obj5
= 0 ;
8319 PyObject
* obj6
= 0 ;
8321 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8327 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8330 arg3
= (int) SWIG_AsInt(obj2
);
8331 if (PyErr_Occurred()) SWIG_fail
;
8336 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8342 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8346 arg6
= (long) SWIG_AsLong(obj5
);
8347 if (PyErr_Occurred()) SWIG_fail
;
8351 arg7
= wxString_in_helper(obj6
);
8352 if (arg7
== NULL
) SWIG_fail
;
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8380 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8381 PyObject
*resultobj
;
8382 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8384 PyObject
* obj0
= 0 ;
8386 (char *) "self", NULL
8389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8394 result
= (int)(arg1
)->GetAlignment();
8396 wxPyEndAllowThreads(__tstate
);
8397 if (PyErr_Occurred()) SWIG_fail
;
8399 resultobj
= SWIG_FromInt((int)result
);
8406 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8407 PyObject
*resultobj
;
8408 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8410 PyObject
* obj0
= 0 ;
8412 (char *) "self", NULL
8415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8420 result
= (int)(arg1
)->GetOrientation();
8422 wxPyEndAllowThreads(__tstate
);
8423 if (PyErr_Occurred()) SWIG_fail
;
8425 resultobj
= SWIG_FromInt((int)result
);
8432 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8433 PyObject
*resultobj
;
8434 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8436 PyObject
* obj0
= 0 ;
8437 PyObject
* obj1
= 0 ;
8439 (char *) "self",(char *) "alignment", NULL
8442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8445 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8449 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8451 wxPyEndAllowThreads(__tstate
);
8452 if (PyErr_Occurred()) SWIG_fail
;
8454 Py_INCREF(Py_None
); resultobj
= Py_None
;
8461 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8462 PyObject
*resultobj
;
8463 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8466 PyObject
* obj0
= 0 ;
8467 PyObject
* obj1
= 0 ;
8469 (char *) "self",(char *) "size", NULL
8472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8477 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8481 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8483 wxPyEndAllowThreads(__tstate
);
8484 if (PyErr_Occurred()) SWIG_fail
;
8486 Py_INCREF(Py_None
); resultobj
= Py_None
;
8493 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8494 PyObject
*resultobj
;
8495 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8497 PyObject
* obj0
= 0 ;
8498 PyObject
* obj1
= 0 ;
8500 (char *) "self",(char *) "orientation", NULL
8503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8506 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8507 if (PyErr_Occurred()) SWIG_fail
;
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8512 wxPyEndAllowThreads(__tstate
);
8513 if (PyErr_Occurred()) SWIG_fail
;
8515 Py_INCREF(Py_None
); resultobj
= Py_None
;
8522 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8525 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8527 return Py_BuildValue((char *)"");
8529 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8530 PyObject
*resultobj
;
8531 wxLayoutAlgorithm
*result
;
8536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8539 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8541 wxPyEndAllowThreads(__tstate
);
8542 if (PyErr_Occurred()) SWIG_fail
;
8544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8551 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8552 PyObject
*resultobj
;
8553 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8554 PyObject
* obj0
= 0 ;
8556 (char *) "self", NULL
8559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8566 wxPyEndAllowThreads(__tstate
);
8567 if (PyErr_Occurred()) SWIG_fail
;
8569 Py_INCREF(Py_None
); resultobj
= Py_None
;
8576 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8577 PyObject
*resultobj
;
8578 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8579 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8580 wxRect
*arg3
= (wxRect
*) NULL
;
8582 PyObject
* obj0
= 0 ;
8583 PyObject
* obj1
= 0 ;
8584 PyObject
* obj2
= 0 ;
8586 (char *) "self",(char *) "frame",(char *) "rect", NULL
8589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8592 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8595 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8600 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8602 wxPyEndAllowThreads(__tstate
);
8603 if (PyErr_Occurred()) SWIG_fail
;
8606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8614 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8615 PyObject
*resultobj
;
8616 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8617 wxFrame
*arg2
= (wxFrame
*) 0 ;
8618 wxWindow
*arg3
= (wxWindow
*) NULL
;
8620 PyObject
* obj0
= 0 ;
8621 PyObject
* obj1
= 0 ;
8622 PyObject
* obj2
= 0 ;
8624 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8633 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8638 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8640 wxPyEndAllowThreads(__tstate
);
8641 if (PyErr_Occurred()) SWIG_fail
;
8644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8652 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8653 PyObject
*resultobj
;
8654 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8655 wxWindow
*arg2
= (wxWindow
*) 0 ;
8656 wxWindow
*arg3
= (wxWindow
*) NULL
;
8658 PyObject
* obj0
= 0 ;
8659 PyObject
* obj1
= 0 ;
8660 PyObject
* obj2
= 0 ;
8662 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8671 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8678 wxPyEndAllowThreads(__tstate
);
8679 if (PyErr_Occurred()) SWIG_fail
;
8682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8690 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8693 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8695 return Py_BuildValue((char *)"");
8697 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8698 PyObject
*resultobj
;
8699 wxWindow
*arg1
= (wxWindow
*) 0 ;
8700 int arg2
= (int) wxBORDER_NONE
;
8701 wxPopupWindow
*result
;
8702 PyObject
* obj0
= 0 ;
8703 PyObject
* obj1
= 0 ;
8705 (char *) "parent",(char *) "flags", NULL
8708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8712 arg2
= (int) SWIG_AsInt(obj1
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8716 if (!wxPyCheckForApp()) SWIG_fail
;
8717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8718 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8720 wxPyEndAllowThreads(__tstate
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8730 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8731 PyObject
*resultobj
;
8732 wxPopupWindow
*result
;
8737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8739 if (!wxPyCheckForApp()) SWIG_fail
;
8740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8741 result
= (wxPopupWindow
*)new wxPopupWindow();
8743 wxPyEndAllowThreads(__tstate
);
8744 if (PyErr_Occurred()) SWIG_fail
;
8746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8753 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8754 PyObject
*resultobj
;
8755 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8756 wxWindow
*arg2
= (wxWindow
*) 0 ;
8757 int arg3
= (int) wxBORDER_NONE
;
8759 PyObject
* obj0
= 0 ;
8760 PyObject
* obj1
= 0 ;
8761 PyObject
* obj2
= 0 ;
8763 (char *) "self",(char *) "parent",(char *) "flags", NULL
8766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8772 arg3
= (int) SWIG_AsInt(obj2
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8777 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8779 wxPyEndAllowThreads(__tstate
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8791 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8792 PyObject
*resultobj
;
8793 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8798 PyObject
* obj0
= 0 ;
8799 PyObject
* obj1
= 0 ;
8800 PyObject
* obj2
= 0 ;
8802 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8810 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8814 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8818 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8820 wxPyEndAllowThreads(__tstate
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8823 Py_INCREF(Py_None
); resultobj
= Py_None
;
8830 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8833 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8835 return Py_BuildValue((char *)"");
8837 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8838 PyObject
*resultobj
;
8839 wxWindow
*arg1
= (wxWindow
*) 0 ;
8840 int arg2
= (int) wxBORDER_NONE
;
8841 wxPyPopupTransientWindow
*result
;
8842 PyObject
* obj0
= 0 ;
8843 PyObject
* obj1
= 0 ;
8845 (char *) "parent",(char *) "style", NULL
8848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8852 arg2
= (int) SWIG_AsInt(obj1
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8856 if (!wxPyCheckForApp()) SWIG_fail
;
8857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8858 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8860 wxPyEndAllowThreads(__tstate
);
8861 if (PyErr_Occurred()) SWIG_fail
;
8863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8870 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8871 PyObject
*resultobj
;
8872 wxPyPopupTransientWindow
*result
;
8877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8879 if (!wxPyCheckForApp()) SWIG_fail
;
8880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8881 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8883 wxPyEndAllowThreads(__tstate
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8893 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8894 PyObject
*resultobj
;
8895 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8896 PyObject
*arg2
= (PyObject
*) 0 ;
8897 PyObject
*arg3
= (PyObject
*) 0 ;
8898 PyObject
* obj0
= 0 ;
8899 PyObject
* obj1
= 0 ;
8900 PyObject
* obj2
= 0 ;
8902 (char *) "self",(char *) "self",(char *) "_class", NULL
8905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8912 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8914 wxPyEndAllowThreads(__tstate
);
8915 if (PyErr_Occurred()) SWIG_fail
;
8917 Py_INCREF(Py_None
); resultobj
= Py_None
;
8924 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8925 PyObject
*resultobj
;
8926 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8927 wxWindow
*arg2
= (wxWindow
*) NULL
;
8928 PyObject
* obj0
= 0 ;
8929 PyObject
* obj1
= 0 ;
8931 (char *) "self",(char *) "focus", NULL
8934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
8935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8943 (arg1
)->Popup(arg2
);
8945 wxPyEndAllowThreads(__tstate
);
8946 if (PyErr_Occurred()) SWIG_fail
;
8948 Py_INCREF(Py_None
); resultobj
= Py_None
;
8955 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
*resultobj
;
8957 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8958 PyObject
* obj0
= 0 ;
8960 (char *) "self", NULL
8963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
8964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8973 Py_INCREF(Py_None
); resultobj
= Py_None
;
8980 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8983 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8985 return Py_BuildValue((char *)"");
8987 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8988 PyObject
*resultobj
;
8989 wxWindow
*arg1
= (wxWindow
*) 0 ;
8990 wxString
*arg2
= 0 ;
8991 int arg3
= (int) 100 ;
8992 wxRect
*arg4
= (wxRect
*) NULL
;
8993 wxTipWindow
*result
;
8994 bool temp2
= False
;
8995 PyObject
* obj0
= 0 ;
8996 PyObject
* obj1
= 0 ;
8997 PyObject
* obj2
= 0 ;
8998 PyObject
* obj3
= 0 ;
9000 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9007 arg2
= wxString_in_helper(obj1
);
9008 if (arg2
== NULL
) SWIG_fail
;
9012 arg3
= (int) SWIG_AsInt(obj2
);
9013 if (PyErr_Occurred()) SWIG_fail
;
9016 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
9017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9020 if (!wxPyCheckForApp()) SWIG_fail
;
9021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9022 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9024 wxPyEndAllowThreads(__tstate
);
9025 if (PyErr_Occurred()) SWIG_fail
;
9027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
9042 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9043 PyObject
*resultobj
;
9044 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9047 PyObject
* obj0
= 0 ;
9048 PyObject
* obj1
= 0 ;
9050 (char *) "self",(char *) "rectBound", NULL
9053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9058 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9062 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9067 Py_INCREF(Py_None
); resultobj
= Py_None
;
9074 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9075 PyObject
*resultobj
;
9076 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9077 PyObject
* obj0
= 0 ;
9079 (char *) "self", NULL
9082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9089 wxPyEndAllowThreads(__tstate
);
9090 if (PyErr_Occurred()) SWIG_fail
;
9092 Py_INCREF(Py_None
); resultobj
= Py_None
;
9099 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9102 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9104 return Py_BuildValue((char *)"");
9106 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9107 PyObject
*resultobj
;
9108 wxWindow
*arg1
= (wxWindow
*) 0 ;
9109 int arg2
= (int) wxID_ANY
;
9110 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9111 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9112 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9113 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9114 long arg5
= (long) 0 ;
9115 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9116 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9117 wxPyVScrolledWindow
*result
;
9120 bool temp6
= False
;
9121 PyObject
* obj0
= 0 ;
9122 PyObject
* obj1
= 0 ;
9123 PyObject
* obj2
= 0 ;
9124 PyObject
* obj3
= 0 ;
9125 PyObject
* obj4
= 0 ;
9126 PyObject
* obj5
= 0 ;
9128 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9135 arg2
= (int) SWIG_AsInt(obj1
);
9136 if (PyErr_Occurred()) SWIG_fail
;
9141 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9147 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9151 arg5
= (long) SWIG_AsLong(obj4
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9156 arg6
= wxString_in_helper(obj5
);
9157 if (arg6
== NULL
) SWIG_fail
;
9162 if (!wxPyCheckForApp()) SWIG_fail
;
9163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9164 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9166 wxPyEndAllowThreads(__tstate
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9184 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9185 PyObject
*resultobj
;
9186 wxPyVScrolledWindow
*result
;
9191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9193 if (!wxPyCheckForApp()) SWIG_fail
;
9194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9195 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9197 wxPyEndAllowThreads(__tstate
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9207 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9208 PyObject
*resultobj
;
9209 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9210 PyObject
*arg2
= (PyObject
*) 0 ;
9211 PyObject
*arg3
= (PyObject
*) 0 ;
9212 PyObject
* obj0
= 0 ;
9213 PyObject
* obj1
= 0 ;
9214 PyObject
* obj2
= 0 ;
9216 (char *) "self",(char *) "self",(char *) "_class", NULL
9219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9226 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9228 wxPyEndAllowThreads(__tstate
);
9229 if (PyErr_Occurred()) SWIG_fail
;
9231 Py_INCREF(Py_None
); resultobj
= Py_None
;
9238 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9239 PyObject
*resultobj
;
9240 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9241 wxWindow
*arg2
= (wxWindow
*) 0 ;
9242 int arg3
= (int) wxID_ANY
;
9243 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9244 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9245 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9246 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9247 long arg6
= (long) 0 ;
9248 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9249 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9253 bool temp7
= False
;
9254 PyObject
* obj0
= 0 ;
9255 PyObject
* obj1
= 0 ;
9256 PyObject
* obj2
= 0 ;
9257 PyObject
* obj3
= 0 ;
9258 PyObject
* obj4
= 0 ;
9259 PyObject
* obj5
= 0 ;
9260 PyObject
* obj6
= 0 ;
9262 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9271 arg3
= (int) SWIG_AsInt(obj2
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9277 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9283 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9287 arg6
= (long) SWIG_AsLong(obj5
);
9288 if (PyErr_Occurred()) SWIG_fail
;
9292 arg7
= wxString_in_helper(obj6
);
9293 if (arg7
== NULL
) SWIG_fail
;
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9299 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9301 wxPyEndAllowThreads(__tstate
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9321 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9322 PyObject
*resultobj
;
9323 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9325 PyObject
* obj0
= 0 ;
9326 PyObject
* obj1
= 0 ;
9328 (char *) "self",(char *) "count", NULL
9331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9334 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9335 if (PyErr_Occurred()) SWIG_fail
;
9337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9338 (arg1
)->SetLineCount(arg2
);
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9343 Py_INCREF(Py_None
); resultobj
= Py_None
;
9350 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9351 PyObject
*resultobj
;
9352 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9355 PyObject
* obj0
= 0 ;
9356 PyObject
* obj1
= 0 ;
9358 (char *) "self",(char *) "line", NULL
9361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9364 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9365 if (PyErr_Occurred()) SWIG_fail
;
9367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9368 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9370 wxPyEndAllowThreads(__tstate
);
9371 if (PyErr_Occurred()) SWIG_fail
;
9374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9382 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9383 PyObject
*resultobj
;
9384 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9387 PyObject
* obj0
= 0 ;
9388 PyObject
* obj1
= 0 ;
9390 (char *) "self",(char *) "lines", NULL
9393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9396 arg2
= (int) SWIG_AsInt(obj1
);
9397 if (PyErr_Occurred()) SWIG_fail
;
9399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9400 result
= (bool)(arg1
)->ScrollLines(arg2
);
9402 wxPyEndAllowThreads(__tstate
);
9403 if (PyErr_Occurred()) SWIG_fail
;
9406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9414 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9415 PyObject
*resultobj
;
9416 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9419 PyObject
* obj0
= 0 ;
9420 PyObject
* obj1
= 0 ;
9422 (char *) "self",(char *) "pages", NULL
9425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9428 arg2
= (int) SWIG_AsInt(obj1
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9432 result
= (bool)(arg1
)->ScrollPages(arg2
);
9434 wxPyEndAllowThreads(__tstate
);
9435 if (PyErr_Occurred()) SWIG_fail
;
9438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9446 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9447 PyObject
*resultobj
;
9448 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9450 PyObject
* obj0
= 0 ;
9451 PyObject
* obj1
= 0 ;
9453 (char *) "self",(char *) "line", NULL
9456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9459 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9460 if (PyErr_Occurred()) SWIG_fail
;
9462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 (arg1
)->RefreshLine(arg2
);
9465 wxPyEndAllowThreads(__tstate
);
9466 if (PyErr_Occurred()) SWIG_fail
;
9468 Py_INCREF(Py_None
); resultobj
= Py_None
;
9475 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9476 PyObject
*resultobj
;
9477 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9480 PyObject
* obj0
= 0 ;
9481 PyObject
* obj1
= 0 ;
9482 PyObject
* obj2
= 0 ;
9484 (char *) "self",(char *) "from",(char *) "to", NULL
9487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9490 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9492 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9493 if (PyErr_Occurred()) SWIG_fail
;
9495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9496 (arg1
)->RefreshLines(arg2
,arg3
);
9498 wxPyEndAllowThreads(__tstate
);
9499 if (PyErr_Occurred()) SWIG_fail
;
9501 Py_INCREF(Py_None
); resultobj
= Py_None
;
9508 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9509 PyObject
*resultobj
;
9510 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9514 PyObject
* obj0
= 0 ;
9515 PyObject
* obj1
= 0 ;
9516 PyObject
* obj2
= 0 ;
9518 (char *) "self",(char *) "x",(char *) "y", NULL
9521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9524 arg2
= (int) SWIG_AsInt(obj1
);
9525 if (PyErr_Occurred()) SWIG_fail
;
9526 arg3
= (int) SWIG_AsInt(obj2
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9530 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9535 resultobj
= SWIG_FromInt((int)result
);
9542 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9543 PyObject
*resultobj
;
9544 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9548 PyObject
* obj0
= 0 ;
9549 PyObject
* obj1
= 0 ;
9551 (char *) "self",(char *) "pt", NULL
9554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9559 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9563 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9565 wxPyEndAllowThreads(__tstate
);
9566 if (PyErr_Occurred()) SWIG_fail
;
9568 resultobj
= SWIG_FromInt((int)result
);
9575 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9576 PyObject
*resultobj
;
9577 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9578 PyObject
* obj0
= 0 ;
9580 (char *) "self", NULL
9583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9588 (arg1
)->RefreshAll();
9590 wxPyEndAllowThreads(__tstate
);
9591 if (PyErr_Occurred()) SWIG_fail
;
9593 Py_INCREF(Py_None
); resultobj
= Py_None
;
9600 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9601 PyObject
*resultobj
;
9602 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9604 PyObject
* obj0
= 0 ;
9606 (char *) "self", NULL
9609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9614 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9619 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9626 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9627 PyObject
*resultobj
;
9628 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9630 PyObject
* obj0
= 0 ;
9632 (char *) "self", NULL
9635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9640 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9642 wxPyEndAllowThreads(__tstate
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9645 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9652 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9653 PyObject
*resultobj
;
9654 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9656 PyObject
* obj0
= 0 ;
9658 (char *) "self", NULL
9661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9666 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9668 wxPyEndAllowThreads(__tstate
);
9669 if (PyErr_Occurred()) SWIG_fail
;
9671 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9678 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9679 PyObject
*resultobj
;
9680 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9683 PyObject
* obj0
= 0 ;
9684 PyObject
* obj1
= 0 ;
9686 (char *) "self",(char *) "line", NULL
9689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9692 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9693 if (PyErr_Occurred()) SWIG_fail
;
9695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9696 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9698 wxPyEndAllowThreads(__tstate
);
9699 if (PyErr_Occurred()) SWIG_fail
;
9702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9710 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9713 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9715 return Py_BuildValue((char *)"");
9717 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9718 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9723 static PyObject
*_wrap_VListBoxNameStr_get() {
9728 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9730 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9737 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9738 PyObject
*resultobj
;
9739 wxWindow
*arg1
= (wxWindow
*) 0 ;
9740 int arg2
= (int) wxID_ANY
;
9741 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9742 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9743 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9744 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9745 long arg5
= (long) 0 ;
9746 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9747 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9748 wxPyVListBox
*result
;
9751 bool temp6
= False
;
9752 PyObject
* obj0
= 0 ;
9753 PyObject
* obj1
= 0 ;
9754 PyObject
* obj2
= 0 ;
9755 PyObject
* obj3
= 0 ;
9756 PyObject
* obj4
= 0 ;
9757 PyObject
* obj5
= 0 ;
9759 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9766 arg2
= (int) SWIG_AsInt(obj1
);
9767 if (PyErr_Occurred()) SWIG_fail
;
9772 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9778 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9782 arg5
= (long) SWIG_AsLong(obj4
);
9783 if (PyErr_Occurred()) SWIG_fail
;
9787 arg6
= wxString_in_helper(obj5
);
9788 if (arg6
== NULL
) SWIG_fail
;
9793 if (!wxPyCheckForApp()) SWIG_fail
;
9794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9795 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9797 wxPyEndAllowThreads(__tstate
);
9798 if (PyErr_Occurred()) SWIG_fail
;
9800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9815 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
*resultobj
;
9817 wxPyVListBox
*result
;
9822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9824 if (!wxPyCheckForApp()) SWIG_fail
;
9825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9826 result
= (wxPyVListBox
*)new wxPyVListBox();
9828 wxPyEndAllowThreads(__tstate
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9838 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9839 PyObject
*resultobj
;
9840 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9841 PyObject
*arg2
= (PyObject
*) 0 ;
9842 PyObject
*arg3
= (PyObject
*) 0 ;
9843 PyObject
* obj0
= 0 ;
9844 PyObject
* obj1
= 0 ;
9845 PyObject
* obj2
= 0 ;
9847 (char *) "self",(char *) "self",(char *) "_class", NULL
9850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9857 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9859 wxPyEndAllowThreads(__tstate
);
9860 if (PyErr_Occurred()) SWIG_fail
;
9862 Py_INCREF(Py_None
); resultobj
= Py_None
;
9869 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9870 PyObject
*resultobj
;
9871 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9872 wxWindow
*arg2
= (wxWindow
*) 0 ;
9873 int arg3
= (int) wxID_ANY
;
9874 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9875 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9876 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9877 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9878 long arg6
= (long) 0 ;
9879 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9880 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9884 bool temp7
= False
;
9885 PyObject
* obj0
= 0 ;
9886 PyObject
* obj1
= 0 ;
9887 PyObject
* obj2
= 0 ;
9888 PyObject
* obj3
= 0 ;
9889 PyObject
* obj4
= 0 ;
9890 PyObject
* obj5
= 0 ;
9891 PyObject
* obj6
= 0 ;
9893 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9899 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9902 arg3
= (int) SWIG_AsInt(obj2
);
9903 if (PyErr_Occurred()) SWIG_fail
;
9908 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9914 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9918 arg6
= (long) SWIG_AsLong(obj5
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9923 arg7
= wxString_in_helper(obj6
);
9924 if (arg7
== NULL
) SWIG_fail
;
9929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9930 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9952 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9953 PyObject
*resultobj
;
9954 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9956 PyObject
* obj0
= 0 ;
9958 (char *) "self", NULL
9961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9966 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9968 wxPyEndAllowThreads(__tstate
);
9969 if (PyErr_Occurred()) SWIG_fail
;
9971 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9978 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9979 PyObject
*resultobj
;
9980 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9982 PyObject
* obj0
= 0 ;
9984 (char *) "self", NULL
9987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9992 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9994 wxPyEndAllowThreads(__tstate
);
9995 if (PyErr_Occurred()) SWIG_fail
;
9998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10006 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10007 PyObject
*resultobj
;
10008 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10010 PyObject
* obj0
= 0 ;
10011 char *kwnames
[] = {
10012 (char *) "self", NULL
10015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
10016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10020 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
10022 wxPyEndAllowThreads(__tstate
);
10023 if (PyErr_Occurred()) SWIG_fail
;
10025 resultobj
= SWIG_FromInt((int)result
);
10032 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10033 PyObject
*resultobj
;
10034 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10037 PyObject
* obj0
= 0 ;
10038 PyObject
* obj1
= 0 ;
10039 char *kwnames
[] = {
10040 (char *) "self",(char *) "item", NULL
10043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
10044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10046 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10050 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
10052 wxPyEndAllowThreads(__tstate
);
10053 if (PyErr_Occurred()) SWIG_fail
;
10056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10064 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10065 PyObject
*resultobj
;
10066 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10069 PyObject
* obj0
= 0 ;
10070 PyObject
* obj1
= 0 ;
10071 char *kwnames
[] = {
10072 (char *) "self",(char *) "item", NULL
10075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10078 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10082 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10084 wxPyEndAllowThreads(__tstate
);
10085 if (PyErr_Occurred()) SWIG_fail
;
10088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10096 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10097 PyObject
*resultobj
;
10098 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10100 PyObject
* obj0
= 0 ;
10101 char *kwnames
[] = {
10102 (char *) "self", NULL
10105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10110 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10112 wxPyEndAllowThreads(__tstate
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10115 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10122 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10123 PyObject
*resultobj
;
10124 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10125 unsigned long *arg2
= 0 ;
10127 PyObject
* obj0
= 0 ;
10128 PyObject
* obj1
= 0 ;
10129 char *kwnames
[] = {
10130 (char *) "self",(char *) "cookie", NULL
10133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10136 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
10137 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10139 if (arg2
== NULL
) {
10140 PyErr_SetString(PyExc_TypeError
,"null reference");
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
10147 wxPyEndAllowThreads(__tstate
);
10148 if (PyErr_Occurred()) SWIG_fail
;
10150 resultobj
= SWIG_FromInt((int)result
);
10157 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10158 PyObject
*resultobj
;
10159 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10160 unsigned long *arg2
= 0 ;
10162 PyObject
* obj0
= 0 ;
10163 PyObject
* obj1
= 0 ;
10164 char *kwnames
[] = {
10165 (char *) "self",(char *) "cookie", NULL
10168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10171 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
10172 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10174 if (arg2
== NULL
) {
10175 PyErr_SetString(PyExc_TypeError
,"null reference");
10179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10180 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
10182 wxPyEndAllowThreads(__tstate
);
10183 if (PyErr_Occurred()) SWIG_fail
;
10185 resultobj
= SWIG_FromInt((int)result
);
10192 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10193 PyObject
*resultobj
;
10194 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10196 PyObject
* obj0
= 0 ;
10197 char *kwnames
[] = {
10198 (char *) "self", NULL
10201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10206 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10212 wxPoint
* resultptr
;
10213 resultptr
= new wxPoint((wxPoint
&) result
);
10214 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10222 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10223 PyObject
*resultobj
;
10224 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10226 PyObject
* obj0
= 0 ;
10227 char *kwnames
[] = {
10228 (char *) "self", NULL
10231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10237 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10238 result
= (wxColour
*) &_result_ref
;
10241 wxPyEndAllowThreads(__tstate
);
10242 if (PyErr_Occurred()) SWIG_fail
;
10244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10251 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10252 PyObject
*resultobj
;
10253 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10255 PyObject
* obj0
= 0 ;
10256 PyObject
* obj1
= 0 ;
10257 char *kwnames
[] = {
10258 (char *) "self",(char *) "count", NULL
10261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10264 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10265 if (PyErr_Occurred()) SWIG_fail
;
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 (arg1
)->SetItemCount(arg2
);
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10273 Py_INCREF(Py_None
); resultobj
= Py_None
;
10280 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
;
10282 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10283 PyObject
* obj0
= 0 ;
10284 char *kwnames
[] = {
10285 (char *) "self", NULL
10288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10295 wxPyEndAllowThreads(__tstate
);
10296 if (PyErr_Occurred()) SWIG_fail
;
10298 Py_INCREF(Py_None
); resultobj
= Py_None
;
10305 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10306 PyObject
*resultobj
;
10307 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10309 PyObject
* obj0
= 0 ;
10310 PyObject
* obj1
= 0 ;
10311 char *kwnames
[] = {
10312 (char *) "self",(char *) "selection", NULL
10315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10318 arg2
= (int) SWIG_AsInt(obj1
);
10319 if (PyErr_Occurred()) SWIG_fail
;
10321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10322 (arg1
)->SetSelection(arg2
);
10324 wxPyEndAllowThreads(__tstate
);
10325 if (PyErr_Occurred()) SWIG_fail
;
10327 Py_INCREF(Py_None
); resultobj
= Py_None
;
10334 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
*resultobj
;
10336 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10338 bool arg3
= (bool) True
;
10340 PyObject
* obj0
= 0 ;
10341 PyObject
* obj1
= 0 ;
10342 PyObject
* obj2
= 0 ;
10343 char *kwnames
[] = {
10344 (char *) "self",(char *) "item",(char *) "select", NULL
10347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10350 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10353 arg3
= (bool) SWIG_AsBool(obj2
);
10354 if (PyErr_Occurred()) SWIG_fail
;
10357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10358 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10360 wxPyEndAllowThreads(__tstate
);
10361 if (PyErr_Occurred()) SWIG_fail
;
10364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10372 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10373 PyObject
*resultobj
;
10374 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10378 PyObject
* obj0
= 0 ;
10379 PyObject
* obj1
= 0 ;
10380 PyObject
* obj2
= 0 ;
10381 char *kwnames
[] = {
10382 (char *) "self",(char *) "from",(char *) "to", NULL
10385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10388 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10389 if (PyErr_Occurred()) SWIG_fail
;
10390 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10394 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10396 wxPyEndAllowThreads(__tstate
);
10397 if (PyErr_Occurred()) SWIG_fail
;
10400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10408 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10409 PyObject
*resultobj
;
10410 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10412 PyObject
* obj0
= 0 ;
10413 PyObject
* obj1
= 0 ;
10414 char *kwnames
[] = {
10415 (char *) "self",(char *) "item", NULL
10418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10421 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10422 if (PyErr_Occurred()) SWIG_fail
;
10424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10425 (arg1
)->Toggle(arg2
);
10427 wxPyEndAllowThreads(__tstate
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10430 Py_INCREF(Py_None
); resultobj
= Py_None
;
10437 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10438 PyObject
*resultobj
;
10439 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10441 PyObject
* obj0
= 0 ;
10442 char *kwnames
[] = {
10443 (char *) "self", NULL
10446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10451 result
= (bool)(arg1
)->SelectAll();
10453 wxPyEndAllowThreads(__tstate
);
10454 if (PyErr_Occurred()) SWIG_fail
;
10457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10465 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10466 PyObject
*resultobj
;
10467 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10469 PyObject
* obj0
= 0 ;
10470 char *kwnames
[] = {
10471 (char *) "self", NULL
10474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10479 result
= (bool)(arg1
)->DeselectAll();
10481 wxPyEndAllowThreads(__tstate
);
10482 if (PyErr_Occurred()) SWIG_fail
;
10485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10493 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10494 PyObject
*resultobj
;
10495 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10496 wxPoint
*arg2
= 0 ;
10498 PyObject
* obj0
= 0 ;
10499 PyObject
* obj1
= 0 ;
10500 char *kwnames
[] = {
10501 (char *) "self",(char *) "pt", NULL
10504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10509 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10518 Py_INCREF(Py_None
); resultobj
= Py_None
;
10525 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10526 PyObject
*resultobj
;
10527 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10530 PyObject
* obj0
= 0 ;
10531 PyObject
* obj1
= 0 ;
10532 PyObject
* obj2
= 0 ;
10533 char *kwnames
[] = {
10534 (char *) "self",(char *) "x",(char *) "y", NULL
10537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10540 arg2
= (int) SWIG_AsInt(obj1
);
10541 if (PyErr_Occurred()) SWIG_fail
;
10542 arg3
= (int) SWIG_AsInt(obj2
);
10543 if (PyErr_Occurred()) SWIG_fail
;
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 (arg1
)->SetMargins(arg2
,arg3
);
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10551 Py_INCREF(Py_None
); resultobj
= Py_None
;
10558 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10559 PyObject
*resultobj
;
10560 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10561 wxColour
*arg2
= 0 ;
10563 PyObject
* obj0
= 0 ;
10564 PyObject
* obj1
= 0 ;
10565 char *kwnames
[] = {
10566 (char *) "self",(char *) "col", NULL
10569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10574 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10580 wxPyEndAllowThreads(__tstate
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10583 Py_INCREF(Py_None
); resultobj
= Py_None
;
10590 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10593 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10595 return Py_BuildValue((char *)"");
10597 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10598 PyObject
*resultobj
;
10599 wxWindow
*arg1
= (wxWindow
*) 0 ;
10600 int arg2
= (int) wxID_ANY
;
10601 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10602 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10603 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10604 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10605 long arg5
= (long) 0 ;
10606 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10607 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10608 wxPyHtmlListBox
*result
;
10611 bool temp6
= False
;
10612 PyObject
* obj0
= 0 ;
10613 PyObject
* obj1
= 0 ;
10614 PyObject
* obj2
= 0 ;
10615 PyObject
* obj3
= 0 ;
10616 PyObject
* obj4
= 0 ;
10617 PyObject
* obj5
= 0 ;
10618 char *kwnames
[] = {
10619 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10626 arg2
= (int) SWIG_AsInt(obj1
);
10627 if (PyErr_Occurred()) SWIG_fail
;
10632 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10638 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10642 arg5
= (long) SWIG_AsLong(obj4
);
10643 if (PyErr_Occurred()) SWIG_fail
;
10647 arg6
= wxString_in_helper(obj5
);
10648 if (arg6
== NULL
) SWIG_fail
;
10653 if (!wxPyCheckForApp()) SWIG_fail
;
10654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10655 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10675 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10676 PyObject
*resultobj
;
10677 wxPyHtmlListBox
*result
;
10678 char *kwnames
[] = {
10682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10684 if (!wxPyCheckForApp()) SWIG_fail
;
10685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10686 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10688 wxPyEndAllowThreads(__tstate
);
10689 if (PyErr_Occurred()) SWIG_fail
;
10691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10698 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10699 PyObject
*resultobj
;
10700 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10701 PyObject
*arg2
= (PyObject
*) 0 ;
10702 PyObject
*arg3
= (PyObject
*) 0 ;
10703 PyObject
* obj0
= 0 ;
10704 PyObject
* obj1
= 0 ;
10705 PyObject
* obj2
= 0 ;
10706 char *kwnames
[] = {
10707 (char *) "self",(char *) "self",(char *) "_class", NULL
10710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10717 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10719 wxPyEndAllowThreads(__tstate
);
10720 if (PyErr_Occurred()) SWIG_fail
;
10722 Py_INCREF(Py_None
); resultobj
= Py_None
;
10729 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10730 PyObject
*resultobj
;
10731 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10732 wxWindow
*arg2
= (wxWindow
*) 0 ;
10733 int arg3
= (int) wxID_ANY
;
10734 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10735 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10736 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10737 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10738 long arg6
= (long) 0 ;
10739 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10740 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10744 bool temp7
= False
;
10745 PyObject
* obj0
= 0 ;
10746 PyObject
* obj1
= 0 ;
10747 PyObject
* obj2
= 0 ;
10748 PyObject
* obj3
= 0 ;
10749 PyObject
* obj4
= 0 ;
10750 PyObject
* obj5
= 0 ;
10751 PyObject
* obj6
= 0 ;
10752 char *kwnames
[] = {
10753 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10762 arg3
= (int) SWIG_AsInt(obj2
);
10763 if (PyErr_Occurred()) SWIG_fail
;
10768 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10774 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10778 arg6
= (long) SWIG_AsLong(obj5
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10783 arg7
= wxString_in_helper(obj6
);
10784 if (arg7
== NULL
) SWIG_fail
;
10789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10790 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10792 wxPyEndAllowThreads(__tstate
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10812 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10813 PyObject
*resultobj
;
10814 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10815 PyObject
* obj0
= 0 ;
10816 char *kwnames
[] = {
10817 (char *) "self", NULL
10820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10825 (arg1
)->RefreshAll();
10827 wxPyEndAllowThreads(__tstate
);
10828 if (PyErr_Occurred()) SWIG_fail
;
10830 Py_INCREF(Py_None
); resultobj
= Py_None
;
10837 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10838 PyObject
*resultobj
;
10839 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10841 PyObject
* obj0
= 0 ;
10842 PyObject
* obj1
= 0 ;
10843 char *kwnames
[] = {
10844 (char *) "self",(char *) "count", NULL
10847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10850 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10851 if (PyErr_Occurred()) SWIG_fail
;
10853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10854 (arg1
)->SetItemCount(arg2
);
10856 wxPyEndAllowThreads(__tstate
);
10857 if (PyErr_Occurred()) SWIG_fail
;
10859 Py_INCREF(Py_None
); resultobj
= Py_None
;
10866 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10867 PyObject
*resultobj
;
10868 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10869 wxFileSystem
*result
;
10870 PyObject
* obj0
= 0 ;
10871 char *kwnames
[] = {
10872 (char *) "self", NULL
10875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
10876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10881 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
10882 result
= (wxFileSystem
*) &_result_ref
;
10885 wxPyEndAllowThreads(__tstate
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
10895 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10898 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10900 return Py_BuildValue((char *)"");
10902 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10903 PyObject
*resultobj
;
10904 wxTaskBarIcon
*result
;
10905 char *kwnames
[] = {
10909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10911 if (!wxPyCheckForApp()) SWIG_fail
;
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10913 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10915 wxPyEndAllowThreads(__tstate
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10925 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10926 PyObject
*resultobj
;
10927 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10928 PyObject
* obj0
= 0 ;
10929 char *kwnames
[] = {
10930 (char *) "self", NULL
10933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10940 wxPyEndAllowThreads(__tstate
);
10941 if (PyErr_Occurred()) SWIG_fail
;
10943 Py_INCREF(Py_None
); resultobj
= Py_None
;
10950 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10951 PyObject
*resultobj
;
10952 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10953 PyObject
* obj0
= 0 ;
10954 char *kwnames
[] = {
10955 (char *) "self", NULL
10958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
10959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10963 wxTaskBarIcon_Destroy(arg1
);
10965 wxPyEndAllowThreads(__tstate
);
10966 if (PyErr_Occurred()) SWIG_fail
;
10968 Py_INCREF(Py_None
); resultobj
= Py_None
;
10975 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10976 PyObject
*resultobj
;
10977 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10979 PyObject
* obj0
= 0 ;
10980 char *kwnames
[] = {
10981 (char *) "self", NULL
10984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
10985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10989 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
10991 wxPyEndAllowThreads(__tstate
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11003 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11004 PyObject
*resultobj
;
11005 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11007 PyObject
* obj0
= 0 ;
11008 char *kwnames
[] = {
11009 (char *) "self", NULL
11012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
11013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11017 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
11019 wxPyEndAllowThreads(__tstate
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11031 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11032 PyObject
*resultobj
;
11033 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11035 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11036 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11038 bool temp3
= False
;
11039 PyObject
* obj0
= 0 ;
11040 PyObject
* obj1
= 0 ;
11041 PyObject
* obj2
= 0 ;
11042 char *kwnames
[] = {
11043 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11049 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11050 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11052 if (arg2
== NULL
) {
11053 PyErr_SetString(PyExc_TypeError
,"null reference");
11058 arg3
= wxString_in_helper(obj2
);
11059 if (arg3
== NULL
) SWIG_fail
;
11064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11065 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
11067 wxPyEndAllowThreads(__tstate
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11087 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11088 PyObject
*resultobj
;
11089 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11091 PyObject
* obj0
= 0 ;
11092 char *kwnames
[] = {
11093 (char *) "self", NULL
11096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
11097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11101 result
= (bool)(arg1
)->RemoveIcon();
11103 wxPyEndAllowThreads(__tstate
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11115 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11116 PyObject
*resultobj
;
11117 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11118 wxMenu
*arg2
= (wxMenu
*) 0 ;
11120 PyObject
* obj0
= 0 ;
11121 PyObject
* obj1
= 0 ;
11122 char *kwnames
[] = {
11123 (char *) "self",(char *) "menu", NULL
11126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
11127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
11130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11133 result
= (bool)(arg1
)->PopupMenu(arg2
);
11135 wxPyEndAllowThreads(__tstate
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11147 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
11149 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11150 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
11152 return Py_BuildValue((char *)"");
11154 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11155 PyObject
*resultobj
;
11157 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
11158 wxTaskBarIconEvent
*result
;
11159 PyObject
* obj0
= 0 ;
11160 PyObject
* obj1
= 0 ;
11161 char *kwnames
[] = {
11162 (char *) "evtType",(char *) "tbIcon", NULL
11165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11166 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11167 if (PyErr_Occurred()) SWIG_fail
;
11168 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
11169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11172 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
11184 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11187 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
11189 return Py_BuildValue((char *)"");
11191 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
11192 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
11197 static PyObject
*_wrap_FileSelectorPromptStr_get() {
11202 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11204 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11211 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
11212 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
11217 static PyObject
*_wrap_DirSelectorPromptStr_get() {
11222 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11224 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11231 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
11232 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11237 static PyObject
*_wrap_DirDialogNameStr_get() {
11242 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11244 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11251 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
11252 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11257 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11262 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11264 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11271 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
11272 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11277 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11282 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11284 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11291 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
11292 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11297 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11302 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11304 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11311 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11312 PyObject
*resultobj
;
11313 wxColourData
*result
;
11314 char *kwnames
[] = {
11318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11321 result
= (wxColourData
*)new wxColourData();
11323 wxPyEndAllowThreads(__tstate
);
11324 if (PyErr_Occurred()) SWIG_fail
;
11326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11333 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11334 PyObject
*resultobj
;
11335 wxColourData
*arg1
= (wxColourData
*) 0 ;
11336 PyObject
* obj0
= 0 ;
11337 char *kwnames
[] = {
11338 (char *) "self", NULL
11341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 wxPyEndAllowThreads(__tstate
);
11349 if (PyErr_Occurred()) SWIG_fail
;
11351 Py_INCREF(Py_None
); resultobj
= Py_None
;
11358 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11359 PyObject
*resultobj
;
11360 wxColourData
*arg1
= (wxColourData
*) 0 ;
11362 PyObject
* obj0
= 0 ;
11363 char *kwnames
[] = {
11364 (char *) "self", NULL
11367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11372 result
= (bool)(arg1
)->GetChooseFull();
11374 wxPyEndAllowThreads(__tstate
);
11375 if (PyErr_Occurred()) SWIG_fail
;
11378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11386 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11387 PyObject
*resultobj
;
11388 wxColourData
*arg1
= (wxColourData
*) 0 ;
11390 PyObject
* obj0
= 0 ;
11391 char *kwnames
[] = {
11392 (char *) "self", NULL
11395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11400 result
= (arg1
)->GetColour();
11402 wxPyEndAllowThreads(__tstate
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11406 wxColour
* resultptr
;
11407 resultptr
= new wxColour((wxColour
&) result
);
11408 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11416 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11417 PyObject
*resultobj
;
11418 wxColourData
*arg1
= (wxColourData
*) 0 ;
11421 PyObject
* obj0
= 0 ;
11422 PyObject
* obj1
= 0 ;
11423 char *kwnames
[] = {
11424 (char *) "self",(char *) "i", NULL
11427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11430 arg2
= (int) SWIG_AsInt(obj1
);
11431 if (PyErr_Occurred()) SWIG_fail
;
11433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11434 result
= (arg1
)->GetCustomColour(arg2
);
11436 wxPyEndAllowThreads(__tstate
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11440 wxColour
* resultptr
;
11441 resultptr
= new wxColour((wxColour
&) result
);
11442 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11450 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11451 PyObject
*resultobj
;
11452 wxColourData
*arg1
= (wxColourData
*) 0 ;
11454 PyObject
* obj0
= 0 ;
11455 PyObject
* obj1
= 0 ;
11456 char *kwnames
[] = {
11457 (char *) "self",(char *) "flag", NULL
11460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11463 arg2
= (int) SWIG_AsInt(obj1
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11467 (arg1
)->SetChooseFull(arg2
);
11469 wxPyEndAllowThreads(__tstate
);
11470 if (PyErr_Occurred()) SWIG_fail
;
11472 Py_INCREF(Py_None
); resultobj
= Py_None
;
11479 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11480 PyObject
*resultobj
;
11481 wxColourData
*arg1
= (wxColourData
*) 0 ;
11482 wxColour
*arg2
= 0 ;
11484 PyObject
* obj0
= 0 ;
11485 PyObject
* obj1
= 0 ;
11486 char *kwnames
[] = {
11487 (char *) "self",(char *) "colour", NULL
11490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11495 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11499 (arg1
)->SetColour((wxColour
const &)*arg2
);
11501 wxPyEndAllowThreads(__tstate
);
11502 if (PyErr_Occurred()) SWIG_fail
;
11504 Py_INCREF(Py_None
); resultobj
= Py_None
;
11511 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11512 PyObject
*resultobj
;
11513 wxColourData
*arg1
= (wxColourData
*) 0 ;
11515 wxColour
*arg3
= 0 ;
11517 PyObject
* obj0
= 0 ;
11518 PyObject
* obj1
= 0 ;
11519 PyObject
* obj2
= 0 ;
11520 char *kwnames
[] = {
11521 (char *) "self",(char *) "i",(char *) "colour", NULL
11524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11527 arg2
= (int) SWIG_AsInt(obj1
);
11528 if (PyErr_Occurred()) SWIG_fail
;
11531 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11537 wxPyEndAllowThreads(__tstate
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11540 Py_INCREF(Py_None
); resultobj
= Py_None
;
11547 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
11549 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11550 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11552 return Py_BuildValue((char *)"");
11554 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11555 PyObject
*resultobj
;
11556 wxWindow
*arg1
= (wxWindow
*) 0 ;
11557 wxColourData
*arg2
= (wxColourData
*) NULL
;
11558 wxColourDialog
*result
;
11559 PyObject
* obj0
= 0 ;
11560 PyObject
* obj1
= 0 ;
11561 char *kwnames
[] = {
11562 (char *) "parent",(char *) "data", NULL
11565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11569 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11573 if (!wxPyCheckForApp()) SWIG_fail
;
11574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11575 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11577 wxPyEndAllowThreads(__tstate
);
11578 if (PyErr_Occurred()) SWIG_fail
;
11580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11587 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11588 PyObject
*resultobj
;
11589 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11590 wxColourData
*result
;
11591 PyObject
* obj0
= 0 ;
11592 char *kwnames
[] = {
11593 (char *) "self", NULL
11596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11602 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11603 result
= (wxColourData
*) &_result_ref
;
11606 wxPyEndAllowThreads(__tstate
);
11607 if (PyErr_Occurred()) SWIG_fail
;
11609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11616 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11619 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11621 return Py_BuildValue((char *)"");
11623 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11624 PyObject
*resultobj
;
11625 wxWindow
*arg1
= (wxWindow
*) 0 ;
11626 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11627 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11628 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11629 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11630 long arg4
= (long) 0 ;
11631 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11632 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11633 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11634 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11635 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11636 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11637 wxDirDialog
*result
;
11638 bool temp2
= False
;
11639 bool temp3
= False
;
11642 bool temp7
= False
;
11643 PyObject
* obj0
= 0 ;
11644 PyObject
* obj1
= 0 ;
11645 PyObject
* obj2
= 0 ;
11646 PyObject
* obj3
= 0 ;
11647 PyObject
* obj4
= 0 ;
11648 PyObject
* obj5
= 0 ;
11649 PyObject
* obj6
= 0 ;
11650 char *kwnames
[] = {
11651 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11659 arg2
= wxString_in_helper(obj1
);
11660 if (arg2
== NULL
) SWIG_fail
;
11666 arg3
= wxString_in_helper(obj2
);
11667 if (arg3
== NULL
) SWIG_fail
;
11672 arg4
= (long) SWIG_AsLong(obj3
);
11673 if (PyErr_Occurred()) SWIG_fail
;
11678 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11684 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11689 arg7
= wxString_in_helper(obj6
);
11690 if (arg7
== NULL
) SWIG_fail
;
11695 if (!wxPyCheckForApp()) SWIG_fail
;
11696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11697 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11699 wxPyEndAllowThreads(__tstate
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11733 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11734 PyObject
*resultobj
;
11735 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11737 PyObject
* obj0
= 0 ;
11738 char *kwnames
[] = {
11739 (char *) "self", NULL
11742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11747 result
= (arg1
)->GetPath();
11749 wxPyEndAllowThreads(__tstate
);
11750 if (PyErr_Occurred()) SWIG_fail
;
11754 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11756 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11765 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11766 PyObject
*resultobj
;
11767 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11769 PyObject
* obj0
= 0 ;
11770 char *kwnames
[] = {
11771 (char *) "self", NULL
11774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11779 result
= (arg1
)->GetMessage();
11781 wxPyEndAllowThreads(__tstate
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11786 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11788 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11797 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11798 PyObject
*resultobj
;
11799 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11801 PyObject
* obj0
= 0 ;
11802 char *kwnames
[] = {
11803 (char *) "self", NULL
11806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11811 result
= (long)(arg1
)->GetStyle();
11813 wxPyEndAllowThreads(__tstate
);
11814 if (PyErr_Occurred()) SWIG_fail
;
11816 resultobj
= SWIG_FromLong((long)result
);
11823 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11824 PyObject
*resultobj
;
11825 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11826 wxString
*arg2
= 0 ;
11827 bool temp2
= False
;
11828 PyObject
* obj0
= 0 ;
11829 PyObject
* obj1
= 0 ;
11830 char *kwnames
[] = {
11831 (char *) "self",(char *) "message", NULL
11834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11838 arg2
= wxString_in_helper(obj1
);
11839 if (arg2
== NULL
) SWIG_fail
;
11843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11844 (arg1
)->SetMessage((wxString
const &)*arg2
);
11846 wxPyEndAllowThreads(__tstate
);
11847 if (PyErr_Occurred()) SWIG_fail
;
11849 Py_INCREF(Py_None
); resultobj
= Py_None
;
11864 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11865 PyObject
*resultobj
;
11866 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11867 wxString
*arg2
= 0 ;
11868 bool temp2
= False
;
11869 PyObject
* obj0
= 0 ;
11870 PyObject
* obj1
= 0 ;
11871 char *kwnames
[] = {
11872 (char *) "self",(char *) "path", NULL
11875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11879 arg2
= wxString_in_helper(obj1
);
11880 if (arg2
== NULL
) SWIG_fail
;
11884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11885 (arg1
)->SetPath((wxString
const &)*arg2
);
11887 wxPyEndAllowThreads(__tstate
);
11888 if (PyErr_Occurred()) SWIG_fail
;
11890 Py_INCREF(Py_None
); resultobj
= Py_None
;
11905 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11907 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11908 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11910 return Py_BuildValue((char *)"");
11912 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11913 PyObject
*resultobj
;
11914 wxWindow
*arg1
= (wxWindow
*) 0 ;
11915 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11916 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11917 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11918 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11919 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11920 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11921 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11922 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11923 long arg6
= (long) 0 ;
11924 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11925 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11926 wxFileDialog
*result
;
11927 bool temp2
= False
;
11928 bool temp3
= False
;
11929 bool temp4
= False
;
11930 bool temp5
= False
;
11932 PyObject
* obj0
= 0 ;
11933 PyObject
* obj1
= 0 ;
11934 PyObject
* obj2
= 0 ;
11935 PyObject
* obj3
= 0 ;
11936 PyObject
* obj4
= 0 ;
11937 PyObject
* obj5
= 0 ;
11938 PyObject
* obj6
= 0 ;
11939 char *kwnames
[] = {
11940 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11948 arg2
= wxString_in_helper(obj1
);
11949 if (arg2
== NULL
) SWIG_fail
;
11955 arg3
= wxString_in_helper(obj2
);
11956 if (arg3
== NULL
) SWIG_fail
;
11962 arg4
= wxString_in_helper(obj3
);
11963 if (arg4
== NULL
) SWIG_fail
;
11969 arg5
= wxString_in_helper(obj4
);
11970 if (arg5
== NULL
) SWIG_fail
;
11975 arg6
= (long) SWIG_AsLong(obj5
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11981 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11985 if (!wxPyCheckForApp()) SWIG_fail
;
11986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11987 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11989 wxPyEndAllowThreads(__tstate
);
11990 if (PyErr_Occurred()) SWIG_fail
;
11992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
12031 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12032 PyObject
*resultobj
;
12033 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12034 wxString
*arg2
= 0 ;
12035 bool temp2
= False
;
12036 PyObject
* obj0
= 0 ;
12037 PyObject
* obj1
= 0 ;
12038 char *kwnames
[] = {
12039 (char *) "self",(char *) "message", NULL
12042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12046 arg2
= wxString_in_helper(obj1
);
12047 if (arg2
== NULL
) SWIG_fail
;
12051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12052 (arg1
)->SetMessage((wxString
const &)*arg2
);
12054 wxPyEndAllowThreads(__tstate
);
12055 if (PyErr_Occurred()) SWIG_fail
;
12057 Py_INCREF(Py_None
); resultobj
= Py_None
;
12072 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12073 PyObject
*resultobj
;
12074 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12075 wxString
*arg2
= 0 ;
12076 bool temp2
= False
;
12077 PyObject
* obj0
= 0 ;
12078 PyObject
* obj1
= 0 ;
12079 char *kwnames
[] = {
12080 (char *) "self",(char *) "path", NULL
12083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12087 arg2
= wxString_in_helper(obj1
);
12088 if (arg2
== NULL
) SWIG_fail
;
12092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12093 (arg1
)->SetPath((wxString
const &)*arg2
);
12095 wxPyEndAllowThreads(__tstate
);
12096 if (PyErr_Occurred()) SWIG_fail
;
12098 Py_INCREF(Py_None
); resultobj
= Py_None
;
12113 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12114 PyObject
*resultobj
;
12115 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12116 wxString
*arg2
= 0 ;
12117 bool temp2
= False
;
12118 PyObject
* obj0
= 0 ;
12119 PyObject
* obj1
= 0 ;
12120 char *kwnames
[] = {
12121 (char *) "self",(char *) "dir", NULL
12124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
12125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12128 arg2
= wxString_in_helper(obj1
);
12129 if (arg2
== NULL
) SWIG_fail
;
12133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12134 (arg1
)->SetDirectory((wxString
const &)*arg2
);
12136 wxPyEndAllowThreads(__tstate
);
12137 if (PyErr_Occurred()) SWIG_fail
;
12139 Py_INCREF(Py_None
); resultobj
= Py_None
;
12154 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12155 PyObject
*resultobj
;
12156 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12157 wxString
*arg2
= 0 ;
12158 bool temp2
= False
;
12159 PyObject
* obj0
= 0 ;
12160 PyObject
* obj1
= 0 ;
12161 char *kwnames
[] = {
12162 (char *) "self",(char *) "name", NULL
12165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
12166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12169 arg2
= wxString_in_helper(obj1
);
12170 if (arg2
== NULL
) SWIG_fail
;
12174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12175 (arg1
)->SetFilename((wxString
const &)*arg2
);
12177 wxPyEndAllowThreads(__tstate
);
12178 if (PyErr_Occurred()) SWIG_fail
;
12180 Py_INCREF(Py_None
); resultobj
= Py_None
;
12195 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12196 PyObject
*resultobj
;
12197 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12198 wxString
*arg2
= 0 ;
12199 bool temp2
= False
;
12200 PyObject
* obj0
= 0 ;
12201 PyObject
* obj1
= 0 ;
12202 char *kwnames
[] = {
12203 (char *) "self",(char *) "wildCard", NULL
12206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
12207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12210 arg2
= wxString_in_helper(obj1
);
12211 if (arg2
== NULL
) SWIG_fail
;
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 (arg1
)->SetWildcard((wxString
const &)*arg2
);
12218 wxPyEndAllowThreads(__tstate
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12221 Py_INCREF(Py_None
); resultobj
= Py_None
;
12236 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12237 PyObject
*resultobj
;
12238 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12240 PyObject
* obj0
= 0 ;
12241 PyObject
* obj1
= 0 ;
12242 char *kwnames
[] = {
12243 (char *) "self",(char *) "style", NULL
12246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12249 arg2
= (long) SWIG_AsLong(obj1
);
12250 if (PyErr_Occurred()) SWIG_fail
;
12252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12253 (arg1
)->SetStyle(arg2
);
12255 wxPyEndAllowThreads(__tstate
);
12256 if (PyErr_Occurred()) SWIG_fail
;
12258 Py_INCREF(Py_None
); resultobj
= Py_None
;
12265 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12266 PyObject
*resultobj
;
12267 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12269 PyObject
* obj0
= 0 ;
12270 PyObject
* obj1
= 0 ;
12271 char *kwnames
[] = {
12272 (char *) "self",(char *) "filterIndex", NULL
12275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12278 arg2
= (int) SWIG_AsInt(obj1
);
12279 if (PyErr_Occurred()) SWIG_fail
;
12281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12282 (arg1
)->SetFilterIndex(arg2
);
12284 wxPyEndAllowThreads(__tstate
);
12285 if (PyErr_Occurred()) SWIG_fail
;
12287 Py_INCREF(Py_None
); resultobj
= Py_None
;
12294 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12295 PyObject
*resultobj
;
12296 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12298 PyObject
* obj0
= 0 ;
12299 char *kwnames
[] = {
12300 (char *) "self", NULL
12303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12308 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12310 wxPyEndAllowThreads(__tstate
);
12311 if (PyErr_Occurred()) SWIG_fail
;
12315 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12317 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12326 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12327 PyObject
*resultobj
;
12328 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12330 PyObject
* obj0
= 0 ;
12331 char *kwnames
[] = {
12332 (char *) "self", NULL
12335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12340 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12342 wxPyEndAllowThreads(__tstate
);
12343 if (PyErr_Occurred()) SWIG_fail
;
12347 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12349 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12358 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12359 PyObject
*resultobj
;
12360 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12362 PyObject
* obj0
= 0 ;
12363 char *kwnames
[] = {
12364 (char *) "self", NULL
12367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12372 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12374 wxPyEndAllowThreads(__tstate
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12379 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12381 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12390 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12391 PyObject
*resultobj
;
12392 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12394 PyObject
* obj0
= 0 ;
12395 char *kwnames
[] = {
12396 (char *) "self", NULL
12399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12404 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12406 wxPyEndAllowThreads(__tstate
);
12407 if (PyErr_Occurred()) SWIG_fail
;
12411 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12413 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12422 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12423 PyObject
*resultobj
;
12424 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12426 PyObject
* obj0
= 0 ;
12427 char *kwnames
[] = {
12428 (char *) "self", NULL
12431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12436 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12438 wxPyEndAllowThreads(__tstate
);
12439 if (PyErr_Occurred()) SWIG_fail
;
12443 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12445 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12454 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12455 PyObject
*resultobj
;
12456 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12458 PyObject
* obj0
= 0 ;
12459 char *kwnames
[] = {
12460 (char *) "self", NULL
12463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12468 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12470 wxPyEndAllowThreads(__tstate
);
12471 if (PyErr_Occurred()) SWIG_fail
;
12473 resultobj
= SWIG_FromLong((long)result
);
12480 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12481 PyObject
*resultobj
;
12482 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12484 PyObject
* obj0
= 0 ;
12485 char *kwnames
[] = {
12486 (char *) "self", NULL
12489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12494 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12496 wxPyEndAllowThreads(__tstate
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12499 resultobj
= SWIG_FromInt((int)result
);
12506 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12507 PyObject
*resultobj
;
12508 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12510 PyObject
* obj0
= 0 ;
12511 char *kwnames
[] = {
12512 (char *) "self", NULL
12515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12520 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12522 wxPyEndAllowThreads(__tstate
);
12523 if (PyErr_Occurred()) SWIG_fail
;
12525 resultobj
= result
;
12532 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12533 PyObject
*resultobj
;
12534 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12536 PyObject
* obj0
= 0 ;
12537 char *kwnames
[] = {
12538 (char *) "self", NULL
12541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12546 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12551 resultobj
= result
;
12558 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12561 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12563 return Py_BuildValue((char *)"");
12565 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12566 PyObject
*resultobj
;
12567 wxWindow
*arg1
= (wxWindow
*) 0 ;
12568 wxString
*arg2
= 0 ;
12569 wxString
*arg3
= 0 ;
12570 int arg4
= (int) 0 ;
12571 wxString
*arg5
= (wxString
*) NULL
;
12572 long arg6
= (long) wxCHOICEDLG_STYLE
;
12573 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12574 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12575 wxMultiChoiceDialog
*result
;
12576 bool temp2
= False
;
12577 bool temp3
= False
;
12579 PyObject
* obj0
= 0 ;
12580 PyObject
* obj1
= 0 ;
12581 PyObject
* obj2
= 0 ;
12582 PyObject
* obj3
= 0 ;
12583 PyObject
* obj4
= 0 ;
12584 PyObject
* obj5
= 0 ;
12585 char *kwnames
[] = {
12586 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12593 arg2
= wxString_in_helper(obj1
);
12594 if (arg2
== NULL
) SWIG_fail
;
12598 arg3
= wxString_in_helper(obj2
);
12599 if (arg3
== NULL
) SWIG_fail
;
12604 arg4
= PyList_Size(obj3
);
12605 arg5
= wxString_LIST_helper(obj3
);
12606 if (arg5
== NULL
) SWIG_fail
;
12610 arg6
= (long) SWIG_AsLong(obj4
);
12611 if (PyErr_Occurred()) SWIG_fail
;
12616 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12620 if (!wxPyCheckForApp()) SWIG_fail
;
12621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12622 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12624 wxPyEndAllowThreads(__tstate
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12637 if (arg5
) delete [] arg5
;
12650 if (arg5
) delete [] arg5
;
12656 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12657 PyObject
*resultobj
;
12658 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12659 wxArrayInt
*arg2
= 0 ;
12660 bool temp2
= False
;
12661 PyObject
* obj0
= 0 ;
12662 PyObject
* obj1
= 0 ;
12663 char *kwnames
[] = {
12664 (char *) "self",(char *) "selections", NULL
12667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12671 if (! PySequence_Check(obj1
)) {
12672 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12675 arg2
= new wxArrayInt
;
12677 int i
, len
=PySequence_Length(obj1
);
12678 for (i
=0; i
<len
; i
++) {
12679 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12680 PyObject
* number
= PyNumber_Int(item
);
12681 arg2
->Add(PyInt_AS_LONG(number
));
12687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12688 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12693 Py_INCREF(Py_None
); resultobj
= Py_None
;
12695 if (temp2
) delete arg2
;
12700 if (temp2
) delete arg2
;
12706 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12707 PyObject
*resultobj
;
12708 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12710 PyObject
* obj0
= 0 ;
12711 char *kwnames
[] = {
12712 (char *) "self", NULL
12715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12720 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12722 wxPyEndAllowThreads(__tstate
);
12723 if (PyErr_Occurred()) SWIG_fail
;
12725 resultobj
= result
;
12732 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12735 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12737 return Py_BuildValue((char *)"");
12739 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12740 PyObject
*resultobj
;
12741 wxWindow
*arg1
= (wxWindow
*) 0 ;
12742 wxString
*arg2
= 0 ;
12743 wxString
*arg3
= 0 ;
12745 wxString
*arg5
= (wxString
*) 0 ;
12746 long arg6
= (long) wxCHOICEDLG_STYLE
;
12747 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12748 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12749 wxSingleChoiceDialog
*result
;
12750 bool temp2
= False
;
12751 bool temp3
= False
;
12753 PyObject
* obj0
= 0 ;
12754 PyObject
* obj1
= 0 ;
12755 PyObject
* obj2
= 0 ;
12756 PyObject
* obj3
= 0 ;
12757 PyObject
* obj4
= 0 ;
12758 PyObject
* obj5
= 0 ;
12759 char *kwnames
[] = {
12760 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12767 arg2
= wxString_in_helper(obj1
);
12768 if (arg2
== NULL
) SWIG_fail
;
12772 arg3
= wxString_in_helper(obj2
);
12773 if (arg3
== NULL
) SWIG_fail
;
12777 arg4
= PyList_Size(obj3
);
12778 arg5
= wxString_LIST_helper(obj3
);
12779 if (arg5
== NULL
) SWIG_fail
;
12782 arg6
= (long) SWIG_AsLong(obj4
);
12783 if (PyErr_Occurred()) SWIG_fail
;
12788 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12792 if (!wxPyCheckForApp()) SWIG_fail
;
12793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12794 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12796 wxPyEndAllowThreads(__tstate
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12809 if (arg5
) delete [] arg5
;
12822 if (arg5
) delete [] arg5
;
12828 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12829 PyObject
*resultobj
;
12830 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12832 PyObject
* obj0
= 0 ;
12833 char *kwnames
[] = {
12834 (char *) "self", NULL
12837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12842 result
= (int)(arg1
)->GetSelection();
12844 wxPyEndAllowThreads(__tstate
);
12845 if (PyErr_Occurred()) SWIG_fail
;
12847 resultobj
= SWIG_FromInt((int)result
);
12854 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12855 PyObject
*resultobj
;
12856 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12858 PyObject
* obj0
= 0 ;
12859 char *kwnames
[] = {
12860 (char *) "self", NULL
12863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12868 result
= (arg1
)->GetStringSelection();
12870 wxPyEndAllowThreads(__tstate
);
12871 if (PyErr_Occurred()) SWIG_fail
;
12875 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12877 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12886 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12887 PyObject
*resultobj
;
12888 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12890 PyObject
* obj0
= 0 ;
12891 PyObject
* obj1
= 0 ;
12892 char *kwnames
[] = {
12893 (char *) "self",(char *) "sel", NULL
12896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12899 arg2
= (int) SWIG_AsInt(obj1
);
12900 if (PyErr_Occurred()) SWIG_fail
;
12902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12903 (arg1
)->SetSelection(arg2
);
12905 wxPyEndAllowThreads(__tstate
);
12906 if (PyErr_Occurred()) SWIG_fail
;
12908 Py_INCREF(Py_None
); resultobj
= Py_None
;
12915 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12918 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12920 return Py_BuildValue((char *)"");
12922 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12923 PyObject
*resultobj
;
12924 wxWindow
*arg1
= (wxWindow
*) 0 ;
12925 wxString
*arg2
= 0 ;
12926 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12927 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12928 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12929 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12930 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12931 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12932 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12933 wxTextEntryDialog
*result
;
12934 bool temp2
= False
;
12935 bool temp3
= False
;
12936 bool temp4
= False
;
12938 PyObject
* obj0
= 0 ;
12939 PyObject
* obj1
= 0 ;
12940 PyObject
* obj2
= 0 ;
12941 PyObject
* obj3
= 0 ;
12942 PyObject
* obj4
= 0 ;
12943 PyObject
* obj5
= 0 ;
12944 char *kwnames
[] = {
12945 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12952 arg2
= wxString_in_helper(obj1
);
12953 if (arg2
== NULL
) SWIG_fail
;
12958 arg3
= wxString_in_helper(obj2
);
12959 if (arg3
== NULL
) SWIG_fail
;
12965 arg4
= wxString_in_helper(obj3
);
12966 if (arg4
== NULL
) SWIG_fail
;
12971 arg5
= (long) SWIG_AsLong(obj4
);
12972 if (PyErr_Occurred()) SWIG_fail
;
12977 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12981 if (!wxPyCheckForApp()) SWIG_fail
;
12982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12983 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12985 wxPyEndAllowThreads(__tstate
);
12986 if (PyErr_Occurred()) SWIG_fail
;
12988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
13019 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13020 PyObject
*resultobj
;
13021 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13023 PyObject
* obj0
= 0 ;
13024 char *kwnames
[] = {
13025 (char *) "self", NULL
13028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
13029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13033 result
= (arg1
)->GetValue();
13035 wxPyEndAllowThreads(__tstate
);
13036 if (PyErr_Occurred()) SWIG_fail
;
13040 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13042 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13051 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
;
13053 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13054 wxString
*arg2
= 0 ;
13055 bool temp2
= False
;
13056 PyObject
* obj0
= 0 ;
13057 PyObject
* obj1
= 0 ;
13058 char *kwnames
[] = {
13059 (char *) "self",(char *) "value", NULL
13062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13066 arg2
= wxString_in_helper(obj1
);
13067 if (arg2
== NULL
) SWIG_fail
;
13071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13072 (arg1
)->SetValue((wxString
const &)*arg2
);
13074 wxPyEndAllowThreads(__tstate
);
13075 if (PyErr_Occurred()) SWIG_fail
;
13077 Py_INCREF(Py_None
); resultobj
= Py_None
;
13092 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13095 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
13097 return Py_BuildValue((char *)"");
13099 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13100 PyObject
*resultobj
;
13101 wxFontData
*result
;
13102 char *kwnames
[] = {
13106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
13108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13109 result
= (wxFontData
*)new wxFontData();
13111 wxPyEndAllowThreads(__tstate
);
13112 if (PyErr_Occurred()) SWIG_fail
;
13114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
13121 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13122 PyObject
*resultobj
;
13123 wxFontData
*arg1
= (wxFontData
*) 0 ;
13124 PyObject
* obj0
= 0 ;
13125 char *kwnames
[] = {
13126 (char *) "self", NULL
13129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
13130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13136 wxPyEndAllowThreads(__tstate
);
13137 if (PyErr_Occurred()) SWIG_fail
;
13139 Py_INCREF(Py_None
); resultobj
= Py_None
;
13146 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13147 PyObject
*resultobj
;
13148 wxFontData
*arg1
= (wxFontData
*) 0 ;
13150 PyObject
* obj0
= 0 ;
13151 PyObject
* obj1
= 0 ;
13152 char *kwnames
[] = {
13153 (char *) "self",(char *) "enable", NULL
13156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
13157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13159 arg2
= (bool) SWIG_AsBool(obj1
);
13160 if (PyErr_Occurred()) SWIG_fail
;
13162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13163 (arg1
)->EnableEffects(arg2
);
13165 wxPyEndAllowThreads(__tstate
);
13166 if (PyErr_Occurred()) SWIG_fail
;
13168 Py_INCREF(Py_None
); resultobj
= Py_None
;
13175 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13176 PyObject
*resultobj
;
13177 wxFontData
*arg1
= (wxFontData
*) 0 ;
13179 PyObject
* obj0
= 0 ;
13180 char *kwnames
[] = {
13181 (char *) "self", NULL
13184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
13185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13189 result
= (bool)(arg1
)->GetAllowSymbols();
13191 wxPyEndAllowThreads(__tstate
);
13192 if (PyErr_Occurred()) SWIG_fail
;
13195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13203 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13204 PyObject
*resultobj
;
13205 wxFontData
*arg1
= (wxFontData
*) 0 ;
13207 PyObject
* obj0
= 0 ;
13208 char *kwnames
[] = {
13209 (char *) "self", NULL
13212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
13213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13217 result
= (arg1
)->GetColour();
13219 wxPyEndAllowThreads(__tstate
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13223 wxColour
* resultptr
;
13224 resultptr
= new wxColour((wxColour
&) result
);
13225 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13233 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13234 PyObject
*resultobj
;
13235 wxFontData
*arg1
= (wxFontData
*) 0 ;
13237 PyObject
* obj0
= 0 ;
13238 char *kwnames
[] = {
13239 (char *) "self", NULL
13242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13247 result
= (arg1
)->GetChosenFont();
13249 wxPyEndAllowThreads(__tstate
);
13250 if (PyErr_Occurred()) SWIG_fail
;
13253 wxFont
* resultptr
;
13254 resultptr
= new wxFont((wxFont
&) result
);
13255 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13263 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13264 PyObject
*resultobj
;
13265 wxFontData
*arg1
= (wxFontData
*) 0 ;
13267 PyObject
* obj0
= 0 ;
13268 char *kwnames
[] = {
13269 (char *) "self", NULL
13272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13277 result
= (bool)(arg1
)->GetEnableEffects();
13279 wxPyEndAllowThreads(__tstate
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13291 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13292 PyObject
*resultobj
;
13293 wxFontData
*arg1
= (wxFontData
*) 0 ;
13295 PyObject
* obj0
= 0 ;
13296 char *kwnames
[] = {
13297 (char *) "self", NULL
13300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13305 result
= (arg1
)->GetInitialFont();
13307 wxPyEndAllowThreads(__tstate
);
13308 if (PyErr_Occurred()) SWIG_fail
;
13311 wxFont
* resultptr
;
13312 resultptr
= new wxFont((wxFont
&) result
);
13313 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13321 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13322 PyObject
*resultobj
;
13323 wxFontData
*arg1
= (wxFontData
*) 0 ;
13325 PyObject
* obj0
= 0 ;
13326 char *kwnames
[] = {
13327 (char *) "self", NULL
13330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13335 result
= (bool)(arg1
)->GetShowHelp();
13337 wxPyEndAllowThreads(__tstate
);
13338 if (PyErr_Occurred()) SWIG_fail
;
13341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13349 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13350 PyObject
*resultobj
;
13351 wxFontData
*arg1
= (wxFontData
*) 0 ;
13353 PyObject
* obj0
= 0 ;
13354 PyObject
* obj1
= 0 ;
13355 char *kwnames
[] = {
13356 (char *) "self",(char *) "allowSymbols", NULL
13359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13362 arg2
= (bool) SWIG_AsBool(obj1
);
13363 if (PyErr_Occurred()) SWIG_fail
;
13365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13366 (arg1
)->SetAllowSymbols(arg2
);
13368 wxPyEndAllowThreads(__tstate
);
13369 if (PyErr_Occurred()) SWIG_fail
;
13371 Py_INCREF(Py_None
); resultobj
= Py_None
;
13378 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13379 PyObject
*resultobj
;
13380 wxFontData
*arg1
= (wxFontData
*) 0 ;
13382 PyObject
* obj0
= 0 ;
13383 PyObject
* obj1
= 0 ;
13384 char *kwnames
[] = {
13385 (char *) "self",(char *) "font", NULL
13388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13391 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13392 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13394 if (arg2
== NULL
) {
13395 PyErr_SetString(PyExc_TypeError
,"null reference");
13399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13402 wxPyEndAllowThreads(__tstate
);
13403 if (PyErr_Occurred()) SWIG_fail
;
13405 Py_INCREF(Py_None
); resultobj
= Py_None
;
13412 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13413 PyObject
*resultobj
;
13414 wxFontData
*arg1
= (wxFontData
*) 0 ;
13415 wxColour
*arg2
= 0 ;
13417 PyObject
* obj0
= 0 ;
13418 PyObject
* obj1
= 0 ;
13419 char *kwnames
[] = {
13420 (char *) "self",(char *) "colour", NULL
13423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13428 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13432 (arg1
)->SetColour((wxColour
const &)*arg2
);
13434 wxPyEndAllowThreads(__tstate
);
13435 if (PyErr_Occurred()) SWIG_fail
;
13437 Py_INCREF(Py_None
); resultobj
= Py_None
;
13444 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13445 PyObject
*resultobj
;
13446 wxFontData
*arg1
= (wxFontData
*) 0 ;
13448 PyObject
* obj0
= 0 ;
13449 PyObject
* obj1
= 0 ;
13450 char *kwnames
[] = {
13451 (char *) "self",(char *) "font", NULL
13454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13457 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13458 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13460 if (arg2
== NULL
) {
13461 PyErr_SetString(PyExc_TypeError
,"null reference");
13465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13466 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13468 wxPyEndAllowThreads(__tstate
);
13469 if (PyErr_Occurred()) SWIG_fail
;
13471 Py_INCREF(Py_None
); resultobj
= Py_None
;
13478 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13479 PyObject
*resultobj
;
13480 wxFontData
*arg1
= (wxFontData
*) 0 ;
13483 PyObject
* obj0
= 0 ;
13484 PyObject
* obj1
= 0 ;
13485 PyObject
* obj2
= 0 ;
13486 char *kwnames
[] = {
13487 (char *) "self",(char *) "min",(char *) "max", NULL
13490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13493 arg2
= (int) SWIG_AsInt(obj1
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13495 arg3
= (int) SWIG_AsInt(obj2
);
13496 if (PyErr_Occurred()) SWIG_fail
;
13498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13499 (arg1
)->SetRange(arg2
,arg3
);
13501 wxPyEndAllowThreads(__tstate
);
13502 if (PyErr_Occurred()) SWIG_fail
;
13504 Py_INCREF(Py_None
); resultobj
= Py_None
;
13511 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13512 PyObject
*resultobj
;
13513 wxFontData
*arg1
= (wxFontData
*) 0 ;
13515 PyObject
* obj0
= 0 ;
13516 PyObject
* obj1
= 0 ;
13517 char *kwnames
[] = {
13518 (char *) "self",(char *) "showHelp", NULL
13521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13524 arg2
= (bool) SWIG_AsBool(obj1
);
13525 if (PyErr_Occurred()) SWIG_fail
;
13527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13528 (arg1
)->SetShowHelp(arg2
);
13530 wxPyEndAllowThreads(__tstate
);
13531 if (PyErr_Occurred()) SWIG_fail
;
13533 Py_INCREF(Py_None
); resultobj
= Py_None
;
13540 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13543 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13545 return Py_BuildValue((char *)"");
13547 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13548 PyObject
*resultobj
;
13549 wxWindow
*arg1
= (wxWindow
*) 0 ;
13550 wxFontData
*arg2
= 0 ;
13551 wxFontDialog
*result
;
13552 PyObject
* obj0
= 0 ;
13553 PyObject
* obj1
= 0 ;
13554 char *kwnames
[] = {
13555 (char *) "parent",(char *) "data", NULL
13558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13561 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13562 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13564 if (arg2
== NULL
) {
13565 PyErr_SetString(PyExc_TypeError
,"null reference");
13569 if (!wxPyCheckForApp()) SWIG_fail
;
13570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13571 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13573 wxPyEndAllowThreads(__tstate
);
13574 if (PyErr_Occurred()) SWIG_fail
;
13576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13583 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13584 PyObject
*resultobj
;
13585 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13586 wxFontData
*result
;
13587 PyObject
* obj0
= 0 ;
13588 char *kwnames
[] = {
13589 (char *) "self", NULL
13592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13598 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13599 result
= (wxFontData
*) &_result_ref
;
13602 wxPyEndAllowThreads(__tstate
);
13603 if (PyErr_Occurred()) SWIG_fail
;
13605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13612 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13615 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13617 return Py_BuildValue((char *)"");
13619 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13620 PyObject
*resultobj
;
13621 wxWindow
*arg1
= (wxWindow
*) 0 ;
13622 wxString
*arg2
= 0 ;
13623 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13624 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13625 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13626 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13627 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13628 wxMessageDialog
*result
;
13629 bool temp2
= False
;
13630 bool temp3
= False
;
13632 PyObject
* obj0
= 0 ;
13633 PyObject
* obj1
= 0 ;
13634 PyObject
* obj2
= 0 ;
13635 PyObject
* obj3
= 0 ;
13636 PyObject
* obj4
= 0 ;
13637 char *kwnames
[] = {
13638 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13645 arg2
= wxString_in_helper(obj1
);
13646 if (arg2
== NULL
) SWIG_fail
;
13651 arg3
= wxString_in_helper(obj2
);
13652 if (arg3
== NULL
) SWIG_fail
;
13657 arg4
= (long) SWIG_AsLong(obj3
);
13658 if (PyErr_Occurred()) SWIG_fail
;
13663 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13667 if (!wxPyCheckForApp()) SWIG_fail
;
13668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13669 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13671 wxPyEndAllowThreads(__tstate
);
13672 if (PyErr_Occurred()) SWIG_fail
;
13674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13697 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13700 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13702 return Py_BuildValue((char *)"");
13704 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13705 PyObject
*resultobj
;
13706 wxString
*arg1
= 0 ;
13707 wxString
*arg2
= 0 ;
13708 int arg3
= (int) 100 ;
13709 wxWindow
*arg4
= (wxWindow
*) NULL
;
13710 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13711 wxProgressDialog
*result
;
13712 bool temp1
= False
;
13713 bool temp2
= False
;
13714 PyObject
* obj0
= 0 ;
13715 PyObject
* obj1
= 0 ;
13716 PyObject
* obj2
= 0 ;
13717 PyObject
* obj3
= 0 ;
13718 PyObject
* obj4
= 0 ;
13719 char *kwnames
[] = {
13720 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13725 arg1
= wxString_in_helper(obj0
);
13726 if (arg1
== NULL
) SWIG_fail
;
13730 arg2
= wxString_in_helper(obj1
);
13731 if (arg2
== NULL
) SWIG_fail
;
13735 arg3
= (int) SWIG_AsInt(obj2
);
13736 if (PyErr_Occurred()) SWIG_fail
;
13739 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13743 arg5
= (int) SWIG_AsInt(obj4
);
13744 if (PyErr_Occurred()) SWIG_fail
;
13747 if (!wxPyCheckForApp()) SWIG_fail
;
13748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13749 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13751 wxPyEndAllowThreads(__tstate
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13777 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13778 PyObject
*resultobj
;
13779 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13781 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13782 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13784 bool temp3
= False
;
13785 PyObject
* obj0
= 0 ;
13786 PyObject
* obj1
= 0 ;
13787 PyObject
* obj2
= 0 ;
13788 char *kwnames
[] = {
13789 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13795 arg2
= (int) SWIG_AsInt(obj1
);
13796 if (PyErr_Occurred()) SWIG_fail
;
13799 arg3
= wxString_in_helper(obj2
);
13800 if (arg3
== NULL
) SWIG_fail
;
13805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13806 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13808 wxPyEndAllowThreads(__tstate
);
13809 if (PyErr_Occurred()) SWIG_fail
;
13812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13828 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13829 PyObject
*resultobj
;
13830 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13831 PyObject
* obj0
= 0 ;
13832 char *kwnames
[] = {
13833 (char *) "self", NULL
13836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13843 wxPyEndAllowThreads(__tstate
);
13844 if (PyErr_Occurred()) SWIG_fail
;
13846 Py_INCREF(Py_None
); resultobj
= Py_None
;
13853 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13856 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13858 return Py_BuildValue((char *)"");
13860 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13861 PyObject
*resultobj
;
13862 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13863 int arg2
= (int) 0 ;
13864 wxFindDialogEvent
*result
;
13865 PyObject
* obj0
= 0 ;
13866 PyObject
* obj1
= 0 ;
13867 char *kwnames
[] = {
13868 (char *) "commandType",(char *) "id", NULL
13871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13873 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13877 arg2
= (int) SWIG_AsInt(obj1
);
13878 if (PyErr_Occurred()) SWIG_fail
;
13881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13882 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13884 wxPyEndAllowThreads(__tstate
);
13885 if (PyErr_Occurred()) SWIG_fail
;
13887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13894 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13895 PyObject
*resultobj
;
13896 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13898 PyObject
* obj0
= 0 ;
13899 char *kwnames
[] = {
13900 (char *) "self", NULL
13903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13908 result
= (int)(arg1
)->GetFlags();
13910 wxPyEndAllowThreads(__tstate
);
13911 if (PyErr_Occurred()) SWIG_fail
;
13913 resultobj
= SWIG_FromInt((int)result
);
13920 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13921 PyObject
*resultobj
;
13922 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13924 PyObject
* obj0
= 0 ;
13925 char *kwnames
[] = {
13926 (char *) "self", NULL
13929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13935 wxString
const &_result_ref
= (arg1
)->GetFindString();
13936 result
= (wxString
*) &_result_ref
;
13939 wxPyEndAllowThreads(__tstate
);
13940 if (PyErr_Occurred()) SWIG_fail
;
13944 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13946 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13955 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13956 PyObject
*resultobj
;
13957 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13959 PyObject
* obj0
= 0 ;
13960 char *kwnames
[] = {
13961 (char *) "self", NULL
13964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13970 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13971 result
= (wxString
*) &_result_ref
;
13974 wxPyEndAllowThreads(__tstate
);
13975 if (PyErr_Occurred()) SWIG_fail
;
13979 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13981 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13990 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13991 PyObject
*resultobj
;
13992 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13993 wxFindReplaceDialog
*result
;
13994 PyObject
* obj0
= 0 ;
13995 char *kwnames
[] = {
13996 (char *) "self", NULL
13999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
14000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14004 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
14006 wxPyEndAllowThreads(__tstate
);
14007 if (PyErr_Occurred()) SWIG_fail
;
14009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
14016 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14017 PyObject
*resultobj
;
14018 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14020 PyObject
* obj0
= 0 ;
14021 PyObject
* obj1
= 0 ;
14022 char *kwnames
[] = {
14023 (char *) "self",(char *) "flags", NULL
14026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14029 arg2
= (int) SWIG_AsInt(obj1
);
14030 if (PyErr_Occurred()) SWIG_fail
;
14032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14033 (arg1
)->SetFlags(arg2
);
14035 wxPyEndAllowThreads(__tstate
);
14036 if (PyErr_Occurred()) SWIG_fail
;
14038 Py_INCREF(Py_None
); resultobj
= Py_None
;
14045 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14046 PyObject
*resultobj
;
14047 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14048 wxString
*arg2
= 0 ;
14049 bool temp2
= False
;
14050 PyObject
* obj0
= 0 ;
14051 PyObject
* obj1
= 0 ;
14052 char *kwnames
[] = {
14053 (char *) "self",(char *) "str", NULL
14056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14060 arg2
= wxString_in_helper(obj1
);
14061 if (arg2
== NULL
) SWIG_fail
;
14065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14066 (arg1
)->SetFindString((wxString
const &)*arg2
);
14068 wxPyEndAllowThreads(__tstate
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14071 Py_INCREF(Py_None
); resultobj
= Py_None
;
14086 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14087 PyObject
*resultobj
;
14088 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14089 wxString
*arg2
= 0 ;
14090 bool temp2
= False
;
14091 PyObject
* obj0
= 0 ;
14092 PyObject
* obj1
= 0 ;
14093 char *kwnames
[] = {
14094 (char *) "self",(char *) "str", NULL
14097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14101 arg2
= wxString_in_helper(obj1
);
14102 if (arg2
== NULL
) SWIG_fail
;
14106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14107 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14109 wxPyEndAllowThreads(__tstate
);
14110 if (PyErr_Occurred()) SWIG_fail
;
14112 Py_INCREF(Py_None
); resultobj
= Py_None
;
14127 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14130 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
14132 return Py_BuildValue((char *)"");
14134 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14135 PyObject
*resultobj
;
14136 int arg1
= (int) 0 ;
14137 wxFindReplaceData
*result
;
14138 PyObject
* obj0
= 0 ;
14139 char *kwnames
[] = {
14140 (char *) "flags", NULL
14143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14145 arg1
= (int) SWIG_AsInt(obj0
);
14146 if (PyErr_Occurred()) SWIG_fail
;
14149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14150 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
14152 wxPyEndAllowThreads(__tstate
);
14153 if (PyErr_Occurred()) SWIG_fail
;
14155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
14162 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14163 PyObject
*resultobj
;
14164 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14165 PyObject
* obj0
= 0 ;
14166 char *kwnames
[] = {
14167 (char *) "self", NULL
14170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14177 wxPyEndAllowThreads(__tstate
);
14178 if (PyErr_Occurred()) SWIG_fail
;
14180 Py_INCREF(Py_None
); resultobj
= Py_None
;
14187 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14188 PyObject
*resultobj
;
14189 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14191 PyObject
* obj0
= 0 ;
14192 char *kwnames
[] = {
14193 (char *) "self", NULL
14196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
14197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14202 wxString
const &_result_ref
= (arg1
)->GetFindString();
14203 result
= (wxString
*) &_result_ref
;
14206 wxPyEndAllowThreads(__tstate
);
14207 if (PyErr_Occurred()) SWIG_fail
;
14211 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14213 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14222 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14223 PyObject
*resultobj
;
14224 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14226 PyObject
* obj0
= 0 ;
14227 char *kwnames
[] = {
14228 (char *) "self", NULL
14231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14237 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14238 result
= (wxString
*) &_result_ref
;
14241 wxPyEndAllowThreads(__tstate
);
14242 if (PyErr_Occurred()) SWIG_fail
;
14246 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14248 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14257 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14258 PyObject
*resultobj
;
14259 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14261 PyObject
* obj0
= 0 ;
14262 char *kwnames
[] = {
14263 (char *) "self", NULL
14266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14271 result
= (int)(arg1
)->GetFlags();
14273 wxPyEndAllowThreads(__tstate
);
14274 if (PyErr_Occurred()) SWIG_fail
;
14276 resultobj
= SWIG_FromInt((int)result
);
14283 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14284 PyObject
*resultobj
;
14285 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14287 PyObject
* obj0
= 0 ;
14288 PyObject
* obj1
= 0 ;
14289 char *kwnames
[] = {
14290 (char *) "self",(char *) "flags", NULL
14293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14296 arg2
= (int) SWIG_AsInt(obj1
);
14297 if (PyErr_Occurred()) SWIG_fail
;
14299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14300 (arg1
)->SetFlags(arg2
);
14302 wxPyEndAllowThreads(__tstate
);
14303 if (PyErr_Occurred()) SWIG_fail
;
14305 Py_INCREF(Py_None
); resultobj
= Py_None
;
14312 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14313 PyObject
*resultobj
;
14314 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14315 wxString
*arg2
= 0 ;
14316 bool temp2
= False
;
14317 PyObject
* obj0
= 0 ;
14318 PyObject
* obj1
= 0 ;
14319 char *kwnames
[] = {
14320 (char *) "self",(char *) "str", NULL
14323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14327 arg2
= wxString_in_helper(obj1
);
14328 if (arg2
== NULL
) SWIG_fail
;
14332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14333 (arg1
)->SetFindString((wxString
const &)*arg2
);
14335 wxPyEndAllowThreads(__tstate
);
14336 if (PyErr_Occurred()) SWIG_fail
;
14338 Py_INCREF(Py_None
); resultobj
= Py_None
;
14353 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
;
14355 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14356 wxString
*arg2
= 0 ;
14357 bool temp2
= False
;
14358 PyObject
* obj0
= 0 ;
14359 PyObject
* obj1
= 0 ;
14360 char *kwnames
[] = {
14361 (char *) "self",(char *) "str", NULL
14364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14368 arg2
= wxString_in_helper(obj1
);
14369 if (arg2
== NULL
) SWIG_fail
;
14373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14374 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14376 wxPyEndAllowThreads(__tstate
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14379 Py_INCREF(Py_None
); resultobj
= Py_None
;
14394 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
14396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14397 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14399 return Py_BuildValue((char *)"");
14401 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14402 PyObject
*resultobj
;
14403 wxWindow
*arg1
= (wxWindow
*) 0 ;
14404 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14405 wxString
*arg3
= 0 ;
14406 int arg4
= (int) 0 ;
14407 wxFindReplaceDialog
*result
;
14408 bool temp3
= False
;
14409 PyObject
* obj0
= 0 ;
14410 PyObject
* obj1
= 0 ;
14411 PyObject
* obj2
= 0 ;
14412 PyObject
* obj3
= 0 ;
14413 char *kwnames
[] = {
14414 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14423 arg3
= wxString_in_helper(obj2
);
14424 if (arg3
== NULL
) SWIG_fail
;
14428 arg4
= (int) SWIG_AsInt(obj3
);
14429 if (PyErr_Occurred()) SWIG_fail
;
14432 if (!wxPyCheckForApp()) SWIG_fail
;
14433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14434 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14436 wxPyEndAllowThreads(__tstate
);
14437 if (PyErr_Occurred()) SWIG_fail
;
14439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14454 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14455 PyObject
*resultobj
;
14456 wxFindReplaceDialog
*result
;
14457 char *kwnames
[] = {
14461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14463 if (!wxPyCheckForApp()) SWIG_fail
;
14464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14465 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14467 wxPyEndAllowThreads(__tstate
);
14468 if (PyErr_Occurred()) SWIG_fail
;
14470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14477 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14478 PyObject
*resultobj
;
14479 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14480 wxWindow
*arg2
= (wxWindow
*) 0 ;
14481 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14482 wxString
*arg4
= 0 ;
14483 int arg5
= (int) 0 ;
14485 bool temp4
= False
;
14486 PyObject
* obj0
= 0 ;
14487 PyObject
* obj1
= 0 ;
14488 PyObject
* obj2
= 0 ;
14489 PyObject
* obj3
= 0 ;
14490 PyObject
* obj4
= 0 ;
14491 char *kwnames
[] = {
14492 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14498 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14500 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14503 arg4
= wxString_in_helper(obj3
);
14504 if (arg4
== NULL
) SWIG_fail
;
14508 arg5
= (int) SWIG_AsInt(obj4
);
14509 if (PyErr_Occurred()) SWIG_fail
;
14512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14513 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14515 wxPyEndAllowThreads(__tstate
);
14516 if (PyErr_Occurred()) SWIG_fail
;
14519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14535 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14536 PyObject
*resultobj
;
14537 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14538 wxFindReplaceData
*result
;
14539 PyObject
* obj0
= 0 ;
14540 char *kwnames
[] = {
14541 (char *) "self", NULL
14544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14549 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14551 wxPyEndAllowThreads(__tstate
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14561 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14562 PyObject
*resultobj
;
14563 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14564 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14565 PyObject
* obj0
= 0 ;
14566 PyObject
* obj1
= 0 ;
14567 char *kwnames
[] = {
14568 (char *) "self",(char *) "data", NULL
14571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14574 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14578 (arg1
)->SetData(arg2
);
14580 wxPyEndAllowThreads(__tstate
);
14581 if (PyErr_Occurred()) SWIG_fail
;
14583 Py_INCREF(Py_None
); resultobj
= Py_None
;
14590 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14593 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14595 return Py_BuildValue((char *)"");
14597 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14598 PyObject
*resultobj
;
14599 wxWindow
*arg1
= (wxWindow
*) 0 ;
14600 int arg2
= (int) (int)-1 ;
14601 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14602 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14603 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14604 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14605 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14606 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14607 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14608 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14609 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14610 wxMDIParentFrame
*result
;
14611 bool temp3
= False
;
14614 bool temp7
= False
;
14615 PyObject
* obj0
= 0 ;
14616 PyObject
* obj1
= 0 ;
14617 PyObject
* obj2
= 0 ;
14618 PyObject
* obj3
= 0 ;
14619 PyObject
* obj4
= 0 ;
14620 PyObject
* obj5
= 0 ;
14621 PyObject
* obj6
= 0 ;
14622 char *kwnames
[] = {
14623 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14630 arg2
= (int const) SWIG_AsInt(obj1
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14635 arg3
= wxString_in_helper(obj2
);
14636 if (arg3
== NULL
) SWIG_fail
;
14643 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14649 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14653 arg6
= (long) SWIG_AsLong(obj5
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14658 arg7
= wxString_in_helper(obj6
);
14659 if (arg7
== NULL
) SWIG_fail
;
14664 if (!wxPyCheckForApp()) SWIG_fail
;
14665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14666 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14668 wxPyEndAllowThreads(__tstate
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14694 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14695 PyObject
*resultobj
;
14696 wxMDIParentFrame
*result
;
14697 char *kwnames
[] = {
14701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14703 if (!wxPyCheckForApp()) SWIG_fail
;
14704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14705 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14707 wxPyEndAllowThreads(__tstate
);
14708 if (PyErr_Occurred()) SWIG_fail
;
14710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14717 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14718 PyObject
*resultobj
;
14719 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14720 wxWindow
*arg2
= (wxWindow
*) 0 ;
14721 int arg3
= (int) (int)-1 ;
14722 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14723 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14724 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14725 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14726 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14727 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14728 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14729 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14730 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14732 bool temp4
= False
;
14735 bool temp8
= False
;
14736 PyObject
* obj0
= 0 ;
14737 PyObject
* obj1
= 0 ;
14738 PyObject
* obj2
= 0 ;
14739 PyObject
* obj3
= 0 ;
14740 PyObject
* obj4
= 0 ;
14741 PyObject
* obj5
= 0 ;
14742 PyObject
* obj6
= 0 ;
14743 PyObject
* obj7
= 0 ;
14744 char *kwnames
[] = {
14745 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14751 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14754 arg3
= (int const) SWIG_AsInt(obj2
);
14755 if (PyErr_Occurred()) SWIG_fail
;
14759 arg4
= wxString_in_helper(obj3
);
14760 if (arg4
== NULL
) SWIG_fail
;
14767 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14773 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14777 arg7
= (long) SWIG_AsLong(obj6
);
14778 if (PyErr_Occurred()) SWIG_fail
;
14782 arg8
= wxString_in_helper(obj7
);
14783 if (arg8
== NULL
) SWIG_fail
;
14788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14789 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14791 wxPyEndAllowThreads(__tstate
);
14792 if (PyErr_Occurred()) SWIG_fail
;
14795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14819 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14820 PyObject
*resultobj
;
14821 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14822 PyObject
* obj0
= 0 ;
14823 char *kwnames
[] = {
14824 (char *) "self", NULL
14827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14832 (arg1
)->ActivateNext();
14834 wxPyEndAllowThreads(__tstate
);
14835 if (PyErr_Occurred()) SWIG_fail
;
14837 Py_INCREF(Py_None
); resultobj
= Py_None
;
14844 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14845 PyObject
*resultobj
;
14846 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14847 PyObject
* obj0
= 0 ;
14848 char *kwnames
[] = {
14849 (char *) "self", NULL
14852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14857 (arg1
)->ActivatePrevious();
14859 wxPyEndAllowThreads(__tstate
);
14860 if (PyErr_Occurred()) SWIG_fail
;
14862 Py_INCREF(Py_None
); resultobj
= Py_None
;
14869 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14870 PyObject
*resultobj
;
14871 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14872 PyObject
* obj0
= 0 ;
14873 char *kwnames
[] = {
14874 (char *) "self", NULL
14877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14882 (arg1
)->ArrangeIcons();
14884 wxPyEndAllowThreads(__tstate
);
14885 if (PyErr_Occurred()) SWIG_fail
;
14887 Py_INCREF(Py_None
); resultobj
= Py_None
;
14894 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14895 PyObject
*resultobj
;
14896 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14897 PyObject
* obj0
= 0 ;
14898 char *kwnames
[] = {
14899 (char *) "self", NULL
14902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14909 wxPyEndAllowThreads(__tstate
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14912 Py_INCREF(Py_None
); resultobj
= Py_None
;
14919 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14920 PyObject
*resultobj
;
14921 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14922 wxMDIChildFrame
*result
;
14923 PyObject
* obj0
= 0 ;
14924 char *kwnames
[] = {
14925 (char *) "self", NULL
14928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14933 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14935 wxPyEndAllowThreads(__tstate
);
14936 if (PyErr_Occurred()) SWIG_fail
;
14939 resultobj
= wxPyMake_wxObject(result
);
14947 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14948 PyObject
*resultobj
;
14949 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14950 wxMDIClientWindow
*result
;
14951 PyObject
* obj0
= 0 ;
14952 char *kwnames
[] = {
14953 (char *) "self", NULL
14956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14961 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14963 wxPyEndAllowThreads(__tstate
);
14964 if (PyErr_Occurred()) SWIG_fail
;
14967 resultobj
= wxPyMake_wxObject(result
);
14975 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14976 PyObject
*resultobj
;
14977 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14979 PyObject
* obj0
= 0 ;
14980 char *kwnames
[] = {
14981 (char *) "self", NULL
14984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14989 result
= (wxWindow
*)(arg1
)->GetToolBar();
14991 wxPyEndAllowThreads(__tstate
);
14992 if (PyErr_Occurred()) SWIG_fail
;
14995 resultobj
= wxPyMake_wxObject(result
);
15003 static PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15004 PyObject
*resultobj
;
15005 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15007 PyObject
* obj0
= 0 ;
15008 char *kwnames
[] = {
15009 (char *) "self", NULL
15012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames
,&obj0
)) goto fail
;
15013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15017 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
15019 wxPyEndAllowThreads(__tstate
);
15020 if (PyErr_Occurred()) SWIG_fail
;
15023 resultobj
= wxPyMake_wxObject(result
);
15031 static PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15032 PyObject
*resultobj
;
15033 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15034 wxMenu
*arg2
= (wxMenu
*) 0 ;
15035 PyObject
* obj0
= 0 ;
15036 PyObject
* obj1
= 0 ;
15037 char *kwnames
[] = {
15038 (char *) "self",(char *) "menu", NULL
15041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
15042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
15045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15048 (arg1
)->SetWindowMenu(arg2
);
15050 wxPyEndAllowThreads(__tstate
);
15051 if (PyErr_Occurred()) SWIG_fail
;
15053 Py_INCREF(Py_None
); resultobj
= Py_None
;
15060 static PyObject
*_wrap_MDIParentFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15061 PyObject
*resultobj
;
15062 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15063 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
15064 PyObject
* obj0
= 0 ;
15065 PyObject
* obj1
= 0 ;
15066 char *kwnames
[] = {
15067 (char *) "self",(char *) "toolbar", NULL
15070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
15071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15073 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
15074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15077 (arg1
)->SetToolBar(arg2
);
15079 wxPyEndAllowThreads(__tstate
);
15080 if (PyErr_Occurred()) SWIG_fail
;
15082 Py_INCREF(Py_None
); resultobj
= Py_None
;
15089 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15090 PyObject
*resultobj
;
15091 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15092 PyObject
* obj0
= 0 ;
15093 char *kwnames
[] = {
15094 (char *) "self", NULL
15097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
15098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15104 wxPyEndAllowThreads(__tstate
);
15105 if (PyErr_Occurred()) SWIG_fail
;
15107 Py_INCREF(Py_None
); resultobj
= Py_None
;
15114 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
15116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15117 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
15119 return Py_BuildValue((char *)"");
15121 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15122 PyObject
*resultobj
;
15123 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15124 int arg2
= (int) (int)-1 ;
15125 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15126 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15127 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15128 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15129 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15130 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15131 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
15132 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
15133 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15134 wxMDIChildFrame
*result
;
15135 bool temp3
= False
;
15138 bool temp7
= False
;
15139 PyObject
* obj0
= 0 ;
15140 PyObject
* obj1
= 0 ;
15141 PyObject
* obj2
= 0 ;
15142 PyObject
* obj3
= 0 ;
15143 PyObject
* obj4
= 0 ;
15144 PyObject
* obj5
= 0 ;
15145 PyObject
* obj6
= 0 ;
15146 char *kwnames
[] = {
15147 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15154 arg2
= (int const) SWIG_AsInt(obj1
);
15155 if (PyErr_Occurred()) SWIG_fail
;
15159 arg3
= wxString_in_helper(obj2
);
15160 if (arg3
== NULL
) SWIG_fail
;
15167 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15173 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15177 arg6
= (long) SWIG_AsLong(obj5
);
15178 if (PyErr_Occurred()) SWIG_fail
;
15182 arg7
= wxString_in_helper(obj6
);
15183 if (arg7
== NULL
) SWIG_fail
;
15188 if (!wxPyCheckForApp()) SWIG_fail
;
15189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15190 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15192 wxPyEndAllowThreads(__tstate
);
15193 if (PyErr_Occurred()) SWIG_fail
;
15196 resultobj
= wxPyMake_wxObject(result
);
15220 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15221 PyObject
*resultobj
;
15222 wxMDIChildFrame
*result
;
15223 char *kwnames
[] = {
15227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
15229 if (!wxPyCheckForApp()) SWIG_fail
;
15230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15231 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
15233 wxPyEndAllowThreads(__tstate
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15237 resultobj
= wxPyMake_wxObject(result
);
15245 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15246 PyObject
*resultobj
;
15247 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15248 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15249 int arg3
= (int) (int)-1 ;
15250 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15251 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15252 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15253 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15254 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15255 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15256 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
15257 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15258 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15260 bool temp4
= False
;
15263 bool temp8
= False
;
15264 PyObject
* obj0
= 0 ;
15265 PyObject
* obj1
= 0 ;
15266 PyObject
* obj2
= 0 ;
15267 PyObject
* obj3
= 0 ;
15268 PyObject
* obj4
= 0 ;
15269 PyObject
* obj5
= 0 ;
15270 PyObject
* obj6
= 0 ;
15271 PyObject
* obj7
= 0 ;
15272 char *kwnames
[] = {
15273 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15279 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15282 arg3
= (int const) SWIG_AsInt(obj2
);
15283 if (PyErr_Occurred()) SWIG_fail
;
15287 arg4
= wxString_in_helper(obj3
);
15288 if (arg4
== NULL
) SWIG_fail
;
15295 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15301 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15305 arg7
= (long) SWIG_AsLong(obj6
);
15306 if (PyErr_Occurred()) SWIG_fail
;
15310 arg8
= wxString_in_helper(obj7
);
15311 if (arg8
== NULL
) SWIG_fail
;
15316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15317 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15319 wxPyEndAllowThreads(__tstate
);
15320 if (PyErr_Occurred()) SWIG_fail
;
15323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15347 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15348 PyObject
*resultobj
;
15349 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15350 PyObject
* obj0
= 0 ;
15351 char *kwnames
[] = {
15352 (char *) "self", NULL
15355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15360 (arg1
)->Activate();
15362 wxPyEndAllowThreads(__tstate
);
15363 if (PyErr_Occurred()) SWIG_fail
;
15365 Py_INCREF(Py_None
); resultobj
= Py_None
;
15372 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15373 PyObject
*resultobj
;
15374 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15376 PyObject
* obj0
= 0 ;
15377 PyObject
* obj1
= 0 ;
15378 char *kwnames
[] = {
15379 (char *) "self",(char *) "maximize", NULL
15382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15385 arg2
= (bool) SWIG_AsBool(obj1
);
15386 if (PyErr_Occurred()) SWIG_fail
;
15388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15389 (arg1
)->Maximize(arg2
);
15391 wxPyEndAllowThreads(__tstate
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15394 Py_INCREF(Py_None
); resultobj
= Py_None
;
15401 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15402 PyObject
*resultobj
;
15403 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15404 PyObject
* obj0
= 0 ;
15405 char *kwnames
[] = {
15406 (char *) "self", NULL
15409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15416 wxPyEndAllowThreads(__tstate
);
15417 if (PyErr_Occurred()) SWIG_fail
;
15419 Py_INCREF(Py_None
); resultobj
= Py_None
;
15426 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
15428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15429 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15431 return Py_BuildValue((char *)"");
15433 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15434 PyObject
*resultobj
;
15435 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15436 long arg2
= (long) 0 ;
15437 wxMDIClientWindow
*result
;
15438 PyObject
* obj0
= 0 ;
15439 PyObject
* obj1
= 0 ;
15440 char *kwnames
[] = {
15441 (char *) "parent",(char *) "style", NULL
15444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15448 arg2
= (long) SWIG_AsLong(obj1
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15452 if (!wxPyCheckForApp()) SWIG_fail
;
15453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15454 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15456 wxPyEndAllowThreads(__tstate
);
15457 if (PyErr_Occurred()) SWIG_fail
;
15460 resultobj
= wxPyMake_wxObject(result
);
15468 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15469 PyObject
*resultobj
;
15470 wxMDIClientWindow
*result
;
15471 char *kwnames
[] = {
15475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15477 if (!wxPyCheckForApp()) SWIG_fail
;
15478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15479 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15481 wxPyEndAllowThreads(__tstate
);
15482 if (PyErr_Occurred()) SWIG_fail
;
15485 resultobj
= wxPyMake_wxObject(result
);
15493 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15494 PyObject
*resultobj
;
15495 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15496 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15497 long arg3
= (long) 0 ;
15499 PyObject
* obj0
= 0 ;
15500 PyObject
* obj1
= 0 ;
15501 PyObject
* obj2
= 0 ;
15502 char *kwnames
[] = {
15503 (char *) "self",(char *) "parent",(char *) "style", NULL
15506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15512 arg3
= (long) SWIG_AsLong(obj2
);
15513 if (PyErr_Occurred()) SWIG_fail
;
15516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15517 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15519 wxPyEndAllowThreads(__tstate
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15531 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15533 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15534 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15536 return Py_BuildValue((char *)"");
15538 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15539 PyObject
*resultobj
;
15540 wxWindow
*arg1
= (wxWindow
*) 0 ;
15541 int arg2
= (int) (int)-1 ;
15542 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15543 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15544 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15545 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15546 long arg5
= (long) 0 ;
15547 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15548 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15549 wxPyWindow
*result
;
15552 bool temp6
= False
;
15553 PyObject
* obj0
= 0 ;
15554 PyObject
* obj1
= 0 ;
15555 PyObject
* obj2
= 0 ;
15556 PyObject
* obj3
= 0 ;
15557 PyObject
* obj4
= 0 ;
15558 PyObject
* obj5
= 0 ;
15559 char *kwnames
[] = {
15560 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15567 arg2
= (int const) SWIG_AsInt(obj1
);
15568 if (PyErr_Occurred()) SWIG_fail
;
15573 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15579 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15583 arg5
= (long) SWIG_AsLong(obj4
);
15584 if (PyErr_Occurred()) SWIG_fail
;
15588 arg6
= wxString_in_helper(obj5
);
15589 if (arg6
== NULL
) SWIG_fail
;
15594 if (!wxPyCheckForApp()) SWIG_fail
;
15595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15596 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15598 wxPyEndAllowThreads(__tstate
);
15599 if (PyErr_Occurred()) SWIG_fail
;
15601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15616 static PyObject
*_wrap_new_PrePyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15617 PyObject
*resultobj
;
15618 wxPyWindow
*result
;
15619 char *kwnames
[] = {
15623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15625 if (!wxPyCheckForApp()) SWIG_fail
;
15626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15627 result
= (wxPyWindow
*)new wxPyWindow();
15629 wxPyEndAllowThreads(__tstate
);
15630 if (PyErr_Occurred()) SWIG_fail
;
15632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15639 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15640 PyObject
*resultobj
;
15641 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15642 PyObject
*arg2
= (PyObject
*) 0 ;
15643 PyObject
*arg3
= (PyObject
*) 0 ;
15644 PyObject
* obj0
= 0 ;
15645 PyObject
* obj1
= 0 ;
15646 PyObject
* obj2
= 0 ;
15647 char *kwnames
[] = {
15648 (char *) "self",(char *) "self",(char *) "_class", NULL
15651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15658 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15660 wxPyEndAllowThreads(__tstate
);
15661 if (PyErr_Occurred()) SWIG_fail
;
15663 Py_INCREF(Py_None
); resultobj
= Py_None
;
15670 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15671 PyObject
*resultobj
;
15672 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15675 PyObject
* obj0
= 0 ;
15676 PyObject
* obj1
= 0 ;
15677 char *kwnames
[] = {
15678 (char *) "self",(char *) "size", NULL
15681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15686 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15690 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
15692 wxPyEndAllowThreads(__tstate
);
15693 if (PyErr_Occurred()) SWIG_fail
;
15695 Py_INCREF(Py_None
); resultobj
= Py_None
;
15702 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15703 PyObject
*resultobj
;
15704 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15709 PyObject
* obj0
= 0 ;
15710 PyObject
* obj1
= 0 ;
15711 PyObject
* obj2
= 0 ;
15712 PyObject
* obj3
= 0 ;
15713 PyObject
* obj4
= 0 ;
15714 char *kwnames
[] = {
15715 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15721 arg2
= (int) SWIG_AsInt(obj1
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15723 arg3
= (int) SWIG_AsInt(obj2
);
15724 if (PyErr_Occurred()) SWIG_fail
;
15725 arg4
= (int) SWIG_AsInt(obj3
);
15726 if (PyErr_Occurred()) SWIG_fail
;
15727 arg5
= (int) SWIG_AsInt(obj4
);
15728 if (PyErr_Occurred()) SWIG_fail
;
15730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15731 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15733 wxPyEndAllowThreads(__tstate
);
15734 if (PyErr_Occurred()) SWIG_fail
;
15736 Py_INCREF(Py_None
); resultobj
= Py_None
;
15743 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15744 PyObject
*resultobj
;
15745 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15750 int arg6
= (int) wxSIZE_AUTO
;
15751 PyObject
* obj0
= 0 ;
15752 PyObject
* obj1
= 0 ;
15753 PyObject
* obj2
= 0 ;
15754 PyObject
* obj3
= 0 ;
15755 PyObject
* obj4
= 0 ;
15756 PyObject
* obj5
= 0 ;
15757 char *kwnames
[] = {
15758 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15764 arg2
= (int) SWIG_AsInt(obj1
);
15765 if (PyErr_Occurred()) SWIG_fail
;
15766 arg3
= (int) SWIG_AsInt(obj2
);
15767 if (PyErr_Occurred()) SWIG_fail
;
15768 arg4
= (int) SWIG_AsInt(obj3
);
15769 if (PyErr_Occurred()) SWIG_fail
;
15770 arg5
= (int) SWIG_AsInt(obj4
);
15771 if (PyErr_Occurred()) SWIG_fail
;
15773 arg6
= (int) SWIG_AsInt(obj5
);
15774 if (PyErr_Occurred()) SWIG_fail
;
15777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15778 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15780 wxPyEndAllowThreads(__tstate
);
15781 if (PyErr_Occurred()) SWIG_fail
;
15783 Py_INCREF(Py_None
); resultobj
= Py_None
;
15790 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15791 PyObject
*resultobj
;
15792 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15795 PyObject
* obj0
= 0 ;
15796 PyObject
* obj1
= 0 ;
15797 PyObject
* obj2
= 0 ;
15798 char *kwnames
[] = {
15799 (char *) "self",(char *) "width",(char *) "height", NULL
15802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15805 arg2
= (int) SWIG_AsInt(obj1
);
15806 if (PyErr_Occurred()) SWIG_fail
;
15807 arg3
= (int) SWIG_AsInt(obj2
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15811 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15813 wxPyEndAllowThreads(__tstate
);
15814 if (PyErr_Occurred()) SWIG_fail
;
15816 Py_INCREF(Py_None
); resultobj
= Py_None
;
15823 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15824 PyObject
*resultobj
;
15825 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15828 PyObject
* obj0
= 0 ;
15829 PyObject
* obj1
= 0 ;
15830 PyObject
* obj2
= 0 ;
15831 char *kwnames
[] = {
15832 (char *) "self",(char *) "x",(char *) "y", NULL
15835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15838 arg2
= (int) SWIG_AsInt(obj1
);
15839 if (PyErr_Occurred()) SWIG_fail
;
15840 arg3
= (int) SWIG_AsInt(obj2
);
15841 if (PyErr_Occurred()) SWIG_fail
;
15843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15844 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15846 wxPyEndAllowThreads(__tstate
);
15847 if (PyErr_Occurred()) SWIG_fail
;
15849 Py_INCREF(Py_None
); resultobj
= Py_None
;
15856 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15857 PyObject
*resultobj
;
15858 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15859 int *arg2
= (int *) 0 ;
15860 int *arg3
= (int *) 0 ;
15863 PyObject
* obj0
= 0 ;
15864 char *kwnames
[] = {
15865 (char *) "self", NULL
15870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15875 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15877 wxPyEndAllowThreads(__tstate
);
15878 if (PyErr_Occurred()) SWIG_fail
;
15880 Py_INCREF(Py_None
); resultobj
= Py_None
;
15882 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15883 resultobj
= t_output_helper(resultobj
,o
);
15886 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15887 resultobj
= t_output_helper(resultobj
,o
);
15895 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15896 PyObject
*resultobj
;
15897 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15898 int *arg2
= (int *) 0 ;
15899 int *arg3
= (int *) 0 ;
15902 PyObject
* obj0
= 0 ;
15903 char *kwnames
[] = {
15904 (char *) "self", NULL
15909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15914 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15916 wxPyEndAllowThreads(__tstate
);
15917 if (PyErr_Occurred()) SWIG_fail
;
15919 Py_INCREF(Py_None
); resultobj
= Py_None
;
15921 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15922 resultobj
= t_output_helper(resultobj
,o
);
15925 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15926 resultobj
= t_output_helper(resultobj
,o
);
15934 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15935 PyObject
*resultobj
;
15936 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15937 int *arg2
= (int *) 0 ;
15938 int *arg3
= (int *) 0 ;
15941 PyObject
* obj0
= 0 ;
15942 char *kwnames
[] = {
15943 (char *) "self", NULL
15948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15953 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15955 wxPyEndAllowThreads(__tstate
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15958 Py_INCREF(Py_None
); resultobj
= Py_None
;
15960 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15961 resultobj
= t_output_helper(resultobj
,o
);
15964 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15965 resultobj
= t_output_helper(resultobj
,o
);
15973 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15974 PyObject
*resultobj
;
15975 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15977 PyObject
* obj0
= 0 ;
15978 char *kwnames
[] = {
15979 (char *) "self", NULL
15982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15987 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15989 wxPyEndAllowThreads(__tstate
);
15990 if (PyErr_Occurred()) SWIG_fail
;
15993 wxSize
* resultptr
;
15994 resultptr
= new wxSize((wxSize
&) result
);
15995 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16003 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16004 PyObject
*resultobj
;
16005 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16007 PyObject
* obj0
= 0 ;
16008 char *kwnames
[] = {
16009 (char *) "self", NULL
16012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16017 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
16019 wxPyEndAllowThreads(__tstate
);
16020 if (PyErr_Occurred()) SWIG_fail
;
16023 wxSize
* resultptr
;
16024 resultptr
= new wxSize((wxSize
&) result
);
16025 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16033 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16034 PyObject
*resultobj
;
16035 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16036 PyObject
* obj0
= 0 ;
16037 char *kwnames
[] = {
16038 (char *) "self", NULL
16041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16046 (arg1
)->base_InitDialog();
16048 wxPyEndAllowThreads(__tstate
);
16049 if (PyErr_Occurred()) SWIG_fail
;
16051 Py_INCREF(Py_None
); resultobj
= Py_None
;
16058 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16059 PyObject
*resultobj
;
16060 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16062 PyObject
* obj0
= 0 ;
16063 char *kwnames
[] = {
16064 (char *) "self", NULL
16067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16072 result
= (bool)(arg1
)->base_TransferDataToWindow();
16074 wxPyEndAllowThreads(__tstate
);
16075 if (PyErr_Occurred()) SWIG_fail
;
16078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16086 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16087 PyObject
*resultobj
;
16088 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16090 PyObject
* obj0
= 0 ;
16091 char *kwnames
[] = {
16092 (char *) "self", NULL
16095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16100 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16102 wxPyEndAllowThreads(__tstate
);
16103 if (PyErr_Occurred()) SWIG_fail
;
16106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16114 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16115 PyObject
*resultobj
;
16116 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16118 PyObject
* obj0
= 0 ;
16119 char *kwnames
[] = {
16120 (char *) "self", NULL
16123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
16124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16128 result
= (bool)(arg1
)->base_Validate();
16130 wxPyEndAllowThreads(__tstate
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16142 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16143 PyObject
*resultobj
;
16144 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16146 PyObject
* obj0
= 0 ;
16147 char *kwnames
[] = {
16148 (char *) "self", NULL
16151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16156 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
16158 wxPyEndAllowThreads(__tstate
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16170 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16171 PyObject
*resultobj
;
16172 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16174 PyObject
* obj0
= 0 ;
16175 char *kwnames
[] = {
16176 (char *) "self", NULL
16179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16184 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16186 wxPyEndAllowThreads(__tstate
);
16187 if (PyErr_Occurred()) SWIG_fail
;
16190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16198 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16199 PyObject
*resultobj
;
16200 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16202 PyObject
* obj0
= 0 ;
16203 char *kwnames
[] = {
16204 (char *) "self", NULL
16207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16212 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
16214 wxPyEndAllowThreads(__tstate
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16218 wxSize
* resultptr
;
16219 resultptr
= new wxSize((wxSize
&) result
);
16220 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16228 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16229 PyObject
*resultobj
;
16230 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16231 wxWindow
*arg2
= (wxWindow
*) 0 ;
16232 PyObject
* obj0
= 0 ;
16233 PyObject
* obj1
= 0 ;
16234 char *kwnames
[] = {
16235 (char *) "self",(char *) "child", NULL
16238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16241 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16245 (arg1
)->base_AddChild(arg2
);
16247 wxPyEndAllowThreads(__tstate
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16250 Py_INCREF(Py_None
); resultobj
= Py_None
;
16257 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16258 PyObject
*resultobj
;
16259 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16260 wxWindow
*arg2
= (wxWindow
*) 0 ;
16261 PyObject
* obj0
= 0 ;
16262 PyObject
* obj1
= 0 ;
16263 char *kwnames
[] = {
16264 (char *) "self",(char *) "child", NULL
16267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16270 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16274 (arg1
)->base_RemoveChild(arg2
);
16276 wxPyEndAllowThreads(__tstate
);
16277 if (PyErr_Occurred()) SWIG_fail
;
16279 Py_INCREF(Py_None
); resultobj
= Py_None
;
16286 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16287 PyObject
*resultobj
;
16288 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16290 PyObject
* obj0
= 0 ;
16291 char *kwnames
[] = {
16292 (char *) "self", NULL
16295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16300 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
16302 wxPyEndAllowThreads(__tstate
);
16303 if (PyErr_Occurred()) SWIG_fail
;
16306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16314 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16315 PyObject
*resultobj
;
16316 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16317 wxColour
*arg2
= 0 ;
16319 PyObject
* obj0
= 0 ;
16320 PyObject
* obj1
= 0 ;
16321 char *kwnames
[] = {
16322 (char *) "self",(char *) "c", NULL
16325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16330 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16334 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16336 wxPyEndAllowThreads(__tstate
);
16337 if (PyErr_Occurred()) SWIG_fail
;
16339 Py_INCREF(Py_None
); resultobj
= Py_None
;
16346 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16347 PyObject
*resultobj
;
16348 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16349 wxVisualAttributes result
;
16350 PyObject
* obj0
= 0 ;
16351 char *kwnames
[] = {
16352 (char *) "self", NULL
16355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16360 result
= (arg1
)->base_GetDefaultAttributes();
16362 wxPyEndAllowThreads(__tstate
);
16363 if (PyErr_Occurred()) SWIG_fail
;
16366 wxVisualAttributes
* resultptr
;
16367 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16368 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16376 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
16378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16379 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16381 return Py_BuildValue((char *)"");
16383 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16384 PyObject
*resultobj
;
16385 wxWindow
*arg1
= (wxWindow
*) 0 ;
16386 int arg2
= (int) (int)-1 ;
16387 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16388 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16389 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16390 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16391 long arg5
= (long) 0 ;
16392 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16393 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16397 bool temp6
= False
;
16398 PyObject
* obj0
= 0 ;
16399 PyObject
* obj1
= 0 ;
16400 PyObject
* obj2
= 0 ;
16401 PyObject
* obj3
= 0 ;
16402 PyObject
* obj4
= 0 ;
16403 PyObject
* obj5
= 0 ;
16404 char *kwnames
[] = {
16405 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16412 arg2
= (int const) SWIG_AsInt(obj1
);
16413 if (PyErr_Occurred()) SWIG_fail
;
16418 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16424 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16428 arg5
= (long) SWIG_AsLong(obj4
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16433 arg6
= wxString_in_helper(obj5
);
16434 if (arg6
== NULL
) SWIG_fail
;
16439 if (!wxPyCheckForApp()) SWIG_fail
;
16440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16441 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16443 wxPyEndAllowThreads(__tstate
);
16444 if (PyErr_Occurred()) SWIG_fail
;
16446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16461 static PyObject
*_wrap_new_PrePyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16462 PyObject
*resultobj
;
16464 char *kwnames
[] = {
16468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16470 if (!wxPyCheckForApp()) SWIG_fail
;
16471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16472 result
= (wxPyPanel
*)new wxPyPanel();
16474 wxPyEndAllowThreads(__tstate
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16484 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16485 PyObject
*resultobj
;
16486 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16487 PyObject
*arg2
= (PyObject
*) 0 ;
16488 PyObject
*arg3
= (PyObject
*) 0 ;
16489 PyObject
* obj0
= 0 ;
16490 PyObject
* obj1
= 0 ;
16491 PyObject
* obj2
= 0 ;
16492 char *kwnames
[] = {
16493 (char *) "self",(char *) "self",(char *) "_class", NULL
16496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16503 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16505 wxPyEndAllowThreads(__tstate
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16508 Py_INCREF(Py_None
); resultobj
= Py_None
;
16515 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16516 PyObject
*resultobj
;
16517 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16520 PyObject
* obj0
= 0 ;
16521 PyObject
* obj1
= 0 ;
16522 char *kwnames
[] = {
16523 (char *) "self",(char *) "size", NULL
16526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16531 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16535 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16537 wxPyEndAllowThreads(__tstate
);
16538 if (PyErr_Occurred()) SWIG_fail
;
16540 Py_INCREF(Py_None
); resultobj
= Py_None
;
16547 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16548 PyObject
*resultobj
;
16549 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16554 PyObject
* obj0
= 0 ;
16555 PyObject
* obj1
= 0 ;
16556 PyObject
* obj2
= 0 ;
16557 PyObject
* obj3
= 0 ;
16558 PyObject
* obj4
= 0 ;
16559 char *kwnames
[] = {
16560 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16566 arg2
= (int) SWIG_AsInt(obj1
);
16567 if (PyErr_Occurred()) SWIG_fail
;
16568 arg3
= (int) SWIG_AsInt(obj2
);
16569 if (PyErr_Occurred()) SWIG_fail
;
16570 arg4
= (int) SWIG_AsInt(obj3
);
16571 if (PyErr_Occurred()) SWIG_fail
;
16572 arg5
= (int) SWIG_AsInt(obj4
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16576 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16578 wxPyEndAllowThreads(__tstate
);
16579 if (PyErr_Occurred()) SWIG_fail
;
16581 Py_INCREF(Py_None
); resultobj
= Py_None
;
16588 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16589 PyObject
*resultobj
;
16590 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16595 int arg6
= (int) wxSIZE_AUTO
;
16596 PyObject
* obj0
= 0 ;
16597 PyObject
* obj1
= 0 ;
16598 PyObject
* obj2
= 0 ;
16599 PyObject
* obj3
= 0 ;
16600 PyObject
* obj4
= 0 ;
16601 PyObject
* obj5
= 0 ;
16602 char *kwnames
[] = {
16603 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16609 arg2
= (int) SWIG_AsInt(obj1
);
16610 if (PyErr_Occurred()) SWIG_fail
;
16611 arg3
= (int) SWIG_AsInt(obj2
);
16612 if (PyErr_Occurred()) SWIG_fail
;
16613 arg4
= (int) SWIG_AsInt(obj3
);
16614 if (PyErr_Occurred()) SWIG_fail
;
16615 arg5
= (int) SWIG_AsInt(obj4
);
16616 if (PyErr_Occurred()) SWIG_fail
;
16618 arg6
= (int) SWIG_AsInt(obj5
);
16619 if (PyErr_Occurred()) SWIG_fail
;
16622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16623 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16625 wxPyEndAllowThreads(__tstate
);
16626 if (PyErr_Occurred()) SWIG_fail
;
16628 Py_INCREF(Py_None
); resultobj
= Py_None
;
16635 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16636 PyObject
*resultobj
;
16637 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16640 PyObject
* obj0
= 0 ;
16641 PyObject
* obj1
= 0 ;
16642 PyObject
* obj2
= 0 ;
16643 char *kwnames
[] = {
16644 (char *) "self",(char *) "width",(char *) "height", NULL
16647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16650 arg2
= (int) SWIG_AsInt(obj1
);
16651 if (PyErr_Occurred()) SWIG_fail
;
16652 arg3
= (int) SWIG_AsInt(obj2
);
16653 if (PyErr_Occurred()) SWIG_fail
;
16655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16656 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16658 wxPyEndAllowThreads(__tstate
);
16659 if (PyErr_Occurred()) SWIG_fail
;
16661 Py_INCREF(Py_None
); resultobj
= Py_None
;
16668 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16669 PyObject
*resultobj
;
16670 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16673 PyObject
* obj0
= 0 ;
16674 PyObject
* obj1
= 0 ;
16675 PyObject
* obj2
= 0 ;
16676 char *kwnames
[] = {
16677 (char *) "self",(char *) "x",(char *) "y", NULL
16680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16683 arg2
= (int) SWIG_AsInt(obj1
);
16684 if (PyErr_Occurred()) SWIG_fail
;
16685 arg3
= (int) SWIG_AsInt(obj2
);
16686 if (PyErr_Occurred()) SWIG_fail
;
16688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16689 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16691 wxPyEndAllowThreads(__tstate
);
16692 if (PyErr_Occurred()) SWIG_fail
;
16694 Py_INCREF(Py_None
); resultobj
= Py_None
;
16701 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16702 PyObject
*resultobj
;
16703 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16704 int *arg2
= (int *) 0 ;
16705 int *arg3
= (int *) 0 ;
16708 PyObject
* obj0
= 0 ;
16709 char *kwnames
[] = {
16710 (char *) "self", NULL
16715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16720 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16722 wxPyEndAllowThreads(__tstate
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16725 Py_INCREF(Py_None
); resultobj
= Py_None
;
16727 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16728 resultobj
= t_output_helper(resultobj
,o
);
16731 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16732 resultobj
= t_output_helper(resultobj
,o
);
16740 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16741 PyObject
*resultobj
;
16742 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16743 int *arg2
= (int *) 0 ;
16744 int *arg3
= (int *) 0 ;
16747 PyObject
* obj0
= 0 ;
16748 char *kwnames
[] = {
16749 (char *) "self", NULL
16754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16759 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16761 wxPyEndAllowThreads(__tstate
);
16762 if (PyErr_Occurred()) SWIG_fail
;
16764 Py_INCREF(Py_None
); resultobj
= Py_None
;
16766 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16767 resultobj
= t_output_helper(resultobj
,o
);
16770 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16771 resultobj
= t_output_helper(resultobj
,o
);
16779 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16780 PyObject
*resultobj
;
16781 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16782 int *arg2
= (int *) 0 ;
16783 int *arg3
= (int *) 0 ;
16786 PyObject
* obj0
= 0 ;
16787 char *kwnames
[] = {
16788 (char *) "self", NULL
16793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16798 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16800 wxPyEndAllowThreads(__tstate
);
16801 if (PyErr_Occurred()) SWIG_fail
;
16803 Py_INCREF(Py_None
); resultobj
= Py_None
;
16805 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16806 resultobj
= t_output_helper(resultobj
,o
);
16809 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16810 resultobj
= t_output_helper(resultobj
,o
);
16818 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16819 PyObject
*resultobj
;
16820 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16822 PyObject
* obj0
= 0 ;
16823 char *kwnames
[] = {
16824 (char *) "self", NULL
16827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16832 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16834 wxPyEndAllowThreads(__tstate
);
16835 if (PyErr_Occurred()) SWIG_fail
;
16838 wxSize
* resultptr
;
16839 resultptr
= new wxSize((wxSize
&) result
);
16840 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16848 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16849 PyObject
*resultobj
;
16850 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16852 PyObject
* obj0
= 0 ;
16853 char *kwnames
[] = {
16854 (char *) "self", NULL
16857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16862 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16864 wxPyEndAllowThreads(__tstate
);
16865 if (PyErr_Occurred()) SWIG_fail
;
16868 wxSize
* resultptr
;
16869 resultptr
= new wxSize((wxSize
&) result
);
16870 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16878 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16879 PyObject
*resultobj
;
16880 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16881 PyObject
* obj0
= 0 ;
16882 char *kwnames
[] = {
16883 (char *) "self", NULL
16886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16891 (arg1
)->base_InitDialog();
16893 wxPyEndAllowThreads(__tstate
);
16894 if (PyErr_Occurred()) SWIG_fail
;
16896 Py_INCREF(Py_None
); resultobj
= Py_None
;
16903 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16904 PyObject
*resultobj
;
16905 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16907 PyObject
* obj0
= 0 ;
16908 char *kwnames
[] = {
16909 (char *) "self", NULL
16912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16917 result
= (bool)(arg1
)->base_TransferDataToWindow();
16919 wxPyEndAllowThreads(__tstate
);
16920 if (PyErr_Occurred()) SWIG_fail
;
16923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16931 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16932 PyObject
*resultobj
;
16933 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16935 PyObject
* obj0
= 0 ;
16936 char *kwnames
[] = {
16937 (char *) "self", NULL
16940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16945 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16947 wxPyEndAllowThreads(__tstate
);
16948 if (PyErr_Occurred()) SWIG_fail
;
16951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16959 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16960 PyObject
*resultobj
;
16961 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16963 PyObject
* obj0
= 0 ;
16964 char *kwnames
[] = {
16965 (char *) "self", NULL
16968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16973 result
= (bool)(arg1
)->base_Validate();
16975 wxPyEndAllowThreads(__tstate
);
16976 if (PyErr_Occurred()) SWIG_fail
;
16979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16987 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16988 PyObject
*resultobj
;
16989 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16991 PyObject
* obj0
= 0 ;
16992 char *kwnames
[] = {
16993 (char *) "self", NULL
16996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17001 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
17003 wxPyEndAllowThreads(__tstate
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17015 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17016 PyObject
*resultobj
;
17017 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17019 PyObject
* obj0
= 0 ;
17020 char *kwnames
[] = {
17021 (char *) "self", NULL
17024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17029 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17031 wxPyEndAllowThreads(__tstate
);
17032 if (PyErr_Occurred()) SWIG_fail
;
17035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17043 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17044 PyObject
*resultobj
;
17045 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17047 PyObject
* obj0
= 0 ;
17048 char *kwnames
[] = {
17049 (char *) "self", NULL
17052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17057 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
17059 wxPyEndAllowThreads(__tstate
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17063 wxSize
* resultptr
;
17064 resultptr
= new wxSize((wxSize
&) result
);
17065 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17073 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17074 PyObject
*resultobj
;
17075 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17076 wxWindow
*arg2
= (wxWindow
*) 0 ;
17077 PyObject
* obj0
= 0 ;
17078 PyObject
* obj1
= 0 ;
17079 char *kwnames
[] = {
17080 (char *) "self",(char *) "child", NULL
17083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17086 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17090 (arg1
)->base_AddChild(arg2
);
17092 wxPyEndAllowThreads(__tstate
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17095 Py_INCREF(Py_None
); resultobj
= Py_None
;
17102 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17103 PyObject
*resultobj
;
17104 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17105 wxWindow
*arg2
= (wxWindow
*) 0 ;
17106 PyObject
* obj0
= 0 ;
17107 PyObject
* obj1
= 0 ;
17108 char *kwnames
[] = {
17109 (char *) "self",(char *) "child", NULL
17112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17115 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17119 (arg1
)->base_RemoveChild(arg2
);
17121 wxPyEndAllowThreads(__tstate
);
17122 if (PyErr_Occurred()) SWIG_fail
;
17124 Py_INCREF(Py_None
); resultobj
= Py_None
;
17131 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17132 PyObject
*resultobj
;
17133 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17135 PyObject
* obj0
= 0 ;
17136 char *kwnames
[] = {
17137 (char *) "self", NULL
17140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17145 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
17147 wxPyEndAllowThreads(__tstate
);
17148 if (PyErr_Occurred()) SWIG_fail
;
17151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17159 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17160 PyObject
*resultobj
;
17161 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17162 wxColour
*arg2
= 0 ;
17164 PyObject
* obj0
= 0 ;
17165 PyObject
* obj1
= 0 ;
17166 char *kwnames
[] = {
17167 (char *) "self",(char *) "c", NULL
17170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17175 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17179 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17181 wxPyEndAllowThreads(__tstate
);
17182 if (PyErr_Occurred()) SWIG_fail
;
17184 Py_INCREF(Py_None
); resultobj
= Py_None
;
17191 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17192 PyObject
*resultobj
;
17193 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17194 wxVisualAttributes result
;
17195 PyObject
* obj0
= 0 ;
17196 char *kwnames
[] = {
17197 (char *) "self", NULL
17200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",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
= (arg1
)->base_GetDefaultAttributes();
17207 wxPyEndAllowThreads(__tstate
);
17208 if (PyErr_Occurred()) SWIG_fail
;
17211 wxVisualAttributes
* resultptr
;
17212 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17221 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
17223 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17224 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
17226 return Py_BuildValue((char *)"");
17228 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17229 PyObject
*resultobj
;
17230 wxWindow
*arg1
= (wxWindow
*) 0 ;
17231 int arg2
= (int) (int)-1 ;
17232 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17233 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17234 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17235 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17236 long arg5
= (long) 0 ;
17237 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17238 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17239 wxPyScrolledWindow
*result
;
17242 bool temp6
= False
;
17243 PyObject
* obj0
= 0 ;
17244 PyObject
* obj1
= 0 ;
17245 PyObject
* obj2
= 0 ;
17246 PyObject
* obj3
= 0 ;
17247 PyObject
* obj4
= 0 ;
17248 PyObject
* obj5
= 0 ;
17249 char *kwnames
[] = {
17250 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17257 arg2
= (int const) SWIG_AsInt(obj1
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17263 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17269 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17273 arg5
= (long) SWIG_AsLong(obj4
);
17274 if (PyErr_Occurred()) SWIG_fail
;
17278 arg6
= wxString_in_helper(obj5
);
17279 if (arg6
== NULL
) SWIG_fail
;
17284 if (!wxPyCheckForApp()) SWIG_fail
;
17285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17286 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17288 wxPyEndAllowThreads(__tstate
);
17289 if (PyErr_Occurred()) SWIG_fail
;
17291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17306 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17307 PyObject
*resultobj
;
17308 wxPyScrolledWindow
*result
;
17309 char *kwnames
[] = {
17313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
17315 if (!wxPyCheckForApp()) SWIG_fail
;
17316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17317 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
17319 wxPyEndAllowThreads(__tstate
);
17320 if (PyErr_Occurred()) SWIG_fail
;
17322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17329 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17330 PyObject
*resultobj
;
17331 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17332 PyObject
*arg2
= (PyObject
*) 0 ;
17333 PyObject
*arg3
= (PyObject
*) 0 ;
17334 PyObject
* obj0
= 0 ;
17335 PyObject
* obj1
= 0 ;
17336 PyObject
* obj2
= 0 ;
17337 char *kwnames
[] = {
17338 (char *) "self",(char *) "self",(char *) "_class", NULL
17341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17348 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17350 wxPyEndAllowThreads(__tstate
);
17351 if (PyErr_Occurred()) SWIG_fail
;
17353 Py_INCREF(Py_None
); resultobj
= Py_None
;
17360 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17361 PyObject
*resultobj
;
17362 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17365 PyObject
* obj0
= 0 ;
17366 PyObject
* obj1
= 0 ;
17367 char *kwnames
[] = {
17368 (char *) "self",(char *) "size", NULL
17371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17376 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17380 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17382 wxPyEndAllowThreads(__tstate
);
17383 if (PyErr_Occurred()) SWIG_fail
;
17385 Py_INCREF(Py_None
); resultobj
= Py_None
;
17392 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17393 PyObject
*resultobj
;
17394 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17399 PyObject
* obj0
= 0 ;
17400 PyObject
* obj1
= 0 ;
17401 PyObject
* obj2
= 0 ;
17402 PyObject
* obj3
= 0 ;
17403 PyObject
* obj4
= 0 ;
17404 char *kwnames
[] = {
17405 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17411 arg2
= (int) SWIG_AsInt(obj1
);
17412 if (PyErr_Occurred()) SWIG_fail
;
17413 arg3
= (int) SWIG_AsInt(obj2
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17415 arg4
= (int) SWIG_AsInt(obj3
);
17416 if (PyErr_Occurred()) SWIG_fail
;
17417 arg5
= (int) SWIG_AsInt(obj4
);
17418 if (PyErr_Occurred()) SWIG_fail
;
17420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17421 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17423 wxPyEndAllowThreads(__tstate
);
17424 if (PyErr_Occurred()) SWIG_fail
;
17426 Py_INCREF(Py_None
); resultobj
= Py_None
;
17433 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17434 PyObject
*resultobj
;
17435 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17440 int arg6
= (int) wxSIZE_AUTO
;
17441 PyObject
* obj0
= 0 ;
17442 PyObject
* obj1
= 0 ;
17443 PyObject
* obj2
= 0 ;
17444 PyObject
* obj3
= 0 ;
17445 PyObject
* obj4
= 0 ;
17446 PyObject
* obj5
= 0 ;
17447 char *kwnames
[] = {
17448 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17454 arg2
= (int) SWIG_AsInt(obj1
);
17455 if (PyErr_Occurred()) SWIG_fail
;
17456 arg3
= (int) SWIG_AsInt(obj2
);
17457 if (PyErr_Occurred()) SWIG_fail
;
17458 arg4
= (int) SWIG_AsInt(obj3
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17460 arg5
= (int) SWIG_AsInt(obj4
);
17461 if (PyErr_Occurred()) SWIG_fail
;
17463 arg6
= (int) SWIG_AsInt(obj5
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17468 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17470 wxPyEndAllowThreads(__tstate
);
17471 if (PyErr_Occurred()) SWIG_fail
;
17473 Py_INCREF(Py_None
); resultobj
= Py_None
;
17480 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17481 PyObject
*resultobj
;
17482 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17485 PyObject
* obj0
= 0 ;
17486 PyObject
* obj1
= 0 ;
17487 PyObject
* obj2
= 0 ;
17488 char *kwnames
[] = {
17489 (char *) "self",(char *) "width",(char *) "height", NULL
17492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17495 arg2
= (int) SWIG_AsInt(obj1
);
17496 if (PyErr_Occurred()) SWIG_fail
;
17497 arg3
= (int) SWIG_AsInt(obj2
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17501 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17503 wxPyEndAllowThreads(__tstate
);
17504 if (PyErr_Occurred()) SWIG_fail
;
17506 Py_INCREF(Py_None
); resultobj
= Py_None
;
17513 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17514 PyObject
*resultobj
;
17515 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17518 PyObject
* obj0
= 0 ;
17519 PyObject
* obj1
= 0 ;
17520 PyObject
* obj2
= 0 ;
17521 char *kwnames
[] = {
17522 (char *) "self",(char *) "x",(char *) "y", NULL
17525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17528 arg2
= (int) SWIG_AsInt(obj1
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17530 arg3
= (int) SWIG_AsInt(obj2
);
17531 if (PyErr_Occurred()) SWIG_fail
;
17533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17534 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17536 wxPyEndAllowThreads(__tstate
);
17537 if (PyErr_Occurred()) SWIG_fail
;
17539 Py_INCREF(Py_None
); resultobj
= Py_None
;
17546 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17547 PyObject
*resultobj
;
17548 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17549 int *arg2
= (int *) 0 ;
17550 int *arg3
= (int *) 0 ;
17553 PyObject
* obj0
= 0 ;
17554 char *kwnames
[] = {
17555 (char *) "self", NULL
17560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17565 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17567 wxPyEndAllowThreads(__tstate
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17570 Py_INCREF(Py_None
); resultobj
= Py_None
;
17572 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17573 resultobj
= t_output_helper(resultobj
,o
);
17576 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17577 resultobj
= t_output_helper(resultobj
,o
);
17585 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17586 PyObject
*resultobj
;
17587 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17588 int *arg2
= (int *) 0 ;
17589 int *arg3
= (int *) 0 ;
17592 PyObject
* obj0
= 0 ;
17593 char *kwnames
[] = {
17594 (char *) "self", NULL
17599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17604 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17606 wxPyEndAllowThreads(__tstate
);
17607 if (PyErr_Occurred()) SWIG_fail
;
17609 Py_INCREF(Py_None
); resultobj
= Py_None
;
17611 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17612 resultobj
= t_output_helper(resultobj
,o
);
17615 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17616 resultobj
= t_output_helper(resultobj
,o
);
17624 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17625 PyObject
*resultobj
;
17626 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17627 int *arg2
= (int *) 0 ;
17628 int *arg3
= (int *) 0 ;
17631 PyObject
* obj0
= 0 ;
17632 char *kwnames
[] = {
17633 (char *) "self", NULL
17638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17643 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17645 wxPyEndAllowThreads(__tstate
);
17646 if (PyErr_Occurred()) SWIG_fail
;
17648 Py_INCREF(Py_None
); resultobj
= Py_None
;
17650 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17651 resultobj
= t_output_helper(resultobj
,o
);
17654 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17655 resultobj
= t_output_helper(resultobj
,o
);
17663 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17664 PyObject
*resultobj
;
17665 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17667 PyObject
* obj0
= 0 ;
17668 char *kwnames
[] = {
17669 (char *) "self", NULL
17672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17677 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17679 wxPyEndAllowThreads(__tstate
);
17680 if (PyErr_Occurred()) SWIG_fail
;
17683 wxSize
* resultptr
;
17684 resultptr
= new wxSize((wxSize
&) result
);
17685 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17693 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17694 PyObject
*resultobj
;
17695 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17697 PyObject
* obj0
= 0 ;
17698 char *kwnames
[] = {
17699 (char *) "self", NULL
17702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17707 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17709 wxPyEndAllowThreads(__tstate
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17713 wxSize
* resultptr
;
17714 resultptr
= new wxSize((wxSize
&) result
);
17715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17723 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17724 PyObject
*resultobj
;
17725 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17726 PyObject
* obj0
= 0 ;
17727 char *kwnames
[] = {
17728 (char *) "self", NULL
17731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17736 (arg1
)->base_InitDialog();
17738 wxPyEndAllowThreads(__tstate
);
17739 if (PyErr_Occurred()) SWIG_fail
;
17741 Py_INCREF(Py_None
); resultobj
= Py_None
;
17748 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17749 PyObject
*resultobj
;
17750 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17752 PyObject
* obj0
= 0 ;
17753 char *kwnames
[] = {
17754 (char *) "self", NULL
17757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17762 result
= (bool)(arg1
)->base_TransferDataToWindow();
17764 wxPyEndAllowThreads(__tstate
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17776 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17777 PyObject
*resultobj
;
17778 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17780 PyObject
* obj0
= 0 ;
17781 char *kwnames
[] = {
17782 (char *) "self", NULL
17785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17790 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17792 wxPyEndAllowThreads(__tstate
);
17793 if (PyErr_Occurred()) SWIG_fail
;
17796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17804 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17805 PyObject
*resultobj
;
17806 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17808 PyObject
* obj0
= 0 ;
17809 char *kwnames
[] = {
17810 (char *) "self", NULL
17813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17818 result
= (bool)(arg1
)->base_Validate();
17820 wxPyEndAllowThreads(__tstate
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17832 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17833 PyObject
*resultobj
;
17834 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17836 PyObject
* obj0
= 0 ;
17837 char *kwnames
[] = {
17838 (char *) "self", NULL
17841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17846 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17848 wxPyEndAllowThreads(__tstate
);
17849 if (PyErr_Occurred()) SWIG_fail
;
17852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17860 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17861 PyObject
*resultobj
;
17862 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17864 PyObject
* obj0
= 0 ;
17865 char *kwnames
[] = {
17866 (char *) "self", NULL
17869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17874 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17876 wxPyEndAllowThreads(__tstate
);
17877 if (PyErr_Occurred()) SWIG_fail
;
17880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17888 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17889 PyObject
*resultobj
;
17890 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17892 PyObject
* obj0
= 0 ;
17893 char *kwnames
[] = {
17894 (char *) "self", NULL
17897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17902 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17904 wxPyEndAllowThreads(__tstate
);
17905 if (PyErr_Occurred()) SWIG_fail
;
17908 wxSize
* resultptr
;
17909 resultptr
= new wxSize((wxSize
&) result
);
17910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17918 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17919 PyObject
*resultobj
;
17920 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17921 wxWindow
*arg2
= (wxWindow
*) 0 ;
17922 PyObject
* obj0
= 0 ;
17923 PyObject
* obj1
= 0 ;
17924 char *kwnames
[] = {
17925 (char *) "self",(char *) "child", NULL
17928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17931 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17935 (arg1
)->base_AddChild(arg2
);
17937 wxPyEndAllowThreads(__tstate
);
17938 if (PyErr_Occurred()) SWIG_fail
;
17940 Py_INCREF(Py_None
); resultobj
= Py_None
;
17947 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17948 PyObject
*resultobj
;
17949 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17950 wxWindow
*arg2
= (wxWindow
*) 0 ;
17951 PyObject
* obj0
= 0 ;
17952 PyObject
* obj1
= 0 ;
17953 char *kwnames
[] = {
17954 (char *) "self",(char *) "child", NULL
17957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17964 (arg1
)->base_RemoveChild(arg2
);
17966 wxPyEndAllowThreads(__tstate
);
17967 if (PyErr_Occurred()) SWIG_fail
;
17969 Py_INCREF(Py_None
); resultobj
= Py_None
;
17976 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17977 PyObject
*resultobj
;
17978 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17980 PyObject
* obj0
= 0 ;
17981 char *kwnames
[] = {
17982 (char *) "self", NULL
17985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17990 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
17992 wxPyEndAllowThreads(__tstate
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18004 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18005 PyObject
*resultobj
;
18006 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18007 wxColour
*arg2
= 0 ;
18009 PyObject
* obj0
= 0 ;
18010 PyObject
* obj1
= 0 ;
18011 char *kwnames
[] = {
18012 (char *) "self",(char *) "c", NULL
18015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18020 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18024 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
18026 wxPyEndAllowThreads(__tstate
);
18027 if (PyErr_Occurred()) SWIG_fail
;
18029 Py_INCREF(Py_None
); resultobj
= Py_None
;
18036 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18037 PyObject
*resultobj
;
18038 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18039 wxVisualAttributes result
;
18040 PyObject
* obj0
= 0 ;
18041 char *kwnames
[] = {
18042 (char *) "self", NULL
18045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18050 result
= (arg1
)->base_GetDefaultAttributes();
18052 wxPyEndAllowThreads(__tstate
);
18053 if (PyErr_Occurred()) SWIG_fail
;
18056 wxVisualAttributes
* resultptr
;
18057 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18058 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18066 static PyObject
* PyScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
18068 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18069 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
18071 return Py_BuildValue((char *)"");
18073 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
18074 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
18079 static PyObject
*_wrap_PrintoutTitleStr_get() {
18084 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18086 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18093 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
18094 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
18099 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
18104 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18106 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18113 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18114 PyObject
*resultobj
;
18115 wxPrintData
*result
;
18116 char *kwnames
[] = {
18120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
18122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18123 result
= (wxPrintData
*)new wxPrintData();
18125 wxPyEndAllowThreads(__tstate
);
18126 if (PyErr_Occurred()) SWIG_fail
;
18128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18135 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18136 PyObject
*resultobj
;
18137 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18138 PyObject
* obj0
= 0 ;
18139 char *kwnames
[] = {
18140 (char *) "self", NULL
18143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
18144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 wxPyEndAllowThreads(__tstate
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18153 Py_INCREF(Py_None
); resultobj
= Py_None
;
18160 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18161 PyObject
*resultobj
;
18162 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18164 PyObject
* obj0
= 0 ;
18165 char *kwnames
[] = {
18166 (char *) "self", NULL
18169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18174 result
= (int)(arg1
)->GetNoCopies();
18176 wxPyEndAllowThreads(__tstate
);
18177 if (PyErr_Occurred()) SWIG_fail
;
18179 resultobj
= SWIG_FromInt((int)result
);
18186 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18187 PyObject
*resultobj
;
18188 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18190 PyObject
* obj0
= 0 ;
18191 char *kwnames
[] = {
18192 (char *) "self", NULL
18195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
18196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18200 result
= (bool)(arg1
)->GetCollate();
18202 wxPyEndAllowThreads(__tstate
);
18203 if (PyErr_Occurred()) SWIG_fail
;
18206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18214 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18215 PyObject
*resultobj
;
18216 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18218 PyObject
* obj0
= 0 ;
18219 char *kwnames
[] = {
18220 (char *) "self", NULL
18223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
18224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18228 result
= (int)(arg1
)->GetOrientation();
18230 wxPyEndAllowThreads(__tstate
);
18231 if (PyErr_Occurred()) SWIG_fail
;
18233 resultobj
= SWIG_FromInt((int)result
);
18240 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18241 PyObject
*resultobj
;
18242 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18244 PyObject
* obj0
= 0 ;
18245 char *kwnames
[] = {
18246 (char *) "self", NULL
18249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
18250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18254 result
= (bool)(arg1
)->Ok();
18256 wxPyEndAllowThreads(__tstate
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18268 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18269 PyObject
*resultobj
;
18270 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18272 PyObject
* obj0
= 0 ;
18273 char *kwnames
[] = {
18274 (char *) "self", NULL
18277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18283 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18284 result
= (wxString
*) &_result_ref
;
18287 wxPyEndAllowThreads(__tstate
);
18288 if (PyErr_Occurred()) SWIG_fail
;
18292 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18294 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18303 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18304 PyObject
*resultobj
;
18305 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18307 PyObject
* obj0
= 0 ;
18308 char *kwnames
[] = {
18309 (char *) "self", NULL
18312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18317 result
= (bool)(arg1
)->GetColour();
18319 wxPyEndAllowThreads(__tstate
);
18320 if (PyErr_Occurred()) SWIG_fail
;
18323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18331 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18332 PyObject
*resultobj
;
18333 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18335 PyObject
* obj0
= 0 ;
18336 char *kwnames
[] = {
18337 (char *) "self", NULL
18340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18345 result
= (int)(arg1
)->GetDuplex();
18347 wxPyEndAllowThreads(__tstate
);
18348 if (PyErr_Occurred()) SWIG_fail
;
18350 resultobj
= SWIG_FromInt((int)result
);
18357 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18358 PyObject
*resultobj
;
18359 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18361 PyObject
* obj0
= 0 ;
18362 char *kwnames
[] = {
18363 (char *) "self", NULL
18366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18371 result
= (int)(arg1
)->GetPaperId();
18373 wxPyEndAllowThreads(__tstate
);
18374 if (PyErr_Occurred()) SWIG_fail
;
18376 resultobj
= SWIG_FromInt((int)result
);
18383 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18384 PyObject
*resultobj
;
18385 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18387 PyObject
* obj0
= 0 ;
18388 char *kwnames
[] = {
18389 (char *) "self", NULL
18392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18398 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18399 result
= (wxSize
*) &_result_ref
;
18402 wxPyEndAllowThreads(__tstate
);
18403 if (PyErr_Occurred()) SWIG_fail
;
18405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18412 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18413 PyObject
*resultobj
;
18414 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18416 PyObject
* obj0
= 0 ;
18417 char *kwnames
[] = {
18418 (char *) "self", NULL
18421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18426 result
= (int)(arg1
)->GetQuality();
18428 wxPyEndAllowThreads(__tstate
);
18429 if (PyErr_Occurred()) SWIG_fail
;
18431 resultobj
= SWIG_FromInt((int)result
);
18438 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18439 PyObject
*resultobj
;
18440 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18442 PyObject
* obj0
= 0 ;
18443 PyObject
* obj1
= 0 ;
18444 char *kwnames
[] = {
18445 (char *) "self",(char *) "v", NULL
18448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18451 arg2
= (int) SWIG_AsInt(obj1
);
18452 if (PyErr_Occurred()) SWIG_fail
;
18454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18455 (arg1
)->SetNoCopies(arg2
);
18457 wxPyEndAllowThreads(__tstate
);
18458 if (PyErr_Occurred()) SWIG_fail
;
18460 Py_INCREF(Py_None
); resultobj
= Py_None
;
18467 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18468 PyObject
*resultobj
;
18469 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18471 PyObject
* obj0
= 0 ;
18472 PyObject
* obj1
= 0 ;
18473 char *kwnames
[] = {
18474 (char *) "self",(char *) "flag", NULL
18477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18480 arg2
= (bool) SWIG_AsBool(obj1
);
18481 if (PyErr_Occurred()) SWIG_fail
;
18483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18484 (arg1
)->SetCollate(arg2
);
18486 wxPyEndAllowThreads(__tstate
);
18487 if (PyErr_Occurred()) SWIG_fail
;
18489 Py_INCREF(Py_None
); resultobj
= Py_None
;
18496 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18497 PyObject
*resultobj
;
18498 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18500 PyObject
* obj0
= 0 ;
18501 PyObject
* obj1
= 0 ;
18502 char *kwnames
[] = {
18503 (char *) "self",(char *) "orient", NULL
18506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18509 arg2
= (int) SWIG_AsInt(obj1
);
18510 if (PyErr_Occurred()) SWIG_fail
;
18512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18513 (arg1
)->SetOrientation(arg2
);
18515 wxPyEndAllowThreads(__tstate
);
18516 if (PyErr_Occurred()) SWIG_fail
;
18518 Py_INCREF(Py_None
); resultobj
= Py_None
;
18525 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18526 PyObject
*resultobj
;
18527 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18528 wxString
*arg2
= 0 ;
18529 bool temp2
= False
;
18530 PyObject
* obj0
= 0 ;
18531 PyObject
* obj1
= 0 ;
18532 char *kwnames
[] = {
18533 (char *) "self",(char *) "name", NULL
18536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18540 arg2
= wxString_in_helper(obj1
);
18541 if (arg2
== NULL
) SWIG_fail
;
18545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18546 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18548 wxPyEndAllowThreads(__tstate
);
18549 if (PyErr_Occurred()) SWIG_fail
;
18551 Py_INCREF(Py_None
); resultobj
= Py_None
;
18566 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18567 PyObject
*resultobj
;
18568 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18570 PyObject
* obj0
= 0 ;
18571 PyObject
* obj1
= 0 ;
18572 char *kwnames
[] = {
18573 (char *) "self",(char *) "colour", NULL
18576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18579 arg2
= (bool) SWIG_AsBool(obj1
);
18580 if (PyErr_Occurred()) SWIG_fail
;
18582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18583 (arg1
)->SetColour(arg2
);
18585 wxPyEndAllowThreads(__tstate
);
18586 if (PyErr_Occurred()) SWIG_fail
;
18588 Py_INCREF(Py_None
); resultobj
= Py_None
;
18595 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18596 PyObject
*resultobj
;
18597 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18599 PyObject
* obj0
= 0 ;
18600 PyObject
* obj1
= 0 ;
18601 char *kwnames
[] = {
18602 (char *) "self",(char *) "duplex", NULL
18605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18608 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
18609 if (PyErr_Occurred()) SWIG_fail
;
18611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18612 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18614 wxPyEndAllowThreads(__tstate
);
18615 if (PyErr_Occurred()) SWIG_fail
;
18617 Py_INCREF(Py_None
); resultobj
= Py_None
;
18624 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18625 PyObject
*resultobj
;
18626 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18628 PyObject
* obj0
= 0 ;
18629 PyObject
* obj1
= 0 ;
18630 char *kwnames
[] = {
18631 (char *) "self",(char *) "sizeId", NULL
18634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18637 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18641 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18643 wxPyEndAllowThreads(__tstate
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18646 Py_INCREF(Py_None
); resultobj
= Py_None
;
18653 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18654 PyObject
*resultobj
;
18655 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18658 PyObject
* obj0
= 0 ;
18659 PyObject
* obj1
= 0 ;
18660 char *kwnames
[] = {
18661 (char *) "self",(char *) "sz", NULL
18664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18669 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18673 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18675 wxPyEndAllowThreads(__tstate
);
18676 if (PyErr_Occurred()) SWIG_fail
;
18678 Py_INCREF(Py_None
); resultobj
= Py_None
;
18685 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18686 PyObject
*resultobj
;
18687 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18689 PyObject
* obj0
= 0 ;
18690 PyObject
* obj1
= 0 ;
18691 char *kwnames
[] = {
18692 (char *) "self",(char *) "quality", NULL
18695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18698 arg2
= (int) SWIG_AsInt(obj1
);
18699 if (PyErr_Occurred()) SWIG_fail
;
18701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18702 (arg1
)->SetQuality(arg2
);
18704 wxPyEndAllowThreads(__tstate
);
18705 if (PyErr_Occurred()) SWIG_fail
;
18707 Py_INCREF(Py_None
); resultobj
= Py_None
;
18714 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18715 PyObject
*resultobj
;
18716 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18718 PyObject
* obj0
= 0 ;
18719 char *kwnames
[] = {
18720 (char *) "self", NULL
18723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18729 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18730 result
= (wxString
*) &_result_ref
;
18733 wxPyEndAllowThreads(__tstate
);
18734 if (PyErr_Occurred()) SWIG_fail
;
18738 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18740 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18749 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18750 PyObject
*resultobj
;
18751 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18753 PyObject
* obj0
= 0 ;
18754 char *kwnames
[] = {
18755 (char *) "self", NULL
18758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18764 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18765 result
= (wxString
*) &_result_ref
;
18768 wxPyEndAllowThreads(__tstate
);
18769 if (PyErr_Occurred()) SWIG_fail
;
18773 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18775 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18784 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18785 PyObject
*resultobj
;
18786 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18788 PyObject
* obj0
= 0 ;
18789 char *kwnames
[] = {
18790 (char *) "self", NULL
18793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18799 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18800 result
= (wxString
*) &_result_ref
;
18803 wxPyEndAllowThreads(__tstate
);
18804 if (PyErr_Occurred()) SWIG_fail
;
18808 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18810 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18819 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18820 PyObject
*resultobj
;
18821 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18823 PyObject
* obj0
= 0 ;
18824 char *kwnames
[] = {
18825 (char *) "self", NULL
18828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18834 wxString
const &_result_ref
= (arg1
)->GetFilename();
18835 result
= (wxString
*) &_result_ref
;
18838 wxPyEndAllowThreads(__tstate
);
18839 if (PyErr_Occurred()) SWIG_fail
;
18843 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18845 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18854 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18855 PyObject
*resultobj
;
18856 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18858 PyObject
* obj0
= 0 ;
18859 char *kwnames
[] = {
18860 (char *) "self", NULL
18863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18869 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18870 result
= (wxString
*) &_result_ref
;
18873 wxPyEndAllowThreads(__tstate
);
18874 if (PyErr_Occurred()) SWIG_fail
;
18878 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18880 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18889 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18890 PyObject
*resultobj
;
18891 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18893 PyObject
* obj0
= 0 ;
18894 char *kwnames
[] = {
18895 (char *) "self", NULL
18898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18903 result
= (double)(arg1
)->GetPrinterScaleX();
18905 wxPyEndAllowThreads(__tstate
);
18906 if (PyErr_Occurred()) SWIG_fail
;
18908 resultobj
= SWIG_FromDouble((double)result
);
18915 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18916 PyObject
*resultobj
;
18917 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18919 PyObject
* obj0
= 0 ;
18920 char *kwnames
[] = {
18921 (char *) "self", NULL
18924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
18925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18929 result
= (double)(arg1
)->GetPrinterScaleY();
18931 wxPyEndAllowThreads(__tstate
);
18932 if (PyErr_Occurred()) SWIG_fail
;
18934 resultobj
= SWIG_FromDouble((double)result
);
18941 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18942 PyObject
*resultobj
;
18943 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18945 PyObject
* obj0
= 0 ;
18946 char *kwnames
[] = {
18947 (char *) "self", NULL
18950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
18951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18955 result
= (long)(arg1
)->GetPrinterTranslateX();
18957 wxPyEndAllowThreads(__tstate
);
18958 if (PyErr_Occurred()) SWIG_fail
;
18960 resultobj
= SWIG_FromLong((long)result
);
18967 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18968 PyObject
*resultobj
;
18969 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18971 PyObject
* obj0
= 0 ;
18972 char *kwnames
[] = {
18973 (char *) "self", NULL
18976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
18977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18981 result
= (long)(arg1
)->GetPrinterTranslateY();
18983 wxPyEndAllowThreads(__tstate
);
18984 if (PyErr_Occurred()) SWIG_fail
;
18986 resultobj
= SWIG_FromLong((long)result
);
18993 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18994 PyObject
*resultobj
;
18995 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18997 PyObject
* obj0
= 0 ;
18998 char *kwnames
[] = {
18999 (char *) "self", NULL
19002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
19003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19007 result
= (int)(arg1
)->GetPrintMode();
19009 wxPyEndAllowThreads(__tstate
);
19010 if (PyErr_Occurred()) SWIG_fail
;
19012 resultobj
= SWIG_FromInt((int)result
);
19019 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19020 PyObject
*resultobj
;
19021 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19022 wxString
*arg2
= 0 ;
19023 bool temp2
= False
;
19024 PyObject
* obj0
= 0 ;
19025 PyObject
* obj1
= 0 ;
19026 char *kwnames
[] = {
19027 (char *) "self",(char *) "command", NULL
19030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19034 arg2
= wxString_in_helper(obj1
);
19035 if (arg2
== NULL
) SWIG_fail
;
19039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19040 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
19042 wxPyEndAllowThreads(__tstate
);
19043 if (PyErr_Occurred()) SWIG_fail
;
19045 Py_INCREF(Py_None
); resultobj
= Py_None
;
19060 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19061 PyObject
*resultobj
;
19062 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19063 wxString
*arg2
= 0 ;
19064 bool temp2
= False
;
19065 PyObject
* obj0
= 0 ;
19066 PyObject
* obj1
= 0 ;
19067 char *kwnames
[] = {
19068 (char *) "self",(char *) "options", NULL
19071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
19072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19075 arg2
= wxString_in_helper(obj1
);
19076 if (arg2
== NULL
) SWIG_fail
;
19080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19081 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
19083 wxPyEndAllowThreads(__tstate
);
19084 if (PyErr_Occurred()) SWIG_fail
;
19086 Py_INCREF(Py_None
); resultobj
= Py_None
;
19101 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19102 PyObject
*resultobj
;
19103 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19104 wxString
*arg2
= 0 ;
19105 bool temp2
= False
;
19106 PyObject
* obj0
= 0 ;
19107 PyObject
* obj1
= 0 ;
19108 char *kwnames
[] = {
19109 (char *) "self",(char *) "command", NULL
19112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19116 arg2
= wxString_in_helper(obj1
);
19117 if (arg2
== NULL
) SWIG_fail
;
19121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19122 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
19124 wxPyEndAllowThreads(__tstate
);
19125 if (PyErr_Occurred()) SWIG_fail
;
19127 Py_INCREF(Py_None
); resultobj
= Py_None
;
19142 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19143 PyObject
*resultobj
;
19144 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19145 wxString
*arg2
= 0 ;
19146 bool temp2
= False
;
19147 PyObject
* obj0
= 0 ;
19148 PyObject
* obj1
= 0 ;
19149 char *kwnames
[] = {
19150 (char *) "self",(char *) "filename", NULL
19153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
19154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19157 arg2
= wxString_in_helper(obj1
);
19158 if (arg2
== NULL
) SWIG_fail
;
19162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19163 (arg1
)->SetFilename((wxString
const &)*arg2
);
19165 wxPyEndAllowThreads(__tstate
);
19166 if (PyErr_Occurred()) SWIG_fail
;
19168 Py_INCREF(Py_None
); resultobj
= Py_None
;
19183 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19184 PyObject
*resultobj
;
19185 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19186 wxString
*arg2
= 0 ;
19187 bool temp2
= False
;
19188 PyObject
* obj0
= 0 ;
19189 PyObject
* obj1
= 0 ;
19190 char *kwnames
[] = {
19191 (char *) "self",(char *) "path", NULL
19194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
19195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19198 arg2
= wxString_in_helper(obj1
);
19199 if (arg2
== NULL
) SWIG_fail
;
19203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19204 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
19206 wxPyEndAllowThreads(__tstate
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19209 Py_INCREF(Py_None
); resultobj
= Py_None
;
19224 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19225 PyObject
*resultobj
;
19226 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19228 PyObject
* obj0
= 0 ;
19229 PyObject
* obj1
= 0 ;
19230 char *kwnames
[] = {
19231 (char *) "self",(char *) "x", NULL
19234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
19235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19237 arg2
= (double) SWIG_AsDouble(obj1
);
19238 if (PyErr_Occurred()) SWIG_fail
;
19240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19241 (arg1
)->SetPrinterScaleX(arg2
);
19243 wxPyEndAllowThreads(__tstate
);
19244 if (PyErr_Occurred()) SWIG_fail
;
19246 Py_INCREF(Py_None
); resultobj
= Py_None
;
19253 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19254 PyObject
*resultobj
;
19255 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19257 PyObject
* obj0
= 0 ;
19258 PyObject
* obj1
= 0 ;
19259 char *kwnames
[] = {
19260 (char *) "self",(char *) "y", NULL
19263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
19264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19266 arg2
= (double) SWIG_AsDouble(obj1
);
19267 if (PyErr_Occurred()) SWIG_fail
;
19269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19270 (arg1
)->SetPrinterScaleY(arg2
);
19272 wxPyEndAllowThreads(__tstate
);
19273 if (PyErr_Occurred()) SWIG_fail
;
19275 Py_INCREF(Py_None
); resultobj
= Py_None
;
19282 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19283 PyObject
*resultobj
;
19284 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19287 PyObject
* obj0
= 0 ;
19288 PyObject
* obj1
= 0 ;
19289 PyObject
* obj2
= 0 ;
19290 char *kwnames
[] = {
19291 (char *) "self",(char *) "x",(char *) "y", NULL
19294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19297 arg2
= (double) SWIG_AsDouble(obj1
);
19298 if (PyErr_Occurred()) SWIG_fail
;
19299 arg3
= (double) SWIG_AsDouble(obj2
);
19300 if (PyErr_Occurred()) SWIG_fail
;
19302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19303 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19305 wxPyEndAllowThreads(__tstate
);
19306 if (PyErr_Occurred()) SWIG_fail
;
19308 Py_INCREF(Py_None
); resultobj
= Py_None
;
19315 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19316 PyObject
*resultobj
;
19317 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19319 PyObject
* obj0
= 0 ;
19320 PyObject
* obj1
= 0 ;
19321 char *kwnames
[] = {
19322 (char *) "self",(char *) "x", NULL
19325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19328 arg2
= (long) SWIG_AsLong(obj1
);
19329 if (PyErr_Occurred()) SWIG_fail
;
19331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19332 (arg1
)->SetPrinterTranslateX(arg2
);
19334 wxPyEndAllowThreads(__tstate
);
19335 if (PyErr_Occurred()) SWIG_fail
;
19337 Py_INCREF(Py_None
); resultobj
= Py_None
;
19344 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19345 PyObject
*resultobj
;
19346 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19348 PyObject
* obj0
= 0 ;
19349 PyObject
* obj1
= 0 ;
19350 char *kwnames
[] = {
19351 (char *) "self",(char *) "y", NULL
19354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19357 arg2
= (long) SWIG_AsLong(obj1
);
19358 if (PyErr_Occurred()) SWIG_fail
;
19360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19361 (arg1
)->SetPrinterTranslateY(arg2
);
19363 wxPyEndAllowThreads(__tstate
);
19364 if (PyErr_Occurred()) SWIG_fail
;
19366 Py_INCREF(Py_None
); resultobj
= Py_None
;
19373 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19374 PyObject
*resultobj
;
19375 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19378 PyObject
* obj0
= 0 ;
19379 PyObject
* obj1
= 0 ;
19380 PyObject
* obj2
= 0 ;
19381 char *kwnames
[] = {
19382 (char *) "self",(char *) "x",(char *) "y", NULL
19385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19388 arg2
= (long) SWIG_AsLong(obj1
);
19389 if (PyErr_Occurred()) SWIG_fail
;
19390 arg3
= (long) SWIG_AsLong(obj2
);
19391 if (PyErr_Occurred()) SWIG_fail
;
19393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19394 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19396 wxPyEndAllowThreads(__tstate
);
19397 if (PyErr_Occurred()) SWIG_fail
;
19399 Py_INCREF(Py_None
); resultobj
= Py_None
;
19406 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19407 PyObject
*resultobj
;
19408 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19410 PyObject
* obj0
= 0 ;
19411 PyObject
* obj1
= 0 ;
19412 char *kwnames
[] = {
19413 (char *) "self",(char *) "printMode", NULL
19416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19419 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
19420 if (PyErr_Occurred()) SWIG_fail
;
19422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19423 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19425 wxPyEndAllowThreads(__tstate
);
19426 if (PyErr_Occurred()) SWIG_fail
;
19428 Py_INCREF(Py_None
); resultobj
= Py_None
;
19435 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19436 PyObject
*resultobj
;
19437 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19438 wxOutputStream
*result
;
19439 PyObject
* obj0
= 0 ;
19440 char *kwnames
[] = {
19441 (char *) "self", NULL
19444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
19445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19449 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
19451 wxPyEndAllowThreads(__tstate
);
19452 if (PyErr_Occurred()) SWIG_fail
;
19454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
19461 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19462 PyObject
*resultobj
;
19463 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19464 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
19465 PyObject
* obj0
= 0 ;
19466 PyObject
* obj1
= 0 ;
19467 char *kwnames
[] = {
19468 (char *) "self",(char *) "outputstream", NULL
19471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
19472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19478 (arg1
)->SetOutputStream(arg2
);
19480 wxPyEndAllowThreads(__tstate
);
19481 if (PyErr_Occurred()) SWIG_fail
;
19483 Py_INCREF(Py_None
); resultobj
= Py_None
;
19490 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
19492 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19493 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19495 return Py_BuildValue((char *)"");
19497 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19498 PyObject
*resultobj
;
19499 wxPageSetupDialogData
*result
;
19500 char *kwnames
[] = {
19504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
19506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19507 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19509 wxPyEndAllowThreads(__tstate
);
19510 if (PyErr_Occurred()) SWIG_fail
;
19512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19519 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19520 PyObject
*resultobj
;
19521 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19522 PyObject
* obj0
= 0 ;
19523 char *kwnames
[] = {
19524 (char *) "self", NULL
19527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19534 wxPyEndAllowThreads(__tstate
);
19535 if (PyErr_Occurred()) SWIG_fail
;
19537 Py_INCREF(Py_None
); resultobj
= Py_None
;
19544 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19545 PyObject
*resultobj
;
19546 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19548 PyObject
* obj0
= 0 ;
19549 PyObject
* obj1
= 0 ;
19550 char *kwnames
[] = {
19551 (char *) "self",(char *) "flag", NULL
19554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19557 arg2
= (bool) SWIG_AsBool(obj1
);
19558 if (PyErr_Occurred()) SWIG_fail
;
19560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19561 (arg1
)->EnableHelp(arg2
);
19563 wxPyEndAllowThreads(__tstate
);
19564 if (PyErr_Occurred()) SWIG_fail
;
19566 Py_INCREF(Py_None
); resultobj
= Py_None
;
19573 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19574 PyObject
*resultobj
;
19575 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19577 PyObject
* obj0
= 0 ;
19578 PyObject
* obj1
= 0 ;
19579 char *kwnames
[] = {
19580 (char *) "self",(char *) "flag", NULL
19583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19586 arg2
= (bool) SWIG_AsBool(obj1
);
19587 if (PyErr_Occurred()) SWIG_fail
;
19589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19590 (arg1
)->EnableMargins(arg2
);
19592 wxPyEndAllowThreads(__tstate
);
19593 if (PyErr_Occurred()) SWIG_fail
;
19595 Py_INCREF(Py_None
); resultobj
= Py_None
;
19602 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19603 PyObject
*resultobj
;
19604 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19606 PyObject
* obj0
= 0 ;
19607 PyObject
* obj1
= 0 ;
19608 char *kwnames
[] = {
19609 (char *) "self",(char *) "flag", NULL
19612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19615 arg2
= (bool) SWIG_AsBool(obj1
);
19616 if (PyErr_Occurred()) SWIG_fail
;
19618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19619 (arg1
)->EnableOrientation(arg2
);
19621 wxPyEndAllowThreads(__tstate
);
19622 if (PyErr_Occurred()) SWIG_fail
;
19624 Py_INCREF(Py_None
); resultobj
= Py_None
;
19631 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19632 PyObject
*resultobj
;
19633 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19635 PyObject
* obj0
= 0 ;
19636 PyObject
* obj1
= 0 ;
19637 char *kwnames
[] = {
19638 (char *) "self",(char *) "flag", NULL
19641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19644 arg2
= (bool) SWIG_AsBool(obj1
);
19645 if (PyErr_Occurred()) SWIG_fail
;
19647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19648 (arg1
)->EnablePaper(arg2
);
19650 wxPyEndAllowThreads(__tstate
);
19651 if (PyErr_Occurred()) SWIG_fail
;
19653 Py_INCREF(Py_None
); resultobj
= Py_None
;
19660 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19661 PyObject
*resultobj
;
19662 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19664 PyObject
* obj0
= 0 ;
19665 PyObject
* obj1
= 0 ;
19666 char *kwnames
[] = {
19667 (char *) "self",(char *) "flag", NULL
19670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19673 arg2
= (bool) SWIG_AsBool(obj1
);
19674 if (PyErr_Occurred()) SWIG_fail
;
19676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19677 (arg1
)->EnablePrinter(arg2
);
19679 wxPyEndAllowThreads(__tstate
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19682 Py_INCREF(Py_None
); resultobj
= Py_None
;
19689 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
;
19691 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19693 PyObject
* obj0
= 0 ;
19694 char *kwnames
[] = {
19695 (char *) "self", NULL
19698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19703 result
= (bool)(arg1
)->GetDefaultMinMargins();
19705 wxPyEndAllowThreads(__tstate
);
19706 if (PyErr_Occurred()) SWIG_fail
;
19709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19717 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19718 PyObject
*resultobj
;
19719 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19721 PyObject
* obj0
= 0 ;
19722 char *kwnames
[] = {
19723 (char *) "self", NULL
19726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19731 result
= (bool)(arg1
)->GetEnableMargins();
19733 wxPyEndAllowThreads(__tstate
);
19734 if (PyErr_Occurred()) SWIG_fail
;
19737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19745 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19746 PyObject
*resultobj
;
19747 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19749 PyObject
* obj0
= 0 ;
19750 char *kwnames
[] = {
19751 (char *) "self", NULL
19754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19759 result
= (bool)(arg1
)->GetEnableOrientation();
19761 wxPyEndAllowThreads(__tstate
);
19762 if (PyErr_Occurred()) SWIG_fail
;
19765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19773 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19774 PyObject
*resultobj
;
19775 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19777 PyObject
* obj0
= 0 ;
19778 char *kwnames
[] = {
19779 (char *) "self", NULL
19782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19787 result
= (bool)(arg1
)->GetEnablePaper();
19789 wxPyEndAllowThreads(__tstate
);
19790 if (PyErr_Occurred()) SWIG_fail
;
19793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19801 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19802 PyObject
*resultobj
;
19803 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19805 PyObject
* obj0
= 0 ;
19806 char *kwnames
[] = {
19807 (char *) "self", NULL
19810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
19811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19815 result
= (bool)(arg1
)->GetEnablePrinter();
19817 wxPyEndAllowThreads(__tstate
);
19818 if (PyErr_Occurred()) SWIG_fail
;
19821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19829 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19830 PyObject
*resultobj
;
19831 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19833 PyObject
* obj0
= 0 ;
19834 char *kwnames
[] = {
19835 (char *) "self", NULL
19838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19843 result
= (bool)(arg1
)->GetEnableHelp();
19845 wxPyEndAllowThreads(__tstate
);
19846 if (PyErr_Occurred()) SWIG_fail
;
19849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19857 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19858 PyObject
*resultobj
;
19859 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19861 PyObject
* obj0
= 0 ;
19862 char *kwnames
[] = {
19863 (char *) "self", NULL
19866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
19867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19871 result
= (bool)(arg1
)->GetDefaultInfo();
19873 wxPyEndAllowThreads(__tstate
);
19874 if (PyErr_Occurred()) SWIG_fail
;
19877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19885 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19886 PyObject
*resultobj
;
19887 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19889 PyObject
* obj0
= 0 ;
19890 char *kwnames
[] = {
19891 (char *) "self", NULL
19894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19899 result
= (arg1
)->GetMarginTopLeft();
19901 wxPyEndAllowThreads(__tstate
);
19902 if (PyErr_Occurred()) SWIG_fail
;
19905 wxPoint
* resultptr
;
19906 resultptr
= new wxPoint((wxPoint
&) result
);
19907 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19915 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19916 PyObject
*resultobj
;
19917 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19919 PyObject
* obj0
= 0 ;
19920 char *kwnames
[] = {
19921 (char *) "self", NULL
19924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19929 result
= (arg1
)->GetMarginBottomRight();
19931 wxPyEndAllowThreads(__tstate
);
19932 if (PyErr_Occurred()) SWIG_fail
;
19935 wxPoint
* resultptr
;
19936 resultptr
= new wxPoint((wxPoint
&) result
);
19937 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19945 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19946 PyObject
*resultobj
;
19947 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19949 PyObject
* obj0
= 0 ;
19950 char *kwnames
[] = {
19951 (char *) "self", NULL
19954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19959 result
= (arg1
)->GetMinMarginTopLeft();
19961 wxPyEndAllowThreads(__tstate
);
19962 if (PyErr_Occurred()) SWIG_fail
;
19965 wxPoint
* resultptr
;
19966 resultptr
= new wxPoint((wxPoint
&) result
);
19967 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19975 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19976 PyObject
*resultobj
;
19977 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19979 PyObject
* obj0
= 0 ;
19980 char *kwnames
[] = {
19981 (char *) "self", NULL
19984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19989 result
= (arg1
)->GetMinMarginBottomRight();
19991 wxPyEndAllowThreads(__tstate
);
19992 if (PyErr_Occurred()) SWIG_fail
;
19995 wxPoint
* resultptr
;
19996 resultptr
= new wxPoint((wxPoint
&) result
);
19997 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20005 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20006 PyObject
*resultobj
;
20007 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20009 PyObject
* obj0
= 0 ;
20010 char *kwnames
[] = {
20011 (char *) "self", NULL
20014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20019 result
= (int)(arg1
)->GetPaperId();
20021 wxPyEndAllowThreads(__tstate
);
20022 if (PyErr_Occurred()) SWIG_fail
;
20024 resultobj
= SWIG_FromInt((int)result
);
20031 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20032 PyObject
*resultobj
;
20033 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20035 PyObject
* obj0
= 0 ;
20036 char *kwnames
[] = {
20037 (char *) "self", NULL
20040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20045 result
= (arg1
)->GetPaperSize();
20047 wxPyEndAllowThreads(__tstate
);
20048 if (PyErr_Occurred()) SWIG_fail
;
20051 wxSize
* resultptr
;
20052 resultptr
= new wxSize((wxSize
&) result
);
20053 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20061 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20062 PyObject
*resultobj
;
20063 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20064 wxPrintData
*result
;
20065 PyObject
* obj0
= 0 ;
20066 char *kwnames
[] = {
20067 (char *) "self", NULL
20070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20076 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20077 result
= (wxPrintData
*) &_result_ref
;
20080 wxPyEndAllowThreads(__tstate
);
20081 if (PyErr_Occurred()) SWIG_fail
;
20083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20090 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20091 PyObject
*resultobj
;
20092 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20094 PyObject
* obj0
= 0 ;
20095 char *kwnames
[] = {
20096 (char *) "self", NULL
20099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20104 result
= (bool)(arg1
)->Ok();
20106 wxPyEndAllowThreads(__tstate
);
20107 if (PyErr_Occurred()) SWIG_fail
;
20110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20118 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20119 PyObject
*resultobj
;
20120 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20122 PyObject
* obj0
= 0 ;
20123 PyObject
* obj1
= 0 ;
20124 char *kwnames
[] = {
20125 (char *) "self",(char *) "flag", NULL
20128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
20129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20131 arg2
= (bool) SWIG_AsBool(obj1
);
20132 if (PyErr_Occurred()) SWIG_fail
;
20134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20135 (arg1
)->SetDefaultInfo(arg2
);
20137 wxPyEndAllowThreads(__tstate
);
20138 if (PyErr_Occurred()) SWIG_fail
;
20140 Py_INCREF(Py_None
); resultobj
= Py_None
;
20147 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20148 PyObject
*resultobj
;
20149 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20151 PyObject
* obj0
= 0 ;
20152 PyObject
* obj1
= 0 ;
20153 char *kwnames
[] = {
20154 (char *) "self",(char *) "flag", NULL
20157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20160 arg2
= (bool) SWIG_AsBool(obj1
);
20161 if (PyErr_Occurred()) SWIG_fail
;
20163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20164 (arg1
)->SetDefaultMinMargins(arg2
);
20166 wxPyEndAllowThreads(__tstate
);
20167 if (PyErr_Occurred()) SWIG_fail
;
20169 Py_INCREF(Py_None
); resultobj
= Py_None
;
20176 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20177 PyObject
*resultobj
;
20178 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20179 wxPoint
*arg2
= 0 ;
20181 PyObject
* obj0
= 0 ;
20182 PyObject
* obj1
= 0 ;
20183 char *kwnames
[] = {
20184 (char *) "self",(char *) "pt", NULL
20187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20192 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20196 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
20198 wxPyEndAllowThreads(__tstate
);
20199 if (PyErr_Occurred()) SWIG_fail
;
20201 Py_INCREF(Py_None
); resultobj
= Py_None
;
20208 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20209 PyObject
*resultobj
;
20210 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20211 wxPoint
*arg2
= 0 ;
20213 PyObject
* obj0
= 0 ;
20214 PyObject
* obj1
= 0 ;
20215 char *kwnames
[] = {
20216 (char *) "self",(char *) "pt", NULL
20219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20224 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20228 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20230 wxPyEndAllowThreads(__tstate
);
20231 if (PyErr_Occurred()) SWIG_fail
;
20233 Py_INCREF(Py_None
); resultobj
= Py_None
;
20240 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20241 PyObject
*resultobj
;
20242 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20243 wxPoint
*arg2
= 0 ;
20245 PyObject
* obj0
= 0 ;
20246 PyObject
* obj1
= 0 ;
20247 char *kwnames
[] = {
20248 (char *) "self",(char *) "pt", NULL
20251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20256 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20260 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20262 wxPyEndAllowThreads(__tstate
);
20263 if (PyErr_Occurred()) SWIG_fail
;
20265 Py_INCREF(Py_None
); resultobj
= Py_None
;
20272 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20273 PyObject
*resultobj
;
20274 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20275 wxPoint
*arg2
= 0 ;
20277 PyObject
* obj0
= 0 ;
20278 PyObject
* obj1
= 0 ;
20279 char *kwnames
[] = {
20280 (char *) "self",(char *) "pt", NULL
20283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20288 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20292 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20294 wxPyEndAllowThreads(__tstate
);
20295 if (PyErr_Occurred()) SWIG_fail
;
20297 Py_INCREF(Py_None
); resultobj
= Py_None
;
20304 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20305 PyObject
*resultobj
;
20306 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20308 PyObject
* obj0
= 0 ;
20309 PyObject
* obj1
= 0 ;
20310 char *kwnames
[] = {
20311 (char *) "self",(char *) "id", NULL
20314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20317 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
20318 if (PyErr_Occurred()) SWIG_fail
;
20320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20321 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20323 wxPyEndAllowThreads(__tstate
);
20324 if (PyErr_Occurred()) SWIG_fail
;
20326 Py_INCREF(Py_None
); resultobj
= Py_None
;
20333 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20334 PyObject
*resultobj
;
20335 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20338 PyObject
* obj0
= 0 ;
20339 PyObject
* obj1
= 0 ;
20340 char *kwnames
[] = {
20341 (char *) "self",(char *) "size", NULL
20344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20349 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20353 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20355 wxPyEndAllowThreads(__tstate
);
20356 if (PyErr_Occurred()) SWIG_fail
;
20358 Py_INCREF(Py_None
); resultobj
= Py_None
;
20365 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20366 PyObject
*resultobj
;
20367 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20368 wxPrintData
*arg2
= 0 ;
20369 PyObject
* obj0
= 0 ;
20370 PyObject
* obj1
= 0 ;
20371 char *kwnames
[] = {
20372 (char *) "self",(char *) "printData", NULL
20375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20378 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20379 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20381 if (arg2
== NULL
) {
20382 PyErr_SetString(PyExc_TypeError
,"null reference");
20386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20387 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20389 wxPyEndAllowThreads(__tstate
);
20390 if (PyErr_Occurred()) SWIG_fail
;
20392 Py_INCREF(Py_None
); resultobj
= Py_None
;
20399 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
20401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20402 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20404 return Py_BuildValue((char *)"");
20406 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20407 PyObject
*resultobj
;
20408 wxWindow
*arg1
= (wxWindow
*) 0 ;
20409 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20410 wxPageSetupDialog
*result
;
20411 PyObject
* obj0
= 0 ;
20412 PyObject
* obj1
= 0 ;
20413 char *kwnames
[] = {
20414 (char *) "parent",(char *) "data", NULL
20417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20425 if (!wxPyCheckForApp()) SWIG_fail
;
20426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20427 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20429 wxPyEndAllowThreads(__tstate
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20439 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20440 PyObject
*resultobj
;
20441 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20442 wxPageSetupDialogData
*result
;
20443 PyObject
* obj0
= 0 ;
20444 char *kwnames
[] = {
20445 (char *) "self", NULL
20448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20454 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20455 result
= (wxPageSetupDialogData
*) &_result_ref
;
20458 wxPyEndAllowThreads(__tstate
);
20459 if (PyErr_Occurred()) SWIG_fail
;
20461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20468 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20469 PyObject
*resultobj
;
20470 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20472 PyObject
* obj0
= 0 ;
20473 char *kwnames
[] = {
20474 (char *) "self", NULL
20477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20482 result
= (int)(arg1
)->ShowModal();
20484 wxPyEndAllowThreads(__tstate
);
20485 if (PyErr_Occurred()) SWIG_fail
;
20487 resultobj
= SWIG_FromInt((int)result
);
20494 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
20496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20497 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20499 return Py_BuildValue((char *)"");
20501 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
20502 PyObject
*resultobj
;
20503 wxPrintDialogData
*result
;
20505 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20508 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20510 wxPyEndAllowThreads(__tstate
);
20511 if (PyErr_Occurred()) SWIG_fail
;
20513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20520 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
20521 PyObject
*resultobj
;
20522 wxPrintData
*arg1
= 0 ;
20523 wxPrintDialogData
*result
;
20524 PyObject
* obj0
= 0 ;
20526 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20528 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20530 if (arg1
== NULL
) {
20531 PyErr_SetString(PyExc_TypeError
,"null reference");
20535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20536 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20538 wxPyEndAllowThreads(__tstate
);
20539 if (PyErr_Occurred()) SWIG_fail
;
20541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20548 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20553 argc
= PyObject_Length(args
);
20554 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20555 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20558 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20564 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20572 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20576 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20581 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20582 PyObject
*resultobj
;
20583 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20584 PyObject
* obj0
= 0 ;
20585 char *kwnames
[] = {
20586 (char *) "self", NULL
20589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20596 wxPyEndAllowThreads(__tstate
);
20597 if (PyErr_Occurred()) SWIG_fail
;
20599 Py_INCREF(Py_None
); resultobj
= Py_None
;
20606 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20607 PyObject
*resultobj
;
20608 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20610 PyObject
* obj0
= 0 ;
20611 char *kwnames
[] = {
20612 (char *) "self", NULL
20615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20620 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20622 wxPyEndAllowThreads(__tstate
);
20623 if (PyErr_Occurred()) SWIG_fail
;
20625 resultobj
= SWIG_FromInt((int)result
);
20632 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20633 PyObject
*resultobj
;
20634 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20636 PyObject
* obj0
= 0 ;
20637 char *kwnames
[] = {
20638 (char *) "self", NULL
20641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20646 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20648 wxPyEndAllowThreads(__tstate
);
20649 if (PyErr_Occurred()) SWIG_fail
;
20651 resultobj
= SWIG_FromInt((int)result
);
20658 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20659 PyObject
*resultobj
;
20660 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20662 PyObject
* obj0
= 0 ;
20663 char *kwnames
[] = {
20664 (char *) "self", NULL
20667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20672 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20674 wxPyEndAllowThreads(__tstate
);
20675 if (PyErr_Occurred()) SWIG_fail
;
20677 resultobj
= SWIG_FromInt((int)result
);
20684 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20685 PyObject
*resultobj
;
20686 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20688 PyObject
* obj0
= 0 ;
20689 char *kwnames
[] = {
20690 (char *) "self", NULL
20693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20698 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20700 wxPyEndAllowThreads(__tstate
);
20701 if (PyErr_Occurred()) SWIG_fail
;
20703 resultobj
= SWIG_FromInt((int)result
);
20710 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20711 PyObject
*resultobj
;
20712 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20714 PyObject
* obj0
= 0 ;
20715 char *kwnames
[] = {
20716 (char *) "self", NULL
20719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20724 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20726 wxPyEndAllowThreads(__tstate
);
20727 if (PyErr_Occurred()) SWIG_fail
;
20729 resultobj
= SWIG_FromInt((int)result
);
20736 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20737 PyObject
*resultobj
;
20738 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20740 PyObject
* obj0
= 0 ;
20741 char *kwnames
[] = {
20742 (char *) "self", NULL
20745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20750 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20752 wxPyEndAllowThreads(__tstate
);
20753 if (PyErr_Occurred()) SWIG_fail
;
20756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20764 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20765 PyObject
*resultobj
;
20766 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20768 PyObject
* obj0
= 0 ;
20769 char *kwnames
[] = {
20770 (char *) "self", NULL
20773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20778 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20780 wxPyEndAllowThreads(__tstate
);
20781 if (PyErr_Occurred()) SWIG_fail
;
20784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20792 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20793 PyObject
*resultobj
;
20794 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20796 PyObject
* obj0
= 0 ;
20797 char *kwnames
[] = {
20798 (char *) "self", NULL
20801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
20802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20806 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
20808 wxPyEndAllowThreads(__tstate
);
20809 if (PyErr_Occurred()) SWIG_fail
;
20812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20820 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20821 PyObject
*resultobj
;
20822 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20824 PyObject
* obj0
= 0 ;
20825 char *kwnames
[] = {
20826 (char *) "self", NULL
20829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
20830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20834 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
20836 wxPyEndAllowThreads(__tstate
);
20837 if (PyErr_Occurred()) SWIG_fail
;
20840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20848 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20849 PyObject
*resultobj
;
20850 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20852 PyObject
* obj0
= 0 ;
20853 char *kwnames
[] = {
20854 (char *) "self", NULL
20857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
20858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20862 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
20864 wxPyEndAllowThreads(__tstate
);
20865 if (PyErr_Occurred()) SWIG_fail
;
20868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20876 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20877 PyObject
*resultobj
;
20878 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20880 PyObject
* obj0
= 0 ;
20881 PyObject
* obj1
= 0 ;
20882 char *kwnames
[] = {
20883 (char *) "self",(char *) "v", NULL
20886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20889 arg2
= (int) SWIG_AsInt(obj1
);
20890 if (PyErr_Occurred()) SWIG_fail
;
20892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20893 (arg1
)->SetFromPage(arg2
);
20895 wxPyEndAllowThreads(__tstate
);
20896 if (PyErr_Occurred()) SWIG_fail
;
20898 Py_INCREF(Py_None
); resultobj
= Py_None
;
20905 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20906 PyObject
*resultobj
;
20907 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20909 PyObject
* obj0
= 0 ;
20910 PyObject
* obj1
= 0 ;
20911 char *kwnames
[] = {
20912 (char *) "self",(char *) "v", NULL
20915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20918 arg2
= (int) SWIG_AsInt(obj1
);
20919 if (PyErr_Occurred()) SWIG_fail
;
20921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20922 (arg1
)->SetToPage(arg2
);
20924 wxPyEndAllowThreads(__tstate
);
20925 if (PyErr_Occurred()) SWIG_fail
;
20927 Py_INCREF(Py_None
); resultobj
= Py_None
;
20934 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20935 PyObject
*resultobj
;
20936 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20938 PyObject
* obj0
= 0 ;
20939 PyObject
* obj1
= 0 ;
20940 char *kwnames
[] = {
20941 (char *) "self",(char *) "v", NULL
20944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20947 arg2
= (int) SWIG_AsInt(obj1
);
20948 if (PyErr_Occurred()) SWIG_fail
;
20950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20951 (arg1
)->SetMinPage(arg2
);
20953 wxPyEndAllowThreads(__tstate
);
20954 if (PyErr_Occurred()) SWIG_fail
;
20956 Py_INCREF(Py_None
); resultobj
= Py_None
;
20963 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20964 PyObject
*resultobj
;
20965 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20967 PyObject
* obj0
= 0 ;
20968 PyObject
* obj1
= 0 ;
20969 char *kwnames
[] = {
20970 (char *) "self",(char *) "v", NULL
20973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20976 arg2
= (int) SWIG_AsInt(obj1
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20980 (arg1
)->SetMaxPage(arg2
);
20982 wxPyEndAllowThreads(__tstate
);
20983 if (PyErr_Occurred()) SWIG_fail
;
20985 Py_INCREF(Py_None
); resultobj
= Py_None
;
20992 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20993 PyObject
*resultobj
;
20994 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20996 PyObject
* obj0
= 0 ;
20997 PyObject
* obj1
= 0 ;
20998 char *kwnames
[] = {
20999 (char *) "self",(char *) "v", NULL
21002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21005 arg2
= (int) SWIG_AsInt(obj1
);
21006 if (PyErr_Occurred()) SWIG_fail
;
21008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21009 (arg1
)->SetNoCopies(arg2
);
21011 wxPyEndAllowThreads(__tstate
);
21012 if (PyErr_Occurred()) SWIG_fail
;
21014 Py_INCREF(Py_None
); resultobj
= Py_None
;
21021 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21022 PyObject
*resultobj
;
21023 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21025 PyObject
* obj0
= 0 ;
21026 PyObject
* obj1
= 0 ;
21027 char *kwnames
[] = {
21028 (char *) "self",(char *) "flag", NULL
21031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
21032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21034 arg2
= (bool) SWIG_AsBool(obj1
);
21035 if (PyErr_Occurred()) SWIG_fail
;
21037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21038 (arg1
)->SetAllPages(arg2
);
21040 wxPyEndAllowThreads(__tstate
);
21041 if (PyErr_Occurred()) SWIG_fail
;
21043 Py_INCREF(Py_None
); resultobj
= Py_None
;
21050 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21051 PyObject
*resultobj
;
21052 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21054 PyObject
* obj0
= 0 ;
21055 PyObject
* obj1
= 0 ;
21056 char *kwnames
[] = {
21057 (char *) "self",(char *) "flag", NULL
21060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21063 arg2
= (bool) SWIG_AsBool(obj1
);
21064 if (PyErr_Occurred()) SWIG_fail
;
21066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21067 (arg1
)->SetSelection(arg2
);
21069 wxPyEndAllowThreads(__tstate
);
21070 if (PyErr_Occurred()) SWIG_fail
;
21072 Py_INCREF(Py_None
); resultobj
= Py_None
;
21079 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21080 PyObject
*resultobj
;
21081 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21083 PyObject
* obj0
= 0 ;
21084 PyObject
* obj1
= 0 ;
21085 char *kwnames
[] = {
21086 (char *) "self",(char *) "flag", NULL
21089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21092 arg2
= (bool) SWIG_AsBool(obj1
);
21093 if (PyErr_Occurred()) SWIG_fail
;
21095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21096 (arg1
)->SetCollate(arg2
);
21098 wxPyEndAllowThreads(__tstate
);
21099 if (PyErr_Occurred()) SWIG_fail
;
21101 Py_INCREF(Py_None
); resultobj
= Py_None
;
21108 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21109 PyObject
*resultobj
;
21110 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21112 PyObject
* obj0
= 0 ;
21113 PyObject
* obj1
= 0 ;
21114 char *kwnames
[] = {
21115 (char *) "self",(char *) "flag", NULL
21118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21121 arg2
= (bool) SWIG_AsBool(obj1
);
21122 if (PyErr_Occurred()) SWIG_fail
;
21124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21125 (arg1
)->SetPrintToFile(arg2
);
21127 wxPyEndAllowThreads(__tstate
);
21128 if (PyErr_Occurred()) SWIG_fail
;
21130 Py_INCREF(Py_None
); resultobj
= Py_None
;
21137 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21138 PyObject
*resultobj
;
21139 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21141 PyObject
* obj0
= 0 ;
21142 PyObject
* obj1
= 0 ;
21143 char *kwnames
[] = {
21144 (char *) "self",(char *) "flag", NULL
21147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21150 arg2
= (bool) SWIG_AsBool(obj1
);
21151 if (PyErr_Occurred()) SWIG_fail
;
21153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21154 (arg1
)->SetSetupDialog(arg2
);
21156 wxPyEndAllowThreads(__tstate
);
21157 if (PyErr_Occurred()) SWIG_fail
;
21159 Py_INCREF(Py_None
); resultobj
= Py_None
;
21166 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21167 PyObject
*resultobj
;
21168 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21170 PyObject
* obj0
= 0 ;
21171 PyObject
* obj1
= 0 ;
21172 char *kwnames
[] = {
21173 (char *) "self",(char *) "flag", NULL
21176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21179 arg2
= (bool) SWIG_AsBool(obj1
);
21180 if (PyErr_Occurred()) SWIG_fail
;
21182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21183 (arg1
)->EnablePrintToFile(arg2
);
21185 wxPyEndAllowThreads(__tstate
);
21186 if (PyErr_Occurred()) SWIG_fail
;
21188 Py_INCREF(Py_None
); resultobj
= Py_None
;
21195 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21196 PyObject
*resultobj
;
21197 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21199 PyObject
* obj0
= 0 ;
21200 PyObject
* obj1
= 0 ;
21201 char *kwnames
[] = {
21202 (char *) "self",(char *) "flag", NULL
21205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21208 arg2
= (bool) SWIG_AsBool(obj1
);
21209 if (PyErr_Occurred()) SWIG_fail
;
21211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21212 (arg1
)->EnableSelection(arg2
);
21214 wxPyEndAllowThreads(__tstate
);
21215 if (PyErr_Occurred()) SWIG_fail
;
21217 Py_INCREF(Py_None
); resultobj
= Py_None
;
21224 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21225 PyObject
*resultobj
;
21226 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21228 PyObject
* obj0
= 0 ;
21229 PyObject
* obj1
= 0 ;
21230 char *kwnames
[] = {
21231 (char *) "self",(char *) "flag", NULL
21234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21237 arg2
= (bool) SWIG_AsBool(obj1
);
21238 if (PyErr_Occurred()) SWIG_fail
;
21240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21241 (arg1
)->EnablePageNumbers(arg2
);
21243 wxPyEndAllowThreads(__tstate
);
21244 if (PyErr_Occurred()) SWIG_fail
;
21246 Py_INCREF(Py_None
); resultobj
= Py_None
;
21253 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21254 PyObject
*resultobj
;
21255 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21257 PyObject
* obj0
= 0 ;
21258 PyObject
* obj1
= 0 ;
21259 char *kwnames
[] = {
21260 (char *) "self",(char *) "flag", NULL
21263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21266 arg2
= (bool) SWIG_AsBool(obj1
);
21267 if (PyErr_Occurred()) SWIG_fail
;
21269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21270 (arg1
)->EnableHelp(arg2
);
21272 wxPyEndAllowThreads(__tstate
);
21273 if (PyErr_Occurred()) SWIG_fail
;
21275 Py_INCREF(Py_None
); resultobj
= Py_None
;
21282 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21283 PyObject
*resultobj
;
21284 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21286 PyObject
* obj0
= 0 ;
21287 char *kwnames
[] = {
21288 (char *) "self", NULL
21291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21296 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21298 wxPyEndAllowThreads(__tstate
);
21299 if (PyErr_Occurred()) SWIG_fail
;
21302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21310 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21311 PyObject
*resultobj
;
21312 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21314 PyObject
* obj0
= 0 ;
21315 char *kwnames
[] = {
21316 (char *) "self", NULL
21319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21324 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21326 wxPyEndAllowThreads(__tstate
);
21327 if (PyErr_Occurred()) SWIG_fail
;
21330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21338 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21339 PyObject
*resultobj
;
21340 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21342 PyObject
* obj0
= 0 ;
21343 char *kwnames
[] = {
21344 (char *) "self", NULL
21347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21352 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21354 wxPyEndAllowThreads(__tstate
);
21355 if (PyErr_Occurred()) SWIG_fail
;
21358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21366 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21367 PyObject
*resultobj
;
21368 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21370 PyObject
* obj0
= 0 ;
21371 char *kwnames
[] = {
21372 (char *) "self", NULL
21375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21380 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21382 wxPyEndAllowThreads(__tstate
);
21383 if (PyErr_Occurred()) SWIG_fail
;
21386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21394 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21395 PyObject
*resultobj
;
21396 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21398 PyObject
* obj0
= 0 ;
21399 char *kwnames
[] = {
21400 (char *) "self", NULL
21403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21408 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21410 wxPyEndAllowThreads(__tstate
);
21411 if (PyErr_Occurred()) SWIG_fail
;
21414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21422 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21423 PyObject
*resultobj
;
21424 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21425 wxPrintData
*result
;
21426 PyObject
* obj0
= 0 ;
21427 char *kwnames
[] = {
21428 (char *) "self", NULL
21431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21437 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21438 result
= (wxPrintData
*) &_result_ref
;
21441 wxPyEndAllowThreads(__tstate
);
21442 if (PyErr_Occurred()) SWIG_fail
;
21444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21451 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21452 PyObject
*resultobj
;
21453 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21454 wxPrintData
*arg2
= 0 ;
21455 PyObject
* obj0
= 0 ;
21456 PyObject
* obj1
= 0 ;
21457 char *kwnames
[] = {
21458 (char *) "self",(char *) "printData", NULL
21461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21465 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21467 if (arg2
== NULL
) {
21468 PyErr_SetString(PyExc_TypeError
,"null reference");
21472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21473 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21475 wxPyEndAllowThreads(__tstate
);
21476 if (PyErr_Occurred()) SWIG_fail
;
21478 Py_INCREF(Py_None
); resultobj
= Py_None
;
21485 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
21487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21488 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21490 return Py_BuildValue((char *)"");
21492 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21493 PyObject
*resultobj
;
21494 wxWindow
*arg1
= (wxWindow
*) 0 ;
21495 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21496 wxPrintDialog
*result
;
21497 PyObject
* obj0
= 0 ;
21498 PyObject
* obj1
= 0 ;
21499 char *kwnames
[] = {
21500 (char *) "parent",(char *) "data", NULL
21503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21511 if (!wxPyCheckForApp()) SWIG_fail
;
21512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21513 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21515 wxPyEndAllowThreads(__tstate
);
21516 if (PyErr_Occurred()) SWIG_fail
;
21518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21525 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21526 PyObject
*resultobj
;
21527 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21528 wxPrintDialogData
*result
;
21529 PyObject
* obj0
= 0 ;
21530 char *kwnames
[] = {
21531 (char *) "self", NULL
21534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21540 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21541 result
= (wxPrintDialogData
*) &_result_ref
;
21544 wxPyEndAllowThreads(__tstate
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21554 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21555 PyObject
*resultobj
;
21556 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21558 PyObject
* obj0
= 0 ;
21559 char *kwnames
[] = {
21560 (char *) "self", NULL
21563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21568 result
= (wxDC
*)(arg1
)->GetPrintDC();
21570 wxPyEndAllowThreads(__tstate
);
21571 if (PyErr_Occurred()) SWIG_fail
;
21574 resultobj
= wxPyMake_wxObject(result
);
21582 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21583 PyObject
*resultobj
;
21584 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21586 PyObject
* obj0
= 0 ;
21587 char *kwnames
[] = {
21588 (char *) "self", NULL
21591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21596 result
= (int)(arg1
)->ShowModal();
21598 wxPyEndAllowThreads(__tstate
);
21599 if (PyErr_Occurred()) SWIG_fail
;
21601 resultobj
= SWIG_FromInt((int)result
);
21608 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
21610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21611 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21613 return Py_BuildValue((char *)"");
21615 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21616 PyObject
*resultobj
;
21617 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21619 PyObject
* obj0
= 0 ;
21620 char *kwnames
[] = {
21621 (char *) "data", NULL
21624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21630 if (!wxPyCheckForApp()) SWIG_fail
;
21631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21632 result
= (wxPrinter
*)new wxPrinter(arg1
);
21634 wxPyEndAllowThreads(__tstate
);
21635 if (PyErr_Occurred()) SWIG_fail
;
21637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21644 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21645 PyObject
*resultobj
;
21646 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21647 PyObject
* obj0
= 0 ;
21648 char *kwnames
[] = {
21649 (char *) "self", NULL
21652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21659 wxPyEndAllowThreads(__tstate
);
21660 if (PyErr_Occurred()) SWIG_fail
;
21662 Py_INCREF(Py_None
); resultobj
= Py_None
;
21669 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21670 PyObject
*resultobj
;
21671 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21672 wxWindow
*arg2
= (wxWindow
*) 0 ;
21673 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21674 PyObject
* obj0
= 0 ;
21675 PyObject
* obj1
= 0 ;
21676 PyObject
* obj2
= 0 ;
21677 char *kwnames
[] = {
21678 (char *) "self",(char *) "parent",(char *) "printout", NULL
21681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21684 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21686 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21690 (arg1
)->CreateAbortWindow(arg2
,arg3
);
21692 wxPyEndAllowThreads(__tstate
);
21693 if (PyErr_Occurred()) SWIG_fail
;
21695 Py_INCREF(Py_None
); resultobj
= Py_None
;
21702 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21703 PyObject
*resultobj
;
21704 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21705 wxPrintDialogData
*result
;
21706 PyObject
* obj0
= 0 ;
21707 char *kwnames
[] = {
21708 (char *) "self", NULL
21711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21717 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21718 result
= (wxPrintDialogData
*) &_result_ref
;
21721 wxPyEndAllowThreads(__tstate
);
21722 if (PyErr_Occurred()) SWIG_fail
;
21724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21731 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21732 PyObject
*resultobj
;
21733 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21734 wxWindow
*arg2
= (wxWindow
*) 0 ;
21735 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21736 int arg4
= (int) True
;
21738 PyObject
* obj0
= 0 ;
21739 PyObject
* obj1
= 0 ;
21740 PyObject
* obj2
= 0 ;
21741 PyObject
* obj3
= 0 ;
21742 char *kwnames
[] = {
21743 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21751 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21754 arg4
= (int) SWIG_AsInt(obj3
);
21755 if (PyErr_Occurred()) SWIG_fail
;
21758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21759 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21761 wxPyEndAllowThreads(__tstate
);
21762 if (PyErr_Occurred()) SWIG_fail
;
21765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21773 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21774 PyObject
*resultobj
;
21775 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21776 wxWindow
*arg2
= (wxWindow
*) 0 ;
21778 PyObject
* obj0
= 0 ;
21779 PyObject
* obj1
= 0 ;
21780 char *kwnames
[] = {
21781 (char *) "self",(char *) "parent", NULL
21784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21791 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21793 wxPyEndAllowThreads(__tstate
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21797 resultobj
= wxPyMake_wxObject(result
);
21805 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21806 PyObject
*resultobj
;
21807 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21808 wxWindow
*arg2
= (wxWindow
*) 0 ;
21809 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21810 wxString
*arg4
= 0 ;
21811 bool temp4
= False
;
21812 PyObject
* obj0
= 0 ;
21813 PyObject
* obj1
= 0 ;
21814 PyObject
* obj2
= 0 ;
21815 PyObject
* obj3
= 0 ;
21816 char *kwnames
[] = {
21817 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21823 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21825 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21828 arg4
= wxString_in_helper(obj3
);
21829 if (arg4
== NULL
) SWIG_fail
;
21833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21834 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
21836 wxPyEndAllowThreads(__tstate
);
21837 if (PyErr_Occurred()) SWIG_fail
;
21839 Py_INCREF(Py_None
); resultobj
= Py_None
;
21854 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21855 PyObject
*resultobj
;
21856 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21857 wxWindow
*arg2
= (wxWindow
*) 0 ;
21859 PyObject
* obj0
= 0 ;
21860 PyObject
* obj1
= 0 ;
21861 char *kwnames
[] = {
21862 (char *) "self",(char *) "parent", NULL
21865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
21866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21868 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21872 result
= (bool)(arg1
)->Setup(arg2
);
21874 wxPyEndAllowThreads(__tstate
);
21875 if (PyErr_Occurred()) SWIG_fail
;
21878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21886 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21887 PyObject
*resultobj
;
21888 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21890 PyObject
* obj0
= 0 ;
21891 char *kwnames
[] = {
21892 (char *) "self", NULL
21895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
21896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21900 result
= (bool)(arg1
)->GetAbort();
21902 wxPyEndAllowThreads(__tstate
);
21903 if (PyErr_Occurred()) SWIG_fail
;
21906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21914 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21915 PyObject
*resultobj
;
21917 char *kwnames
[] = {
21921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
21923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21924 result
= (int)wxPrinter::GetLastError();
21926 wxPyEndAllowThreads(__tstate
);
21927 if (PyErr_Occurred()) SWIG_fail
;
21929 resultobj
= SWIG_FromInt((int)result
);
21936 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
21938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21939 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
21941 return Py_BuildValue((char *)"");
21943 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21944 PyObject
*resultobj
;
21945 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
21946 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21947 wxPyPrintout
*result
;
21948 bool temp1
= False
;
21949 PyObject
* obj0
= 0 ;
21950 char *kwnames
[] = {
21951 (char *) "title", NULL
21954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
21957 arg1
= wxString_in_helper(obj0
);
21958 if (arg1
== NULL
) SWIG_fail
;
21963 if (!wxPyCheckForApp()) SWIG_fail
;
21964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21965 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
21967 wxPyEndAllowThreads(__tstate
);
21968 if (PyErr_Occurred()) SWIG_fail
;
21971 resultobj
= wxPyMake_wxObject(result
);
21987 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21988 PyObject
*resultobj
;
21989 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21990 PyObject
*arg2
= (PyObject
*) 0 ;
21991 PyObject
*arg3
= (PyObject
*) 0 ;
21992 PyObject
* obj0
= 0 ;
21993 PyObject
* obj1
= 0 ;
21994 PyObject
* obj2
= 0 ;
21995 char *kwnames
[] = {
21996 (char *) "self",(char *) "self",(char *) "_class", NULL
21999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22006 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22008 wxPyEndAllowThreads(__tstate
);
22009 if (PyErr_Occurred()) SWIG_fail
;
22011 Py_INCREF(Py_None
); resultobj
= Py_None
;
22018 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22019 PyObject
*resultobj
;
22020 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22022 PyObject
* obj0
= 0 ;
22023 char *kwnames
[] = {
22024 (char *) "self", NULL
22027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
22028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22032 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
22034 wxPyEndAllowThreads(__tstate
);
22035 if (PyErr_Occurred()) SWIG_fail
;
22039 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22041 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22050 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22051 PyObject
*resultobj
;
22052 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22054 PyObject
* obj0
= 0 ;
22055 char *kwnames
[] = {
22056 (char *) "self", NULL
22059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
22060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22064 result
= (wxDC
*)(arg1
)->GetDC();
22066 wxPyEndAllowThreads(__tstate
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22070 resultobj
= wxPyMake_wxObject(result
);
22078 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22079 PyObject
*resultobj
;
22080 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22081 wxDC
*arg2
= (wxDC
*) 0 ;
22082 PyObject
* obj0
= 0 ;
22083 PyObject
* obj1
= 0 ;
22084 char *kwnames
[] = {
22085 (char *) "self",(char *) "dc", NULL
22088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22091 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22095 (arg1
)->SetDC(arg2
);
22097 wxPyEndAllowThreads(__tstate
);
22098 if (PyErr_Occurred()) SWIG_fail
;
22100 Py_INCREF(Py_None
); resultobj
= Py_None
;
22107 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22108 PyObject
*resultobj
;
22109 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22112 PyObject
* obj0
= 0 ;
22113 PyObject
* obj1
= 0 ;
22114 PyObject
* obj2
= 0 ;
22115 char *kwnames
[] = {
22116 (char *) "self",(char *) "w",(char *) "h", NULL
22119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22122 arg2
= (int) SWIG_AsInt(obj1
);
22123 if (PyErr_Occurred()) SWIG_fail
;
22124 arg3
= (int) SWIG_AsInt(obj2
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22128 (arg1
)->SetPageSizePixels(arg2
,arg3
);
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22133 Py_INCREF(Py_None
); resultobj
= Py_None
;
22140 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22141 PyObject
*resultobj
;
22142 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22143 int *arg2
= (int *) 0 ;
22144 int *arg3
= (int *) 0 ;
22147 PyObject
* obj0
= 0 ;
22148 char *kwnames
[] = {
22149 (char *) "self", NULL
22154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
22155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22159 (arg1
)->GetPageSizePixels(arg2
,arg3
);
22161 wxPyEndAllowThreads(__tstate
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22164 Py_INCREF(Py_None
); resultobj
= Py_None
;
22166 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22167 resultobj
= t_output_helper(resultobj
,o
);
22170 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22171 resultobj
= t_output_helper(resultobj
,o
);
22179 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22180 PyObject
*resultobj
;
22181 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22184 PyObject
* obj0
= 0 ;
22185 PyObject
* obj1
= 0 ;
22186 PyObject
* obj2
= 0 ;
22187 char *kwnames
[] = {
22188 (char *) "self",(char *) "w",(char *) "h", NULL
22191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22194 arg2
= (int) SWIG_AsInt(obj1
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22196 arg3
= (int) SWIG_AsInt(obj2
);
22197 if (PyErr_Occurred()) SWIG_fail
;
22199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22200 (arg1
)->SetPageSizeMM(arg2
,arg3
);
22202 wxPyEndAllowThreads(__tstate
);
22203 if (PyErr_Occurred()) SWIG_fail
;
22205 Py_INCREF(Py_None
); resultobj
= Py_None
;
22212 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22213 PyObject
*resultobj
;
22214 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22215 int *arg2
= (int *) 0 ;
22216 int *arg3
= (int *) 0 ;
22219 PyObject
* obj0
= 0 ;
22220 char *kwnames
[] = {
22221 (char *) "self", NULL
22226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22231 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22233 wxPyEndAllowThreads(__tstate
);
22234 if (PyErr_Occurred()) SWIG_fail
;
22236 Py_INCREF(Py_None
); resultobj
= Py_None
;
22238 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22239 resultobj
= t_output_helper(resultobj
,o
);
22242 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22243 resultobj
= t_output_helper(resultobj
,o
);
22251 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22252 PyObject
*resultobj
;
22253 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22256 PyObject
* obj0
= 0 ;
22257 PyObject
* obj1
= 0 ;
22258 PyObject
* obj2
= 0 ;
22259 char *kwnames
[] = {
22260 (char *) "self",(char *) "x",(char *) "y", NULL
22263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22266 arg2
= (int) SWIG_AsInt(obj1
);
22267 if (PyErr_Occurred()) SWIG_fail
;
22268 arg3
= (int) SWIG_AsInt(obj2
);
22269 if (PyErr_Occurred()) SWIG_fail
;
22271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22272 (arg1
)->SetPPIScreen(arg2
,arg3
);
22274 wxPyEndAllowThreads(__tstate
);
22275 if (PyErr_Occurred()) SWIG_fail
;
22277 Py_INCREF(Py_None
); resultobj
= Py_None
;
22284 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22285 PyObject
*resultobj
;
22286 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22287 int *arg2
= (int *) 0 ;
22288 int *arg3
= (int *) 0 ;
22291 PyObject
* obj0
= 0 ;
22292 char *kwnames
[] = {
22293 (char *) "self", NULL
22298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22303 (arg1
)->GetPPIScreen(arg2
,arg3
);
22305 wxPyEndAllowThreads(__tstate
);
22306 if (PyErr_Occurred()) SWIG_fail
;
22308 Py_INCREF(Py_None
); resultobj
= Py_None
;
22310 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22311 resultobj
= t_output_helper(resultobj
,o
);
22314 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22315 resultobj
= t_output_helper(resultobj
,o
);
22323 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22324 PyObject
*resultobj
;
22325 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22328 PyObject
* obj0
= 0 ;
22329 PyObject
* obj1
= 0 ;
22330 PyObject
* obj2
= 0 ;
22331 char *kwnames
[] = {
22332 (char *) "self",(char *) "x",(char *) "y", NULL
22335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22338 arg2
= (int) SWIG_AsInt(obj1
);
22339 if (PyErr_Occurred()) SWIG_fail
;
22340 arg3
= (int) SWIG_AsInt(obj2
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22344 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22346 wxPyEndAllowThreads(__tstate
);
22347 if (PyErr_Occurred()) SWIG_fail
;
22349 Py_INCREF(Py_None
); resultobj
= Py_None
;
22356 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22357 PyObject
*resultobj
;
22358 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22359 int *arg2
= (int *) 0 ;
22360 int *arg3
= (int *) 0 ;
22363 PyObject
* obj0
= 0 ;
22364 char *kwnames
[] = {
22365 (char *) "self", NULL
22370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22375 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22377 wxPyEndAllowThreads(__tstate
);
22378 if (PyErr_Occurred()) SWIG_fail
;
22380 Py_INCREF(Py_None
); resultobj
= Py_None
;
22382 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22383 resultobj
= t_output_helper(resultobj
,o
);
22386 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22387 resultobj
= t_output_helper(resultobj
,o
);
22395 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22396 PyObject
*resultobj
;
22397 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22399 PyObject
* obj0
= 0 ;
22400 char *kwnames
[] = {
22401 (char *) "self", NULL
22404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22409 result
= (bool)(arg1
)->IsPreview();
22411 wxPyEndAllowThreads(__tstate
);
22412 if (PyErr_Occurred()) SWIG_fail
;
22415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22423 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22424 PyObject
*resultobj
;
22425 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22427 PyObject
* obj0
= 0 ;
22428 PyObject
* obj1
= 0 ;
22429 char *kwnames
[] = {
22430 (char *) "self",(char *) "p", NULL
22433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22436 arg2
= (bool) SWIG_AsBool(obj1
);
22437 if (PyErr_Occurred()) SWIG_fail
;
22439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22440 (arg1
)->SetIsPreview(arg2
);
22442 wxPyEndAllowThreads(__tstate
);
22443 if (PyErr_Occurred()) SWIG_fail
;
22445 Py_INCREF(Py_None
); resultobj
= Py_None
;
22452 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22453 PyObject
*resultobj
;
22454 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22458 PyObject
* obj0
= 0 ;
22459 PyObject
* obj1
= 0 ;
22460 PyObject
* obj2
= 0 ;
22461 char *kwnames
[] = {
22462 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22468 arg2
= (int) SWIG_AsInt(obj1
);
22469 if (PyErr_Occurred()) SWIG_fail
;
22470 arg3
= (int) SWIG_AsInt(obj2
);
22471 if (PyErr_Occurred()) SWIG_fail
;
22473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22474 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22476 wxPyEndAllowThreads(__tstate
);
22477 if (PyErr_Occurred()) SWIG_fail
;
22480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22488 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22489 PyObject
*resultobj
;
22490 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22491 PyObject
* obj0
= 0 ;
22492 char *kwnames
[] = {
22493 (char *) "self", NULL
22496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22501 (arg1
)->base_OnEndDocument();
22503 wxPyEndAllowThreads(__tstate
);
22504 if (PyErr_Occurred()) SWIG_fail
;
22506 Py_INCREF(Py_None
); resultobj
= Py_None
;
22513 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22514 PyObject
*resultobj
;
22515 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22516 PyObject
* obj0
= 0 ;
22517 char *kwnames
[] = {
22518 (char *) "self", NULL
22521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22526 (arg1
)->base_OnBeginPrinting();
22528 wxPyEndAllowThreads(__tstate
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22531 Py_INCREF(Py_None
); resultobj
= Py_None
;
22538 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22539 PyObject
*resultobj
;
22540 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22541 PyObject
* obj0
= 0 ;
22542 char *kwnames
[] = {
22543 (char *) "self", NULL
22546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22551 (arg1
)->base_OnEndPrinting();
22553 wxPyEndAllowThreads(__tstate
);
22554 if (PyErr_Occurred()) SWIG_fail
;
22556 Py_INCREF(Py_None
); resultobj
= Py_None
;
22563 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22564 PyObject
*resultobj
;
22565 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22566 PyObject
* obj0
= 0 ;
22567 char *kwnames
[] = {
22568 (char *) "self", NULL
22571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22576 (arg1
)->base_OnPreparePrinting();
22578 wxPyEndAllowThreads(__tstate
);
22579 if (PyErr_Occurred()) SWIG_fail
;
22581 Py_INCREF(Py_None
); resultobj
= Py_None
;
22588 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22589 PyObject
*resultobj
;
22590 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22593 PyObject
* obj0
= 0 ;
22594 PyObject
* obj1
= 0 ;
22595 char *kwnames
[] = {
22596 (char *) "self",(char *) "page", NULL
22599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22602 arg2
= (int) SWIG_AsInt(obj1
);
22603 if (PyErr_Occurred()) SWIG_fail
;
22605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22606 result
= (bool)(arg1
)->base_HasPage(arg2
);
22608 wxPyEndAllowThreads(__tstate
);
22609 if (PyErr_Occurred()) SWIG_fail
;
22612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22620 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22621 PyObject
*resultobj
;
22622 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22623 int *arg2
= (int *) 0 ;
22624 int *arg3
= (int *) 0 ;
22625 int *arg4
= (int *) 0 ;
22626 int *arg5
= (int *) 0 ;
22631 PyObject
* obj0
= 0 ;
22632 char *kwnames
[] = {
22633 (char *) "self", NULL
22640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
22641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22645 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22647 wxPyEndAllowThreads(__tstate
);
22648 if (PyErr_Occurred()) SWIG_fail
;
22650 Py_INCREF(Py_None
); resultobj
= Py_None
;
22652 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22653 resultobj
= t_output_helper(resultobj
,o
);
22656 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22657 resultobj
= t_output_helper(resultobj
,o
);
22660 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22661 resultobj
= t_output_helper(resultobj
,o
);
22664 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
22665 resultobj
= t_output_helper(resultobj
,o
);
22673 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
22675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22676 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22678 return Py_BuildValue((char *)"");
22680 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22681 PyObject
*resultobj
;
22682 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22683 wxWindow
*arg2
= (wxWindow
*) 0 ;
22684 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22685 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22686 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22687 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22688 long arg5
= (long) 0 ;
22689 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22690 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22691 wxPreviewCanvas
*result
;
22694 bool temp6
= False
;
22695 PyObject
* obj0
= 0 ;
22696 PyObject
* obj1
= 0 ;
22697 PyObject
* obj2
= 0 ;
22698 PyObject
* obj3
= 0 ;
22699 PyObject
* obj4
= 0 ;
22700 PyObject
* obj5
= 0 ;
22701 char *kwnames
[] = {
22702 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22713 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22719 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22723 arg5
= (long) SWIG_AsLong(obj4
);
22724 if (PyErr_Occurred()) SWIG_fail
;
22728 arg6
= wxString_in_helper(obj5
);
22729 if (arg6
== NULL
) SWIG_fail
;
22734 if (!wxPyCheckForApp()) SWIG_fail
;
22735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22736 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22738 wxPyEndAllowThreads(__tstate
);
22739 if (PyErr_Occurred()) SWIG_fail
;
22741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22756 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
22758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22759 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22761 return Py_BuildValue((char *)"");
22763 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22764 PyObject
*resultobj
;
22765 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22766 wxFrame
*arg2
= (wxFrame
*) 0 ;
22767 wxString
*arg3
= 0 ;
22768 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22769 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22770 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22771 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22772 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22773 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22774 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22775 wxPreviewFrame
*result
;
22776 bool temp3
= False
;
22779 bool temp7
= False
;
22780 PyObject
* obj0
= 0 ;
22781 PyObject
* obj1
= 0 ;
22782 PyObject
* obj2
= 0 ;
22783 PyObject
* obj3
= 0 ;
22784 PyObject
* obj4
= 0 ;
22785 PyObject
* obj5
= 0 ;
22786 PyObject
* obj6
= 0 ;
22787 char *kwnames
[] = {
22788 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22794 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22797 arg3
= wxString_in_helper(obj2
);
22798 if (arg3
== NULL
) SWIG_fail
;
22804 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22810 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22814 arg6
= (long) SWIG_AsLong(obj5
);
22815 if (PyErr_Occurred()) SWIG_fail
;
22819 arg7
= wxString_in_helper(obj6
);
22820 if (arg7
== NULL
) SWIG_fail
;
22825 if (!wxPyCheckForApp()) SWIG_fail
;
22826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22827 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22829 wxPyEndAllowThreads(__tstate
);
22830 if (PyErr_Occurred()) SWIG_fail
;
22832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
22855 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22856 PyObject
*resultobj
;
22857 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22858 PyObject
* obj0
= 0 ;
22859 char *kwnames
[] = {
22860 (char *) "self", NULL
22863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
22864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22868 (arg1
)->Initialize();
22870 wxPyEndAllowThreads(__tstate
);
22871 if (PyErr_Occurred()) SWIG_fail
;
22873 Py_INCREF(Py_None
); resultobj
= Py_None
;
22880 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22881 PyObject
*resultobj
;
22882 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22883 PyObject
* obj0
= 0 ;
22884 char *kwnames
[] = {
22885 (char *) "self", NULL
22888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22893 (arg1
)->CreateControlBar();
22895 wxPyEndAllowThreads(__tstate
);
22896 if (PyErr_Occurred()) SWIG_fail
;
22898 Py_INCREF(Py_None
); resultobj
= Py_None
;
22905 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22906 PyObject
*resultobj
;
22907 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22908 PyObject
* obj0
= 0 ;
22909 char *kwnames
[] = {
22910 (char *) "self", NULL
22913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22918 (arg1
)->CreateCanvas();
22920 wxPyEndAllowThreads(__tstate
);
22921 if (PyErr_Occurred()) SWIG_fail
;
22923 Py_INCREF(Py_None
); resultobj
= Py_None
;
22930 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22931 PyObject
*resultobj
;
22932 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22933 wxPreviewControlBar
*result
;
22934 PyObject
* obj0
= 0 ;
22935 char *kwnames
[] = {
22936 (char *) "self", NULL
22939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
22940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22944 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
22946 wxPyEndAllowThreads(__tstate
);
22947 if (PyErr_Occurred()) SWIG_fail
;
22949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
22956 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22959 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
22961 return Py_BuildValue((char *)"");
22963 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22964 PyObject
*resultobj
;
22965 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22967 wxWindow
*arg3
= (wxWindow
*) 0 ;
22968 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22969 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22970 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22971 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22972 long arg6
= (long) wxTAB_TRAVERSAL
;
22973 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22974 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22975 wxPreviewControlBar
*result
;
22978 bool temp7
= False
;
22979 PyObject
* obj0
= 0 ;
22980 PyObject
* obj1
= 0 ;
22981 PyObject
* obj2
= 0 ;
22982 PyObject
* obj3
= 0 ;
22983 PyObject
* obj4
= 0 ;
22984 PyObject
* obj5
= 0 ;
22985 PyObject
* obj6
= 0 ;
22986 char *kwnames
[] = {
22987 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22993 arg2
= (long) SWIG_AsLong(obj1
);
22994 if (PyErr_Occurred()) SWIG_fail
;
22995 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23000 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23006 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23010 arg6
= (long) SWIG_AsLong(obj5
);
23011 if (PyErr_Occurred()) SWIG_fail
;
23015 arg7
= wxString_in_helper(obj6
);
23016 if (arg7
== NULL
) SWIG_fail
;
23021 if (!wxPyCheckForApp()) SWIG_fail
;
23022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23023 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23025 wxPyEndAllowThreads(__tstate
);
23026 if (PyErr_Occurred()) SWIG_fail
;
23028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
23043 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23044 PyObject
*resultobj
;
23045 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23047 PyObject
* obj0
= 0 ;
23048 char *kwnames
[] = {
23049 (char *) "self", NULL
23052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
23053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23057 result
= (int)(arg1
)->GetZoomControl();
23059 wxPyEndAllowThreads(__tstate
);
23060 if (PyErr_Occurred()) SWIG_fail
;
23062 resultobj
= SWIG_FromInt((int)result
);
23069 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23070 PyObject
*resultobj
;
23071 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23073 PyObject
* obj0
= 0 ;
23074 PyObject
* obj1
= 0 ;
23075 char *kwnames
[] = {
23076 (char *) "self",(char *) "zoom", NULL
23079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
23080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23082 arg2
= (int) SWIG_AsInt(obj1
);
23083 if (PyErr_Occurred()) SWIG_fail
;
23085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23086 (arg1
)->SetZoomControl(arg2
);
23088 wxPyEndAllowThreads(__tstate
);
23089 if (PyErr_Occurred()) SWIG_fail
;
23091 Py_INCREF(Py_None
); resultobj
= Py_None
;
23098 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23099 PyObject
*resultobj
;
23100 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23101 wxPrintPreview
*result
;
23102 PyObject
* obj0
= 0 ;
23103 char *kwnames
[] = {
23104 (char *) "self", NULL
23107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
23108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23112 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
23114 wxPyEndAllowThreads(__tstate
);
23115 if (PyErr_Occurred()) SWIG_fail
;
23117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
23124 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23125 PyObject
*resultobj
;
23126 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23127 PyObject
* obj0
= 0 ;
23128 char *kwnames
[] = {
23129 (char *) "self", NULL
23132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
23133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23139 wxPyEndAllowThreads(__tstate
);
23140 if (PyErr_Occurred()) SWIG_fail
;
23142 Py_INCREF(Py_None
); resultobj
= Py_None
;
23149 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23150 PyObject
*resultobj
;
23151 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23152 PyObject
* obj0
= 0 ;
23153 char *kwnames
[] = {
23154 (char *) "self", NULL
23157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
23158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23162 (arg1
)->OnPrevious();
23164 wxPyEndAllowThreads(__tstate
);
23165 if (PyErr_Occurred()) SWIG_fail
;
23167 Py_INCREF(Py_None
); resultobj
= Py_None
;
23174 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23175 PyObject
*resultobj
;
23176 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23177 PyObject
* obj0
= 0 ;
23178 char *kwnames
[] = {
23179 (char *) "self", NULL
23182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
23183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23189 wxPyEndAllowThreads(__tstate
);
23190 if (PyErr_Occurred()) SWIG_fail
;
23192 Py_INCREF(Py_None
); resultobj
= Py_None
;
23199 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23200 PyObject
*resultobj
;
23201 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23202 PyObject
* obj0
= 0 ;
23203 char *kwnames
[] = {
23204 (char *) "self", NULL
23207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
23208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23214 wxPyEndAllowThreads(__tstate
);
23215 if (PyErr_Occurred()) SWIG_fail
;
23217 Py_INCREF(Py_None
); resultobj
= Py_None
;
23224 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23225 PyObject
*resultobj
;
23226 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23227 PyObject
* obj0
= 0 ;
23228 char *kwnames
[] = {
23229 (char *) "self", NULL
23232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23239 wxPyEndAllowThreads(__tstate
);
23240 if (PyErr_Occurred()) SWIG_fail
;
23242 Py_INCREF(Py_None
); resultobj
= Py_None
;
23249 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
23251 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23252 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23254 return Py_BuildValue((char *)"");
23256 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23257 PyObject
*resultobj
;
23258 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23259 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23260 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23261 wxPrintPreview
*result
;
23262 PyObject
* obj0
= 0 ;
23263 PyObject
* obj1
= 0 ;
23264 PyObject
* obj2
= 0 ;
23266 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23272 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23276 if (!wxPyCheckForApp()) SWIG_fail
;
23277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23278 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23280 wxPyEndAllowThreads(__tstate
);
23281 if (PyErr_Occurred()) SWIG_fail
;
23283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23290 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23291 PyObject
*resultobj
;
23292 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23293 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23294 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23295 wxPrintPreview
*result
;
23296 PyObject
* obj0
= 0 ;
23297 PyObject
* obj1
= 0 ;
23298 PyObject
* obj2
= 0 ;
23300 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23303 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23305 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23308 if (!wxPyCheckForApp()) SWIG_fail
;
23309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23310 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23312 wxPyEndAllowThreads(__tstate
);
23313 if (PyErr_Occurred()) SWIG_fail
;
23315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23322 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23327 argc
= PyObject_Length(args
);
23328 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23329 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23331 if ((argc
>= 2) && (argc
<= 3)) {
23335 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23345 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23354 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23358 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23366 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23375 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23385 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23395 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23403 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23409 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23414 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23415 PyObject
*resultobj
;
23416 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23419 PyObject
* obj0
= 0 ;
23420 PyObject
* obj1
= 0 ;
23421 char *kwnames
[] = {
23422 (char *) "self",(char *) "pageNum", NULL
23425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23428 arg2
= (int) SWIG_AsInt(obj1
);
23429 if (PyErr_Occurred()) SWIG_fail
;
23431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23432 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23434 wxPyEndAllowThreads(__tstate
);
23435 if (PyErr_Occurred()) SWIG_fail
;
23438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23446 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23447 PyObject
*resultobj
;
23448 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23450 PyObject
* obj0
= 0 ;
23451 char *kwnames
[] = {
23452 (char *) "self", NULL
23455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23460 result
= (int)(arg1
)->GetCurrentPage();
23462 wxPyEndAllowThreads(__tstate
);
23463 if (PyErr_Occurred()) SWIG_fail
;
23465 resultobj
= SWIG_FromInt((int)result
);
23472 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23473 PyObject
*resultobj
;
23474 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23475 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23476 PyObject
* obj0
= 0 ;
23477 PyObject
* obj1
= 0 ;
23478 char *kwnames
[] = {
23479 (char *) "self",(char *) "printout", NULL
23482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23485 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23489 (arg1
)->SetPrintout(arg2
);
23491 wxPyEndAllowThreads(__tstate
);
23492 if (PyErr_Occurred()) SWIG_fail
;
23494 Py_INCREF(Py_None
); resultobj
= Py_None
;
23501 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23502 PyObject
*resultobj
;
23503 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23504 wxPyPrintout
*result
;
23505 PyObject
* obj0
= 0 ;
23506 char *kwnames
[] = {
23507 (char *) "self", NULL
23510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23515 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23517 wxPyEndAllowThreads(__tstate
);
23518 if (PyErr_Occurred()) SWIG_fail
;
23521 resultobj
= wxPyMake_wxObject(result
);
23529 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23530 PyObject
*resultobj
;
23531 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23532 wxPyPrintout
*result
;
23533 PyObject
* obj0
= 0 ;
23534 char *kwnames
[] = {
23535 (char *) "self", NULL
23538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23543 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23545 wxPyEndAllowThreads(__tstate
);
23546 if (PyErr_Occurred()) SWIG_fail
;
23549 resultobj
= wxPyMake_wxObject(result
);
23557 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23558 PyObject
*resultobj
;
23559 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23560 wxFrame
*arg2
= (wxFrame
*) 0 ;
23561 PyObject
* obj0
= 0 ;
23562 PyObject
* obj1
= 0 ;
23563 char *kwnames
[] = {
23564 (char *) "self",(char *) "frame", NULL
23567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23574 (arg1
)->SetFrame(arg2
);
23576 wxPyEndAllowThreads(__tstate
);
23577 if (PyErr_Occurred()) SWIG_fail
;
23579 Py_INCREF(Py_None
); resultobj
= Py_None
;
23586 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23587 PyObject
*resultobj
;
23588 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23589 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23590 PyObject
* obj0
= 0 ;
23591 PyObject
* obj1
= 0 ;
23592 char *kwnames
[] = {
23593 (char *) "self",(char *) "canvas", NULL
23596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23603 (arg1
)->SetCanvas(arg2
);
23605 wxPyEndAllowThreads(__tstate
);
23606 if (PyErr_Occurred()) SWIG_fail
;
23608 Py_INCREF(Py_None
); resultobj
= Py_None
;
23615 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23616 PyObject
*resultobj
;
23617 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23619 PyObject
* obj0
= 0 ;
23620 char *kwnames
[] = {
23621 (char *) "self", NULL
23624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23629 result
= (wxFrame
*)(arg1
)->GetFrame();
23631 wxPyEndAllowThreads(__tstate
);
23632 if (PyErr_Occurred()) SWIG_fail
;
23635 resultobj
= wxPyMake_wxObject(result
);
23643 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23644 PyObject
*resultobj
;
23645 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23646 wxPreviewCanvas
*result
;
23647 PyObject
* obj0
= 0 ;
23648 char *kwnames
[] = {
23649 (char *) "self", NULL
23652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
23653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23657 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23659 wxPyEndAllowThreads(__tstate
);
23660 if (PyErr_Occurred()) SWIG_fail
;
23662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23669 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23670 PyObject
*resultobj
;
23671 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23672 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23675 PyObject
* obj0
= 0 ;
23676 PyObject
* obj1
= 0 ;
23677 PyObject
* obj2
= 0 ;
23678 char *kwnames
[] = {
23679 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23687 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23688 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23690 if (arg3
== NULL
) {
23691 PyErr_SetString(PyExc_TypeError
,"null reference");
23695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23696 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
23698 wxPyEndAllowThreads(__tstate
);
23699 if (PyErr_Occurred()) SWIG_fail
;
23702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23710 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23711 PyObject
*resultobj
;
23712 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23713 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23716 PyObject
* obj0
= 0 ;
23717 PyObject
* obj1
= 0 ;
23718 PyObject
* obj2
= 0 ;
23719 char *kwnames
[] = {
23720 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23728 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23729 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23731 if (arg3
== NULL
) {
23732 PyErr_SetString(PyExc_TypeError
,"null reference");
23736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23737 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23739 wxPyEndAllowThreads(__tstate
);
23740 if (PyErr_Occurred()) SWIG_fail
;
23743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23751 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23752 PyObject
*resultobj
;
23753 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23756 PyObject
* obj0
= 0 ;
23757 PyObject
* obj1
= 0 ;
23758 char *kwnames
[] = {
23759 (char *) "self",(char *) "pageNum", NULL
23762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23765 arg2
= (int) SWIG_AsInt(obj1
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23769 result
= (bool)(arg1
)->RenderPage(arg2
);
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23783 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23784 PyObject
*resultobj
;
23785 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23786 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23787 PyObject
* obj0
= 0 ;
23788 PyObject
* obj1
= 0 ;
23789 char *kwnames
[] = {
23790 (char *) "self",(char *) "canvas", NULL
23793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
23794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23796 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23800 (arg1
)->AdjustScrollbars(arg2
);
23802 wxPyEndAllowThreads(__tstate
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23805 Py_INCREF(Py_None
); resultobj
= Py_None
;
23812 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23813 PyObject
*resultobj
;
23814 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23815 wxPrintDialogData
*result
;
23816 PyObject
* obj0
= 0 ;
23817 char *kwnames
[] = {
23818 (char *) "self", NULL
23821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23827 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23828 result
= (wxPrintDialogData
*) &_result_ref
;
23831 wxPyEndAllowThreads(__tstate
);
23832 if (PyErr_Occurred()) SWIG_fail
;
23834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23841 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23842 PyObject
*resultobj
;
23843 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23845 PyObject
* obj0
= 0 ;
23846 PyObject
* obj1
= 0 ;
23847 char *kwnames
[] = {
23848 (char *) "self",(char *) "percent", NULL
23851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23854 arg2
= (int) SWIG_AsInt(obj1
);
23855 if (PyErr_Occurred()) SWIG_fail
;
23857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23858 (arg1
)->SetZoom(arg2
);
23860 wxPyEndAllowThreads(__tstate
);
23861 if (PyErr_Occurred()) SWIG_fail
;
23863 Py_INCREF(Py_None
); resultobj
= Py_None
;
23870 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23871 PyObject
*resultobj
;
23872 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23874 PyObject
* obj0
= 0 ;
23875 char *kwnames
[] = {
23876 (char *) "self", NULL
23879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
23880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23884 result
= (int)(arg1
)->GetZoom();
23886 wxPyEndAllowThreads(__tstate
);
23887 if (PyErr_Occurred()) SWIG_fail
;
23889 resultobj
= SWIG_FromInt((int)result
);
23896 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23897 PyObject
*resultobj
;
23898 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23900 PyObject
* obj0
= 0 ;
23901 char *kwnames
[] = {
23902 (char *) "self", NULL
23905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23910 result
= (int)(arg1
)->GetMaxPage();
23912 wxPyEndAllowThreads(__tstate
);
23913 if (PyErr_Occurred()) SWIG_fail
;
23915 resultobj
= SWIG_FromInt((int)result
);
23922 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23923 PyObject
*resultobj
;
23924 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23926 PyObject
* obj0
= 0 ;
23927 char *kwnames
[] = {
23928 (char *) "self", NULL
23931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
23932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23936 result
= (int)(arg1
)->GetMinPage();
23938 wxPyEndAllowThreads(__tstate
);
23939 if (PyErr_Occurred()) SWIG_fail
;
23941 resultobj
= SWIG_FromInt((int)result
);
23948 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23949 PyObject
*resultobj
;
23950 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23952 PyObject
* obj0
= 0 ;
23953 char *kwnames
[] = {
23954 (char *) "self", NULL
23957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
23958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23962 result
= (bool)(arg1
)->Ok();
23964 wxPyEndAllowThreads(__tstate
);
23965 if (PyErr_Occurred()) SWIG_fail
;
23968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23976 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23977 PyObject
*resultobj
;
23978 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23980 PyObject
* obj0
= 0 ;
23981 PyObject
* obj1
= 0 ;
23982 char *kwnames
[] = {
23983 (char *) "self",(char *) "ok", NULL
23986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
23987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23989 arg2
= (bool) SWIG_AsBool(obj1
);
23990 if (PyErr_Occurred()) SWIG_fail
;
23992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23993 (arg1
)->SetOk(arg2
);
23995 wxPyEndAllowThreads(__tstate
);
23996 if (PyErr_Occurred()) SWIG_fail
;
23998 Py_INCREF(Py_None
); resultobj
= Py_None
;
24005 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24006 PyObject
*resultobj
;
24007 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24010 PyObject
* obj0
= 0 ;
24011 PyObject
* obj1
= 0 ;
24012 char *kwnames
[] = {
24013 (char *) "self",(char *) "interactive", NULL
24016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24019 arg2
= (bool) SWIG_AsBool(obj1
);
24020 if (PyErr_Occurred()) SWIG_fail
;
24022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24023 result
= (bool)(arg1
)->Print(arg2
);
24025 wxPyEndAllowThreads(__tstate
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24037 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24038 PyObject
*resultobj
;
24039 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24040 PyObject
* obj0
= 0 ;
24041 char *kwnames
[] = {
24042 (char *) "self", NULL
24045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24050 (arg1
)->DetermineScaling();
24052 wxPyEndAllowThreads(__tstate
);
24053 if (PyErr_Occurred()) SWIG_fail
;
24055 Py_INCREF(Py_None
); resultobj
= Py_None
;
24062 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
24064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24065 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
24067 return Py_BuildValue((char *)"");
24069 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
24070 PyObject
*resultobj
;
24071 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24072 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24073 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
24074 wxPyPrintPreview
*result
;
24075 PyObject
* obj0
= 0 ;
24076 PyObject
* obj1
= 0 ;
24077 PyObject
* obj2
= 0 ;
24079 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24085 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
24086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24089 if (!wxPyCheckForApp()) SWIG_fail
;
24090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24091 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24093 wxPyEndAllowThreads(__tstate
);
24094 if (PyErr_Occurred()) SWIG_fail
;
24096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24103 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
24104 PyObject
*resultobj
;
24105 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24106 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24107 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
24108 wxPyPrintPreview
*result
;
24109 PyObject
* obj0
= 0 ;
24110 PyObject
* obj1
= 0 ;
24111 PyObject
* obj2
= 0 ;
24113 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24118 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
24119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24121 if (!wxPyCheckForApp()) SWIG_fail
;
24122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24123 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24125 wxPyEndAllowThreads(__tstate
);
24126 if (PyErr_Occurred()) SWIG_fail
;
24128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24135 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
24140 argc
= PyObject_Length(args
);
24141 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
24142 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24144 if ((argc
>= 2) && (argc
<= 3)) {
24148 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24158 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24167 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24171 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
24179 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24188 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24198 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24208 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24216 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24222 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24227 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24228 PyObject
*resultobj
;
24229 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24230 PyObject
*arg2
= (PyObject
*) 0 ;
24231 PyObject
*arg3
= (PyObject
*) 0 ;
24232 PyObject
* obj0
= 0 ;
24233 PyObject
* obj1
= 0 ;
24234 PyObject
* obj2
= 0 ;
24235 char *kwnames
[] = {
24236 (char *) "self",(char *) "self",(char *) "_class", NULL
24239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24246 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24248 wxPyEndAllowThreads(__tstate
);
24249 if (PyErr_Occurred()) SWIG_fail
;
24251 Py_INCREF(Py_None
); resultobj
= Py_None
;
24258 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24259 PyObject
*resultobj
;
24260 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24263 PyObject
* obj0
= 0 ;
24264 PyObject
* obj1
= 0 ;
24265 char *kwnames
[] = {
24266 (char *) "self",(char *) "pageNum", NULL
24269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24272 arg2
= (int) SWIG_AsInt(obj1
);
24273 if (PyErr_Occurred()) SWIG_fail
;
24275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24276 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24278 wxPyEndAllowThreads(__tstate
);
24279 if (PyErr_Occurred()) SWIG_fail
;
24282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24290 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24291 PyObject
*resultobj
;
24292 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24293 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24296 PyObject
* obj0
= 0 ;
24297 PyObject
* obj1
= 0 ;
24298 PyObject
* obj2
= 0 ;
24299 char *kwnames
[] = {
24300 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24306 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24308 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24309 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24311 if (arg3
== NULL
) {
24312 PyErr_SetString(PyExc_TypeError
,"null reference");
24316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24317 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24319 wxPyEndAllowThreads(__tstate
);
24320 if (PyErr_Occurred()) SWIG_fail
;
24323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24331 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24332 PyObject
*resultobj
;
24333 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24334 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24337 PyObject
* obj0
= 0 ;
24338 PyObject
* obj1
= 0 ;
24339 PyObject
* obj2
= 0 ;
24340 char *kwnames
[] = {
24341 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24347 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24349 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24350 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24352 if (arg3
== NULL
) {
24353 PyErr_SetString(PyExc_TypeError
,"null reference");
24357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24358 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24360 wxPyEndAllowThreads(__tstate
);
24361 if (PyErr_Occurred()) SWIG_fail
;
24364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24372 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24373 PyObject
*resultobj
;
24374 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24377 PyObject
* obj0
= 0 ;
24378 PyObject
* obj1
= 0 ;
24379 char *kwnames
[] = {
24380 (char *) "self",(char *) "pageNum", NULL
24383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24386 arg2
= (int) SWIG_AsInt(obj1
);
24387 if (PyErr_Occurred()) SWIG_fail
;
24389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24390 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24392 wxPyEndAllowThreads(__tstate
);
24393 if (PyErr_Occurred()) SWIG_fail
;
24396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24404 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24405 PyObject
*resultobj
;
24406 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24408 PyObject
* obj0
= 0 ;
24409 PyObject
* obj1
= 0 ;
24410 char *kwnames
[] = {
24411 (char *) "self",(char *) "percent", NULL
24414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24417 arg2
= (int) SWIG_AsInt(obj1
);
24418 if (PyErr_Occurred()) SWIG_fail
;
24420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24421 (arg1
)->base_SetZoom(arg2
);
24423 wxPyEndAllowThreads(__tstate
);
24424 if (PyErr_Occurred()) SWIG_fail
;
24426 Py_INCREF(Py_None
); resultobj
= Py_None
;
24433 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24434 PyObject
*resultobj
;
24435 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24438 PyObject
* obj0
= 0 ;
24439 PyObject
* obj1
= 0 ;
24440 char *kwnames
[] = {
24441 (char *) "self",(char *) "interactive", NULL
24444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24447 arg2
= (bool) SWIG_AsBool(obj1
);
24448 if (PyErr_Occurred()) SWIG_fail
;
24450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24451 result
= (bool)(arg1
)->base_Print(arg2
);
24453 wxPyEndAllowThreads(__tstate
);
24454 if (PyErr_Occurred()) SWIG_fail
;
24457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24465 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24466 PyObject
*resultobj
;
24467 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24468 PyObject
* obj0
= 0 ;
24469 char *kwnames
[] = {
24470 (char *) "self", NULL
24473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24478 (arg1
)->base_DetermineScaling();
24480 wxPyEndAllowThreads(__tstate
);
24481 if (PyErr_Occurred()) SWIG_fail
;
24483 Py_INCREF(Py_None
); resultobj
= Py_None
;
24490 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
24492 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24493 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24495 return Py_BuildValue((char *)"");
24497 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24498 PyObject
*resultobj
;
24499 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24500 wxFrame
*arg2
= (wxFrame
*) 0 ;
24501 wxString
*arg3
= 0 ;
24502 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24503 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24504 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24505 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24506 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24507 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24508 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24509 wxPyPreviewFrame
*result
;
24510 bool temp3
= False
;
24513 bool temp7
= False
;
24514 PyObject
* obj0
= 0 ;
24515 PyObject
* obj1
= 0 ;
24516 PyObject
* obj2
= 0 ;
24517 PyObject
* obj3
= 0 ;
24518 PyObject
* obj4
= 0 ;
24519 PyObject
* obj5
= 0 ;
24520 PyObject
* obj6
= 0 ;
24521 char *kwnames
[] = {
24522 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24531 arg3
= wxString_in_helper(obj2
);
24532 if (arg3
== NULL
) SWIG_fail
;
24538 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24544 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24548 arg6
= (long) SWIG_AsLong(obj5
);
24549 if (PyErr_Occurred()) SWIG_fail
;
24553 arg7
= wxString_in_helper(obj6
);
24554 if (arg7
== NULL
) SWIG_fail
;
24559 if (!wxPyCheckForApp()) SWIG_fail
;
24560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24561 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24589 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24590 PyObject
*resultobj
;
24591 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24592 PyObject
*arg2
= (PyObject
*) 0 ;
24593 PyObject
*arg3
= (PyObject
*) 0 ;
24594 PyObject
* obj0
= 0 ;
24595 PyObject
* obj1
= 0 ;
24596 PyObject
* obj2
= 0 ;
24597 char *kwnames
[] = {
24598 (char *) "self",(char *) "self",(char *) "_class", NULL
24601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24608 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24610 wxPyEndAllowThreads(__tstate
);
24611 if (PyErr_Occurred()) SWIG_fail
;
24613 Py_INCREF(Py_None
); resultobj
= Py_None
;
24620 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24621 PyObject
*resultobj
;
24622 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24623 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24624 PyObject
* obj0
= 0 ;
24625 PyObject
* obj1
= 0 ;
24626 char *kwnames
[] = {
24627 (char *) "self",(char *) "canvas", NULL
24630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24633 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24637 (arg1
)->SetPreviewCanvas(arg2
);
24639 wxPyEndAllowThreads(__tstate
);
24640 if (PyErr_Occurred()) SWIG_fail
;
24642 Py_INCREF(Py_None
); resultobj
= Py_None
;
24649 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24650 PyObject
*resultobj
;
24651 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24652 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24653 PyObject
* obj0
= 0 ;
24654 PyObject
* obj1
= 0 ;
24655 char *kwnames
[] = {
24656 (char *) "self",(char *) "bar", NULL
24659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24666 (arg1
)->SetControlBar(arg2
);
24668 wxPyEndAllowThreads(__tstate
);
24669 if (PyErr_Occurred()) SWIG_fail
;
24671 Py_INCREF(Py_None
); resultobj
= Py_None
;
24678 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24679 PyObject
*resultobj
;
24680 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24681 PyObject
* obj0
= 0 ;
24682 char *kwnames
[] = {
24683 (char *) "self", NULL
24686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24691 (arg1
)->base_Initialize();
24693 wxPyEndAllowThreads(__tstate
);
24694 if (PyErr_Occurred()) SWIG_fail
;
24696 Py_INCREF(Py_None
); resultobj
= Py_None
;
24703 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24704 PyObject
*resultobj
;
24705 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24706 PyObject
* obj0
= 0 ;
24707 char *kwnames
[] = {
24708 (char *) "self", NULL
24711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24716 (arg1
)->base_CreateCanvas();
24718 wxPyEndAllowThreads(__tstate
);
24719 if (PyErr_Occurred()) SWIG_fail
;
24721 Py_INCREF(Py_None
); resultobj
= Py_None
;
24728 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24729 PyObject
*resultobj
;
24730 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24731 PyObject
* obj0
= 0 ;
24732 char *kwnames
[] = {
24733 (char *) "self", NULL
24736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24741 (arg1
)->base_CreateControlBar();
24743 wxPyEndAllowThreads(__tstate
);
24744 if (PyErr_Occurred()) SWIG_fail
;
24746 Py_INCREF(Py_None
); resultobj
= Py_None
;
24753 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
24755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24756 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24758 return Py_BuildValue((char *)"");
24760 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24761 PyObject
*resultobj
;
24762 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24764 wxWindow
*arg3
= (wxWindow
*) 0 ;
24765 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24766 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24767 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24768 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24769 long arg6
= (long) 0 ;
24770 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24771 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24772 wxPyPreviewControlBar
*result
;
24775 bool temp7
= False
;
24776 PyObject
* obj0
= 0 ;
24777 PyObject
* obj1
= 0 ;
24778 PyObject
* obj2
= 0 ;
24779 PyObject
* obj3
= 0 ;
24780 PyObject
* obj4
= 0 ;
24781 PyObject
* obj5
= 0 ;
24782 PyObject
* obj6
= 0 ;
24783 char *kwnames
[] = {
24784 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24790 arg2
= (long) SWIG_AsLong(obj1
);
24791 if (PyErr_Occurred()) SWIG_fail
;
24792 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24797 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24803 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24807 arg6
= (long) SWIG_AsLong(obj5
);
24808 if (PyErr_Occurred()) SWIG_fail
;
24812 arg7
= wxString_in_helper(obj6
);
24813 if (arg7
== NULL
) SWIG_fail
;
24818 if (!wxPyCheckForApp()) SWIG_fail
;
24819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24820 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24822 wxPyEndAllowThreads(__tstate
);
24823 if (PyErr_Occurred()) SWIG_fail
;
24825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24840 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24841 PyObject
*resultobj
;
24842 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24843 PyObject
*arg2
= (PyObject
*) 0 ;
24844 PyObject
*arg3
= (PyObject
*) 0 ;
24845 PyObject
* obj0
= 0 ;
24846 PyObject
* obj1
= 0 ;
24847 PyObject
* obj2
= 0 ;
24848 char *kwnames
[] = {
24849 (char *) "self",(char *) "self",(char *) "_class", NULL
24852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24859 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24861 wxPyEndAllowThreads(__tstate
);
24862 if (PyErr_Occurred()) SWIG_fail
;
24864 Py_INCREF(Py_None
); resultobj
= Py_None
;
24871 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24872 PyObject
*resultobj
;
24873 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24874 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
24875 PyObject
* obj0
= 0 ;
24876 PyObject
* obj1
= 0 ;
24877 char *kwnames
[] = {
24878 (char *) "self",(char *) "preview", NULL
24881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24884 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
24885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24888 (arg1
)->SetPrintPreview(arg2
);
24890 wxPyEndAllowThreads(__tstate
);
24891 if (PyErr_Occurred()) SWIG_fail
;
24893 Py_INCREF(Py_None
); resultobj
= Py_None
;
24900 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24901 PyObject
*resultobj
;
24902 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24903 PyObject
* obj0
= 0 ;
24904 char *kwnames
[] = {
24905 (char *) "self", NULL
24908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
24909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24913 (arg1
)->base_CreateButtons();
24915 wxPyEndAllowThreads(__tstate
);
24916 if (PyErr_Occurred()) SWIG_fail
;
24918 Py_INCREF(Py_None
); resultobj
= Py_None
;
24925 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24926 PyObject
*resultobj
;
24927 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24929 PyObject
* obj0
= 0 ;
24930 PyObject
* obj1
= 0 ;
24931 char *kwnames
[] = {
24932 (char *) "self",(char *) "zoom", NULL
24935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
24936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24938 arg2
= (int) SWIG_AsInt(obj1
);
24939 if (PyErr_Occurred()) SWIG_fail
;
24941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24942 (arg1
)->base_SetZoomControl(arg2
);
24944 wxPyEndAllowThreads(__tstate
);
24945 if (PyErr_Occurred()) SWIG_fail
;
24947 Py_INCREF(Py_None
); resultobj
= Py_None
;
24954 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
24956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24957 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
24959 return Py_BuildValue((char *)"");
24961 static PyMethodDef SwigMethods
[] = {
24962 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
24963 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
24964 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
24965 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24966 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24967 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
24968 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24969 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24970 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24971 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24972 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
24973 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24974 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24975 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
24976 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
24977 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
24978 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
24979 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
24980 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24981 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24982 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
24983 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
24984 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24985 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
24986 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24987 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24988 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
24989 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
24990 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24991 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
24992 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24993 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24994 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
24995 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
24996 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
24997 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24998 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24999 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
25000 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
25001 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
25002 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
25003 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
25004 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
25005 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
25006 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
25007 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
25008 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25009 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
25010 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
25011 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
25012 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
25013 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
25014 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
25015 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
25016 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
25017 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25018 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
25019 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25020 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25021 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
25022 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
25023 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25024 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25025 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25026 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
25027 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
25028 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25029 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
25030 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
25031 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
25032 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
25033 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
25034 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
25035 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
25036 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
25037 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
25038 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25039 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
25040 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25041 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
25042 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
25043 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
25044 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25045 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
25046 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
25047 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25048 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25049 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
25050 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
25051 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
25052 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
25053 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
25054 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
25055 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
25056 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
25057 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
25058 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
25059 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
25060 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25061 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25062 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25063 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25064 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
25065 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
25066 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
25067 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
25068 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
25069 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25070 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
25071 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
25072 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
25073 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25074 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
25075 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
25076 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
25077 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
25078 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25079 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
25080 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
25081 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
25082 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
25083 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
},
25084 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
25085 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
25086 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25087 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
25088 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25089 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
25090 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
25091 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
25092 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
25093 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
25094 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
25095 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
25096 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
25097 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25098 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
25099 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
25100 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
25101 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
25102 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
25103 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
25104 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
25105 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
25106 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
25107 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
25108 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25109 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
25110 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
25111 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
25112 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
25113 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
25114 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25115 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25116 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25117 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25118 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
25119 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
25120 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
25121 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
25122 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
25123 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
25124 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
25125 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
25126 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
25127 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
25128 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
25129 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
25130 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
25131 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
25132 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
25133 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
25134 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
25135 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
25136 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
25137 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
25138 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
25139 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
25140 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25141 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25142 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
25143 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
25144 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25145 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25146 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25147 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25148 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
25149 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
25150 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25151 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25152 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
25153 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
25154 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
25155 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
25156 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
25157 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25158 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25159 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25160 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25161 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
25162 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25163 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
25164 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
25165 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
25166 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
25167 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
25168 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
25169 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
25170 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
25171 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
25172 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25173 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
25174 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
25175 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25176 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25177 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25178 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
25179 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
25180 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
25181 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
25182 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
25183 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
25184 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
25185 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25186 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25187 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25188 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25189 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
25190 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
25191 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
25192 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
25193 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
25194 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
25195 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
25196 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
25197 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
25198 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
25199 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
25200 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
25201 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
25202 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
25203 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
25204 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
25205 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25206 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25207 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25208 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
25209 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25210 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
25211 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
25212 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
25213 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
25214 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
25215 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25216 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
25217 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25218 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
25219 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25220 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
25221 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
25222 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
25223 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
25224 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
25225 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25226 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
25227 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
25228 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
25229 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
25230 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
25231 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25232 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25233 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
25234 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25235 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
},
25236 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
25237 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
25238 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
25239 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
25240 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
25241 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
25242 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
25243 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
25244 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
25245 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
25246 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
25247 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
25248 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
25249 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
25250 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
25251 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25252 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
25253 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
25254 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25255 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
25256 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
25257 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
25258 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
25259 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
25260 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
25261 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25262 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25263 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25264 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25265 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25266 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
25267 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
25268 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25269 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25270 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
25271 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25272 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
25273 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25274 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25275 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25276 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25277 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
25278 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25279 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
25280 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25281 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25282 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
25283 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
25284 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
25285 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25286 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25287 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25288 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
25289 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25290 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25291 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
25292 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25293 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
25294 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
25295 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25296 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25297 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
25298 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
25299 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
25300 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
25301 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
25302 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25303 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
25304 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
25305 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
25306 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25307 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
25308 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
25309 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25310 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
25311 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
25312 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25313 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
25314 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
25315 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
25316 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
25317 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
25318 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
25319 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
25320 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
25321 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
25322 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
25323 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
25324 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25325 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25326 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25327 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
25328 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25329 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25330 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25331 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
25332 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
25333 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
25334 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25335 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25336 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25337 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25338 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25339 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25340 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
25341 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25342 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25343 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
25344 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25345 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25346 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
25347 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25348 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25349 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25350 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
25351 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
25352 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
25353 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
25354 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
25355 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25356 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25357 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
25358 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
25359 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction
) _wrap_MDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25360 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
25361 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
25362 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25363 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25364 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25365 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
25366 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
25367 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
25368 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
25369 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25370 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25371 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25372 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
25373 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25374 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25375 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25376 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25377 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25378 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25379 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25380 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25381 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25382 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25383 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25384 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25385 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25386 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25387 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25388 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25389 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25390 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25391 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25392 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25393 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25394 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25395 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25396 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25397 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25398 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
25399 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25400 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25401 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25402 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25403 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25404 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25405 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25406 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25407 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25408 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25409 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25410 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25411 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25412 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25413 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25414 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25415 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25416 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25417 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25418 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25419 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25420 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25421 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25422 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25423 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25424 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
25425 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25426 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25427 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25428 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25429 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25430 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25431 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25432 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25433 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25434 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25435 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25436 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25437 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25438 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25439 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25440 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25441 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25442 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25443 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25444 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25445 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25446 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25447 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25448 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25449 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25450 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
},
25451 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
25452 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
25453 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25454 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25455 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25456 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25457 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25458 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25459 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25460 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25461 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25462 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25463 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25464 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25465 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25466 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25467 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25468 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25469 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25470 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25471 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25472 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25473 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25474 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25475 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25476 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25477 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25478 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25479 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25480 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25481 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25482 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25483 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25484 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25485 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25486 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25487 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25488 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25489 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
25490 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25491 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25492 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
25493 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25494 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25495 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25496 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
25497 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25498 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25499 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25500 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25501 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25502 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25503 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25504 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25505 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25506 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25507 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25508 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25509 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25510 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25511 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25512 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25513 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25514 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25515 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25516 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25517 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25518 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25519 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25520 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25521 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25522 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25523 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25524 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25525 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25526 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25527 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25528 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
25529 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25530 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
25531 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25532 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
25533 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
25534 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25535 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25536 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25537 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25538 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25539 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25540 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25541 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25542 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25543 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25544 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25545 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25546 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25547 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25548 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25549 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25550 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25551 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25552 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25553 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25554 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25555 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25556 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25557 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25558 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25559 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25560 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25561 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25562 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25563 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25564 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25565 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25566 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
25567 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25568 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25569 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
25570 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25571 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
25572 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25573 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25574 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
25575 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25576 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
25577 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25578 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
25579 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
25580 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
25581 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
25582 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
25583 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
25584 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25585 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
25586 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
25587 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
25588 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25589 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25590 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25591 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25592 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25593 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25594 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25595 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25596 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25597 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25598 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
25599 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
25600 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25601 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25602 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
25603 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
25604 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
25605 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
25606 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25607 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
25608 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25609 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25610 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25611 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25612 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25613 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
25614 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25615 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25616 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25617 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25618 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
25619 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
25620 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
25621 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
25622 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
25623 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
25624 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
25625 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25626 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25627 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25628 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25629 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25630 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25631 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25632 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25633 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25634 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25635 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25636 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25637 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
25638 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25639 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25640 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25641 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25642 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25643 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25644 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
25645 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
25646 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25647 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
25648 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
25649 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25650 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25651 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25652 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25653 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25654 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25655 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
25656 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25657 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
25658 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25659 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25660 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25661 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25662 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25663 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25664 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25665 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
25666 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25667 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25668 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25669 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
25670 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25671 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
25676 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25678 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25679 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25681 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25682 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25684 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25685 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25687 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25688 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25690 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25691 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25693 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25694 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25696 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25697 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25699 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
25700 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25702 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25703 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25705 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25706 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25708 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
25709 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25711 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25712 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25714 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25715 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25717 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
25718 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25720 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25721 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25723 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25724 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25726 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25727 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25729 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25730 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25732 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25733 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25735 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25736 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25738 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25739 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25741 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25742 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25744 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25745 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25747 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25748 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25750 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25751 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25753 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25754 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25756 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25757 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25759 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25760 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25762 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25763 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25765 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25766 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25768 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25769 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25771 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25772 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25774 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25775 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25777 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25778 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25780 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25781 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25783 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25784 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25786 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25787 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25789 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25790 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25792 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25793 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25795 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25796 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25798 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25799 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25801 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25802 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25804 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25805 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25807 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25808 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25810 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25811 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25813 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25814 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25816 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25817 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25819 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25820 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25822 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25823 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25825 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25826 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25828 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25829 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25831 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25832 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25834 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25835 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25837 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25838 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25840 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25841 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25843 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
25844 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25846 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
25847 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25849 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
25850 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
25852 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
25853 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
25855 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
25856 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25858 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
25859 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25861 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
25862 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25864 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
25865 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
25867 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
25868 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25870 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
25871 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
25873 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
25874 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
25876 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
25877 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
25879 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25880 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25882 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
25883 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25885 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
25886 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
25888 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
25889 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
25891 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
25892 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25894 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25895 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25897 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
25898 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25900 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
25901 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25903 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
25904 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25906 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25907 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25909 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25910 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25912 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
25913 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
25915 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
25916 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25918 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
25919 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25921 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
25922 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25924 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25925 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25927 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25928 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25930 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
25931 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25933 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
25934 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25936 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
25937 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25939 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
25940 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25942 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
25943 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25945 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
25946 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25948 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
25949 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25951 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
25952 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25954 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
25955 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25957 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
25958 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25960 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
25961 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
25963 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
25964 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
25966 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
25967 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
25969 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
25970 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25972 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
25973 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
25975 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
25976 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
25978 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
25979 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
25981 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25982 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25984 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
25985 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25987 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
25988 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25990 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
25991 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25993 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25994 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25996 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25997 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25999 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26000 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26002 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26003 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26005 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26006 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26008 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26009 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26011 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26012 return (void *)((wxObject
*) ((wxSizer
*) x
));
26014 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26015 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26017 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26018 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26020 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
26021 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26023 static void *_p_wxEventTo_p_wxObject(void *x
) {
26024 return (void *)((wxObject
*) ((wxEvent
*) x
));
26026 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
26027 return (void *)((wxObject
*) ((wxFontData
*) x
));
26029 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
26030 return (void *)((wxObject
*) ((wxPrintData
*) x
));
26032 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26033 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26035 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26036 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26038 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26039 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26041 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
26042 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
26044 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
26045 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
26047 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
26048 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26050 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26051 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26053 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26054 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26056 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26057 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26059 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26060 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26062 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26063 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26065 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26066 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26068 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
26069 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26071 static void *_p_wxControlTo_p_wxObject(void *x
) {
26072 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26074 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26075 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26077 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
26078 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26080 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26081 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26083 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
26084 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
26086 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26087 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26089 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
26090 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26092 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
26093 return (void *)((wxObject
*) ((wxColourData
*) x
));
26095 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26096 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26098 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26099 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26101 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
26102 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
26104 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
26105 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26107 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
26108 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26110 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
26111 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26113 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
26114 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26116 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
26117 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26119 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
26120 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26122 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
26123 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26125 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
26126 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26128 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26129 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26131 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
26132 return (void *)((wxObject
*) ((wxPrinter
*) x
));
26134 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26135 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26137 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26138 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26140 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26141 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26143 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26144 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26146 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26147 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26149 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26150 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26152 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26153 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26155 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26156 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26158 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26159 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26161 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26162 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26164 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26165 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26167 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26168 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26170 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26171 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26173 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26174 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26176 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26177 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26179 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26180 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26182 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26183 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26185 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26186 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26188 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26189 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26191 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26192 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26194 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26195 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26197 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26198 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26200 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
26201 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26203 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
26204 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26206 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
26207 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26209 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26210 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26212 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
26213 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26215 static void *_p_wxImageTo_p_wxObject(void *x
) {
26216 return (void *)((wxObject
*) ((wxImage
*) x
));
26218 static void *_p_wxFrameTo_p_wxObject(void *x
) {
26219 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26221 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26222 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26224 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26225 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26227 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26228 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26230 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26231 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26233 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26234 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26236 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26237 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26239 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26240 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26242 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26243 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26245 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26246 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26248 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26249 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26251 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26252 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26254 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26255 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26257 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26258 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26260 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26261 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26263 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26264 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26266 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26267 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26269 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26270 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26272 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26273 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26275 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26276 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26278 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26279 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26281 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26282 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26284 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26285 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26287 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26288 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26290 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26291 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26293 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26294 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26296 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26297 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26299 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26300 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26302 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26303 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26305 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26306 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26308 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26309 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26311 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26312 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26314 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26315 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26317 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26318 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26320 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26321 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26323 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26324 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26326 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26327 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26329 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26330 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26332 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26333 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26335 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26336 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26338 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26339 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26341 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26342 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26344 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26345 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26347 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26348 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26350 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26351 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26353 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26354 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26356 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26357 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26359 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26360 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26362 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26363 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26365 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26366 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26368 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26369 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26371 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26372 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26374 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26375 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26377 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26378 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26380 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26381 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26383 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
26384 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26386 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26387 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26389 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
26390 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26392 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26393 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26395 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26396 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26398 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26399 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26401 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26402 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26404 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26405 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26407 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26408 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26410 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26411 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26413 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
26414 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
26416 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
26417 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
26419 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26420 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26422 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26423 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26425 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26426 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26428 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26429 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26431 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26432 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26434 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26435 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26437 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26438 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26440 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26441 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26443 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26444 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26446 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26447 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26449 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26450 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26452 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26453 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26455 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26456 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26458 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26459 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26461 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26462 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26464 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26465 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26467 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26468 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26470 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26471 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26473 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26474 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26476 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26477 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26479 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26480 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26482 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26483 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26485 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26486 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26488 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26489 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26491 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26492 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26494 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26495 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26497 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26498 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26500 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26501 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26503 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26504 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26506 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26507 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26509 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26510 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26512 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26513 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26515 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26516 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26518 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26519 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26521 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26522 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26524 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26525 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26527 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26528 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26530 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26531 return (void *)((wxWindow
*) ((wxControl
*) x
));
26533 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26534 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26536 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26537 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26539 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26540 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26542 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26543 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26545 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26546 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26548 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26549 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26551 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26552 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26554 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26555 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26557 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26558 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26560 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26561 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26563 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26564 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26566 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26567 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26569 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26570 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26572 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26573 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26575 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26576 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26578 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26579 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26581 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26582 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26584 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26585 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26587 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26588 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26590 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26591 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26593 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26594 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26596 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26597 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26599 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26600 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26602 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26603 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26605 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26606 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26608 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26609 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26611 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26612 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26614 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26615 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26617 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26618 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26620 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26621 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26623 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26624 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26626 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26627 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26629 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26630 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26632 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26633 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26635 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26636 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26638 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26639 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26641 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26642 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26644 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26645 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26647 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26648 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26650 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26651 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26653 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26654 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26656 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26657 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26659 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26660 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26662 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26663 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26665 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26666 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26668 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26669 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26671 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26672 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26674 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26675 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26677 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26678 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26680 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26681 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26683 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26684 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26686 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
26687 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
26689 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
26690 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26692 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}};
26693 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}};
26694 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}};
26695 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}};
26696 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}};
26697 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}};
26698 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}};
26699 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}};
26700 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}};
26701 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}};
26702 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}};
26703 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}};
26704 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}};
26705 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}};
26706 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}};
26707 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}};
26708 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}};
26709 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}};
26710 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}};
26711 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}};
26712 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}};
26713 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}};
26714 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}};
26715 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}};
26716 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}};
26717 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}};
26718 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}};
26719 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}};
26720 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}};
26721 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}};
26722 static swig_type_info _swigt__p_wxTextEntryDialog
[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26723 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}};
26724 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}};
26725 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}};
26726 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}};
26727 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}};
26728 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_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_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26729 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}};
26730 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}};
26731 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}};
26732 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}};
26733 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}};
26734 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}};
26735 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}};
26736 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}};
26737 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}};
26738 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}};
26739 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}};
26740 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}};
26741 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}};
26742 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_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_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_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26743 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26744 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26745 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}};
26746 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}};
26747 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}};
26748 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}};
26749 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}};
26750 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}};
26751 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}};
26752 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}};
26753 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}};
26754 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}};
26755 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_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_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26756 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_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}};
26757 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}};
26758 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}};
26759 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}};
26760 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}};
26761 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}};
26762 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}};
26763 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}};
26764 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}};
26765 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}};
26766 static swig_type_info _swigt__p_wxDialog
[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 0, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26767 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}};
26768 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}};
26769 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}};
26770 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}};
26771 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}};
26772 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}};
26773 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}};
26774 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}};
26775 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}};
26776 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}};
26777 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}};
26778 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}};
26780 static swig_type_info
*swig_types_initial
[] = {
26781 _swigt__p_wxQueryLayoutInfoEvent
,
26782 _swigt__p_wxPreviewFrame
,
26783 _swigt__p_wxPyPreviewFrame
,
26784 _swigt__p_wxPyPanel
,
26786 _swigt__p_wxFontData
,
26788 _swigt__p_wxPrintData
,
26789 _swigt__p_wxTaskBarIcon
,
26790 _swigt__p_wxIconBundle
,
26791 _swigt__p_wxLayoutAlgorithm
,
26792 _swigt__p_wxFindDialogEvent
,
26793 _swigt__p_wxPreviewCanvas
,
26795 _swigt__p_wxSplitterEvent
,
26796 _swigt__p_wxRegion
,
26797 _swigt__p_wxFindReplaceData
,
26802 _swigt__p_wxVisualAttributes
,
26803 _swigt__p_wxMDIChildFrame
,
26804 _swigt__p_wxColourData
,
26805 _swigt__p_wxNotifyEvent
,
26806 _swigt__p_wxPyWindow
,
26807 _swigt__p_wxSplashScreen
,
26808 _swigt__p_wxFindReplaceDialog
,
26809 _swigt__p_wxProgressDialog
,
26810 _swigt__p_wxMessageDialog
,
26811 _swigt__p_wxTextEntryDialog
,
26812 _swigt__p_wxSingleChoiceDialog
,
26813 _swigt__p_wxMultiChoiceDialog
,
26814 _swigt__p_wxFileDialog
,
26815 _swigt__p_wxPrinter
,
26816 _swigt__p_wxArrayInt
,
26817 _swigt__p_wxEvtHandler
,
26818 _swigt__p_wxCalculateLayoutEvent
,
26819 _swigt__p_wxPyHtmlListBox
,
26820 _swigt__p_wxPyVListBox
,
26823 _swigt__p_wxMiniFrame
,
26825 _swigt__p_wxPyPrintout
,
26826 _swigt__p_wxTaskBarIconEvent
,
26827 _swigt__p_wxScrollWinEvent
,
26828 _swigt__p_wxStatusBar
,
26829 _swigt__p_wxMDIParentFrame
,
26831 _swigt__p_wxObject
,
26832 _swigt__p_wxOutputStream
,
26833 _swigt__p_unsigned_long
,
26834 _swigt__p_wxPyScrolledWindow
,
26835 _swigt__p_wxMDIClientWindow
,
26836 _swigt__p_wxTipWindow
,
26837 _swigt__p_wxSashLayoutWindow
,
26838 _swigt__p_wxSplitterWindow
,
26839 _swigt__p_wxSplashScreenWindow
,
26840 _swigt__p_wxPyVScrolledWindow
,
26841 _swigt__p_wxPyPopupTransientWindow
,
26842 _swigt__p_wxPopupWindow
,
26843 _swigt__p_wxSashWindow
,
26844 _swigt__p_wxTopLevelWindow
,
26845 _swigt__p_wxWindow
,
26846 _swigt__p_wxScrolledWindow
,
26847 _swigt__p_wxMenuBar
,
26848 _swigt__p_wxPrintPreview
,
26849 _swigt__p_wxSashEvent
,
26850 _swigt__p_wxString
,
26851 _swigt__p_wxPyPrintPreview
,
26852 _swigt__p_wxFontDialog
,
26853 _swigt__p_wxDirDialog
,
26854 _swigt__p_wxColourDialog
,
26855 _swigt__p_wxDialog
,
26857 _swigt__p_wxPageSetupDialog
,
26858 _swigt__p_wxPrintDialog
,
26859 _swigt__p_wxFileSystem
,
26860 _swigt__p_wxBitmap
,
26861 _swigt__p_wxCommandEvent
,
26862 _swigt__p_wxPreviewControlBar
,
26863 _swigt__p_wxPyPreviewControlBar
,
26864 _swigt__p_wxColour
,
26865 _swigt__p_wxToolBar
,
26866 _swigt__p_wxPageSetupDialogData
,
26867 _swigt__p_wxPrintDialogData
,
26872 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26874 static swig_const_info swig_const_table
[] = {
26884 SWIGEXPORT(void) SWIG_init(void) {
26885 static PyObject
*SWIG_globals
= 0;
26886 static int typeinit
= 0;
26889 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26890 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26891 d
= PyModule_GetDict(m
);
26894 for (i
= 0; swig_types_initial
[i
]; i
++) {
26895 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26899 SWIG_InstallConstants(d
,swig_const_table
);
26901 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26902 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
26903 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
26904 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
26905 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
26906 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
26907 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
26908 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
26909 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
26910 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
26911 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
26912 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
26913 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
26914 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
26915 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
26916 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
26917 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
26918 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
26919 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
26920 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
26921 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
26922 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
26923 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
26924 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
26925 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
26926 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
26927 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
26928 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
26929 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
26930 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
26931 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
26932 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
26933 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
26934 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
26935 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
26936 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
26937 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
26938 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
26939 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
26940 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
26941 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
26942 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
26943 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
26944 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
26945 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
26946 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
26947 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
26948 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
26949 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
26950 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
26951 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
26952 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
26953 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
26954 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
26955 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
26956 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
26957 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
26958 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
26959 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
26960 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
26961 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
26962 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
26963 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
26964 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
26965 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
26966 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
26967 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
26968 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
26969 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
26970 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
26971 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
26972 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
26973 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
26974 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
26975 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
26976 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
26977 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
26978 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
26979 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
26980 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
26981 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
26982 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
26983 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
26984 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
26985 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
26986 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
26987 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
26988 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
26989 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
26990 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
26991 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
26992 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
26993 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
26995 // Map renamed classes back to their common name for OOR
26996 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26997 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26998 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27000 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
27001 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
27002 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
27003 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
27004 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
27005 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
27006 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
27007 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
27008 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
27009 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
27010 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
27011 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
27012 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
27013 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
27014 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
27015 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
27016 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
27017 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
27018 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
27019 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
27020 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
27021 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
27022 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
27023 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
27024 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
27025 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
27026 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
27027 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
27028 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
27029 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
27030 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
27031 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
27032 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
27033 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
27034 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
27035 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
27036 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
27037 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
27038 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
27039 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
27040 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
27041 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
27042 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
27043 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
27044 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
27045 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
27046 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
27047 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
27048 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
27049 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
27050 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
27051 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
27052 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
27053 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
27054 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
27055 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
27056 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
27057 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
27058 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
27059 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
27061 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");